From 12d1067182c61ca768ecbdd2211cd05044c2c482 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez
Date: Fri, 21 Apr 2023 11:58:25 -0700
Subject: [PATCH 01/26] testing
---
.buildkite/scripts/run_models.sh | 3 +-
.../maintainer_pull_request_template.md | 51 +++++++++++++++++++
.github/pull_request_template.md | 51 ++++++-------------
CHANGELOG.md | 6 +++
4 files changed, 75 insertions(+), 36 deletions(-)
create mode 100644 .github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
diff --git a/.buildkite/scripts/run_models.sh b/.buildkite/scripts/run_models.sh
index ea3de4b..ea68415 100644
--- a/.buildkite/scripts/run_models.sh
+++ b/.buildkite/scripts/run_models.sh
@@ -18,4 +18,5 @@ cd integration_tests
dbt deps
dbt seed --target "$db" --full-refresh
dbt run --target "$db" --full-refresh
-dbt test --target "$db"
\ No newline at end of file
+dbt test --target "$db"
+dbt run-operation fivetran_utils.drop_schemas_automation --target "$db"
diff --git a/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
new file mode 100644
index 0000000..768ac3f
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
@@ -0,0 +1,51 @@
+## PR Overview
+**This PR will address the following Issue/Feature:**
+
+**This PR will result in the following new package version:**
+
+
+**Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:**
+
+## PR Checklist
+### Basic Validation
+Please acknowledge that you have successfully performed the following commands locally:
+- [ ] dbt compile
+- [ ] dbt run –full-refresh
+- [ ] dbt run
+- [ ] dbt test
+- [ ] dbt run –vars (if applicable)
+
+Before marking this PR as "ready for review" the following have been applied:
+- [ ] The appropriate issue has been linked and tagged
+- [ ] You are assigned to the corresponding issue and this PR
+- [ ] BuildKite integration tests are passing
+
+### Detailed Validation
+Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":
+- [ ] You have validated these changes and assure this PR will address the respective Issue/Feature.
+- [ ] You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
+- [ ] You have provided details below around the validation steps performed to gain confidence in these changes.
+
+
+### Standard Updates
+Please acknowledge that your PR contains the following standard updates:
+- Package versioning has been appropriately indexed in the following locations:
+ - [ ] indexed within dbt_project.yml
+ - [ ] indexed within integration_tests/dbt_project.yml
+- [ ] CHANGELOG has individual entries for each respective change in this PR
+
+- [ ] README updates have been applied (if applicable)
+
+- [ ] DECISIONLOG updates have been updated (if applicable)
+- [ ] Appropriate yml documentation has been added (if applicable)
+
+### dbt Docs
+Please acknowledge that after the above were all completed the below were applied to your branch:
+- [ ] docs were regenerated (unless this PR does not include any code or yml updates)
+
+### If you had to summarize this PR in an emoji, which would it be?
+
+:dancer:
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 50ee0df..b4e7e8e 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,48 +1,24 @@
-**Are you a current Fivetran customer?**
-
+**Please provide your name and company**
-**What change(s) does this PR introduce?**
-
+**Link the issue/feature request which this PR is meant to address**
+
-**Did you update the CHANGELOG?**
+**Detail what changes this PR introduces and how this addresses the issue/feature request linked above.**
+
+**How did you validate the changes introduced within this PR?**
+
+**Which warehouse did you use to develop these changes?**
+
+**Did you update the CHANGELOG?**
- [ ] Yes
-**Does this PR introduce a breaking change?**
-
-
-- [ ] Yes (please provide breaking change details below.)
-- [ ] No (please provide an explanation as to how the change is non-breaking below.)
-
-**Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)**
+**Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)**
- [ ] Yes
-**Is this PR in response to a previously created Bug or Feature Request**
-
-
-- [ ] Yes, Issue/Feature [link bug/feature number here]
-- [ ] No
-
-**How did you test the PR changes?**
-
-
-
-- [ ] Buildkite
-- [ ] Local (please provide additional testing details below)
-
-**Select which warehouse(s) were used to test the PR**
-
-
-- [ ] BigQuery
-- [ ] Redshift
-- [ ] Snowflake
-- [ ] Postgres
-- [ ] Databricks
-- [ ] Other (provide details below)
-
**Provide an emoji that best describes your current mood**
:dancer:
@@ -50,3 +26,8 @@
**Feedback**
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your [feedback](https://www.surveymonkey.com/r/DQ7K7WW) on our existing dbt packages or what you'd like to see next.
+
+**PR Template**
+- [Community Pull Request Template](?expand=1&template=pull_request_template.md) (default)
+
+- [Maintainer Pull Request Template](?expand=1&template=maintainer_pull_request_template.md) (to be used by maintainers)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3d6ab9..91048bd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,9 @@
+# dbt_shopify_holistic_reporting v0.UPDATE.UPDATE
+
+ ## Under the Hood:
+
+- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job.
+- Updated the pull request [templates](/.github).
# dbt_shopify_holistic_reporting v0.3.0
## 🚨 Breaking Changes 🚨:
From 14c9a598a1ba4fa06a03448e7058586d9d5fb766 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Wed, 26 Apr 2023 12:20:05 -0700
Subject: [PATCH 02/26] try this out?
---
models/shopify_holistic_reporting__daily_customer_metrics.sql | 3 +++
1 file changed, 3 insertions(+)
diff --git a/models/shopify_holistic_reporting__daily_customer_metrics.sql b/models/shopify_holistic_reporting__daily_customer_metrics.sql
index b3645eb..a038542 100644
--- a/models/shopify_holistic_reporting__daily_customer_metrics.sql
+++ b/models/shopify_holistic_reporting__daily_customer_metrics.sql
@@ -35,6 +35,9 @@ with shopify_daily as (
full outer join klaviyo_daily
on lower(shopify_daily.email) = lower(klaviyo_daily.email)
and shopify_daily.date_day = klaviyo_daily.date_day
+ and shopify_daily.last_touch_campaign_id = klaviyo_daily.last_touch_campaign_id
+ and shopify_daily.last_touch_flow_id = klaviyo_daily.last_touch_flow_id
+ and shopify_daily.last_touch_variation_id = klaviyo_daily.variation_id
)
select *
From 1bb6cafd56523bcab1ccb62d445be4ac34a0a2dd Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Thu, 27 Apr 2023 11:20:40 -0700
Subject: [PATCH 03/26] add coalesces
---
.../shopify_holistic_reporting__daily_customer_metrics.sql | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/models/shopify_holistic_reporting__daily_customer_metrics.sql b/models/shopify_holistic_reporting__daily_customer_metrics.sql
index a038542..d52691f 100644
--- a/models/shopify_holistic_reporting__daily_customer_metrics.sql
+++ b/models/shopify_holistic_reporting__daily_customer_metrics.sql
@@ -35,9 +35,9 @@ with shopify_daily as (
full outer join klaviyo_daily
on lower(shopify_daily.email) = lower(klaviyo_daily.email)
and shopify_daily.date_day = klaviyo_daily.date_day
- and shopify_daily.last_touch_campaign_id = klaviyo_daily.last_touch_campaign_id
- and shopify_daily.last_touch_flow_id = klaviyo_daily.last_touch_flow_id
- and shopify_daily.last_touch_variation_id = klaviyo_daily.variation_id
+ and coalesce(shopify_daily.last_touch_campaign_id, '') = coalesce(klaviyo_daily.last_touch_campaign_id, '')
+ and coalesce(shopify_daily.last_touch_flow_id, '') = coalesce(klaviyo_daily.last_touch_flow_id, '')
+ and coalesce(shopify_daily.last_touch_variation_id, '') = coalesce(klaviyo_daily.variation_id, '')
)
select *
From 91f2acd22e300dbdeedc0b1498004bc5bcf739ee Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Thu, 27 Apr 2023 14:45:43 -0700
Subject: [PATCH 04/26] PR draft
---
CHANGELOG.md | 9 +++++++++
dbt_project.yml | 2 +-
integration_tests/dbt_project.yml | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f3d6ab9..81094b9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+# dbt_shopify_holistic_reporting v0.3.1
+
+## Bug Fixes:
+PR #something includes the following changes:
+- Adds flow, campaign, and variation to the join between shopify and klaviyo data in `shopify_holistic_reporting__daily_customer_metrics`. These fields are part of the grain of this model and could cause fanout if not included as arguments in the `full outer join`.
+
+## Contributors
+- [@jmussitsch](https://github.com/jmussitsch) ([#14](https://github.com/fivetran/dbt_shopify_holistic_reporting/issues/14))
+
# dbt_shopify_holistic_reporting v0.3.0
## 🚨 Breaking Changes 🚨:
diff --git a/dbt_project.yml b/dbt_project.yml
index 9c6a817..29cf854 100644
--- a/dbt_project.yml
+++ b/dbt_project.yml
@@ -1,5 +1,5 @@
name: 'shopify_holistic_reporting'
-version: '0.3.0'
+version: '0.3.1'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
models:
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 8db6d5a..14b4973 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -1,5 +1,5 @@
name: 'shopify_holistic_reporting_integration_tests'
-version: '0.3.0'
+version: '0.3.1'
profile: 'integration_tests'
config-version: 2
From bf883308e2ced923a904d1ce71d808d7eda92d90 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Thu, 27 Apr 2023 14:46:19 -0700
Subject: [PATCH 05/26] changelog
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81094b9..a34cb2a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
# dbt_shopify_holistic_reporting v0.3.1
## Bug Fixes:
-PR #something includes the following changes:
+[PR #16](https://github.com/fivetran/dbt_shopify_holistic_reporting/pull/16) includes the following change:
- Adds flow, campaign, and variation to the join between shopify and klaviyo data in `shopify_holistic_reporting__daily_customer_metrics`. These fields are part of the grain of this model and could cause fanout if not included as arguments in the `full outer join`.
## Contributors
From ca36db7ba03a683c09c06c9ddf08284fc204ff7c Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Thu, 27 Apr 2023 15:00:23 -0700
Subject: [PATCH 06/26] buildkite errors
---
integration_tests/dbt_project.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 14b4973..5a99a14 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -83,6 +83,7 @@ seeds:
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
default_address_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
+ accepts_marketing: boolean
shopify_order_data:
+column_types:
created_at: timestamp
@@ -151,3 +152,5 @@ seeds:
+column_types:
flow_id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
campaign_id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ datetime: timestamp
+ timestamp: timestamp
\ No newline at end of file
From 499eb93dfd70f6780ef5d0474b65a5b097947ea0 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Thu, 27 Apr 2023 15:11:27 -0700
Subject: [PATCH 07/26] Try unioning
---
integration_tests/dbt_project.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 5a99a14..452d784 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -5,6 +5,8 @@ config-version: 2
vars:
+ shopify_union_schemas: ['shopify_holistic_reporting_integration_tests']
+ klaviyo_union_schemas: ['shopify_holistic_reporting_integration_tests']
shopify_source:
customer_source: "{{ ref('shopify_customer_data') }}"
order_line_refund_source: "{{ ref('shopify_order_line_refund_data') }}"
From df94397f922f7e360af161f24fec3f007e50bb11 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Tue, 2 May 2023 09:28:53 -0700
Subject: [PATCH 08/26] try this out
---
integration_tests/dbt_project.yml | 8 ++++----
.../{shopify_transaction_data.csv => transaction.csv} | 0
2 files changed, 4 insertions(+), 4 deletions(-)
rename integration_tests/seeds/{shopify_transaction_data.csv => transaction.csv} (100%)
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 452d784..b5d9755 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -5,8 +5,8 @@ config-version: 2
vars:
- shopify_union_schemas: ['shopify_holistic_reporting_integration_tests']
- klaviyo_union_schemas: ['shopify_holistic_reporting_integration_tests']
+ shopify_schema: 'shopify_holistic_reporting_integration_tests'
+ klaviyo_schema: 'shopify_holistic_reporting_integration_tests'
shopify_source:
customer_source: "{{ ref('shopify_customer_data') }}"
order_line_refund_source: "{{ ref('shopify_order_line_refund_data') }}"
@@ -16,7 +16,7 @@ vars:
order_adjustment_source: "{{ ref('shopify_order_adjustment_data') }}"
product_variant_source: "{{ ref('shopify_product_variant_data') }}"
refund_source: "{{ ref('shopify_refund_data') }}"
- transaction_source: "{{ ref('shopify_transaction_data') }}"
+ # transaction_source: "{{ ref('shopify_transaction_data') }}"
klaviyo_source:
event_table: "{{ ref('event') }}"
@@ -128,7 +128,7 @@ seeds:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
inventory_item_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_transaction_data:
+ transaction:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
diff --git a/integration_tests/seeds/shopify_transaction_data.csv b/integration_tests/seeds/transaction.csv
similarity index 100%
rename from integration_tests/seeds/shopify_transaction_data.csv
rename to integration_tests/seeds/transaction.csv
From 07044930b1de4dd726940cffc3bbdd7966777717 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Wed, 3 May 2023 15:45:51 -0700
Subject: [PATCH 09/26] satiate Buildkite
---
integration_tests/dbt_project.yml | 65 +++++++++++++------
...shopify_customer_data.csv => customer.csv} | 0
.../{shopify_order_data.csv => order.csv} | 0
...justment_data.csv => order_adjustment.csv} | 0
...ify_order_line_data.csv => order_line.csv} | 0
..._refund_data.csv => order_line_refund.csv} | 0
.../{shopify_product_data.csv => product.csv} | 0
...t_variant_data.csv => product_variant.csv} | 0
.../{shopify_refund_data.csv => refund.csv} | 0
9 files changed, 44 insertions(+), 21 deletions(-)
rename integration_tests/seeds/{shopify_customer_data.csv => customer.csv} (100%)
rename integration_tests/seeds/{shopify_order_data.csv => order.csv} (100%)
rename integration_tests/seeds/{shopify_order_adjustment_data.csv => order_adjustment.csv} (100%)
rename integration_tests/seeds/{shopify_order_line_data.csv => order_line.csv} (100%)
rename integration_tests/seeds/{shopify_order_line_refund_data.csv => order_line_refund.csv} (100%)
rename integration_tests/seeds/{shopify_product_data.csv => product.csv} (100%)
rename integration_tests/seeds/{shopify_product_variant_data.csv => product_variant.csv} (100%)
rename integration_tests/seeds/{shopify_refund_data.csv => refund.csv} (100%)
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index b5d9755..f6f22e1 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -3,22 +3,26 @@ version: '0.3.1'
profile: 'integration_tests'
config-version: 2
+clean-targets: # directories to be removed by `dbt clean`
+ - "target"
+ - "dbt_packages"
+ - "dbt_modules"
vars:
- shopify_schema: 'shopify_holistic_reporting_integration_tests'
- klaviyo_schema: 'shopify_holistic_reporting_integration_tests'
shopify_source:
- customer_source: "{{ ref('shopify_customer_data') }}"
- order_line_refund_source: "{{ ref('shopify_order_line_refund_data') }}"
- order_line_source: "{{ ref('shopify_order_line_data') }}"
- order_source: "{{ ref('shopify_order_data') }}"
- product_source: "{{ ref('shopify_product_data') }}"
- order_adjustment_source: "{{ ref('shopify_order_adjustment_data') }}"
- product_variant_source: "{{ ref('shopify_product_variant_data') }}"
- refund_source: "{{ ref('shopify_refund_data') }}"
- # transaction_source: "{{ ref('shopify_transaction_data') }}"
-
+ shopify_schema: 'shopify_holistic_reporting_integration_tests'
+ # customer_source: "{{ ref('customer') }}"
+ # order_line_refund_source: "{{ ref('order_line_refund') }}"
+ # order_line_source: "{{ ref('order_line') }}"
+ # order_source: "{{ ref('order') }}"
+ # product_source: "{{ ref('product') }}"
+ # order_adjustment_source: "{{ ref('order_adjustment') }}"
+ # product_variant_source: "{{ ref('product_variant') }}"
+ # refund_source: "{{ ref('refund') }}"
+ # transaction_source: "{{ ref('transaction') }}"
+
klaviyo_source:
+ klaviyo_schema: 'shopify_holistic_reporting_integration_tests'
event_table: "{{ ref('event') }}"
campaign: "{{ ref('campaign') }}"
flow: "{{ fivetran_utils.snowflake_seed_data('flow') }}"
@@ -78,7 +82,8 @@ seeds:
+quote_columns: "{{ true if target.type in ('redshift', 'postgres') else false }}"
+column_types:
_fivetran_synced: timestamp
- shopify_customer_data:
+ customer:
+ +tags: shopify
+column_types:
created_at: timestamp
updated_at: timestamp
@@ -86,7 +91,8 @@ seeds:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
default_address_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
accepts_marketing: boolean
- shopify_order_data:
+ order:
+ +tags: shopify
+column_types:
created_at: timestamp
updated_at: timestamp
@@ -97,62 +103,79 @@ seeds:
customer_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_line_data:
+ order_line:
+ +tags: shopify
+column_types:
_fivetran_synced: timestamp
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
variant_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_line_refund_data:
+ order_line_refund:
+ +tags: shopify
+column_types:
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_line_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_product_data:
+ product:
+ +tags: shopify
+column_types:
created_at: timestamp
updated_at: timestamp
published_at: timestamp
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_adjustment_data:
+ order_adjustment:
+ +tags: shopify
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_product_variant_data:
+ product_variant:
+ +tags: shopify
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
inventory_item_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
transaction:
+ +tags: shopify
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
receipt: "{{ 'varchar(100)' if target.name in ('redshift', 'postgres') else 'string' }}"
- shopify_refund_data:
+ refund:
+ +tags: shopify
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
# klaviyo
person:
+ +tags: klaviyo
+column_types:
phone_number: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
flow:
+ +tags: klaviyo
+enabled: "{{ true if target.type != 'snowflake' else false }}"
+quote_columns: "{{ true if target.type == 'redshift' else false }}"
+column_types:
trigger: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
flow_snowflake:
+ +tags: klaviyo
+enabled: "{{ true if target.type == 'snowflake' else false }}"
event:
+ +tags: klaviyo
+column_types:
flow_id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
campaign_id: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
datetime: timestamp
- timestamp: timestamp
\ No newline at end of file
+ timestamp: timestamp
+ integration:
+ +tags: klaviyo
+ metric:
+ +tags: klaviyo
+ campaign:
+ +tags: klaviyo
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_customer_data.csv b/integration_tests/seeds/customer.csv
similarity index 100%
rename from integration_tests/seeds/shopify_customer_data.csv
rename to integration_tests/seeds/customer.csv
diff --git a/integration_tests/seeds/shopify_order_data.csv b/integration_tests/seeds/order.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_data.csv
rename to integration_tests/seeds/order.csv
diff --git a/integration_tests/seeds/shopify_order_adjustment_data.csv b/integration_tests/seeds/order_adjustment.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_adjustment_data.csv
rename to integration_tests/seeds/order_adjustment.csv
diff --git a/integration_tests/seeds/shopify_order_line_data.csv b/integration_tests/seeds/order_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_line_data.csv
rename to integration_tests/seeds/order_line.csv
diff --git a/integration_tests/seeds/shopify_order_line_refund_data.csv b/integration_tests/seeds/order_line_refund.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_line_refund_data.csv
rename to integration_tests/seeds/order_line_refund.csv
diff --git a/integration_tests/seeds/shopify_product_data.csv b/integration_tests/seeds/product.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_data.csv
rename to integration_tests/seeds/product.csv
diff --git a/integration_tests/seeds/shopify_product_variant_data.csv b/integration_tests/seeds/product_variant.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_variant_data.csv
rename to integration_tests/seeds/product_variant.csv
diff --git a/integration_tests/seeds/shopify_refund_data.csv b/integration_tests/seeds/refund.csv
similarity index 100%
rename from integration_tests/seeds/shopify_refund_data.csv
rename to integration_tests/seeds/refund.csv
From 2d0606533f8c0f4e531ab93ab124ef486965a019 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Wed, 3 May 2023 16:05:00 -0700
Subject: [PATCH 10/26] try this
---
integration_tests/ci/sample.profiles.yml | 2 +-
integration_tests/dbt_project.yml | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/integration_tests/ci/sample.profiles.yml b/integration_tests/ci/sample.profiles.yml
index 0bca0b5..d81000b 100644
--- a/integration_tests/ci/sample.profiles.yml
+++ b/integration_tests/ci/sample.profiles.yml
@@ -16,7 +16,7 @@ integration_tests:
pass: "{{ env_var('CI_REDSHIFT_DBT_PASS') }}"
dbname: "{{ env_var('CI_REDSHIFT_DBT_DBNAME') }}"
port: 5439
- schema: shopify_holistic_reporting_integration_tests
+ schema: shopify_holistic_reporting_integration_tests_1
threads: 8
bigquery:
type: bigquery
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index f6f22e1..868e36e 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -8,9 +8,12 @@ clean-targets: # directories to be removed by `dbt clean`
- "dbt_packages"
- "dbt_modules"
+quoting:
+ identifier: "{{ target.type == 'snowflake' }}"
+
vars:
shopify_source:
- shopify_schema: 'shopify_holistic_reporting_integration_tests'
+ shopify_schema: 'shopify_holistic_reporting_integration_tests_1'
# customer_source: "{{ ref('customer') }}"
# order_line_refund_source: "{{ ref('order_line_refund') }}"
# order_line_source: "{{ ref('order_line') }}"
@@ -22,7 +25,7 @@ vars:
# transaction_source: "{{ ref('transaction') }}"
klaviyo_source:
- klaviyo_schema: 'shopify_holistic_reporting_integration_tests'
+ klaviyo_schema: 'shopify_holistic_reporting_integration_tests_1'
event_table: "{{ ref('event') }}"
campaign: "{{ ref('campaign') }}"
flow: "{{ fivetran_utils.snowflake_seed_data('flow') }}"
From 6cfc6a57f3aeabe8129fe61e2082bf4da708b83d Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Fri, 5 May 2023 15:18:32 -0700
Subject: [PATCH 11/26] push to buidkite
---
.buildkite/scripts/run_models.sh | 3 +
CHANGELOG.md | 5 +
README.md | 5 +-
dbt_project.yml | 2 +-
integration_tests/dbt_project.yml | 152 +++++++++++++-----
integration_tests/seeds/order.csv | 4 -
.../seeds/shopify_abandoned_checkout_data.csv | 4 +
..._abandoned_checkout_discount_code_data.csv | 4 +
..._abandoned_checkout_shipping_line_data.csv | 6 +
.../seeds/shopify_collection_data.csv | 4 +
.../seeds/shopify_collection_product_data.csv | 4 +
...customer.csv => shopify_customer_data.csv} | 0
.../seeds/shopify_customer_tag_data.csv | 4 +
.../seeds/shopify_discount_code_data.csv | 4 +
.../seeds/shopify_fulfillment_data.csv | 4 +
.../seeds/shopify_fulfillment_event_data.csv | 6 +
.../seeds/shopify_inventory_item_data.csv | 4 +
.../seeds/shopify_inventory_level_data.csv | 4 +
.../seeds/shopify_location_data.csv | 3 +
.../seeds/shopify_metafield_data.csv | 6 +
....csv => shopify_order_adjustment_data.csv} | 0
.../seeds/shopify_order_data.csv | 4 +
.../shopify_order_discount_code_data.csv | 4 +
...r_line.csv => shopify_order_line_data.csv} | 0
...csv => shopify_order_line_refund_data.csv} | 0
.../shopify_order_note_attribute_data.csv | 6 +
.../shopify_order_shipping_line_data.csv | 4 +
.../shopify_order_shipping_tax_line_data.csv | 4 +
.../seeds/shopify_order_tag_data.csv | 4 +
.../seeds/shopify_order_url_tag_data.csv | 4 +
.../seeds/shopify_price_rule_data.csv | 4 +
.../{product.csv => shopify_product_data.csv} | 0
.../seeds/shopify_product_image_data.csv | 4 +
.../seeds/shopify_product_tag_data.csv | 6 +
...t.csv => shopify_product_variant_data.csv} | 0
.../{refund.csv => shopify_refund_data.csv} | 0
integration_tests/seeds/shopify_shop_data.csv | 2 +
.../seeds/shopify_tax_line_data.csv | 6 +
.../seeds/shopify_tender_transaction_data.csv | 6 +
...ction.csv => shopify_transaction_data.csv} | 0
.../int__shopify_customer_rollup.sql | 63 --------
.../int_shopify_holistic_reporting.yml | 49 ------
..._holistic_reporting__customer_enhanced.sql | 25 ++-
packages.yml | 2 +-
44 files changed, 253 insertions(+), 172 deletions(-)
delete mode 100644 integration_tests/seeds/order.csv
create mode 100644 integration_tests/seeds/shopify_abandoned_checkout_data.csv
create mode 100644 integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv
create mode 100644 integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv
create mode 100644 integration_tests/seeds/shopify_collection_data.csv
create mode 100644 integration_tests/seeds/shopify_collection_product_data.csv
rename integration_tests/seeds/{customer.csv => shopify_customer_data.csv} (100%)
create mode 100644 integration_tests/seeds/shopify_customer_tag_data.csv
create mode 100644 integration_tests/seeds/shopify_discount_code_data.csv
create mode 100644 integration_tests/seeds/shopify_fulfillment_data.csv
create mode 100644 integration_tests/seeds/shopify_fulfillment_event_data.csv
create mode 100644 integration_tests/seeds/shopify_inventory_item_data.csv
create mode 100644 integration_tests/seeds/shopify_inventory_level_data.csv
create mode 100644 integration_tests/seeds/shopify_location_data.csv
create mode 100644 integration_tests/seeds/shopify_metafield_data.csv
rename integration_tests/seeds/{order_adjustment.csv => shopify_order_adjustment_data.csv} (100%)
create mode 100644 integration_tests/seeds/shopify_order_data.csv
create mode 100644 integration_tests/seeds/shopify_order_discount_code_data.csv
rename integration_tests/seeds/{order_line.csv => shopify_order_line_data.csv} (100%)
rename integration_tests/seeds/{order_line_refund.csv => shopify_order_line_refund_data.csv} (100%)
create mode 100644 integration_tests/seeds/shopify_order_note_attribute_data.csv
create mode 100644 integration_tests/seeds/shopify_order_shipping_line_data.csv
create mode 100644 integration_tests/seeds/shopify_order_shipping_tax_line_data.csv
create mode 100644 integration_tests/seeds/shopify_order_tag_data.csv
create mode 100644 integration_tests/seeds/shopify_order_url_tag_data.csv
create mode 100644 integration_tests/seeds/shopify_price_rule_data.csv
rename integration_tests/seeds/{product.csv => shopify_product_data.csv} (100%)
create mode 100644 integration_tests/seeds/shopify_product_image_data.csv
create mode 100644 integration_tests/seeds/shopify_product_tag_data.csv
rename integration_tests/seeds/{product_variant.csv => shopify_product_variant_data.csv} (100%)
rename integration_tests/seeds/{refund.csv => shopify_refund_data.csv} (100%)
create mode 100644 integration_tests/seeds/shopify_shop_data.csv
create mode 100644 integration_tests/seeds/shopify_tax_line_data.csv
create mode 100644 integration_tests/seeds/shopify_tender_transaction_data.csv
rename integration_tests/seeds/{transaction.csv => shopify_transaction_data.csv} (100%)
delete mode 100644 models/intermediate/int__shopify_customer_rollup.sql
diff --git a/.buildkite/scripts/run_models.sh b/.buildkite/scripts/run_models.sh
index ea3de4b..ff0bc11 100644
--- a/.buildkite/scripts/run_models.sh
+++ b/.buildkite/scripts/run_models.sh
@@ -18,4 +18,7 @@ cd integration_tests
dbt deps
dbt seed --target "$db" --full-refresh
dbt run --target "$db" --full-refresh
+dbt run --target "$db"
+dbt run --vars '{shopify_timezone: "America/New_York", shopify_using_fulfillment_event: true, shopify_using_all_metafields: true}' --target "$db" --full-refresh
+dbt run --vars '{shopify_timezone: "America/New_York", shopify_using_fulfillment_event: true, shopify_using_all_metafields: true}' --target "$db"
dbt test --target "$db"
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a34cb2a..4846eab 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# dbt_shopify_holistic_reporting v0.4.0
+
+- points to new verion of Shopify package which has breaking changes ([v0.8.0 release notes](https://github.com/fivetran/dbt_shopify/releases/tag/v0.8.0))
+ - shop
+
# dbt_shopify_holistic_reporting v0.3.1
## Bug Fixes:
diff --git a/README.md b/README.md
index 4248cb2..4efd974 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ If you have multiple Shopify and/or Klaviyo connectors in Fivetran and would lik
```yml
# dbt_project.yml
-...
+
config-version: 2
vars:
klaviyo_source:
@@ -75,7 +75,6 @@ By default, this package will build the final models within a schema titled (`=0.7.0", "<0.8.0"]
+ version: [">=0.8.0", "<0.9.0"]
- package: fivetran/shopify_source
version: [">=0.7.0", "<0.8.0"]
diff --git a/dbt_project.yml b/dbt_project.yml
index 29cf854..d357726 100644
--- a/dbt_project.yml
+++ b/dbt_project.yml
@@ -1,5 +1,5 @@
name: 'shopify_holistic_reporting'
-version: '0.3.1'
+version: '0.4.0'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
models:
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 868e36e..8ca2845 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -8,33 +8,55 @@ clean-targets: # directories to be removed by `dbt clean`
- "dbt_packages"
- "dbt_modules"
-quoting:
- identifier: "{{ target.type == 'snowflake' }}"
-
vars:
shopify_source:
shopify_schema: 'shopify_holistic_reporting_integration_tests_1'
- # customer_source: "{{ ref('customer') }}"
- # order_line_refund_source: "{{ ref('order_line_refund') }}"
- # order_line_source: "{{ ref('order_line') }}"
- # order_source: "{{ ref('order') }}"
- # product_source: "{{ ref('product') }}"
- # order_adjustment_source: "{{ ref('order_adjustment') }}"
- # product_variant_source: "{{ ref('product_variant') }}"
- # refund_source: "{{ ref('refund') }}"
- # transaction_source: "{{ ref('transaction') }}"
+ shopify_customer_identifier: "shopify_customer_data"
+ shopify_order_line_refund_identifier: "shopify_order_line_refund_data"
+ shopify_order_line_identifier: "shopify_order_line_data"
+ shopify_order_identifier: "shopify_order_data"
+ shopify_product_identifier: "shopify_product_data"
+ shopify_order_adjustment_identifier: "shopify_order_adjustment_data"
+ shopify_product_variant_identifier: "shopify_product_variant_data"
+ shopify_refund_identifier: "shopify_refund_data"
+ shopify_transaction_identifier: "shopify_transaction_data"
+ shopify_abandoned_checkout_identifier: "shopify_abandoned_checkout_data"
+ shopify_collection_product_identifier: "shopify_collection_product_data"
+ shopify_collection_identifier: "shopify_collection_data"
+ shopify_customer_tag_identifier: "shopify_customer_tag_data"
+ shopify_discount_code_identifier: "shopify_discount_code_data"
+ shopify_fulfillment_identifier: "shopify_fulfillment_data"
+ shopify_fulfillment_event_identifier: "shopify_fulfillment_event_data"
+ shopify_inventory_item_identifier: "shopify_inventory_item_data"
+ shopify_inventory_level_identifier: "shopify_inventory_level_data"
+ shopify_location_identifier: "shopify_location_data"
+ shopify_metafield_identifier: "shopify_metafield_data"
+ shopify_order_note_attribute_identifier: "shopify_order_note_attribute_data"
+ shopify_order_shipping_line_identifier: "shopify_order_shipping_line_data"
+ shopify_order_shipping_tax_line_identifier: "shopify_order_shipping_tax_line_data"
+ shopify_order_tag_identifier: "shopify_order_tag_data"
+ shopify_order_url_tag_identifier: "shopify_order_url_tag_data"
+ shopify_price_rule_identifier: "shopify_price_rule_data"
+ shopify_product_image_identifier: "shopify_product_image_data"
+ shopify_product_tag_identifier: "shopify_product_tag_data"
+ shopify_shop_identifier: "shopify_shop_data"
+ shopify_tax_line_identifier: "shopify_tax_line_data"
+ shopify_tender_transaction_identifier: "shopify_tender_transaction_data"
+ shopify_abandoned_checkout_discount_code_identifier: "shopify_abandoned_checkout_discount_code_data"
+ shopify_order_discount_code_identifier: "shopify_order_discount_code_data"
+ shopify_abandoned_checkout_shipping_line_identifier: "shopify_abandoned_checkout_shipping_line_data"
klaviyo_source:
klaviyo_schema: 'shopify_holistic_reporting_integration_tests_1'
- event_table: "{{ ref('event') }}"
- campaign: "{{ ref('campaign') }}"
- flow: "{{ fivetran_utils.snowflake_seed_data('flow') }}"
- integration: "{{ ref('integration') }}"
- person: "{{ ref('person') }}"
- metric: "{{ ref('metric') }}"
+ klaviyo_campaign_identifier: "campaign"
+ klaviyo_event_identifier: "event"
+ klaviyo_flow_identifier: "flow"
+ klaviyo_integration_identifier: "integration"
+ klaviyo_person_identifier: "person"
+ klaviyo_metric_identifier: "metric"
klaviyo__event_pass_through_columns: []
klaviyo__person_pass_through_columns: []
-
+
klaviyo:
klaviyo__eligible_attribution_events: # default in klaviyo -> https://help.klaviyo.com/hc/en-us/articles/115005248128
- 'opened email'
@@ -85,17 +107,15 @@ seeds:
+quote_columns: "{{ true if target.type in ('redshift', 'postgres') else false }}"
+column_types:
_fivetran_synced: timestamp
- customer:
- +tags: shopify
+ shopify_customer_data:
+column_types:
created_at: timestamp
updated_at: timestamp
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
default_address_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- accepts_marketing: boolean
- order:
- +tags: shopify
+ email: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ shopify_order_data:
+column_types:
created_at: timestamp
updated_at: timestamp
@@ -106,55 +126,111 @@ seeds:
customer_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- order_line:
- +tags: shopify
+ shopify_order_line_data:
+column_types:
_fivetran_synced: timestamp
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
variant_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- order_line_refund:
- +tags: shopify
+ shopify_order_line_refund_data:
+column_types:
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_line_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- product:
- +tags: shopify
+ shopify_product_data:
+column_types:
created_at: timestamp
updated_at: timestamp
published_at: timestamp
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- order_adjustment:
- +tags: shopify
+ shopify_order_adjustment_data:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- product_variant:
- +tags: shopify
+ shopify_product_variant_data:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
inventory_item_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- transaction:
- +tags: shopify
+ shopify_transaction_data:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
receipt: "{{ 'varchar(100)' if target.name in ('redshift', 'postgres') else 'string' }}"
- refund:
- +tags: shopify
+ shopify_refund_data:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
+ shopify_abandoned_checkout_discount_code_data:
+ +column_types:
+ amount: float
+ created_at: timestamp
+ updated_at: timestamp
+ shopify_abandoned_checkout_data:
+ +column_types:
+ total_line_items_price: float
+ billing_address_phone: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ shipping_address_phone: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ closed_at: timestamp
+ created_at: timestamp
+ updated_at: timestamp
+ _fivetran_deleted: boolean
+ shopify_discount_code_data:
+ +column_types:
+ usage_count: float
+ shopify_order_discount_code_data:
+ +column_types:
+ amount: float
+ shopify_order_shipping_tax_line_data:
+ +column_types:
+ price: float
+ shopify_order_shipping_line_data:
+ +column_types:
+ discounted_price: float
+ price: float
+ shopify_price_rule_data:
+ +column_types:
+ prerequisite_subtotal_range: float
+ value: float
+ shopify_collection_data:
+ +column_types:
+ disjunctive: boolean
+ published_at: timestamp
+ updated_at: timestamp
+ title: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ shopify_metafield_data:
+ +column_types:
+ value_type: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ type: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ shopify_shop_data:
+ +column_types:
+ taxes_included: boolean
+ google_apps_login_enabled: boolean
+ county_taxes: boolean
+ shopify_inventory_level_data:
+ +column_types:
+ updated_at: timestamp
+ shopify_inventory_item_data:
+ +column_types:
+ updated_at: timestamp
+ created_at: timestamp
+ shopify_abandoned_checkout_shipping_line_data:
+ +column_types:
+ markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ price: float
+ original_shop_markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ original_shop_price: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
+ shopify_tax_line_data:
+ +column_types:
+ price: float
+ rate: float
# klaviyo
person:
+tags: klaviyo
diff --git a/integration_tests/seeds/order.csv b/integration_tests/seeds/order.csv
deleted file mode 100644
index 83dbb5e..0000000
--- a/integration_tests/seeds/order.csv
+++ /dev/null
@@ -1,4 +0,0 @@
-id,note,email,taxes_included,currency,subtotal_price,total_tax,total_price,created_at,updated_at,name,shipping_address_name,shipping_address_first_name,shipping_address_last_name,shipping_address_company,shipping_address_phone,shipping_address_address_1,shipping_address_address_2,shipping_address_city,shipping_address_country,shipping_address_country_code,shipping_address_province,shipping_address_province_code,shipping_address_zip,shipping_address_latitude,shipping_address_longitude,billing_address_name,billing_address_first_name,billing_address_last_name,billing_address_company,billing_address_phone,billing_address_address_1,billing_address_address_2,billing_address_city,billing_address_country,billing_address_country_code,billing_address_province,billing_address_province_code,billing_address_zip,billing_address_latitude,billing_address_longitude,customer_id,location_id,user_id,number,order_number,financial_status,fulfillment_status,processed_at,processing_method,referring_site,cancel_reason,cancelled_at,closed_at,total_discounts,total_line_items_price,total_weight,source_name,browser_ip,buyer_accepts_marketing,token,cart_token,checkout_token,test,landing_site_base_url,_fivetran_synced
-2674098602081,71509c29301d2cc14e37ecb53f735608,021cb20b5c78751fc7ddc091b6b69b3e,TRUE,GBP,2.8,0,2.8,2020-09-11 19:35:42.000 ,2020-09-11 19:35:46.000 ,d1743fc58a1e4d78769eaac49994a994,8b121314a4d97bc9dc15bfba8518ec88,f0962b7a185488ecb752cedac1038349,aa35cb67c26e64bb81a1bf3f17e858ba,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,d6f4a399883df85d9d4b3a02bf6e738a,bc9b8576178dcd886639ba718f1d45c8,ac08c606d455cde42980f980524a8038,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,d41d8cd98f00b204e9800998ecf8427e,,00079ce435afddc28205639142773870,d97319f64674c02595f2989019970fc8,c08dae474c5d4d3326fd6764d2a0ebe6,8b121314a4d97bc9dc15bfba8518ec88,f0962b7a185488ecb752cedac1038349,aa35cb67c26e64bb81a1bf3f17e858ba,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,d6f4a399883df85d9d4b3a02bf6e738a,bc9b8576178dcd886639ba718f1d45c8,ac08c606d455cde42980f980524a8038,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,d41d8cd98f00b204e9800998ecf8427e,,00079ce435afddc28205639142773870,d97319f64674c02595f2989019970fc8,c08dae474c5d4d3326fd6764d2a0ebe6,3589760876641,,,4135,5135,paid,,2020-09-11 19:35:42.000 ,,,,,,2.8,5.6,0,294517,,TRUE,0f9c2880de17f71511eee5542c29b999,,,FALSE,,2020-09-12 00:15:10.199
-2669516488801,,dce90c7b4e52e045e5975836aff49cf1,TRUE,GBP,2.8,0,3.79,2020-09-09 23:01:54.000 ,2020-09-10 15:38:26.000 ,4fcb884b5b46413bae526a6e7e49d706,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,3584045351009,,,4066,5066,paid,fulfilled,2020-09-09 23:01:53.000 ,direct,2cc983716a820bc713b793a6e8e73f42,,,2020-09-10 15:38:26.000 ,0,2.8,0,web,109.249.185.68,FALSE,fb489b3ccc0ae36ce47744d7595e9746,b1ff04883dfeab658cd5211050476729,7bdb994e1196de3e4f34586e357613f9,FALSE,8584e97b29b0802fb393fa453a8b6a7a,2020-09-11 00:14:33.536
-2669509541985,,dce90c7b4e52e045e5975836aff49cf1,TRUE,GBP,4.4,0,5.39,2020-09-09 22:57:51.000 ,2020-09-10 15:38:25.000 ,9e346f2e912c60e16679f4a4c8d29422,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,3584045351009,,,4065,5065,paid,fulfilled,2020-09-09 22:57:50.000 ,direct,2cc983716a820bc713b793a6e8e73f42,,,2020-09-10 15:38:25.000 ,0,4.4,0,web,109.249.185.68,FALSE,e44b7f04610a8f4032530cc7f12663de,9600543f4d4613db59ac58a1009ecbb9,cf0a9fe2c7c606b86559007dbb890a62,FALSE,8584e97b29b0802fb393fa453a8b6a7a,2020-09-11 00:14:33.037
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_data.csv b/integration_tests/seeds/shopify_abandoned_checkout_data.csv
new file mode 100644
index 0000000..9a1c930
--- /dev/null
+++ b/integration_tests/seeds/shopify_abandoned_checkout_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_synced,abandoned_checkout_url,applied_discount_amount,applied_discount_applicable,applied_discount_description,applied_discount_non_applicable_reason,applied_discount_title,applied_discount_value,applied_discount_value_type,billing_address_address_1,billing_address_address_0,billing_address_city,billing_address_company,billing_address_country,billing_address_country_code,billing_address_first_name,billing_address_last_name,billing_address_latitude,billing_address_longitude,billing_address_name,billing_address_phone,billing_address_province,billing_address_province_code,billing_address_zip,buyer_accepts_marketing,cart_token,closed_at,completed_at,created_at,credit_card_first_name,credit_card_last_name,credit_card_month,credit_card_number,credit_card_verification_value,credit_card_year,currency,customer_id,customer_locale,device_id,email,gateway,landing_site_base_url,location_id,name,note,phone,referring_site,shipping_address_address_1,shipping_address_address_0,shipping_address_city,shipping_address_company,shipping_address_country,shipping_address_country_code,shipping_address_first_name,shipping_address_last_name,shipping_address_latitude,shipping_address_longitude,shipping_address_name,shipping_address_phone,shipping_address_province,shipping_address_province_code,shipping_address_zip,shipping_line,shipping_rate_id,shipping_rate_price,shipping_rate_title,source,source_identifier,source_name,source_url,subtotal_price,taxes_included,token,total_discounts,total_line_items_price,total_price,total_tax,total_weight,updated_at,user_id,note_attribute_littledata_updated_at,note_attribute_segment_client_id,billing_address_id,billing_address_is_default,presentment_currency,shipping_address_id,shipping_address_is_default,total_duties,note_attribute_email_client_id,note_attributes,note_attribute_google_client_id,_fivetran_deleted
+12111,2020-06-03 11:11:51.015110,https://kitties.com/1111311610/checkouts/f050eda125a10cca513162f01101b261/recover?key=bd0fdf1dc1a1af01aecbdaa3101ec063,,,,,,,,,,,,,,,,,,,,,,,false,aaaa211622dfb133,,,2020-11-12 10:06:50.111111,,,,,,,USD,121,en,,tnyrnbs@hh.com,paypal,/collections/the-archive-sale,,#10160311,,,,123 main st,Apt 02,Washington,,United States,US,Pauly,D,31.111511,-26.112602,DJ PAULY D,(115) 061-1012,District of Columbia,DC,12305,,,,,,,web,,56.0,false,f050eda12f111b261,1.0,560.0,501.36,13.36,1,2020-11-12 10:51:10.111111,,,,,,,,,,,,,
+11111,2020-01-11 06:01:35.021111,https://kitties.com/1111311610/checkouts/6661ff02165dfd11b12db112f0111226/recover?key=51611efdff11e0caccc0fd30b0e1e202,,,,,,,,village,Apt 0,daytona Beach,,Florida,US,ohio,Calles,1.1261131111,-21.502661,hi,+50266111110,Healdsburg,PA-11,,false,611faa630ce5e6bcc0bacc2a105c0126,,,2020-05-11 01:01:30.111111,,,,,,,USD,366525,en,,hyrehher@gmail.com,,/collections/sale,,#13311,,,https://www.google.com/,123 main st,Pty 3,ghreiuhtg,,United States,US,ohio,Calle pty115,,,ohio Calle pty115,+12161115152,Florida,FL,33120,,,,,,,web,,10.35,false,a165dfd11226,16.65,111.0,10.35,1.0,1,2020-05-11 01:06:35.111111,,,,,,,,,,,,,
+66531,2021-11-11 11:02:30.112110,https://kitties.com/1111311610/checkouts/0abddd111c0211f1e616ec0d0c32021c/recover?key=abed6505d26f1a60a50aa0c02e01be31,,,,,,,,,,,,,,,,,,,,,,,false,aaaaa61e1d11af3adfac1f0,,,2021-11-11 02:05:13.111111,,,,,,,USD,160363,en,,hernebbe@hr.com,,/collections/new,,#166531,,,https://l.facebook.com/,11-01 01st St,apt 0C,Springfield,,United States,US,dan,the man,,,dan the man,+13021115311,New York,NY,11111-020,,,,,,,web,,191.0,false,l1abddd111c0211f2021c,1.0,111.0,111.0,1.0,1,2021-11-11 02:05:55.111111,,125150,a111c-30fc-0bb6-a25e-06f201c6035c,,,USD,,,,,"[{""name"":""segment-clientID"",""value"":""610a111c-30fc-0bb6-a25e-06f201c6035c""},{""name"":""_updatedAt"",""value"":""1613121625150""}]",,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv b/integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv
new file mode 100644
index 0000000..56f6408
--- /dev/null
+++ b/integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv
@@ -0,0 +1,4 @@
+checkout_id,index,_fivetran_synced,amount,discount_id,code,created_at,type,updated_at,usage_count
+901163,0,2022-12-07 06:49:37.929000,0.0,,CYBER12,,percentage,,
+4334827,0,2022-12-07 06:49:37.926000,0.0,,CYBER12,,percentage,,
+4566403,0,2022-12-07 06:49:33.182000,0.0,,BONUS,,percentage,,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv b/integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv
new file mode 100644
index 0000000..62181c4
--- /dev/null
+++ b/integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv
@@ -0,0 +1,6 @@
+checkout_id,index,_fivetran_synced,api_client_id,carrier_identifier,carrier_service_id,code,delivery_category,discounted_price,id,markup,phone,price,requested_fulfillment_service_id,source,title,validation_context,delivery_expectation_range,delivery_expectation_type,original_shop_markup,original_shop_price,presentment_title,delivery_expectation_range_min,delivery_expectation_range_max
+653675,1,2023-01-09 06:48:18.093000,,,,Standard,,,c3ce0972c2e30eaf7001bea,0.0,,0.0,,shopify,Standard,,,,0.0,0.0,Standard,,
+379,1,2023-01-09 06:48:23.540000,,,,Standard,,,bf7c90953344902c13,0.0,,0.0,,shopify,Standard,,,,0.0,0.0,Standard,,
+635,1,2023-01-09 06:48:24.243000,,,,Standard,,,519ff4275cd972e282db,0.0,,0.0,,shopify,Standard,,,,0.0,0.0,Standard,,
+3211,1,2023-01-09 06:48:18.068000,,,,Standard,,,8d18671d481ad46a,0.0,,0.0,,shopify,Standard,,,,0.0,0.0,Standard,,
+381227,1,2023-01-09 06:48:16.985000,,,,Standard,,,8f2fab1b455ec9e597,0.0,,0.0,,shopify,Standard,,,,0.0,0.0,Standard,,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_collection_data.csv b/integration_tests/seeds/shopify_collection_data.csv
new file mode 100644
index 0000000..858d15b
--- /dev/null
+++ b/integration_tests/seeds/shopify_collection_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_deleted,_fivetran_synced,handle,published_at,published_scope,title,updated_at,disjunctive,rules,sort_order,template_suffix,body_html
+997355,true,2021-09-01 05:53:25.838000,,,,,1970-01-01 00:00:00.000000,,,,,
+9930779,true,2021-09-01 05:53:26.673000,,,,,1970-01-01 00:00:00.000000,,,,,
+99967,true,2022-04-08 06:52:19.524000,,,,,1970-01-01 00:00:00.000000,,,,,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_collection_product_data.csv b/integration_tests/seeds/shopify_collection_product_data.csv
new file mode 100644
index 0000000..5ad15c6
--- /dev/null
+++ b/integration_tests/seeds/shopify_collection_product_data.csv
@@ -0,0 +1,4 @@
+collection_id,product_id,_fivetran_synced
+37124,789131,2022-11-18 21:32:43.188000
+9037124,74353899,2022-11-18 21:32:43.188000
+37124,8891,2022-11-18 21:32:43.188000
\ No newline at end of file
diff --git a/integration_tests/seeds/customer.csv b/integration_tests/seeds/shopify_customer_data.csv
similarity index 100%
rename from integration_tests/seeds/customer.csv
rename to integration_tests/seeds/shopify_customer_data.csv
diff --git a/integration_tests/seeds/shopify_customer_tag_data.csv b/integration_tests/seeds/shopify_customer_tag_data.csv
new file mode 100644
index 0000000..b94bcab
--- /dev/null
+++ b/integration_tests/seeds/shopify_customer_tag_data.csv
@@ -0,0 +1,4 @@
+customer_id,index,_fivetran_synced,value
+9919268,1,2022-12-03 06:49:03.314000,GGPP
+4404,1,2022-12-03 06:48:53.295000,GGPP
+5509188,1,2022-12-03 06:48:55.067000,GGPP
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_discount_code_data.csv b/integration_tests/seeds/shopify_discount_code_data.csv
new file mode 100644
index 0000000..ca1f48b
--- /dev/null
+++ b/integration_tests/seeds/shopify_discount_code_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_synced,code,created_at,price_rule_id,updated_at,usage_count
+4773499,2021-12-10 07:04:44.670000,CHECKVB34DDBQ3VH,2021-12-10 06:48:35.000000,32543,2021-12-10 06:48:35.000000,0.0
+0436267,2021-12-10 07:04:44.670000,CHECKVBLJG22DDD,2021-12-10 06:48:35.000000,12543,2021-12-10 06:48:35.000000,0.0
+469035,2021-12-10 07:04:44.670000,CHECKV44CCCBCWB7,2021-12-10 06:48:35.000000,12543,2021-12-10 06:48:35.000000,0.0
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_fulfillment_data.csv b/integration_tests/seeds/shopify_fulfillment_data.csv
new file mode 100644
index 0000000..ba588fa
--- /dev/null
+++ b/integration_tests/seeds/shopify_fulfillment_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_synced,created_at,location_id,order_id,status,tracking_company,tracking_number,updated_at,tracking_numbers,tracking_urls,shipment_status,service,name,receipt_authorization
+423844,2022-11-22 08:06:32.902000,2019-07-13 01:17:22.000000,123548,1228100,success,,,2019-07-13 01:17:22.000000,[],[],,manual,#151212.1,
+8308,2022-11-22 08:06:33.863000,2019-07-13 01:17:21.000000,548,1274564,success,,,2019-07-13 01:17:22.000000,[],[],,manual,#152317.1,
+548932,2022-11-22 08:06:56.262000,2019-07-13 01:17:21.000000,12348,1284,success,,,2019-07-13 01:17:21.000000,[],[],,manual,#1555923.1,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_fulfillment_event_data.csv b/integration_tests/seeds/shopify_fulfillment_event_data.csv
new file mode 100644
index 0000000..b4d8120
--- /dev/null
+++ b/integration_tests/seeds/shopify_fulfillment_event_data.csv
@@ -0,0 +1,6 @@
+id,_fivetran_synced,address_1,city,country,created_at,estimated_delivery_at,fulfillment_id,happened_at,latitude,longitude,message,order_id,province,shop_id,status,updated_at,zip,_fivetran_deleted
+451435,2022-11-18 04:39:07.945000,,,,2022-08-29 20:52:39.000000,,40495,2022-08-29 20:52:39.000000,,,,4502987,,89440612,delivered,2022-08-29 20:52:39.000000,,false
+48779,2022-11-18 05:48:01.773000,,LONDON,GB,2022-09-13 08:07:57.000000,,4064737,2022-08-15 12:41:00.000000,101.349998474121094,-14.0333000011742115,Delay,4588203,,320612,out_for_delivery,2022-09-13 08:07:57.000000,CR0,false
+1481515,2022-11-18 05:41:00.745000,,ECHO PARK,AU,2022-09-14 14:16:52.000000,2022-09-14 08:00:00.000000,4019339,2022-09-14 01:26:00.000000,-3.797698974609375,190.783958203125,Delay,451915,,89320612,out_for_delivery,2022-09-14 14:16:52.000000,2759,false
+558955,2022-11-18 10:51:24.286000,,LAZYTOWN,US,2022-08-13 12:40:26.000000,,402947,2022-03-01 10:36:39.000000,22.337699890136719,-71.731002807617188,Delay,429188587,MA,89420612,in_transit,2022-08-13 12:40:26.000000,01505,false
+6904235,2022-11-18 08:58:00.458000,,LA,US,2022-08-24 06:29:21.000000,2022-08-24 23:59:59.000000,4060491,2022-08-24 05:30:57.000000,12.287498474121094,-21.3573989868164,Delay,4242667,MA,89420612,in_transit,2022-08-24 06:29:21.000000,01760,false
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_inventory_item_data.csv b/integration_tests/seeds/shopify_inventory_item_data.csv
new file mode 100644
index 0000000..42bef50
--- /dev/null
+++ b/integration_tests/seeds/shopify_inventory_item_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_synced,cost,created_at,requires_shipping,sku,tracked,updated_at,country_code_of_origin,province_code_of_origin,_fivetran_deleted
+4555,2021-12-18 06:56:22.877000,,,,,,,,,true
+501419,2022-02-25 06:52:29.767000,,,,,,,,,true
+851179,2022-02-24 06:52:33.361000,,,,,,,,,true
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_inventory_level_data.csv b/integration_tests/seeds/shopify_inventory_level_data.csv
new file mode 100644
index 0000000..8bf44a3
--- /dev/null
+++ b/integration_tests/seeds/shopify_inventory_level_data.csv
@@ -0,0 +1,4 @@
+inventory_item_id,location_id,_fivetran_synced,available,updated_at
+780939,287748,2021-11-13 08:02:21.760000,,
+6027,287748,2021-11-13 08:02:21.760000,,
+515,28748,2021-11-06 08:04:16.213000,,
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_location_data.csv b/integration_tests/seeds/shopify_location_data.csv
new file mode 100644
index 0000000..acb13ae
--- /dev/null
+++ b/integration_tests/seeds/shopify_location_data.csv
@@ -0,0 +1,3 @@
+id,_fivetran_synced,active,address_1,address_2,city,country,created_at,legacy,name,phone,province,updated_at,zip,country_code,country_name,localized_country_name,localized_province_name,province_code,_fivetran_deleted
+8777748,2022-12-07 06:43:31.005000,true,,,,US,2019-06-11 15:58:20.000000,true,Plum,,,2019-06-11 15:58:20.000000,,US,United States,United States,,,false
+7748,2022-12-07 06:43:31.005000,true,111 Tree Road,,Tree,US,2018-12-10 16:24:07.000000,false,Plum Express,,NY,2019-05-16 13:37:39.000000,07394,US,United States,United States,New Yorl,NY,false
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_metafield_data.csv b/integration_tests/seeds/shopify_metafield_data.csv
new file mode 100644
index 0000000..ca7fb5c
--- /dev/null
+++ b/integration_tests/seeds/shopify_metafield_data.csv
@@ -0,0 +1,6 @@
+id,_fivetran_synced,created_at,description,key,namespace,owner_id,owner_resource,updated_at,value,value_type,type
+5445055,2022-11-19 10:06:09.531000,2019-10-28 20:06:39.000000,,returnAuthorizations,blade_runner,390244,order,2019-10-28 20:06:39.000000,"[{""id"":""ce95-49e4-9daf-41f29bbbb799"",""totalValue"":44444,""status"":""RECEIVED"",""payload"":{""totalReturnValue"":4444,""validReturnItems"":[{""UPC"":""19073825552"",""Quantity"":""1"",""Reason"":""changed-mind"",""LineItem"":""40055558892132""}]},""createdAt"":""2019-10-28T20:06:39.569Z"",""modifiedAt"":""2019-10-28T20:06:39.569Z""}]",,json_string
+6337647,2022-11-21 01:57:33.851000,2020-06-17 11:35:28.000000,,returnAuthorizations,blade_runner,254671,order,2020-06-17 11:35:28.000000,"[{""id"":""557ece73-658b-cf694dcd3f7e"",""totalValue"":4444,""status"":""RECEIVED"",""payload"":{""totalReturnValue"":444.77,""validReturnItems"":[{""UPC"":""19055550468"",""Quantity"":""1"",""Reason"":""fit-issues"",""LineItem"":""4935555579471""}]},""createdAt"":""2020-06-17T11:35:28.469Z"",""modifiedAt"":""2020-06-17T11:35:28.470Z""}]",,json_string
+576111,2022-11-21 03:19:59.064000,2020-06-10 18:35:44.000000,,returnAuthorizations,blade_runner,22527,order,2020-06-10 18:35:44.000000,"[{""id"":""e461c20a-9dc7-d38de1c9012a"",""totalValue"":4444,""status"":""RECEIVED"",""payload"":{""totalReturnValue"":444,""validReturnItems"":[{""UPC"":""190735551121"",""Quantity"":""1"",""Reason"":""too-big"",""LineItem"":""4925555231""}]},""createdAt"":""2020-06-10T18:35:44.043Z"",""modifiedAt"":""2020-06-10T18:35:44.043Z""}]",,json_string
+55241839,2022-11-21 01:29:09.347000,2020-07-15 21:24:16.000000,,returnAuthorizations,blade_runner,2335775,order,2020-07-15 21:24:16.000000,"[{""id"":""0c79163e-f55b56f50aff"",""totalValue"":44478.000000000004,""status"":""RECEIVED"",""payload"":{""totalReturnValue"":4444.78000000000003,""validReturnItems"":[{""UPC"":""190555325"",""Quantity"":""1"",""Reason"":""fit-issues"",""LineItem"":""5555599407""}]},""createdAt"":""2020-07-15T21:24:16.210Z"",""modifiedAt"":""2020-07-15T21:24:16.210Z""}]",,json_string
+4575,2022-11-21 03:07:20.669000,2020-06-24 17:23:12.000000,,returnAuthorizations,blade_runner,220655,order,2020-06-24 17:23:12.000000,"[{""id"":""3679-4811-94fd-555bf9846753"",""totalValue"":44581,""status"":""BACKEND_GENERATED"",""payload"":{""totalReturnValue"":4444.81,""validReturnItems"":[{""UPC"":""190735558"",""Quantity"":1,""Reason"":""Changed My Mind"",""LineItem"":""455555711""}]},""createdAt"":""2020-06-24T17:23:12.272Z"",""modifiedAt"":""2020-06-24T17:23:12.272Z""}]",,json_string
\ No newline at end of file
diff --git a/integration_tests/seeds/order_adjustment.csv b/integration_tests/seeds/shopify_order_adjustment_data.csv
similarity index 100%
rename from integration_tests/seeds/order_adjustment.csv
rename to integration_tests/seeds/shopify_order_adjustment_data.csv
diff --git a/integration_tests/seeds/shopify_order_data.csv b/integration_tests/seeds/shopify_order_data.csv
new file mode 100644
index 0000000..fb0c0ae
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_data.csv
@@ -0,0 +1,4 @@
+id,note,email,taxes_included,currency,subtotal_price,total_tax,total_price,created_at,updated_at,name,shipping_address_name,shipping_address_first_name,shipping_address_last_name,shipping_address_company,shipping_address_phone,shipping_address_address_1,shipping_address_address_2,shipping_address_city,shipping_address_country,shipping_address_country_code,shipping_address_province,shipping_address_province_code,shipping_address_zip,shipping_address_latitude,shipping_address_longitude,billing_address_name,billing_address_first_name,billing_address_last_name,billing_address_company,billing_address_phone,billing_address_address_1,billing_address_address_2,billing_address_city,billing_address_country,billing_address_country_code,billing_address_province,billing_address_province_code,billing_address_zip,billing_address_latitude,billing_address_longitude,customer_id,location_id,user_id,number,order_number,financial_status,fulfillment_status,processed_at,processing_method,referring_site,cancel_reason,cancelled_at,closed_at,total_discounts,total_line_items_price,total_weight,source_name,browser_ip,buyer_accepts_marketing,token,cart_token,checkout_token,test,landing_site_base_url,_fivetran_synced
+2674098602081,71509c29301d2cc14e37ecb53f735608,021cb20b5c78751fc7ddc091b6b69b3e,TRUE,GBP,2.8,0,2.8,2020-09-11 19:35:42.000,2020-09-11 19:35:46.000,d1743fc58a1e4d78769eaac49994a994,8b121314a4d97bc9dc15bfba8518ec88,f0962b7a185488ecb752cedac1038349,aa35cb67c26e64bb81a1bf3f17e858ba,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,d6f4a399883df85d9d4b3a02bf6e738a,bc9b8576178dcd886639ba718f1d45c8,ac08c606d455cde42980f980524a8038,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,d41d8cd98f00b204e9800998ecf8427e,,00079ce435afddc28205639142773870,d97319f64674c02595f2989019970fc8,c08dae474c5d4d3326fd6764d2a0ebe6,8b121314a4d97bc9dc15bfba8518ec88,f0962b7a185488ecb752cedac1038349,aa35cb67c26e64bb81a1bf3f17e858ba,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,d6f4a399883df85d9d4b3a02bf6e738a,bc9b8576178dcd886639ba718f1d45c8,ac08c606d455cde42980f980524a8038,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,d41d8cd98f00b204e9800998ecf8427e,,00079ce435afddc28205639142773870,d97319f64674c02595f2989019970fc8,c08dae474c5d4d3326fd6764d2a0ebe6,3589760876641,,,4135,5135,paid,,2020-09-11 19:35:42.000,,,,,,2.8,5.6,0,294517,,TRUE,0f9c2880de17f71511eee5542c29b999,,,FALSE,,2020-09-12 00:15:10.199
+2669516488801,,dce90c7b4e52e045e5975836aff49cf1,TRUE,GBP,2.8,0,3.79,2020-09-09 23:01:54.000,2020-09-10 15:38:26.000,4fcb884b5b46413bae526a6e7e49d706,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,3584045351009,,,4066,5066,paid,fulfilled,2020-09-09 23:01:53.000,direct,2cc983716a820bc713b793a6e8e73f42,,,2020-09-10 15:38:26.000,0,2.8,0,web,109.249.185.68,FALSE,fb489b3ccc0ae36ce47744d7595e9746,b1ff04883dfeab658cd5211050476729,7bdb994e1196de3e4f34586e357613f9,FALSE,8584e97b29b0802fb393fa453a8b6a7a,2020-09-11 00:14:33.536
+2669509541985,,dce90c7b4e52e045e5975836aff49cf1,TRUE,GBP,4.4,0,5.39,2020-09-09 22:57:51.000,2020-09-10 15:38:25.000,9e346f2e912c60e16679f4a4c8d29422,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,c8189c7add9755e66391b58ecc12b3e2,d3bae70c9d49bb7cb5a74cdd0eae7fc4,0dd89cff60965dff8f9ea2bc952a5474,d41d8cd98f00b204e9800998ecf8427e,d41d8cd98f00b204e9800998ecf8427e,1ff1de774005f8da13f42943881c655f,70111f8840ccbd8b1007cc3f387ced6b,1ac412baeba98370017c73df41c98a07,89f9c9f489be2a83cf57e53b9197d288,79cba1185463850dedba31f172f1dc5b,,,2357e65b582faa0a2da3603b16fa4a7f,75c29d6dd29594a652fcbd7c4c279a29,75468fbebc28e02ec5d4f54f4cbd4099,3584045351009,,,4065,5065,paid,fulfilled,2020-09-09 22:57:50.000,direct,2cc983716a820bc713b793a6e8e73f42,,,2020-09-10 15:38:25.000,0,4.4,0,web,109.249.185.68,FALSE,e44b7f04610a8f4032530cc7f12663de,9600543f4d4613db59ac58a1009ecbb9,cf0a9fe2c7c606b86559007dbb890a62,FALSE,8584e97b29b0802fb393fa453a8b6a7a,2020-09-11 00:14:33.037
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_order_discount_code_data.csv b/integration_tests/seeds/shopify_order_discount_code_data.csv
new file mode 100644
index 0000000..1dc1083
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_discount_code_data.csv
@@ -0,0 +1,4 @@
+index,order_id,_fivetran_synced,amount,code,type
+1,368347,2022-11-20 08:14:52.957000,11.0,GIFTCARD,percentage
+1,423483,2022-11-19 11:59:50.040000,0.0,SHIPPING2022,shipping
+1,365403,2022-11-20 10:22:23.877000,2.0,GIFTCARD,percentage
\ No newline at end of file
diff --git a/integration_tests/seeds/order_line.csv b/integration_tests/seeds/shopify_order_line_data.csv
similarity index 100%
rename from integration_tests/seeds/order_line.csv
rename to integration_tests/seeds/shopify_order_line_data.csv
diff --git a/integration_tests/seeds/order_line_refund.csv b/integration_tests/seeds/shopify_order_line_refund_data.csv
similarity index 100%
rename from integration_tests/seeds/order_line_refund.csv
rename to integration_tests/seeds/shopify_order_line_refund_data.csv
diff --git a/integration_tests/seeds/shopify_order_note_attribute_data.csv b/integration_tests/seeds/shopify_order_note_attribute_data.csv
new file mode 100644
index 0000000..a3f2e92
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_note_attribute_data.csv
@@ -0,0 +1,6 @@
+name,order_id,_fivetran_synced,value
+last_name,34171115,2022-11-19 07:30:28.480000,"""1418143823.1643992155"""
+first_name,34171115,2022-11-19 07:30:28.480000,"""fb.1.1643992155109.1110590605"""
+updated_at,34171115,2022-11-19 07:30:28.480000,"""1643992163253"""
+clientID,34171115,2022-11-19 07:30:28.480000,"""a03d3118-4048-4159-b5bb-1b90d8abb69b"""
+name,34171115,2022-11-19 07:30:28.480000,"""22707603636395"""
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_order_shipping_line_data.csv b/integration_tests/seeds/shopify_order_shipping_line_data.csv
new file mode 100644
index 0000000..9496703
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_shipping_line_data.csv
@@ -0,0 +1,4 @@
+id,order_id,_fivetran_synced,carrier_identifier,code,delivery_category,discounted_price,phone,price,requested_fulfillment_service_id,source,title,discounted_price_set,price_set
+54475,55,2022-11-19 14:09:18.923000,,Standard,,0.0,,0.0,,shopify,Standard,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}","{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+651,425579,2022-11-19 11:28:21.391000,,Standard,,0.0,,0.0,,shopify,Standard,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}","{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+188139,4599,2022-11-19 16:03:15.430000,,Standard,,0.0,,0.0,,shopify,Standard,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}","{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_order_shipping_tax_line_data.csv b/integration_tests/seeds/shopify_order_shipping_tax_line_data.csv
new file mode 100644
index 0000000..2d0d9b8
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_shipping_tax_line_data.csv
@@ -0,0 +1,4 @@
+index,order_shipping_line_id,_fivetran_synced,price,rate,title,price_set
+4,321291,2022-11-19 15:05:15.847000,0.0,0.0,GEIWIHG,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+3,5995,2022-11-19 11:24:24.596000,0.0,0.007,BANANAN,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+3,309131,2022-11-19 16:52:35.685000,0.0,0.01,TOMATO,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_order_tag_data.csv b/integration_tests/seeds/shopify_order_tag_data.csv
new file mode 100644
index 0000000..a417232
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_tag_data.csv
@@ -0,0 +1,4 @@
+index,order_id,_fivetran_synced,value
+1,6411,2022-12-07 06:49:30.307000,#33333
+1,47195,2022-12-07 06:49:26.771000,#22222
+1,46553,2022-12-07 06:49:38.197000,#771222
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_order_url_tag_data.csv b/integration_tests/seeds/shopify_order_url_tag_data.csv
new file mode 100644
index 0000000..6cf7c2e
--- /dev/null
+++ b/integration_tests/seeds/shopify_order_url_tag_data.csv
@@ -0,0 +1,4 @@
+key,order_id,_fivetran_synced,value
+image,40347,2022-11-19 10:29:18.624000,Image
+utm_medium,4290347,2022-11-19 10:29:18.624000,email
+prop_channel,47,2022-11-19 10:29:18.624000,flows
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_price_rule_data.csv b/integration_tests/seeds/shopify_price_rule_data.csv
new file mode 100644
index 0000000..7f95496
--- /dev/null
+++ b/integration_tests/seeds/shopify_price_rule_data.csv
@@ -0,0 +1,4 @@
+id,_fivetran_synced,allocation_limit,allocation_method,created_at,customer_selection,ends_at,once_per_customer,prerequisite_quantity_range,prerequisite_shipping_price_range,prerequisite_subtotal_range,quantity_ratio_entitled_quantity,quantity_ratio_prerequisite_quantity,starts_at,target_selection,target_type,title,updated_at,usage_limit,value,value_type,prerequisite_to_entitlement_purchase_prerequisite_amount
+11443,2021-03-22 05:43:56.784000,,across,2021-03-09 18:57:54.000000,all,2021-03-22 07:00:59.000000,false,,,500.0,,,2021-03-17 04:00:57.000000,all,line_item,GIFTCARD,2021-03-22 04:20:03.000000,,0.0,percentage,
+564075,2021-11-11 07:43:53.706000,,across,2021-11-10 22:26:31.000000,all,2021-11-30 14:00:59.000000,false,,,,,,2021-11-10 22:25:32.000000,entitled,line_item,THANKS,2021-11-10 22:26:31.000000,,0.0,percentage,
+9339,2021-12-03 06:47:21.433000,,across,2021-11-11 22:38:18.000000,all,2021-12-02 19:00:59.000000,false,,,,,,2021-11-23 21:30:38.000000,all,line_item,THANKS,2021-12-02 19:21:47.000000,,0.0,percentage,
\ No newline at end of file
diff --git a/integration_tests/seeds/product.csv b/integration_tests/seeds/shopify_product_data.csv
similarity index 100%
rename from integration_tests/seeds/product.csv
rename to integration_tests/seeds/shopify_product_data.csv
diff --git a/integration_tests/seeds/shopify_product_image_data.csv b/integration_tests/seeds/shopify_product_image_data.csv
new file mode 100644
index 0000000..a4cd776
--- /dev/null
+++ b/integration_tests/seeds/shopify_product_image_data.csv
@@ -0,0 +1,4 @@
+id,product_id,_fivetran_deleted,_fivetran_synced,alt,created_at,height,position,src,updated_at,width,is_default,variant_ids
+14180,38804,false,2022-12-01 06:51:36.660000,,2019-06-13 04:06:07.000000,1200,4,https://cdn.shopify.com/s/files/glassess-1784103173.jpg?v=1560398767,2019-06-13 04:06:07.000000,956,false,[]
+748644,34804,false,2022-12-01 06:51:36.660000,,2019-06-13 04:06:07.000000,1200,2,https://cdn.shopify.com/s/files/1/smile.jpg?v=1560398767,2019-06-13 04:06:07.000000,956,false,[]
+679716,34604,false,2022-12-01 06:51:36.660000,,2019-06-13 04:06:07.000000,1200,6,https://cdn.shopify.com/s/files/1/kitten.jpg?v=1560398767,2019-06-13 04:06:07.000000,956,false,"[2755330292,27559733,275597338,275597536,2755931364,2755973,2734989668]"
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_product_tag_data.csv b/integration_tests/seeds/shopify_product_tag_data.csv
new file mode 100644
index 0000000..7b44ed3
--- /dev/null
+++ b/integration_tests/seeds/shopify_product_tag_data.csv
@@ -0,0 +1,6 @@
+index,product_id,_fivetran_synced,value
+9,1234,2022-12-01 06:51:36.480000,Type: Clothing
+5,1234,2022-12-01 06:51:36.480000,Final Sale
+7,1234,2022-12-01 06:51:36.480000,Sale
+8,1234,2022-12-01 06:51:36.480000,StyleID:nice
+3,1234,2022-12-01 06:51:36.480000,Collection: Bottoms
\ No newline at end of file
diff --git a/integration_tests/seeds/product_variant.csv b/integration_tests/seeds/shopify_product_variant_data.csv
similarity index 100%
rename from integration_tests/seeds/product_variant.csv
rename to integration_tests/seeds/shopify_product_variant_data.csv
diff --git a/integration_tests/seeds/refund.csv b/integration_tests/seeds/shopify_refund_data.csv
similarity index 100%
rename from integration_tests/seeds/refund.csv
rename to integration_tests/seeds/shopify_refund_data.csv
diff --git a/integration_tests/seeds/shopify_shop_data.csv b/integration_tests/seeds/shopify_shop_data.csv
new file mode 100644
index 0000000..c54f34f
--- /dev/null
+++ b/integration_tests/seeds/shopify_shop_data.csv
@@ -0,0 +1,2 @@
+id,_fivetran_deleted,_fivetran_synced,address_1,address_2,auto_configure_tax_inclusivity,checkout_api_supported,city,cookie_consent_level,country,country_code,country_name,county_taxes,created_at,currency,customer_email,domain,eligible_for_card_reader_giveaway,eligible_for_payments,email,enabled_presentment_currencies,force_ssl,google_apps_domain,google_apps_login_enabled,has_discounts,has_gift_cards,has_storefront,iana_timezone,latitude,longitude,money_format,money_in_emails_format,money_with_currency_format,money_with_currency_in_emails_format,multi_location_enabled,myshopify_domain,name,password_enabled,phone,plan_display_name,plan_name,pre_launch_enabled,primary_locale,primary_location_id,province,province_code,requires_extra_payments_agreement,setup_required,shop_owner,source,tax_shipping,taxes_included,timezone,updated_at,visitor_tracking_consent_preference,weight_unit,zip
+689,false,2022-12-07 06:49:41.652000,1 Main Street,200th Floor,,true,New York,implicit,US,US,United States,true,2018-12-10 16:24:00.000000,USD,noreply@kitties.com,kitties.com,true,true,abc@kitties.com,"[""USD""]",true,,,true,true,true,America/New_York,80.1234,-123.12345,${{amount}},${{amount}},${{amount}} USD,${{amount}} USD,true,kitties.myshopify.com,Garrett & Alfredo,false,13373,Shopify Plus,shopify_plus,false,en,1234646345,New York,NY,false,false,Garrett & Alfredo,,,false,(GMT-05:00) America/New_York,2022-12-07 00:26:36.000000,allow_all,lb,10014
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_tax_line_data.csv b/integration_tests/seeds/shopify_tax_line_data.csv
new file mode 100644
index 0000000..cfcbfb2
--- /dev/null
+++ b/integration_tests/seeds/shopify_tax_line_data.csv
@@ -0,0 +1,6 @@
+index,order_line_id,_fivetran_synced,price,rate,title,price_set
+1,29227,2022-11-19 05:30:34.023000,0.0,0.0,VAT,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+1,1839083,2022-11-19 07:14:05.023000,0.0,0.0,VAT,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+1,11995,2022-11-19 05:30:34.023000,0.0,0.0,VAT,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+1,10751,2022-11-19 07:14:05.024000,0.0,0.0,VAT,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
+1,194763,2022-11-19 05:30:34.023000,0.0,0.0,VAT,"{""shop_money"":{""amount"":""0.00"",""currency_code"":""USD""},""presentment_money"":{""amount"":""0.00"",""currency_code"":""USD""}}"
\ No newline at end of file
diff --git a/integration_tests/seeds/shopify_tender_transaction_data.csv b/integration_tests/seeds/shopify_tender_transaction_data.csv
new file mode 100644
index 0000000..4022c5a
--- /dev/null
+++ b/integration_tests/seeds/shopify_tender_transaction_data.csv
@@ -0,0 +1,6 @@
+id,_fivetran_synced,amount,currency,order_id,payment_details_credit_card_company,payment_details_credit_card_number,payment_method,processed_at,remote_reference,test,user_id
+34283,2022-12-01 06:51:34.004000,2895.74,USD,45379,,,other,2022-11-30 18:14:37.000000,,false,
+905707,2022-12-01 06:51:42.309000,5900.75,USD,45243,,,other,2022-12-01 02:00:39.000000,,false,
+411,2022-12-01 06:51:29.718000,-164.72,USD,4559467,,,other,2022-11-30 14:29:13.000000,,false,
+55179,2022-12-01 06:51:41.198000,5180.19,USD,35,,,other,2022-11-30 23:55:45.000000,,false,
+16923,2022-12-01 06:51:42.358000,3004.3,USD,45955,,,other,2022-12-01 02:09:47.000000,,false,
\ No newline at end of file
diff --git a/integration_tests/seeds/transaction.csv b/integration_tests/seeds/shopify_transaction_data.csv
similarity index 100%
rename from integration_tests/seeds/transaction.csv
rename to integration_tests/seeds/shopify_transaction_data.csv
diff --git a/models/intermediate/int__shopify_customer_rollup.sql b/models/intermediate/int__shopify_customer_rollup.sql
deleted file mode 100644
index 0a8ee9f..0000000
--- a/models/intermediate/int__shopify_customer_rollup.sql
+++ /dev/null
@@ -1,63 +0,0 @@
-with customers as (
-
- select
- *,
- row_number() over(partition by email order by created_timestamp desc) as customer_index
-
- from {{ ref('shopify__customers') }}
-
- where email is not null -- nonsensical to include any null emails in this package
-
-), aggregate_customers as (
-
- select
- lower(email) as email,
- source_relation,
- {{ fivetran_utils.string_agg("cast(customer_id as " ~ dbt.type_string() ~ ")", "', '") }} as customer_ids,
- {{ fivetran_utils.string_agg("distinct cast(phone as " ~ dbt.type_string() ~ ")", "', '") }} as phone_numbers,
-
- max(case when customer_index = 1 then first_name || ' ' || last_name else null end) as full_name,
-
- min(created_timestamp) as first_shopify_account_made_at,
- max(created_timestamp) as last_shopify_account_made_at,
- min(first_order_timestamp) as first_order_at,
- max(most_recent_order_timestamp) as last_order_at,
- max(updated_timestamp) as last_updated_at,
-
- -- sum across accounts
- sum(lifetime_total_spent) as lifetime_total_spent,
- sum(lifetime_total_refunded) as lifetime_total_refunded,
- sum(lifetime_total_amount) as lifetime_total_amount,
- sum(lifetime_count_orders) as lifetime_count_orders,
- case
- when sum(lifetime_count_orders) = 0 then 0
- else sum(lifetime_total_spent) / sum(lifetime_count_orders) end as average_order_value,
-
- -- take true if ever given for boolean fields
- {{ fivetran_utils.max_bool("has_accepted_marketing") }} as has_accepted_marketing,
- {{ fivetran_utils.max_bool("case when customer_index = 1 then is_tax_exempt else null end") }} as is_tax_exempt, -- since this changes every year
- {{ fivetran_utils.max_bool("is_verified_email") }} as is_verified_email,
-
- -- other stuff
- max(case when customer_index = 1 then default_address_id else null end) as default_address_id,
- max(case when customer_index = 1 then account_state else null end) as account_state
-
- -- ok let's get any custom passthrough columns! might want to put all max(Case when)'s in here....
- {% set cols = adapter.get_columns_in_relation(ref('shopify__customers')) %}
- {% set except_cols = ['_fivetran_synced', 'email', 'source_relation', 'customer_id', 'phone', 'first_name', 'last_name', 'created_timestamp', 'first_order_timestamp', 'most_recent_order_timestamp',
- 'updated_timestamp', 'lifetime_total_spent', 'lifetime_total_refunded', 'lifetime_total_amount', 'lifetime_count_orders', 'average_order_value', 'has_accepted_marketing',
- 'is_tax_exempt', 'is_verified_email', 'default_address_id', 'account_state'] %}
- {% for col in cols %}
- {% if col.column|lower not in except_cols %}
- , max(case when customer_index = 1 then {{ col.column }} else null end) as {{ col.column }}
- {% endif %}
- {% endfor %}
-
- from customers
-
- group by 1,2
-
-)
-
-select *
-from aggregate_customers
\ No newline at end of file
diff --git a/models/intermediate/int_shopify_holistic_reporting.yml b/models/intermediate/int_shopify_holistic_reporting.yml
index c681ea0..664aa13 100644
--- a/models/intermediate/int_shopify_holistic_reporting.yml
+++ b/models/intermediate/int_shopify_holistic_reporting.yml
@@ -91,55 +91,6 @@ models:
- name: total_order_adjustment_tax_amount
description: The total amount of taxes applied to adjustments made to the customer's orders.
- - name: int__shopify_customer_rollup
- description: >
- Table rolling up shopify customer accounts to the email level. In theory, these should be 1:1, but under certain circumstances
- (ie bots) one email can be associated with multiple customer_ids.
- columns:
- - name: source_relation
- description: >
- The source where this data was pulled from. If you are making use of the `union_schemas` variable, this will be the source schema.
- If you are making use of the `union_databases` variable, this will be the source database. If you are not unioning together multiple
- sources, this will be an empty string.
- - name: has_accepted_marketing
- description: Whether the customer has consented to receive marketing material via email.
- - name: first_shopify_account_made_at
- description: The date and time when the customer account first associated with this email was created.
- - name: last_shopify_account_made_at
- description: The date and time when the customer account first associated with this email was created.
- - name: default_address_id
- description: The default address for the customer.
- - name: email
- description: The unique email address of the customer.
- - name: full_name
- description: The customer's full name.
- - name: customer_ids
- description: A comma-separated aggregated list of Shopify IDs for the customer.
- - name: lifetime_count_orders
- description: The number of orders associated with this customer.
- - name: phone_numbers
- description: Comma separated aggregated list of unique phone numbers (E.164 format) for this customer.
- - name: account_state
- description: The state of the customer's account with a shop.
- - name: is_tax_exempt
- description: Whether the customer is exempt from paying taxes on their order. If true, then taxes won't be applied to an order at checkout. If false, then taxes will be applied at checkout.
- - name: last_updated_at
- description: The date and time when the customer information was last updated.
- - name: first_order_at
- description: The timestamp the customer completed their first order.
- - name: last_order_at
- description: The timestamp the customer completed their most recent order.
- - name: average_order_value
- description: The average order value for the customer.
- - name: lifetime_total_spent
- description: The total amount of money that the customer has spent on orders across their order history.
- - name: lifetime_total_refunded
- description: The total amount of money that the customer has been refunded on orders across their order history.
- - name: lifetime_total_amount
- description: The total amount of money (minus refunds) that the customer has spent across their order history.
- - name: is_verified_email
- description: Whether the customer has verified their email address.
-
- name: int__klaviyo_person_rollup
description: >
Table rolling up Klaviyo person accounts to the email level. In theory, these should certainly be 1:1, but under certain circumstances
diff --git a/models/shopify_holistic_reporting__customer_enhanced.sql b/models/shopify_holistic_reporting__customer_enhanced.sql
index 36affb1..548bae4 100644
--- a/models/shopify_holistic_reporting__customer_enhanced.sql
+++ b/models/shopify_holistic_reporting__customer_enhanced.sql
@@ -1,7 +1,7 @@
with shopify_customers as (
select *
- from {{ ref('int__shopify_customer_rollup') }}
+ from {{ ref('shopify__customer_emails') }}
), klaviyo_persons as (
@@ -12,29 +12,28 @@ with shopify_customers as (
select
coalesce(shopify_customers.email, klaviyo_persons.email) as email,
-
- coalesce(klaviyo_persons.full_name, shopify_customers.full_name) as full_name,
+ coalesce(klaviyo_persons.full_name, shopify_customers.first_name || ' ' || shopify_customers.last_name) as full_name,
shopify_customers.customer_ids as shopify_customer_ids,
klaviyo_persons.person_ids as klaviyo_person_ids,
coalesce(shopify_customers.phone_numbers, klaviyo_persons.phone_numbers) as phone_number,
- shopify_customers.first_shopify_account_made_at as shopify_customer_first_created_at,
- shopify_customers.last_shopify_account_made_at as shopify_customer_last_created_at,
+ shopify_customers.first_account_created_at as shopify_customer_first_created_at,
+ shopify_customers.last_account_created_at as shopify_customer_last_created_at,
klaviyo_persons.first_klaviyo_account_made_at as klaviyo_person_first_created_at,
klaviyo_persons.last_klaviyo_account_made_at as klaviyo_person_last_created_at,
- shopify_customers.last_updated_at as shopify_customer_last_updated_at,
+ shopify_customers.updated_timestamp as shopify_customer_last_updated_at,
klaviyo_persons.last_updated_at as klaviyo_person_last_updated_at,
shopify_customers.is_verified_email as is_shopify_email_verified,
+ shopify_customers.first_order_timestamp as first_order_at,
+ shopify_customers.most_recent_order_timestamp as last_order_at,
- {{ dbt_utils.star(from=ref('int__shopify_customer_rollup'), relation_alias='shopify_customers', prefix='shopify_',
- except=['source_relation','email', 'full_name', 'customer_ids', 'phone_numbers', 'first_shopify_account_made_at','last_shopify_account_made_at',
- 'last_updated_at', 'is_verified_email'] )
+ {{ dbt_utils.star(from=ref('shopify__customer_emails'), relation_alias='shopify_customers', prefix='shopify_',
+ except=['email', 'full_name', 'customer_ids', 'phone_numbers', 'first_account_created_at','last_account_created_at',
+ 'updated_timestamp', 'is_verified_email'] )
}},
- shopify_customers.source_relation as shopify_source_relation,
{{ dbt_utils.star(from=ref('int__klaviyo_person_rollup'), relation_alias='klaviyo_persons', prefix='klaviyo_',
- except=['source_relation','email', 'full_name', 'first_klaviyo_account_made_at', 'last_klaviyo_account_made_at', 'person_ids', 'phone_numbers', 'last_updated_at'] )
- }},
- klaviyo_persons.source_relation as klaviyo_source_relation
+ except=['email', 'full_name', 'first_klaviyo_account_made_at', 'last_klaviyo_account_made_at', 'person_ids', 'phone_numbers', 'last_updated_at'] )
+ }}
from shopify_customers
full outer join klaviyo_persons
diff --git a/packages.yml b/packages.yml
index ccc7347..e087f5b 100644
--- a/packages.yml
+++ b/packages.yml
@@ -1,6 +1,6 @@
packages:
- package: fivetran/shopify
- version: [">=0.7.0", "<0.8.0"]
+ version: [">=0.8.0", "<0.9.0"]
- package: fivetran/klaviyo
version: [">=0.5.0", "<0.6.0"]
From 046b67352049e1451060c6928998b64ee2ca0ebc Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 10:14:35 -0700
Subject: [PATCH 12/26] try this for buildkite
---
integration_tests/dbt_project.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index 8ca2845..dd91e45 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -10,7 +10,7 @@ clean-targets: # directories to be removed by `dbt clean`
vars:
shopify_source:
- shopify_schema: 'shopify_holistic_reporting_integration_tests_1'
+ shopify_union_schemas: ['shopify_holistic_reporting_integration_tests_1']
shopify_customer_identifier: "shopify_customer_data"
shopify_order_line_refund_identifier: "shopify_order_line_refund_data"
shopify_order_line_identifier: "shopify_order_line_data"
@@ -47,7 +47,7 @@ vars:
shopify_abandoned_checkout_shipping_line_identifier: "shopify_abandoned_checkout_shipping_line_data"
klaviyo_source:
- klaviyo_schema: 'shopify_holistic_reporting_integration_tests_1'
+ klaviyo_union_schemas: ['shopify_holistic_reporting_integration_tests_1']
klaviyo_campaign_identifier: "campaign"
klaviyo_event_identifier: "event"
klaviyo_flow_identifier: "flow"
From d1c6a1adb2af61d18bd1a805b598dbba732c9392 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 12:04:26 -0700
Subject: [PATCH 13/26] snowflake
---
README.md | 15 +-
integration_tests/dbt_project.yml | 136 +++++++++---------
...eckout_data.csv => abandoned_checkout.csv} | 0
...v => abandoned_checkout_discount_code.csv} | 0
...v => abandoned_checkout_shipping_line.csv} | 0
...ify_collection_data.csv => collection.csv} | 0
...roduct_data.csv => collection_product.csv} | 0
...shopify_customer_data.csv => customer.csv} | 0
...customer_tag_data.csv => customer_tag.csv} | 0
...scount_code_data.csv => discount_code.csv} | 0
...y_fulfillment_data.csv => fulfillment.csv} | 0
...t_event_data.csv => fulfillment_event.csv} | 0
...ntory_item_data.csv => inventory_item.csv} | 0
...ory_level_data.csv => inventory_level.csv} | 0
...shopify_location_data.csv => location.csv} | 0
...opify_metafield_data.csv => metafield.csv} | 0
.../{shopify_order_data.csv => order.csv} | 0
...justment_data.csv => order_adjustment.csv} | 0
..._code_data.csv => order_discount_code.csv} | 0
...ify_order_line_data.csv => order_line.csv} | 0
..._refund_data.csv => order_line_refund.csv} | 0
...bute_data.csv => order_note_attribute.csv} | 0
..._line_data.csv => order_shipping_line.csv} | 0
...e_data.csv => order_shipping_tax_line.csv} | 0
...opify_order_tag_data.csv => order_tag.csv} | 0
...der_url_tag_data.csv => order_url_tag.csv} | 0
...ify_price_rule_data.csv => price_rule.csv} | 0
.../{shopify_product_data.csv => product.csv} | 0
...oduct_image_data.csv => product_image.csv} | 0
...y_product_tag_data.csv => product_tag.csv} | 0
...t_variant_data.csv => product_variant.csv} | 0
.../{shopify_refund_data.csv => refund.csv} | 0
.../seeds/{shopify_shop_data.csv => shop.csv} | 0
...shopify_tax_line_data.csv => tax_line.csv} | 0
...action_data.csv => tender_transaction.csv} | 0
...y_transaction_data.csv => transaction.csv} | 0
36 files changed, 79 insertions(+), 72 deletions(-)
rename integration_tests/seeds/{shopify_abandoned_checkout_data.csv => abandoned_checkout.csv} (100%)
rename integration_tests/seeds/{shopify_abandoned_checkout_discount_code_data.csv => abandoned_checkout_discount_code.csv} (100%)
rename integration_tests/seeds/{shopify_abandoned_checkout_shipping_line_data.csv => abandoned_checkout_shipping_line.csv} (100%)
rename integration_tests/seeds/{shopify_collection_data.csv => collection.csv} (100%)
rename integration_tests/seeds/{shopify_collection_product_data.csv => collection_product.csv} (100%)
rename integration_tests/seeds/{shopify_customer_data.csv => customer.csv} (100%)
rename integration_tests/seeds/{shopify_customer_tag_data.csv => customer_tag.csv} (100%)
rename integration_tests/seeds/{shopify_discount_code_data.csv => discount_code.csv} (100%)
rename integration_tests/seeds/{shopify_fulfillment_data.csv => fulfillment.csv} (100%)
rename integration_tests/seeds/{shopify_fulfillment_event_data.csv => fulfillment_event.csv} (100%)
rename integration_tests/seeds/{shopify_inventory_item_data.csv => inventory_item.csv} (100%)
rename integration_tests/seeds/{shopify_inventory_level_data.csv => inventory_level.csv} (100%)
rename integration_tests/seeds/{shopify_location_data.csv => location.csv} (100%)
rename integration_tests/seeds/{shopify_metafield_data.csv => metafield.csv} (100%)
rename integration_tests/seeds/{shopify_order_data.csv => order.csv} (100%)
rename integration_tests/seeds/{shopify_order_adjustment_data.csv => order_adjustment.csv} (100%)
rename integration_tests/seeds/{shopify_order_discount_code_data.csv => order_discount_code.csv} (100%)
rename integration_tests/seeds/{shopify_order_line_data.csv => order_line.csv} (100%)
rename integration_tests/seeds/{shopify_order_line_refund_data.csv => order_line_refund.csv} (100%)
rename integration_tests/seeds/{shopify_order_note_attribute_data.csv => order_note_attribute.csv} (100%)
rename integration_tests/seeds/{shopify_order_shipping_line_data.csv => order_shipping_line.csv} (100%)
rename integration_tests/seeds/{shopify_order_shipping_tax_line_data.csv => order_shipping_tax_line.csv} (100%)
rename integration_tests/seeds/{shopify_order_tag_data.csv => order_tag.csv} (100%)
rename integration_tests/seeds/{shopify_order_url_tag_data.csv => order_url_tag.csv} (100%)
rename integration_tests/seeds/{shopify_price_rule_data.csv => price_rule.csv} (100%)
rename integration_tests/seeds/{shopify_product_data.csv => product.csv} (100%)
rename integration_tests/seeds/{shopify_product_image_data.csv => product_image.csv} (100%)
rename integration_tests/seeds/{shopify_product_tag_data.csv => product_tag.csv} (100%)
rename integration_tests/seeds/{shopify_product_variant_data.csv => product_variant.csv} (100%)
rename integration_tests/seeds/{shopify_refund_data.csv => refund.csv} (100%)
rename integration_tests/seeds/{shopify_shop_data.csv => shop.csv} (100%)
rename integration_tests/seeds/{shopify_tax_line_data.csv => tax_line.csv} (100%)
rename integration_tests/seeds/{shopify_tender_transaction_data.csv => tender_transaction.csv} (100%)
rename integration_tests/seeds/{shopify_transaction_data.csv => transaction.csv} (100%)
diff --git a/README.md b/README.md
index 4efd974..00aa589 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,11 @@
-# Shopify Holistic Reporting
+# Shopify Holistic Reporting dbt Package ([Docs](https://fivetran.github.io/dbt_shopify_holistic_reporting/))
+# 📣 What does this dbt package do?
This package builds off of the [Shopify dbt package](https://github.com/fivetran/dbt_shopify) to weave together your Shopify e-commerce data with insights from marketing connectors. Currently, this package supports combining Shopify with email and SMS marketing data from Fivetran's [Klaviyo dbt package](https://github.com/fivetran/dbt_klaviyo).
+> Wanna see Shopify combined with another connector? Please make create a [Feature Request](https://github.com/fivetran/dbt_shopify_holistic_reporting/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=%5BFeature%5D+%3Ctitle%3E)!
This dbt package enables you to:
- Tie e-commerce revenue to your email and SMS marketing via last-touch attribution.
@@ -21,15 +23,14 @@ This dbt package enables you to:
Check out our [blog post](https://www.fivetran.com/blog/gain-faster-insights-from-shopify-and-klaviyo-data) for further discussion on how the package can accelerate your business analysis.
-## Models
-
-This package produces three final output models, and is currently designed to work simultaneously with our [Shopify](https://github.com/fivetran/dbt_shopify) and [Klaviyo](https://github.com/fivetran/dbt_klaviyo) dbt packages. Dependencies on these packages are declared in this package's `packages.yml` file, so they will automatically download when you run `dbt deps`. The primary outputs of this package are described below. Intermediate models are used to create these output models, and are not documented here.
+The following table provides a detailed list of all models materialized within this package (see [Shopify](https://github.com/fivetran/dbt_shopify#-what-does-this-dbt-package-do) and [Klaviyo](https://github.com/fivetran/dbt_klaviyo#-what-does-this-dbt-package-do) for the upstream models these are built off of).
+> TIP: See more details about these models in the package's [dbt docs site](https://fivetran.github.io/dbt_shopify/#!/overview/shopify_holistic_reporting).
| **model** | **description** |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
-| [shopify_holistic_reporting__orders_attribution](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main/models/shopify_holistic_reporting__orders_attribution.sql) | Each record represents a unique Shopify order, enhanced with a customizable last-touch attribution model associating orders with Klaviyo flows and campaigns that customers interacted with. Includes dimensions like whether it is a new or repeat purchase in Shopify. See available customizations [here](https://github.com/fivetran/dbt_klaviyo#attribution-lookback-window). Materialized incrementally by default. |
-| [shopify_holistic_reporting__daily_customer_metrics](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main/models/shopify_holistic_reporting__daily_customer_metrics.sql) | Each record represent a unique customer's daily activity attributed to a campaign or flow in Klaviyo. The grain is set at the customer-day-flow/campaign level. This model is enriched with both Shopify and Klaviyo metrics, such as the net revenue, taxes paid, discounts applied, and the counts of each type of interaction between the user and the campaign/flow. |
-| [shopify_holistic_reporting__customer_enhanced](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main/models/shopify_holistic_reporting__customer_enhanced.sql) | Each record represents a unique individual (based on email) that may exist in Shopify, Klaviyo, or both platforms. Enhanced with information coalesced across platforms, lifetime order metrics, and all-time interactions with email marketing campaigns and flows. |
+| [shopify_holistic_reporting__orders_attribution](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution) | Each record represents a unique Shopify order, enhanced with a customizable last-touch attribution model associating orders with Klaviyo flows and campaigns that customers interacted with. Includes dimensions like whether it is a new or repeat purchase in Shopify. See available customizations [here](https://github.com/fivetran/dbt_klaviyo#attribution-lookback-window). Materialized incrementally by default. |
+| [shopify_holistic_reporting__daily_customer_metrics](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics) | Each record represent a unique customer's daily activity attributed to a campaign or flow in Klaviyo. The grain is set at the customer-day-flow/campaign level. This model is enriched with both Shopify and Klaviyo metrics, such as the net revenue, taxes paid, discounts applied, and the counts of each type of interaction between the user and the campaign/flow. |
+| [shopify_holistic_reporting__customer_enhanced](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced) | Each record represents a unique individual (based on email) that may exist in Shopify, Klaviyo, or both platforms. Enhanced with information coalesced across platforms, lifetime order metrics, and all-time interactions with email marketing campaigns and flows. |
### Opinionated Modelling Decisions
If you would like a deeper explanation of the logic used by default in the dbt package you may reference the [DECISIONLOG](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main//DECISIONLOG.md).
diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml
index dd91e45..ec9e2b0 100644
--- a/integration_tests/dbt_project.yml
+++ b/integration_tests/dbt_project.yml
@@ -10,50 +10,50 @@ clean-targets: # directories to be removed by `dbt clean`
vars:
shopify_source:
- shopify_union_schemas: ['shopify_holistic_reporting_integration_tests_1']
- shopify_customer_identifier: "shopify_customer_data"
- shopify_order_line_refund_identifier: "shopify_order_line_refund_data"
- shopify_order_line_identifier: "shopify_order_line_data"
- shopify_order_identifier: "shopify_order_data"
- shopify_product_identifier: "shopify_product_data"
- shopify_order_adjustment_identifier: "shopify_order_adjustment_data"
- shopify_product_variant_identifier: "shopify_product_variant_data"
- shopify_refund_identifier: "shopify_refund_data"
- shopify_transaction_identifier: "shopify_transaction_data"
- shopify_abandoned_checkout_identifier: "shopify_abandoned_checkout_data"
- shopify_collection_product_identifier: "shopify_collection_product_data"
- shopify_collection_identifier: "shopify_collection_data"
- shopify_customer_tag_identifier: "shopify_customer_tag_data"
- shopify_discount_code_identifier: "shopify_discount_code_data"
- shopify_fulfillment_identifier: "shopify_fulfillment_data"
- shopify_fulfillment_event_identifier: "shopify_fulfillment_event_data"
- shopify_inventory_item_identifier: "shopify_inventory_item_data"
- shopify_inventory_level_identifier: "shopify_inventory_level_data"
- shopify_location_identifier: "shopify_location_data"
- shopify_metafield_identifier: "shopify_metafield_data"
- shopify_order_note_attribute_identifier: "shopify_order_note_attribute_data"
- shopify_order_shipping_line_identifier: "shopify_order_shipping_line_data"
- shopify_order_shipping_tax_line_identifier: "shopify_order_shipping_tax_line_data"
- shopify_order_tag_identifier: "shopify_order_tag_data"
- shopify_order_url_tag_identifier: "shopify_order_url_tag_data"
- shopify_price_rule_identifier: "shopify_price_rule_data"
- shopify_product_image_identifier: "shopify_product_image_data"
- shopify_product_tag_identifier: "shopify_product_tag_data"
- shopify_shop_identifier: "shopify_shop_data"
- shopify_tax_line_identifier: "shopify_tax_line_data"
- shopify_tender_transaction_identifier: "shopify_tender_transaction_data"
- shopify_abandoned_checkout_discount_code_identifier: "shopify_abandoned_checkout_discount_code_data"
- shopify_order_discount_code_identifier: "shopify_order_discount_code_data"
- shopify_abandoned_checkout_shipping_line_identifier: "shopify_abandoned_checkout_shipping_line_data"
+ shopify_schema: 'shopify_holistic_reporting_integration_tests_1'
+ # shopify_customer_identifier: "customer"
+ # shopify_order_line_refund_identifier: "order_line_refund"
+ # shopify_order_line_identifier: "order_line"
+ shopify_order_identifier: 'order_table' # reserved keyword in snowflake
+ # shopify_product_identifier: "product"
+ # shopify_order_adjustment_identifier: "order_adjustment"
+ # shopify_product_variant_identifier: "product_variant"
+ # shopify_refund_identifier: "refund"
+ # shopify_transaction_identifier: "transaction"
+ # shopify_abandoned_checkout_identifier: "abandoned_checkout"
+ # shopify_collection_product_identifier: "collection_product"
+ # shopify_collection_identifier: "collection"
+ # shopify_customer_tag_identifier: "customer_tag"
+ # shopify_discount_code_identifier: "discount_code"
+ # shopify_fulfillment_identifier: "fulfillment"
+ # shopify_fulfillment_event_identifier: "fulfillment_event"
+ # shopify_inventory_item_identifier: "inventory_item"
+ # shopify_inventory_level_identifier: "inventory_level"
+ # shopify_location_identifier: "location"
+ # shopify_metafield_identifier: "metafield"
+ # shopify_order_note_attribute_identifier: "order_note_attribute"
+ # shopify_order_shipping_line_identifier: "order_shipping_line"
+ # shopify_order_shipping_tax_line_identifier: "order_shipping_tax_line"
+ # shopify_order_tag_identifier: "order_tag"
+ # shopify_order_url_tag_identifier: "order_url_tag"
+ # shopify_price_rule_identifier: "price_rule"
+ # shopify_product_image_identifier: "product_image"
+ # shopify_product_tag_identifier: "product_tag"
+ # shopify_shop_identifier: "shop"
+ # shopify_tax_line_identifier: "tax_line"
+ # shopify_tender_transaction_identifier: "tender_transaction"
+ # shopify_abandoned_checkout_discount_code_identifier: "abandoned_checkout_discount_code"
+ # shopify_order_discount_code_identifier: "order_discount_code"
+ # shopify_abandoned_checkout_shipping_line_identifier: "abandoned_checkout_shipping_line"
klaviyo_source:
- klaviyo_union_schemas: ['shopify_holistic_reporting_integration_tests_1']
- klaviyo_campaign_identifier: "campaign"
- klaviyo_event_identifier: "event"
- klaviyo_flow_identifier: "flow"
- klaviyo_integration_identifier: "integration"
- klaviyo_person_identifier: "person"
- klaviyo_metric_identifier: "metric"
+ klaviyo_schema: 'shopify_holistic_reporting_integration_tests_1'
+ # klaviyo_campaign_identifier: "campaign"
+ # klaviyo_event_identifier: "event"
+ # klaviyo_flow_identifier: "flow"
+ # klaviyo_integration_identifier: "integration"
+ # klaviyo_person_identifier: "person"
+ # klaviyo_metric_identifier: "metric"
klaviyo__event_pass_through_columns: []
klaviyo__person_pass_through_columns: []
@@ -101,13 +101,18 @@ dispatch:
- macro_namespace: dbt_utils
search_order: ['shopify_holistic_reporting', 'spark_utils', 'dbt_utils']
+# quoting:
+# database: "{{ target.type == 'snowflake' }}"
+# schema: "{{ target.type == 'snowflake' }}"
+# identifier: "{{ target.type == 'snowflake' }}"
+
seeds:
shopify_holistic_reporting_integration_tests:
# shopify
+quote_columns: "{{ true if target.type in ('redshift', 'postgres') else false }}"
+column_types:
_fivetran_synced: timestamp
- shopify_customer_data:
+ customer:
+column_types:
created_at: timestamp
updated_at: timestamp
@@ -115,7 +120,7 @@ seeds:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
default_address_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
email: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
- shopify_order_data:
+ order:
+column_types:
created_at: timestamp
updated_at: timestamp
@@ -126,54 +131,55 @@ seeds:
customer_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_line_data:
+ +alias: order_table
+ order_line:
+column_types:
_fivetran_synced: timestamp
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
variant_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_line_refund_data:
+ order_line_refund:
+column_types:
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
location_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_line_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_product_data:
+ product:
+column_types:
created_at: timestamp
updated_at: timestamp
published_at: timestamp
_fivetran_synced: timestamp
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_order_adjustment_data:
+ order_adjustment:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_product_variant_data:
+ product_variant:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
product_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
inventory_item_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_transaction_data:
+ transaction:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
refund_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
receipt: "{{ 'varchar(100)' if target.name in ('redshift', 'postgres') else 'string' }}"
- shopify_refund_data:
+ refund:
+column_types:
id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
order_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
user_id: "{%- if target.type == 'bigquery' -%} INT64 {%- else -%} bigint {%- endif -%}"
- shopify_abandoned_checkout_discount_code_data:
+ abandoned_checkout_discount_code:
+column_types:
amount: float
created_at: timestamp
updated_at: timestamp
- shopify_abandoned_checkout_data:
+ abandoned_checkout:
+column_types:
total_line_items_price: float
billing_address_phone: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
@@ -182,52 +188,52 @@ seeds:
created_at: timestamp
updated_at: timestamp
_fivetran_deleted: boolean
- shopify_discount_code_data:
+ discount_code:
+column_types:
usage_count: float
- shopify_order_discount_code_data:
+ order_discount_code:
+column_types:
amount: float
- shopify_order_shipping_tax_line_data:
+ order_shipping_tax_line:
+column_types:
price: float
- shopify_order_shipping_line_data:
+ order_shipping_line:
+column_types:
discounted_price: float
price: float
- shopify_price_rule_data:
+ price_rule:
+column_types:
prerequisite_subtotal_range: float
value: float
- shopify_collection_data:
+ collection:
+column_types:
disjunctive: boolean
published_at: timestamp
updated_at: timestamp
title: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
- shopify_metafield_data:
+ metafield:
+column_types:
value_type: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
type: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
- shopify_shop_data:
+ shop:
+column_types:
taxes_included: boolean
google_apps_login_enabled: boolean
county_taxes: boolean
- shopify_inventory_level_data:
+ inventory_level:
+column_types:
updated_at: timestamp
- shopify_inventory_item_data:
+ inventory_item:
+column_types:
updated_at: timestamp
created_at: timestamp
- shopify_abandoned_checkout_shipping_line_data:
+ abandoned_checkout_shipping_line:
+column_types:
markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
price: float
original_shop_markup: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
original_shop_price: "{{ 'string' if target.type in ('bigquery', 'spark', 'databricks') else 'varchar' }}"
- shopify_tax_line_data:
+ tax_line:
+column_types:
price: float
rate: float
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_data.csv b/integration_tests/seeds/abandoned_checkout.csv
similarity index 100%
rename from integration_tests/seeds/shopify_abandoned_checkout_data.csv
rename to integration_tests/seeds/abandoned_checkout.csv
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv b/integration_tests/seeds/abandoned_checkout_discount_code.csv
similarity index 100%
rename from integration_tests/seeds/shopify_abandoned_checkout_discount_code_data.csv
rename to integration_tests/seeds/abandoned_checkout_discount_code.csv
diff --git a/integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv b/integration_tests/seeds/abandoned_checkout_shipping_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_abandoned_checkout_shipping_line_data.csv
rename to integration_tests/seeds/abandoned_checkout_shipping_line.csv
diff --git a/integration_tests/seeds/shopify_collection_data.csv b/integration_tests/seeds/collection.csv
similarity index 100%
rename from integration_tests/seeds/shopify_collection_data.csv
rename to integration_tests/seeds/collection.csv
diff --git a/integration_tests/seeds/shopify_collection_product_data.csv b/integration_tests/seeds/collection_product.csv
similarity index 100%
rename from integration_tests/seeds/shopify_collection_product_data.csv
rename to integration_tests/seeds/collection_product.csv
diff --git a/integration_tests/seeds/shopify_customer_data.csv b/integration_tests/seeds/customer.csv
similarity index 100%
rename from integration_tests/seeds/shopify_customer_data.csv
rename to integration_tests/seeds/customer.csv
diff --git a/integration_tests/seeds/shopify_customer_tag_data.csv b/integration_tests/seeds/customer_tag.csv
similarity index 100%
rename from integration_tests/seeds/shopify_customer_tag_data.csv
rename to integration_tests/seeds/customer_tag.csv
diff --git a/integration_tests/seeds/shopify_discount_code_data.csv b/integration_tests/seeds/discount_code.csv
similarity index 100%
rename from integration_tests/seeds/shopify_discount_code_data.csv
rename to integration_tests/seeds/discount_code.csv
diff --git a/integration_tests/seeds/shopify_fulfillment_data.csv b/integration_tests/seeds/fulfillment.csv
similarity index 100%
rename from integration_tests/seeds/shopify_fulfillment_data.csv
rename to integration_tests/seeds/fulfillment.csv
diff --git a/integration_tests/seeds/shopify_fulfillment_event_data.csv b/integration_tests/seeds/fulfillment_event.csv
similarity index 100%
rename from integration_tests/seeds/shopify_fulfillment_event_data.csv
rename to integration_tests/seeds/fulfillment_event.csv
diff --git a/integration_tests/seeds/shopify_inventory_item_data.csv b/integration_tests/seeds/inventory_item.csv
similarity index 100%
rename from integration_tests/seeds/shopify_inventory_item_data.csv
rename to integration_tests/seeds/inventory_item.csv
diff --git a/integration_tests/seeds/shopify_inventory_level_data.csv b/integration_tests/seeds/inventory_level.csv
similarity index 100%
rename from integration_tests/seeds/shopify_inventory_level_data.csv
rename to integration_tests/seeds/inventory_level.csv
diff --git a/integration_tests/seeds/shopify_location_data.csv b/integration_tests/seeds/location.csv
similarity index 100%
rename from integration_tests/seeds/shopify_location_data.csv
rename to integration_tests/seeds/location.csv
diff --git a/integration_tests/seeds/shopify_metafield_data.csv b/integration_tests/seeds/metafield.csv
similarity index 100%
rename from integration_tests/seeds/shopify_metafield_data.csv
rename to integration_tests/seeds/metafield.csv
diff --git a/integration_tests/seeds/shopify_order_data.csv b/integration_tests/seeds/order.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_data.csv
rename to integration_tests/seeds/order.csv
diff --git a/integration_tests/seeds/shopify_order_adjustment_data.csv b/integration_tests/seeds/order_adjustment.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_adjustment_data.csv
rename to integration_tests/seeds/order_adjustment.csv
diff --git a/integration_tests/seeds/shopify_order_discount_code_data.csv b/integration_tests/seeds/order_discount_code.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_discount_code_data.csv
rename to integration_tests/seeds/order_discount_code.csv
diff --git a/integration_tests/seeds/shopify_order_line_data.csv b/integration_tests/seeds/order_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_line_data.csv
rename to integration_tests/seeds/order_line.csv
diff --git a/integration_tests/seeds/shopify_order_line_refund_data.csv b/integration_tests/seeds/order_line_refund.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_line_refund_data.csv
rename to integration_tests/seeds/order_line_refund.csv
diff --git a/integration_tests/seeds/shopify_order_note_attribute_data.csv b/integration_tests/seeds/order_note_attribute.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_note_attribute_data.csv
rename to integration_tests/seeds/order_note_attribute.csv
diff --git a/integration_tests/seeds/shopify_order_shipping_line_data.csv b/integration_tests/seeds/order_shipping_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_shipping_line_data.csv
rename to integration_tests/seeds/order_shipping_line.csv
diff --git a/integration_tests/seeds/shopify_order_shipping_tax_line_data.csv b/integration_tests/seeds/order_shipping_tax_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_shipping_tax_line_data.csv
rename to integration_tests/seeds/order_shipping_tax_line.csv
diff --git a/integration_tests/seeds/shopify_order_tag_data.csv b/integration_tests/seeds/order_tag.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_tag_data.csv
rename to integration_tests/seeds/order_tag.csv
diff --git a/integration_tests/seeds/shopify_order_url_tag_data.csv b/integration_tests/seeds/order_url_tag.csv
similarity index 100%
rename from integration_tests/seeds/shopify_order_url_tag_data.csv
rename to integration_tests/seeds/order_url_tag.csv
diff --git a/integration_tests/seeds/shopify_price_rule_data.csv b/integration_tests/seeds/price_rule.csv
similarity index 100%
rename from integration_tests/seeds/shopify_price_rule_data.csv
rename to integration_tests/seeds/price_rule.csv
diff --git a/integration_tests/seeds/shopify_product_data.csv b/integration_tests/seeds/product.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_data.csv
rename to integration_tests/seeds/product.csv
diff --git a/integration_tests/seeds/shopify_product_image_data.csv b/integration_tests/seeds/product_image.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_image_data.csv
rename to integration_tests/seeds/product_image.csv
diff --git a/integration_tests/seeds/shopify_product_tag_data.csv b/integration_tests/seeds/product_tag.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_tag_data.csv
rename to integration_tests/seeds/product_tag.csv
diff --git a/integration_tests/seeds/shopify_product_variant_data.csv b/integration_tests/seeds/product_variant.csv
similarity index 100%
rename from integration_tests/seeds/shopify_product_variant_data.csv
rename to integration_tests/seeds/product_variant.csv
diff --git a/integration_tests/seeds/shopify_refund_data.csv b/integration_tests/seeds/refund.csv
similarity index 100%
rename from integration_tests/seeds/shopify_refund_data.csv
rename to integration_tests/seeds/refund.csv
diff --git a/integration_tests/seeds/shopify_shop_data.csv b/integration_tests/seeds/shop.csv
similarity index 100%
rename from integration_tests/seeds/shopify_shop_data.csv
rename to integration_tests/seeds/shop.csv
diff --git a/integration_tests/seeds/shopify_tax_line_data.csv b/integration_tests/seeds/tax_line.csv
similarity index 100%
rename from integration_tests/seeds/shopify_tax_line_data.csv
rename to integration_tests/seeds/tax_line.csv
diff --git a/integration_tests/seeds/shopify_tender_transaction_data.csv b/integration_tests/seeds/tender_transaction.csv
similarity index 100%
rename from integration_tests/seeds/shopify_tender_transaction_data.csv
rename to integration_tests/seeds/tender_transaction.csv
diff --git a/integration_tests/seeds/shopify_transaction_data.csv b/integration_tests/seeds/transaction.csv
similarity index 100%
rename from integration_tests/seeds/shopify_transaction_data.csv
rename to integration_tests/seeds/transaction.csv
From af767e7134bbcfb69f3934fe020b2ac80b5547d8 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 12:16:47 -0700
Subject: [PATCH 14/26] wrong schemas
---
integration_tests/ci/sample.profiles.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/integration_tests/ci/sample.profiles.yml b/integration_tests/ci/sample.profiles.yml
index d81000b..d3239b2 100644
--- a/integration_tests/ci/sample.profiles.yml
+++ b/integration_tests/ci/sample.profiles.yml
@@ -22,7 +22,7 @@ integration_tests:
type: bigquery
method: service-account-json
project: 'dbt-package-testing'
- schema: shopify_holistic_reporting_integration_tests
+ schema: shopify_holistic_reporting_integration_tests_1
threads: 8
keyfile_json: "{{ env_var('GCLOUD_SERVICE_KEY') | as_native }}"
snowflake:
@@ -33,7 +33,7 @@ integration_tests:
role: "{{ env_var('CI_SNOWFLAKE_DBT_ROLE') }}"
database: "{{ env_var('CI_SNOWFLAKE_DBT_DATABASE') }}"
warehouse: "{{ env_var('CI_SNOWFLAKE_DBT_WAREHOUSE') }}"
- schema: shopify_holistic_reporting_integration_tests
+ schema: shopify_holistic_reporting_integration_tests_1
threads: 8
postgres:
type: postgres
@@ -42,13 +42,13 @@ integration_tests:
pass: "{{ env_var('CI_POSTGRES_DBT_PASS') }}"
dbname: "{{ env_var('CI_POSTGRES_DBT_DBNAME') }}"
port: 5432
- schema: shopify_holistic_reporting_integration_tests
+ schema: shopify_holistic_reporting_integration_tests_1
threads: 8
databricks:
catalog: null
host: "{{ env_var('CI_DATABRICKS_DBT_HOST') }}"
http_path: "{{ env_var('CI_DATABRICKS_DBT_HTTP_PATH') }}"
- schema: shopify_holistic_reporting_integration_tests
+ schema: shopify_holistic_reporting_integration_tests_1
threads: 2
token: "{{ env_var('CI_DATABRICKS_DBT_TOKEN') }}"
type: databricks
\ No newline at end of file
From 57101875684412e919d88787d3f0f0375686f964 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 13:57:15 -0700
Subject: [PATCH 15/26] revert
---
integration_tests/requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/integration_tests/requirements.txt b/integration_tests/requirements.txt
index 87ae0f9..56a7f6d 100644
--- a/integration_tests/requirements.txt
+++ b/integration_tests/requirements.txt
@@ -1,6 +1,6 @@
dbt-snowflake>=1.3.0,<2.0.0
dbt-bigquery>=1.3.0,<2.0.0
-dbt-redshift>=1.3.0,<2.0.0
+dbt-redshift>=1.3.0,<1.5.0
dbt-postgres>=1.3.0,<2.0.0
dbt-spark>=1.3.0,<2.0.0
dbt-spark[PyHive]>=1.3.0,<2.0.0
From ea3333198dcb5a297eb0f61758b812662b52a487 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 13:59:11 -0700
Subject: [PATCH 16/26] revert
---
.../shopify_holistic_reporting__customer_enhanced.sql | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/models/shopify_holistic_reporting__customer_enhanced.sql b/models/shopify_holistic_reporting__customer_enhanced.sql
index 548bae4..5888e9a 100644
--- a/models/shopify_holistic_reporting__customer_enhanced.sql
+++ b/models/shopify_holistic_reporting__customer_enhanced.sql
@@ -26,14 +26,16 @@ with shopify_customers as (
shopify_customers.first_order_timestamp as first_order_at,
shopify_customers.most_recent_order_timestamp as last_order_at,
- {{ dbt_utils.star(from=ref('shopify__customer_emails'), relation_alias='shopify_customers', prefix='shopify_',
- except=['email', 'full_name', 'customer_ids', 'phone_numbers', 'first_account_created_at','last_account_created_at',
+ {{ dbt_utils.star(from=ref('shopify__customer_emails'), relation_alias='shopify_customers', prefix='shopify_', quote_identifiers=false,
+ except=['source_relation', 'email', 'full_name', 'customer_ids', 'phone_numbers', 'first_account_created_at','last_account_created_at',
'updated_timestamp', 'is_verified_email'] )
}},
+ shopify_customers.source_relation as shopify_source_relation,
- {{ dbt_utils.star(from=ref('int__klaviyo_person_rollup'), relation_alias='klaviyo_persons', prefix='klaviyo_',
- except=['email', 'full_name', 'first_klaviyo_account_made_at', 'last_klaviyo_account_made_at', 'person_ids', 'phone_numbers', 'last_updated_at'] )
+ {{ dbt_utils.star(from=ref('int__klaviyo_person_rollup'), relation_alias='klaviyo_persons', prefix='klaviyo_', quote_identifiers=false,
+ except=['source_relation', 'email', 'full_name', 'first_klaviyo_account_made_at', 'last_klaviyo_account_made_at', 'person_ids', 'phone_numbers', 'last_updated_at'] )
}}
+ klaviyo_persons.source_relation as klaviyo_source_relation
from shopify_customers
full outer join klaviyo_persons
From 38ef38ff08bd011b5998240a8b33aab2e9c43183 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Mon, 8 May 2023 14:07:04 -0700
Subject: [PATCH 17/26] missing comma
---
models/shopify_holistic_reporting__customer_enhanced.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/models/shopify_holistic_reporting__customer_enhanced.sql b/models/shopify_holistic_reporting__customer_enhanced.sql
index 5888e9a..00023d4 100644
--- a/models/shopify_holistic_reporting__customer_enhanced.sql
+++ b/models/shopify_holistic_reporting__customer_enhanced.sql
@@ -34,7 +34,7 @@ with shopify_customers as (
{{ dbt_utils.star(from=ref('int__klaviyo_person_rollup'), relation_alias='klaviyo_persons', prefix='klaviyo_', quote_identifiers=false,
except=['source_relation', 'email', 'full_name', 'first_klaviyo_account_made_at', 'last_klaviyo_account_made_at', 'person_ids', 'phone_numbers', 'last_updated_at'] )
- }}
+ }},
klaviyo_persons.source_relation as klaviyo_source_relation
from shopify_customers
From cf5b8a880cb127bef4899048af7bc5f9d1360474 Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Tue, 9 May 2023 12:41:20 -0700
Subject: [PATCH 18/26] docs
---
CHANGELOG.md | 12 ++++++++----
README.md | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4846eab..2ef7c7d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,17 +1,21 @@
# dbt_shopify_holistic_reporting v0.4.0
-- points to new verion of Shopify package which has breaking changes ([v0.8.0 release notes](https://github.com/fivetran/dbt_shopify/releases/tag/v0.8.0))
- - shop
+[PR #16](https://github.com/fivetran/dbt_shopify_holistic_reporting/pull/16) includes the following changes:
-# dbt_shopify_holistic_reporting v0.3.1
+## 🚨 Breaking Changes 🚨:
+- The package now points to v0.8.1 of the `shopify` [package](https://github.com/fivetran/dbt_shopify).
+ - See Shopify's [CHANGELOG](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md) notes for details, as many fields, tables, and features were introduced (or deprecated) in [v0.8.0](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md#dbt_shopify-v080) of Shopify.
## Bug Fixes:
-[PR #16](https://github.com/fivetran/dbt_shopify_holistic_reporting/pull/16) includes the following change:
- Adds flow, campaign, and variation to the join between shopify and klaviyo data in `shopify_holistic_reporting__daily_customer_metrics`. These fields are part of the grain of this model and could cause fanout if not included as arguments in the `full outer join`.
## Contributors
- [@jmussitsch](https://github.com/jmussitsch) ([#14](https://github.com/fivetran/dbt_shopify_holistic_reporting/issues/14))
+## Related Releases
+- https://github.com/fivetran/dbt_shopify/releases/tag/v0.8.0
+- https://github.com/fivetran/dbt_shopify/releases/tag/v0.8.1
+
# dbt_shopify_holistic_reporting v0.3.0
## 🚨 Breaking Changes 🚨:
diff --git a/README.md b/README.md
index 00aa589..c15da25 100644
--- a/README.md
+++ b/README.md
@@ -96,7 +96,7 @@ packages:
version: [">=0.8.0", "<0.9.0"]
- package: fivetran/shopify_source
- version: [">=0.7.0", "<0.8.0"]
+ version: [">=0.8.0", "<0.9.0"]
- package: fivetran/klaviyo
version: [">=0.5.0", "<0.6.0"]
From 6b97b2bc52eedd35b4445aa4033e279d9ce8c16f Mon Sep 17 00:00:00 2001
From: Jamie Rodriguez <65564846+fivetran-jamie@users.noreply.github.com>
Date: Wed, 10 May 2023 16:21:15 -0700
Subject: [PATCH 19/26] stuff is workign and readme
---
CHANGELOG.md | 2 +-
README.md | 117 +++++++++++-------
docs/catalog.json | 2 +-
docs/index.html | 4 +-
docs/manifest.json | 2 +-
docs/run_results.json | 2 +-
integration_tests/dbt_project.yml | 2 +-
..._holistic_reporting__customer_enhanced.sql | 6 +-
packages.yml | 9 +-
9 files changed, 85 insertions(+), 61 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2ef7c7d..3f7b38f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@
## 🚨 Breaking Changes 🚨:
- The package now points to v0.8.1 of the `shopify` [package](https://github.com/fivetran/dbt_shopify).
- - See Shopify's [CHANGELOG](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md) notes for details, as many fields, tables, and features were introduced (or deprecated) in [v0.8.0](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md#dbt_shopify-v080) of Shopify.
+ - See Shopify's [CHANGELOG](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md) notes for details, as many fields, tables, and features were introduced (or deprecated) in [v0.8.0](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md#dbt_shopify-v080) of Shopify.
## Bug Fixes:
- Adds flow, campaign, and variation to the join between shopify and klaviyo data in `shopify_holistic_reporting__daily_customer_metrics`. These fields are part of the grain of this model and could cause fanout if not included as arguments in the `full outer join`.
diff --git a/README.md b/README.md
index c15da25..d532f42 100644
--- a/README.md
+++ b/README.md
@@ -23,6 +23,7 @@ This dbt package enables you to:
Check out our [blog post](https://www.fivetran.com/blog/gain-faster-insights-from-shopify-and-klaviyo-data) for further discussion on how the package can accelerate your business analysis.
+
The following table provides a detailed list of all models materialized within this package (see [Shopify](https://github.com/fivetran/dbt_shopify#-what-does-this-dbt-package-do) and [Klaviyo](https://github.com/fivetran/dbt_klaviyo#-what-does-this-dbt-package-do) for the upstream models these are built off of).
> TIP: See more details about these models in the package's [dbt docs site](https://fivetran.github.io/dbt_shopify/#!/overview/shopify_holistic_reporting).
@@ -31,44 +32,71 @@ The following table provides a detailed list of all models materialized within t
| [shopify_holistic_reporting__orders_attribution](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution) | Each record represents a unique Shopify order, enhanced with a customizable last-touch attribution model associating orders with Klaviyo flows and campaigns that customers interacted with. Includes dimensions like whether it is a new or repeat purchase in Shopify. See available customizations [here](https://github.com/fivetran/dbt_klaviyo#attribution-lookback-window). Materialized incrementally by default. |
| [shopify_holistic_reporting__daily_customer_metrics](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics) | Each record represent a unique customer's daily activity attributed to a campaign or flow in Klaviyo. The grain is set at the customer-day-flow/campaign level. This model is enriched with both Shopify and Klaviyo metrics, such as the net revenue, taxes paid, discounts applied, and the counts of each type of interaction between the user and the campaign/flow. |
| [shopify_holistic_reporting__customer_enhanced](https://fivetran.github.io/dbt_shopify_holistic_reporting/#!/model/model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced) | Each record represents a unique individual (based on email) that may exist in Shopify, Klaviyo, or both platforms. Enhanced with information coalesced across platforms, lifetime order metrics, and all-time interactions with email marketing campaigns and flows. |
+
-### Opinionated Modelling Decisions
-If you would like a deeper explanation of the logic used by default in the dbt package you may reference the [DECISIONLOG](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main//DECISIONLOG.md).
-## Installation Instructions
-Check [dbt Hub](https://hub.getdbt.com/) for the latest installation instructions, or [read the dbt docs](https://docs.getdbt.com/docs/package-management) for more information on installing packages.
+# 🎯 How do I use the dbt package?
-Include in your `packages.yml`
+## Step 1: Prerequisites
+To use this dbt package, you must have the following:
-```yaml
+- At least one Fivetran Shopify connector syncing data into your destination.
+- A **BigQuery**, **Snowflake**, **Redshift**, **Databricks**, or **PostgreSQL** destination.
+
+## Step 2: Install the package
+Include the following shopify_holistic_reporting package version in your `packages.yml` file:
+> TIP: Check [dbt Hub](https://hub.getdbt.com/) for the latest installation instructions or [read the dbt docs](https://docs.getdbt.com/docs/package-management) for more information on installing packages.
+```yml
packages:
- package: fivetran/shopify_holistic_reporting
- version: [">=0.3.0", "<0.4.0"]
+ version: [">=0.3.0", "<0.4.0"] # we recommend using ranges to capture non-breaking changes automatically
```
-## Configurations
+Do **NOT** include the `shopify`, `shopify_source`, `klaviyo`, or `klaviyo_source` packages in this file. The combo package itself has a dependency on these and will install the transformation and source packages as well.
-See connector-specific configurations in their individual dbt package READMEs:
-- [Shopify](https://github.com/fivetran/dbt_shopify)
-- [Klaviyo](https://github.com/fivetran/dbt_klaviyo)
+### Databricks dispatch configuration
+If you are using a Databricks destination with this package, you must add the following (or a variation of the following) dispatch configuration within your `dbt_project.yml`. This is required in order for the package to accurately search for macros within the `dbt-labs/spark_utils` then the `dbt-labs/dbt_utils` packages respectively.
+```yml
+dispatch:
+ - macro_namespace: dbt_utils
+ search_order: ['spark_utils', 'dbt_utils']
+```
+
+## Step 3: Define database and schema variables
+### Single Shopify and/or Klaviyo connector
+By default, this package runs using your target destination and the `shopify` and `klaviyo` schemas. If this is not where your Shopify and Klaviyo source data is, respectively (for example, they might be `shopify_fivetran` and `klaviyo_fivetran`), add the following configuration to your root `dbt_project.yml` file:
+
+```yml
+# dbt_project.yml
-### Unioning Multiple Shopify or Klaviyo Connectors
-If you have multiple Shopify and/or Klaviyo connectors in Fivetran and would like to use this package on all of them simultaneously, we have provided functionality to do so. The package will union all of the data together and pass the unioned table into the transformations. You will be able to see which source it came from in the `source_relation` column of each model. To use this functionality, you will need to set either (**note that you cannot use both**) the `union_schemas` or `union_databases` variables for each type of connector. Note that Shopify and Klaviyo refer the same names for the variables, so you will need to properly namespace them within the `klaviyo_source` and `shopify_source` packages to use this functionality for both sources:
+vars:
+ klaviyo_database: your_database_name
+ klaviyo_schema: your_schema_name
+ shopify_database: your_database_name
+ shopify_schema: your_schema_name
+```
+### Union multiple Shopify and/or Klaviyo connectors
+If you have multiple Shopify and/or Klaviyo connectors in Fivetran and would like to use this package on all of them simultaneously, we have provided functionality to do so. The package will union all of the data together and pass the unioned table into the transformations. You will be able to see which source it came from in the `source_relation` column of each model. To use this functionality, you will need to set either the `shopify_union_schemas`/`klaviyo_union_schemas` OR `shopify_union_databases`/`klaviyo_union_databases` variables (cannot do both) in your root `dbt_project.yml` file:
```yml
# dbt_project.yml
-config-version: 2
vars:
- klaviyo_source:
- union_schemas: ['klaviyo_usa','klaviyo_canada'] # use this if the data is in different schemas/datasets of the same database/project
- union_databases: ['klaviyo_usa','klaviyo_canada'] # use this if the data is in different databases/projects but uses the same schema name
+ shopify_union_schemas: ['shopify_usa','shopify_canada'] # use this if the data is in different schemas/datasets of the same database/project
+ shopify_union_databases: ['shopify_usa','shopify_canada'] # use this if the data is in different databases/projects but uses the same schema name
- shopify_source:
- union_schemas: ['shopify_usa','shopify_canada'] # use this if the data is in different schemas/datasets of the same database/project
- union_databases: ['shopify_usa','shopify_canada'] # use this if the data is in different databases/projects but uses the same schema name
+ klaviyo_union_schemas: ['klaviyo_usa','klaviyo_canada'] # use this if the data is in different schemas/datasets of the same database/project
+ klaviyo_union_databases: ['klaviyo_usa','klaviyo_canada'] # use this if the data is in different databases/projects but uses the same schema name
```
+## Step 4: Set Shopify- and Klaviyo-specific configurations
+See connector-specific configurations in their individual dbt package READMEs:
+- [Shopify](https://github.com/fivetran/dbt_shopify)
+- [Klaviyo](https://github.com/fivetran/dbt_klaviyo)
+
+## (Optional) Step 5: Additional configurations
+Expand for configurations
+
### Changing the Build Schema
By default, this package will build the final models within a schema titled (`` + `_shopify_holistic`) and intermediate models in (`` + `_int_shopify_holistic`) in your target database. If this is not where you would like your modeled Shopify Holistic Reporting data to be written to, add the following configuration to your `dbt_project.yml` file:
@@ -86,6 +114,15 @@ models:
> Note that if your profile does not have permissions to create schemas in your warehouse, you can set each `+schema` to blank. The package will then write all tables to your pre-existing target schema.
Models from the individual [Shopify](https://github.com/fivetran/dbt_shopify/#changing-the-build-schema) and [Klaviyo](https://github.com/fivetran/dbt_klaviyo/#changing-the-build-schema) packages will be written their respective schemas.
+
+
+## (Optional) Step 6: Orchestrate your models with Fivetran Transformations for dbt Core™
+Expand for details
+
+
+Fivetran offers the ability for you to orchestrate your dbt project through [Fivetran Transformations for dbt Core™](https://fivetran.com/docs/transformations/dbt). Learn how to set up your project for orchestration through Fivetran in our [Transformations for dbt Core setup guides](https://fivetran.com/docs/transformations/dbt#setupguide).
+
+
# 🔍 Does this package have dependencies?
This dbt package is dependent on the following dbt packages. Please be aware that these dependencies are installed by default within this package. For more information on the following packages, refer to the [dbt hub](https://hub.getdbt.com/) site.
@@ -114,35 +151,19 @@ packages:
version: [">=0.3.0", "<0.4.0"]
```
+# 🙌 How is this package maintained and can I contribute?
+## Package Maintenance
+The Fivetran team maintaining this package _only_ maintains the latest version of the package. We highly recommend you stay consistent with the [latest version](https://hub.getdbt.com/fivetran/shopify_holistic_reporting/latest/) of the package and refer to the [CHANGELOG](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main/CHANGELOG.md) and release notes for more information on changes across versions.
-## Contributions
-
-Don't see a model or specific metric you want to be included? Notice any bugs when installing and running the package? If so, we highly encourage and welcome contributions to this package!
-Please create issues or open PRs against `main`. Check out [this post](https://discourse.getdbt.com/t/contributing-to-a-dbt-package/657) on the best workflow for contributing to a package.
-
-## Database Support
+The Fivetran team also maintains the upstream [Klaviyo](https://hub.getdbt.com/fivetran/klaviyo/latest/) and [Shopify](https://hub.getdbt.com/fivetran/shopify/latest/) packages on which the Shopify Holistic Reporting package is built off of. Refer to the [Klaviyo](https://github.com/fivetran/dbt_klaviyo/blob/main/CHANGELOG.md) and [Shopify](https://github.com/fivetran/dbt_shopify/blob/main/CHANGELOG.md) CHANGELOGs and release notes for more information on changes across versions.
-This package has been tested on BigQuery, Snowflake, Redshift, Postgres, and Databricks.
-
-### Databricks Dispatch Configuration
-dbt `v0.20.0` introduced a new project-level dispatch configuration that enables an "override" setting for all dispatched macros. If you are using a Databricks destination with this package you will need to add the below (or a variation of the below) dispatch configuration within your `dbt_project.yml`. This is required in order for the package to accurately search for macros within the `dbt-labs/spark_utils` then the `dbt-labs/dbt_utils` packages respectively.
-```yml
-# dbt_project.yml
+## Contributions
+A small team of analytics engineers at Fivetran develops these dbt packages. However, the packages are made better by community contributions!
-dispatch:
- - macro_namespace: dbt_utils
- search_order: ['spark_utils', 'dbt_utils']
-```
+We highly encourage and welcome contributions to this package. Check out [this dbt Discourse article](https://discourse.getdbt.com/t/contributing-to-a-dbt-package/657) on the best workflow for contributing to a package!
-### Resources:
-- Provide [feedback](https://www.surveymonkey.com/r/DQ7K7WW) on our existing dbt packages or what you'd like to see next
-- Have questions, feedback, or need help? Book a time during our office hours [using Calendly](https://calendly.com/fivetran-solutions-team/fivetran-solutions-team-office-hours) or email us at solutions@fivetran.com
-- Find all of Fivetran's pre-built dbt packages in our [dbt hub](https://hub.getdbt.com/fivetran/)
-- Learn how to orchestrate your models with [Fivetran Transformations for dbt Core™](https://fivetran.com/docs/transformations/dbt)
-- Learn more about Fivetran overall [in our docs](https://fivetran.com/docs)
-- Check out [Fivetran's blog](https://fivetran.com/blog)
-- Learn more about dbt [in the dbt docs](https://docs.getdbt.com/docs/introduction)
-- Check out [Discourse](https://discourse.getdbt.com/) for commonly asked questions and answers
-- Join the [chat](http://slack.getdbt.com/) on Slack for live discussions and support
-- Find [dbt events](https://events.getdbt.com) near you
-- Check out [the dbt blog](https://blog.getdbt.com/) for the latest news on dbt's development and best practices
+# 🏪 Are there any resources available?
+- If you would like a deeper explanation of the logic used by default in the dbt package you may reference the [DECISIONLOG](https://github.com/fivetran/dbt_shopify_holistic_reporting/blob/main//DECISIONLOG.md).
+- If you have questions or want to reach out for help, please refer to the [GitHub Issue](https://github.com/fivetran/dbt_shopify/issues/new/choose) section to find the right avenue of support for you.
+- If you would like to provide feedback to the dbt package team at Fivetran or would like to request a new dbt package, fill out our [Feedback Form](https://www.surveymonkey.com/r/DQ7K7WW).
+- Have questions or want to be part of the community discourse? Create a post in the [Fivetran community](https://community.fivetran.com/t5/user-group-for-dbt/gh-p/dbt-user-group) and our team along with the community can join in on the discussion!
\ No newline at end of file
diff --git a/docs/catalog.json b/docs/catalog.json
index 3860e87..be4abd4 100644
--- a/docs/catalog.json
+++ b/docs/catalog.json
@@ -1 +1 @@
-{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.3.0", "generated_at": "2022-12-19T20:41:14.300692Z", "invocation_id": "3d9ead59-11b7-4031-9555-dbd173d712a2", "env": {}}, "nodes": {"seed.shopify_holistic_reporting_integration_tests.campaign": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "campaign", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "from_name": {"type": "text", "index": 2, "name": "from_name", "comment": null}, "status_id": {"type": "integer", "index": 3, "name": "status_id", "comment": null}, "is_segmented": {"type": "boolean", "index": 4, "name": "is_segmented", "comment": null}, "campaign_type": {"type": "text", "index": 5, "name": "campaign_type", "comment": null}, "status_label": {"type": "text", "index": 6, "name": "status_label", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "subject": {"type": "text", "index": 8, "name": "subject", "comment": null}, "name": {"type": "text", "index": 9, "name": "name", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "created": {"type": "text", "index": 11, "name": "created", "comment": null}, "updated": {"type": "text", "index": 12, "name": "updated", "comment": null}, "send_time": {"type": "text", "index": 13, "name": "send_time", "comment": null}, "sent_at": {"type": "text", "index": 14, "name": "sent_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "email_template_id": {"type": "text", "index": 16, "name": "email_template_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.campaign"}, "seed.shopify_holistic_reporting_integration_tests.event": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "event", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "person_id": {"type": "text", "index": 2, "name": "person_id", "comment": null}, "campaign_id": {"type": "character varying", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "integer", "index": 5, "name": "flow_message_id", "comment": null}, "uuid": {"type": "text", "index": 6, "name": "uuid", "comment": null}, "datetime": {"type": "text", "index": 7, "name": "datetime", "comment": null}, "timestamp": {"type": "text", "index": 8, "name": "timestamp", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "comment": null}, "metric_id": {"type": "text", "index": 10, "name": "metric_id", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "_variation": {"type": "text", "index": 12, "name": "_variation", "comment": null}, "property_value": {"type": "integer", "index": 13, "name": "property_value", "comment": null}, "property_source_name": {"type": "integer", "index": 14, "name": "property_source_name", "comment": null}, "property_extra": {"type": "integer", "index": 15, "name": "property_extra", "comment": null}, "property_shipping_rate": {"type": "integer", "index": 16, "name": "property_shipping_rate", "comment": null}, "property_items": {"type": "integer", "index": 17, "name": "property_items", "comment": null}, "property_tags": {"type": "integer", "index": 18, "name": "property_tags", "comment": null}, "property_item_count": {"type": "integer", "index": 19, "name": "property_item_count", "comment": null}, "property_collections": {"type": "integer", "index": 20, "name": "property_collections", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 21, "name": "_fivetran_synced", "comment": null}, "property_currency_code": {"type": "integer", "index": 22, "name": "property_currency_code", "comment": null}, "property_product_id": {"type": "integer", "index": 23, "name": "property_product_id", "comment": null}, "property_quantity": {"type": "integer", "index": 24, "name": "property_quantity", "comment": null}, "property_name": {"type": "integer", "index": 25, "name": "property_name", "comment": null}, "property_variant_option_title": {"type": "integer", "index": 26, "name": "property_variant_option_title", "comment": null}, "property_sku": {"type": "integer", "index": 27, "name": "property_sku", "comment": null}, "property_variant_name": {"type": "integer", "index": 28, "name": "property_variant_name", "comment": null}, "property_vendor": {"type": "integer", "index": 29, "name": "property_vendor", "comment": null}, "property_event_id": {"type": "text", "index": 30, "name": "property_event_id", "comment": null}, "property_total_discounts": {"type": "integer", "index": 31, "name": "property_total_discounts", "comment": null}, "property_attribution": {"type": "integer", "index": 32, "name": "property_attribution", "comment": null}, "property_discount_codes": {"type": "integer", "index": 33, "name": "property_discount_codes", "comment": null}, "property_fulfillment_hours": {"type": "integer", "index": 34, "name": "property_fulfillment_hours", "comment": null}, "property_fulfillment_status": {"type": "integer", "index": 35, "name": "property_fulfillment_status", "comment": null}, "property_subject": {"type": "text", "index": 36, "name": "property_subject", "comment": null}, "property_title": {"type": "integer", "index": 37, "name": "property_title", "comment": null}, "property_message_interaction": {"type": "integer", "index": 38, "name": "property_message_interaction", "comment": null}, "property_url": {"type": "integer", "index": 39, "name": "property_url", "comment": null}, "property_shipment_type": {"type": "integer", "index": 40, "name": "property_shipment_type", "comment": null}, "property_courier_name": {"type": "integer", "index": 41, "name": "property_courier_name", "comment": null}, "property_current_status": {"type": "integer", "index": 42, "name": "property_current_status", "comment": null}, "property_tracking_ship_date": {"type": "integer", "index": 43, "name": "property_tracking_ship_date", "comment": null}, "property_tracking_postal_code": {"type": "integer", "index": 44, "name": "property_tracking_postal_code", "comment": null}, "property_shipment_package_count": {"type": "integer", "index": 45, "name": "property_shipment_package_count", "comment": null}, "property_campaign_name": {"type": "text", "index": 46, "name": "property_campaign_name", "comment": null}, "property_cohort_message_send_cohort": {"type": "text", "index": 47, "name": "property_cohort_message_send_cohort", "comment": null}, "property_email_domain": {"type": "text", "index": 48, "name": "property_email_domain", "comment": null}, "property_bounce_type": {"type": "integer", "index": 49, "name": "property_bounce_type", "comment": null}, "property_client_type": {"type": "integer", "index": 50, "name": "property_client_type", "comment": null}, "property_client_os": {"type": "integer", "index": 51, "name": "property_client_os", "comment": null}, "property_client_name": {"type": "integer", "index": 52, "name": "property_client_name", "comment": null}, "property_client_os_family": {"type": "integer", "index": 53, "name": "property_client_os_family", "comment": null}, "property_client_canonical": {"type": "integer", "index": 54, "name": "property_client_canonical", "comment": null}, "property_page": {"type": "integer", "index": 55, "name": "property_page", "comment": null}, "property_is_session_activity": {"type": "integer", "index": 56, "name": "property_is_session_activity", "comment": null}, "property_os": {"type": "integer", "index": 57, "name": "property_os", "comment": null}, "property_session_end": {"type": "integer", "index": 58, "name": "property_session_end", "comment": null}, "property_browser": {"type": "integer", "index": 59, "name": "property_browser", "comment": null}, "property_list": {"type": "integer", "index": 60, "name": "property_list", "comment": null}, "property_compare_at_price": {"type": "integer", "index": 61, "name": "property_compare_at_price", "comment": null}, "property_price": {"type": "integer", "index": 62, "name": "property_price", "comment": null}, "property_image_url": {"type": "integer", "index": 63, "name": "property_image_url", "comment": null}, "property_brand": {"type": "integer", "index": 64, "name": "property_brand", "comment": null}, "property_categories": {"type": "integer", "index": 65, "name": "property_categories", "comment": null}, "property_variant_option_size": {"type": "integer", "index": 66, "name": "property_variant_option_size", "comment": null}, "property_attribute_workout": {"type": "integer", "index": 67, "name": "property_attribute_workout", "comment": null}, "property_attribute_age": {"type": "integer", "index": 68, "name": "property_attribute_age", "comment": null}, "property_attribute_fitness_goal": {"type": "integer", "index": 69, "name": "property_attribute_fitness_goal", "comment": null}, "property_attribute_breakfast": {"type": "integer", "index": 70, "name": "property_attribute_breakfast", "comment": null}, "property_variant_option_type": {"type": "integer", "index": 71, "name": "property_variant_option_type", "comment": null}, "property_cohort_variation_send_cohort": {"type": "text", "index": 72, "name": "property_cohort_variation_send_cohort", "comment": null}, "property_method": {"type": "integer", "index": 73, "name": "property_method", "comment": null}, "property_to_number": {"type": "integer", "index": 74, "name": "property_to_number", "comment": null}, "property_message_type": {"type": "integer", "index": 75, "name": "property_message_type", "comment": null}, "property_from_number": {"type": "integer", "index": 76, "name": "property_from_number", "comment": null}, "property_message_format": {"type": "integer", "index": 77, "name": "property_message_format", "comment": null}, "property_message_name": {"type": "integer", "index": 78, "name": "property_message_name", "comment": null}, "property_carrier_delivery_status": {"type": "integer", "index": 79, "name": "property_carrier_delivery_status", "comment": null}, "property_failure_type": {"type": "integer", "index": 80, "name": "property_failure_type", "comment": null}, "property_failure_source": {"type": "integer", "index": 81, "name": "property_failure_source", "comment": null}, "property_message_body": {"type": "integer", "index": 82, "name": "property_message_body", "comment": null}, "property_email": {"type": "integer", "index": 83, "name": "property_email", "comment": null}, "property_attribute_kit": {"type": "integer", "index": 84, "name": "property_attribute_kit", "comment": null}, "property_vendor_error_code": {"type": "integer", "index": 85, "name": "property_vendor_error_code", "comment": null}, "property_ordr_details": {"type": "integer", "index": 86, "name": "property_ordr_details", "comment": null}, "property_date_to_send_gift": {"type": "integer", "index": 87, "name": "property_date_to_send_gift", "comment": null}, "property_recipient_name": {"type": "integer", "index": 88, "name": "property_recipient_name", "comment": null}, "property_attribute_facebook_order_retailer_id": {"type": "integer", "index": 89, "name": "property_attribute_facebook_order_retailer_id", "comment": null}, "property_sender_s_name": {"type": "integer", "index": 90, "name": "property_sender_s_name", "comment": null}, "property_attribute_kitid": {"type": "integer", "index": 91, "name": "property_attribute_kitid", "comment": null}, "property_conversation_id": {"type": "integer", "index": 92, "name": "property_conversation_id", "comment": null}, "property_conversation_link": {"type": "integer", "index": 93, "name": "property_conversation_link", "comment": null}, "property_conversation_channel": {"type": "integer", "index": 94, "name": "property_conversation_channel", "comment": null}, "property_rating": {"type": "integer", "index": 95, "name": "property_rating", "comment": null}, "property_score": {"type": "integer", "index": 96, "name": "property_score", "comment": null}, "property_from_phone_region": {"type": "integer", "index": 97, "name": "property_from_phone_region", "comment": null}, "property_shipment_carrier": {"type": "integer", "index": 98, "name": "property_shipment_carrier", "comment": null}, "property_shipment_status": {"type": "integer", "index": 99, "name": "property_shipment_status", "comment": null}, "property_to_phone_region": {"type": "integer", "index": 100, "name": "property_to_phone_region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.event"}, "seed.shopify_holistic_reporting_integration_tests.flow": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "flow", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "status": {"type": "text", "index": 3, "name": "status", "comment": null}, "created": {"type": "text", "index": 4, "name": "created", "comment": null}, "updated": {"type": "text", "index": 5, "name": "updated", "comment": null}, "customer_filter": {"type": "text", "index": 6, "name": "customer_filter", "comment": null}, "trigger": {"type": "character varying", "index": 7, "name": "trigger", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 8, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.flow"}, "seed.shopify_holistic_reporting_integration_tests.integration": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "integration", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "category": {"type": "text", "index": 2, "name": "category", "comment": null}, "name": {"type": "text", "index": 3, "name": "name", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.integration"}, "seed.shopify_holistic_reporting_integration_tests.metric": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "metric", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "integration_id": {"type": "text", "index": 3, "name": "integration_id", "comment": null}, "created": {"type": "text", "index": 4, "name": "created", "comment": null}, "updated": {"type": "text", "index": 5, "name": "updated", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.metric"}, "seed.shopify_holistic_reporting_integration_tests.person": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "person", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated": {"type": "text", "index": 2, "name": "updated", "comment": null}, "created": {"type": "text", "index": 3, "name": "created", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "address_1": {"type": "text", "index": 7, "name": "address_1", "comment": null}, "address_2": {"type": "integer", "index": 8, "name": "address_2", "comment": null}, "title": {"type": "integer", "index": 9, "name": "title", "comment": null}, "timezone": {"type": "text", "index": 10, "name": "timezone", "comment": null}, "organization": {"type": "integer", "index": 11, "name": "organization", "comment": null}, "region": {"type": "text", "index": 12, "name": "region", "comment": null}, "longitude": {"type": "double precision", "index": 13, "name": "longitude", "comment": null}, "latitude": {"type": "double precision", "index": 14, "name": "latitude", "comment": null}, "phone_number": {"type": "character varying", "index": 15, "name": "phone_number", "comment": null}, "country": {"type": "text", "index": 16, "name": "country", "comment": null}, "zip": {"type": "integer", "index": 17, "name": "zip", "comment": null}, "city": {"type": "text", "index": 18, "name": "city", "comment": null}, "email": {"type": "text", "index": 19, "name": "email", "comment": null}, "custom_object": {"type": "text", "index": 20, "name": "custom_object", "comment": null}, "custom_email": {"type": "text", "index": 21, "name": "custom_email", "comment": null}, "custom_accepts_marketing": {"type": "boolean", "index": 22, "name": "custom_accepts_marketing", "comment": null}, "custom_shopify_tags": {"type": "text", "index": 23, "name": "custom_shopify_tags", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "custom_consent_form_id": {"type": "text", "index": 25, "name": "custom_consent_form_id", "comment": null}, "custom_source": {"type": "text", "index": 26, "name": "custom_source", "comment": null}, "custom_consent_method": {"type": "text", "index": 27, "name": "custom_consent_method", "comment": null}, "custom_consent": {"type": "integer", "index": 28, "name": "custom_consent", "comment": null}, "custom_gift_giver_name": {"type": "integer", "index": 29, "name": "custom_gift_giver_name", "comment": null}, "custom_state": {"type": "integer", "index": 30, "name": "custom_state", "comment": null}, "custom_flow": {"type": "integer", "index": 31, "name": "custom_flow", "comment": null}, "custom_gift_recipient_name": {"type": "integer", "index": 32, "name": "custom_gift_recipient_name", "comment": null}, "custom_last_sign_in": {"type": "integer", "index": 33, "name": "custom_last_sign_in", "comment": null}, "custom_consent_form_version": {"type": "integer", "index": 34, "name": "custom_consent_form_version", "comment": null}, "custom_consent_timestamp": {"type": "integer", "index": 35, "name": "custom_consent_timestamp", "comment": null}, "custom_mail_chimp_rating": {"type": "integer", "index": 36, "name": "custom_mail_chimp_rating", "comment": null}, "custom_gift_recipient_email": {"type": "integer", "index": 37, "name": "custom_gift_recipient_email", "comment": null}, "custom_gift_options": {"type": "integer", "index": 38, "name": "custom_gift_options", "comment": null}, "custom_address": {"type": "integer", "index": 39, "name": "custom_address", "comment": null}, "custom_subscription_expiration": {"type": "integer", "index": 40, "name": "custom_subscription_expiration", "comment": null}, "custom_city": {"type": "integer", "index": 41, "name": "custom_city", "comment": null}, "custom_address_line_2": {"type": "integer", "index": 42, "name": "custom_address_line_2", "comment": null}, "custom_zipcode": {"type": "integer", "index": 43, "name": "custom_zipcode", "comment": null}, "custom_expected_date_of_next_order": {"type": "text", "index": 44, "name": "custom_expected_date_of_next_order", "comment": null}, "custom_sms_attentive_signup": {"type": "integer", "index": 45, "name": "custom_sms_attentive_signup", "comment": null}, "custom_phone": {"type": "integer", "index": 46, "name": "custom_phone", "comment": null}, "custom_afterpay_order": {"type": "integer", "index": 47, "name": "custom_afterpay_order", "comment": null}, "custom_phone_number_region": {"type": "text", "index": 48, "name": "custom_phone_number_region", "comment": null}, "custom_name": {"type": "integer", "index": 49, "name": "custom_name", "comment": null}, "custom_referrer_name": {"type": "integer", "index": 50, "name": "custom_referrer_name", "comment": null}, "custom_referrer_email": {"type": "integer", "index": 51, "name": "custom_referrer_email", "comment": null}, "custom_birthday": {"type": "integer", "index": 52, "name": "custom_birthday", "comment": null}, "custom_first_purchase_date_": {"type": "date", "index": 53, "name": "custom_first_purchase_date_", "comment": null}, "custom_unengaged": {"type": "integer", "index": 54, "name": "custom_unengaged", "comment": null}, "custom_landing_page_tag": {"type": "integer", "index": 55, "name": "custom_landing_page_tag", "comment": null}, "custom_fitness_goal": {"type": "integer", "index": 56, "name": "custom_fitness_goal", "comment": null}, "custom_age": {"type": "integer", "index": 57, "name": "custom_age", "comment": null}, "custom_workout": {"type": "integer", "index": 58, "name": "custom_workout", "comment": null}, "custom_quiz": {"type": "integer", "index": 59, "name": "custom_quiz", "comment": null}, "custom_breakfast": {"type": "integer", "index": 60, "name": "custom_breakfast", "comment": null}, "custom_quiz_data": {"type": "integer", "index": 61, "name": "custom_quiz_data", "comment": null}, "custom_raf_subscribe": {"type": "integer", "index": 62, "name": "custom_raf_subscribe", "comment": null}, "custom_suppress": {"type": "integer", "index": 63, "name": "custom_suppress", "comment": null}, "custom_sms_consent": {"type": "integer", "index": 64, "name": "custom_sms_consent", "comment": null}, "custom_gift_option_dreambelt": {"type": "integer", "index": 65, "name": "custom_gift_option_dreambelt", "comment": null}, "custom_gift_option_starter": {"type": "integer", "index": 66, "name": "custom_gift_option_starter", "comment": null}, "custom_gift_option_machine": {"type": "integer", "index": 67, "name": "custom_gift_option_machine", "comment": null}, "custom_landingpage_tag": {"type": "integer", "index": 68, "name": "custom_landingpage_tag", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.person"}, "seed.shopify_holistic_reporting_integration_tests.shopify_customer_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_customer_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "first_name": {"type": "text", "index": 2, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 3, "name": "last_name", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "phone": {"type": "integer", "index": 5, "name": "phone", "comment": null}, "state": {"type": "text", "index": 6, "name": "state", "comment": null}, "orders_count": {"type": "integer", "index": 7, "name": "orders_count", "comment": null}, "total_spent": {"type": "double precision", "index": 8, "name": "total_spent", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "name": "updated_at", "comment": null}, "accepts_marketing": {"type": "boolean", "index": 11, "name": "accepts_marketing", "comment": null}, "tax_exempt": {"type": "boolean", "index": 12, "name": "tax_exempt", "comment": null}, "verified_email": {"type": "boolean", "index": 13, "name": "verified_email", "comment": null}, "default_address_id": {"type": "bigint", "index": 14, "name": "default_address_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_customer_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_order_adjustment_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_order_adjustment_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "integer", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "double precision", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "text", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "text", "index": 7, "name": "reason", "comment": null}, "amount_set": {"type": "integer", "index": 8, "name": "amount_set", "comment": null}, "tax_amount_set": {"type": "integer", "index": 9, "name": "tax_amount_set", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_order_adjustment_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_order_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_order_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "note": {"type": "text", "index": 2, "name": "note", "comment": null}, "email": {"type": "text", "index": 3, "name": "email", "comment": null}, "taxes_included": {"type": "boolean", "index": 4, "name": "taxes_included", "comment": null}, "currency": {"type": "text", "index": 5, "name": "currency", "comment": null}, "subtotal_price": {"type": "double precision", "index": 6, "name": "subtotal_price", "comment": null}, "total_tax": {"type": "integer", "index": 7, "name": "total_tax", "comment": null}, "total_price": {"type": "double precision", "index": 8, "name": "total_price", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "name": "updated_at", "comment": null}, "name": {"type": "text", "index": 11, "name": "name", "comment": null}, "shipping_address_name": {"type": "text", "index": 12, "name": "shipping_address_name", "comment": null}, "shipping_address_first_name": {"type": "text", "index": 13, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "text", "index": 14, "name": "shipping_address_last_name", "comment": null}, "shipping_address_company": {"type": "text", "index": 15, "name": "shipping_address_company", "comment": null}, "shipping_address_phone": {"type": "text", "index": 16, "name": "shipping_address_phone", "comment": null}, "shipping_address_address_1": {"type": "text", "index": 17, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "text", "index": 18, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "text", "index": 19, "name": "shipping_address_city", "comment": null}, "shipping_address_country": {"type": "text", "index": 20, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "text", "index": 21, "name": "shipping_address_country_code", "comment": null}, "shipping_address_province": {"type": "text", "index": 22, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "integer", "index": 23, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "text", "index": 24, "name": "shipping_address_zip", "comment": null}, "shipping_address_latitude": {"type": "text", "index": 25, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "text", "index": 26, "name": "shipping_address_longitude", "comment": null}, "billing_address_name": {"type": "text", "index": 27, "name": "billing_address_name", "comment": null}, "billing_address_first_name": {"type": "text", "index": 28, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "text", "index": 29, "name": "billing_address_last_name", "comment": null}, "billing_address_company": {"type": "text", "index": 30, "name": "billing_address_company", "comment": null}, "billing_address_phone": {"type": "text", "index": 31, "name": "billing_address_phone", "comment": null}, "billing_address_address_1": {"type": "text", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "text", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "text", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_country": {"type": "text", "index": 35, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "text", "index": 36, "name": "billing_address_country_code", "comment": null}, "billing_address_province": {"type": "text", "index": 37, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "integer", "index": 38, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "text", "index": 39, "name": "billing_address_zip", "comment": null}, "billing_address_latitude": {"type": "text", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "text", "index": 41, "name": "billing_address_longitude", "comment": null}, "customer_id": {"type": "bigint", "index": 42, "name": "customer_id", "comment": null}, "location_id": {"type": "bigint", "index": 43, "name": "location_id", "comment": null}, "user_id": {"type": "bigint", "index": 44, "name": "user_id", "comment": null}, "number": {"type": "integer", "index": 45, "name": "number", "comment": null}, "order_number": {"type": "integer", "index": 46, "name": "order_number", "comment": null}, "financial_status": {"type": "text", "index": 47, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "text", "index": 48, "name": "fulfillment_status", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 49, "name": "processed_at", "comment": null}, "processing_method": {"type": "text", "index": 50, "name": "processing_method", "comment": null}, "referring_site": {"type": "text", "index": 51, "name": "referring_site", "comment": null}, "cancel_reason": {"type": "integer", "index": 52, "name": "cancel_reason", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 53, "name": "cancelled_at", "comment": null}, "closed_at": {"type": "text", "index": 54, "name": "closed_at", "comment": null}, "total_discounts": {"type": "double precision", "index": 55, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 56, "name": "total_line_items_price", "comment": null}, "total_weight": {"type": "integer", "index": 57, "name": "total_weight", "comment": null}, "source_name": {"type": "text", "index": 58, "name": "source_name", "comment": null}, "browser_ip": {"type": "text", "index": 59, "name": "browser_ip", "comment": null}, "buyer_accepts_marketing": {"type": "boolean", "index": 60, "name": "buyer_accepts_marketing", "comment": null}, "token": {"type": "text", "index": 61, "name": "token", "comment": null}, "cart_token": {"type": "text", "index": 62, "name": "cart_token", "comment": null}, "checkout_token": {"type": "text", "index": 63, "name": "checkout_token", "comment": null}, "test": {"type": "boolean", "index": 64, "name": "test", "comment": null}, "landing_site_base_url": {"type": "text", "index": 65, "name": "landing_site_base_url", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 66, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_order_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_order_line_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_order_line_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "id": {"type": "bigint", "index": 2, "name": "id", "comment": null}, "product_id": {"type": "bigint", "index": 3, "name": "product_id", "comment": null}, "variant_id": {"type": "bigint", "index": 4, "name": "variant_id", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "title": {"type": "text", "index": 6, "name": "title", "comment": null}, "vendor": {"type": "text", "index": 7, "name": "vendor", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 10, "name": "grams", "comment": null}, "sku": {"type": "text", "index": 11, "name": "sku", "comment": null}, "fulfillable_quantity": {"type": "integer", "index": 12, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "text", "index": 13, "name": "fulfillment_service", "comment": null}, "gift_card": {"type": "boolean", "index": 14, "name": "gift_card", "comment": null}, "requires_shipping": {"type": "boolean", "index": 15, "name": "requires_shipping", "comment": null}, "taxable": {"type": "boolean", "index": 16, "name": "taxable", "comment": null}, "index": {"type": "integer", "index": 17, "name": "index", "comment": null}, "total_discount": {"type": "integer", "index": 18, "name": "total_discount", "comment": null}, "pre_tax_price": {"type": "integer", "index": 19, "name": "pre_tax_price", "comment": null}, "fulfillment_status": {"type": "text", "index": 20, "name": "fulfillment_status", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 21, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_order_line_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_order_line_refund_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_order_line_refund_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "location_id": {"type": "bigint", "index": 2, "name": "location_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "restock_type": {"type": "integer", "index": 4, "name": "restock_type", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "order_line_id": {"type": "bigint", "index": 6, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_order_line_refund_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_product_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_product_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "title": {"type": "text", "index": 2, "name": "title", "comment": null}, "handle": {"type": "text", "index": 3, "name": "handle", "comment": null}, "product_type": {"type": "text", "index": 4, "name": "product_type", "comment": null}, "vendor": {"type": "text", "index": 5, "name": "vendor", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "published_at": {"type": "timestamp without time zone", "index": 8, "name": "published_at", "comment": null}, "published_scope": {"type": "text", "index": 9, "name": "published_scope", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 10, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_product_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_product_variant_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_product_variant_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "bigint", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "bigint", "index": 3, "name": "inventory_item_id", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "price": {"type": "integer", "index": 5, "name": "price", "comment": null}, "sku": {"type": "integer", "index": 6, "name": "sku", "comment": null}, "position": {"type": "integer", "index": 7, "name": "position", "comment": null}, "inventory_policy": {"type": "text", "index": 8, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "integer", "index": 9, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "text", "index": 10, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "text", "index": 11, "name": "inventory_management", "comment": null}, "created_at": {"type": "text", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "text", "index": 13, "name": "updated_at", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "barcode": {"type": "integer", "index": 15, "name": "barcode", "comment": null}, "grams": {"type": "integer", "index": 16, "name": "grams", "comment": null}, "image_id": {"type": "integer", "index": 17, "name": "image_id", "comment": null}, "inventory_quantity": {"type": "integer", "index": 18, "name": "inventory_quantity", "comment": null}, "weight": {"type": "integer", "index": 19, "name": "weight", "comment": null}, "weight_unit": {"type": "text", "index": 20, "name": "weight_unit", "comment": null}, "old_inventory_quantity": {"type": "integer", "index": 21, "name": "old_inventory_quantity", "comment": null}, "requires_shipping": {"type": "boolean", "index": 22, "name": "requires_shipping", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 23, "name": "_fivetran_synced", "comment": null}, "option_2": {"type": "integer", "index": 24, "name": "option_2", "comment": null}, "tax_code": {"type": "text", "index": 25, "name": "tax_code", "comment": null}, "option_3": {"type": "integer", "index": 26, "name": "option_3", "comment": null}, "option_1": {"type": "text", "index": 27, "name": "option_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_product_variant_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_refund_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_refund_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "processed_at": {"type": "text", "index": 3, "name": "processed_at", "comment": null}, "note": {"type": "text", "index": 4, "name": "note", "comment": null}, "restock": {"type": "boolean", "index": 5, "name": "restock", "comment": null}, "user_id": {"type": "bigint", "index": 6, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "total_duties_set": {"type": "integer", "index": 8, "name": "total_duties_set", "comment": null}, "order_id": {"type": "bigint", "index": 9, "name": "order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_refund_data"}, "seed.shopify_holistic_reporting_integration_tests.shopify_transaction_data": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests", "name": "shopify_transaction_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "authorization": {"type": "text", "index": 5, "name": "authorization", "comment": null}, "created_at": {"type": "text", "index": 6, "name": "created_at", "comment": null}, "processed_at": {"type": "text", "index": 7, "name": "processed_at", "comment": null}, "device_id": {"type": "integer", "index": 8, "name": "device_id", "comment": null}, "gateway": {"type": "text", "index": 9, "name": "gateway", "comment": null}, "source_name": {"type": "text", "index": 10, "name": "source_name", "comment": null}, "message": {"type": "text", "index": 11, "name": "message", "comment": null}, "currency": {"type": "text", "index": 12, "name": "currency", "comment": null}, "location_id": {"type": "integer", "index": 13, "name": "location_id", "comment": null}, "parent_id": {"type": "integer", "index": 14, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "text", "index": 15, "name": "payment_avs_result_code", "comment": null}, "kind": {"type": "text", "index": 16, "name": "kind", "comment": null}, "currency_exchange_id": {"type": "integer", "index": 17, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "integer", "index": 18, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "integer", "index": 19, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "integer", "index": 20, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "integer", "index": 21, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "integer", "index": 22, "name": "error_code", "comment": null}, "status": {"type": "text", "index": 23, "name": "status", "comment": null}, "test": {"type": "boolean", "index": 24, "name": "test", "comment": null}, "user_id": {"type": "integer", "index": 25, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 26, "name": "_fivetran_synced", "comment": null}, "payment_credit_card_bin": {"type": "integer", "index": 27, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "integer", "index": 28, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "integer", "index": 29, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "integer", "index": 30, "name": "payment_credit_card_company", "comment": null}, "receipt": {"type": "character varying(100)", "index": 31, "name": "receipt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shopify_transaction_data"}, "model.klaviyo.int_klaviyo__campaign_flow_metrics": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_int_klaviyo", "name": "int_klaviyo__campaign_flow_metrics", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"last_touch_campaign_id": {"type": "character varying", "index": 1, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 2, "name": "last_touch_flow_id", "comment": null}, "variation_id": {"type": "text", "index": 3, "name": "variation_id", "comment": null}, "source_relation": {"type": "text", "index": 4, "name": "source_relation", "comment": null}, "total_count_unique_people": {"type": "bigint", "index": 5, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 6, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 7, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "numeric", "index": 8, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "numeric", "index": 9, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "numeric", "index": 10, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "numeric", "index": 11, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "numeric", "index": 12, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "numeric", "index": 13, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "bigint", "index": 14, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "numeric", "index": 15, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "bigint", "index": 16, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "numeric", "index": 17, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "bigint", "index": 18, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "numeric", "index": 19, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "bigint", "index": 20, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "numeric", "index": 21, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "bigint", "index": 22, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "numeric", "index": 23, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "bigint", "index": 24, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "numeric", "index": 25, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "bigint", "index": 26, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "numeric", "index": 27, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "bigint", "index": 28, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "numeric", "index": 29, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "bigint", "index": 30, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "numeric", "index": 31, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "bigint", "index": 32, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "numeric", "index": 33, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "bigint", "index": 34, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "numeric", "index": 35, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "bigint", "index": 36, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "numeric", "index": 37, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "bigint", "index": 38, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "numeric", "index": 39, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "bigint", "index": 40, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "numeric", "index": 41, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "bigint", "index": 42, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "numeric", "index": 43, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "bigint", "index": 44, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "numeric", "index": 45, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "bigint", "index": 46, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "numeric", "index": 47, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "bigint", "index": 48, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "numeric", "index": 49, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "bigint", "index": 50, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "numeric", "index": 51, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "bigint", "index": 52, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "numeric", "index": 53, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "bigint", "index": 54, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "numeric", "index": 55, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "bigint", "index": 56, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "numeric", "index": 57, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "bigint", "index": 58, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "numeric", "index": 59, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "bigint", "index": 60, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "numeric", "index": 61, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "bigint", "index": 62, "name": "unique_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__campaign_flow_metrics"}, "model.klaviyo.int_klaviyo__event_attribution": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_int_klaviyo", "name": "int_klaviyo__event_attribution", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"variation_id": {"type": "text", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "character varying", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "timestamp without time zone", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "integer", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "text", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "text", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "text", "index": 8, "name": "person_id", "comment": null}, "type": {"type": "text", "index": 9, "name": "type", "comment": null}, "uuid": {"type": "text", "index": 10, "name": "uuid", "comment": null}, "numeric_value": {"type": "integer", "index": 11, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 13, "name": "source_relation", "comment": null}, "occurred_on": {"type": "date", "index": 14, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "text", "index": 15, "name": "unique_event_id", "comment": null}, "touch_id": {"type": "character varying", "index": 16, "name": "touch_id", "comment": null}, "touch_type": {"type": "text", "index": 17, "name": "touch_type", "comment": null}, "touch_session": {"type": "bigint", "index": 18, "name": "touch_session", "comment": null}, "session_start_at": {"type": "timestamp without time zone", "index": 19, "name": "session_start_at", "comment": null}, "session_event_type": {"type": "text", "index": 20, "name": "session_event_type", "comment": null}, "last_touch_id": {"type": "character varying", "index": 21, "name": "last_touch_id", "comment": null}, "session_touch_type": {"type": "text", "index": 22, "name": "session_touch_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__event_attribution"}, "model.klaviyo.int_klaviyo__person_metrics": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_int_klaviyo", "name": "int_klaviyo__person_metrics", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"person_id": {"type": "text", "index": 1, "name": "person_id", "comment": null}, "source_relation": {"type": "text", "index": 2, "name": "source_relation", "comment": null}, "count_total_campaigns": {"type": "bigint", "index": 3, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "bigint", "index": 4, "name": "count_total_flows", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 5, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 6, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "timestamp without time zone", "index": 7, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "timestamp without time zone", "index": 8, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "timestamp without time zone", "index": 9, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "timestamp without time zone", "index": 10, "name": "last_flow_touch_at", "comment": null}, "total_sum_revenue_refunded_order": {"type": "numeric", "index": 11, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "numeric", "index": 12, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "numeric", "index": 13, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "numeric", "index": 14, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "numeric", "index": 15, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "numeric", "index": 16, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "numeric", "index": 17, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "numeric", "index": 18, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "numeric", "index": 19, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "numeric", "index": 20, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "numeric", "index": 21, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "numeric", "index": 22, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "numeric", "index": 23, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "numeric", "index": 24, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "numeric", "index": 25, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "numeric", "index": 26, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "numeric", "index": 27, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "numeric", "index": 28, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "numeric", "index": 29, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "numeric", "index": 30, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "numeric", "index": 31, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "numeric", "index": 32, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "numeric", "index": 33, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "numeric", "index": 34, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "numeric", "index": 35, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "numeric", "index": 36, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "numeric", "index": 37, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "numeric", "index": 38, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "numeric", "index": 39, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "numeric", "index": 40, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "numeric", "index": 41, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "numeric", "index": 42, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "numeric", "index": 43, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "numeric", "index": 44, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "numeric", "index": 45, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__person_metrics"}, "model.klaviyo.klaviyo__campaigns": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_klaviyo", "name": "klaviyo__campaigns", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"campaign_type": {"type": "text", "index": 1, "name": "campaign_type", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "email_template_id": {"type": "text", "index": 3, "name": "email_template_id", "comment": null}, "from_email": {"type": "text", "index": 4, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 5, "name": "from_name", "comment": null}, "campaign_id": {"type": "text", "index": 6, "name": "campaign_id", "comment": null}, "is_segmented": {"type": "boolean", "index": 7, "name": "is_segmented", "comment": null}, "campaign_name": {"type": "text", "index": 8, "name": "campaign_name", "comment": null}, "scheduled_to_send_at": {"type": "text", "index": 9, "name": "scheduled_to_send_at", "comment": null}, "sent_at": {"type": "text", "index": 10, "name": "sent_at", "comment": null}, "status": {"type": "text", "index": 11, "name": "status", "comment": null}, "status_id": {"type": "integer", "index": 12, "name": "status_id", "comment": null}, "subject": {"type": "text", "index": 13, "name": "subject", "comment": null}, "updated_at": {"type": "text", "index": 14, "name": "updated_at", "comment": null}, "source_relation": {"type": "text", "index": 15, "name": "source_relation", "comment": null}, "variation_id": {"type": "text", "index": 16, "name": "variation_id", "comment": null}, "total_count_unique_people": {"type": "bigint", "index": 17, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 18, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 19, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "numeric", "index": 20, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "numeric", "index": 21, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "numeric", "index": 22, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "numeric", "index": 23, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "numeric", "index": 24, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "numeric", "index": 25, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "bigint", "index": 26, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "numeric", "index": 27, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "bigint", "index": 28, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "numeric", "index": 29, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "bigint", "index": 30, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "numeric", "index": 31, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "bigint", "index": 32, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "numeric", "index": 33, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "bigint", "index": 34, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "numeric", "index": 35, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "bigint", "index": 36, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "numeric", "index": 37, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "bigint", "index": 38, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "numeric", "index": 39, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "bigint", "index": 40, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "numeric", "index": 41, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "bigint", "index": 42, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "numeric", "index": 43, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "bigint", "index": 44, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "numeric", "index": 45, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "bigint", "index": 46, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "numeric", "index": 47, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "bigint", "index": 48, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "numeric", "index": 49, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "bigint", "index": 50, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "numeric", "index": 51, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "bigint", "index": 52, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "numeric", "index": 53, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "bigint", "index": 54, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "numeric", "index": 55, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "bigint", "index": 56, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "numeric", "index": 57, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "bigint", "index": 58, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "numeric", "index": 59, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "bigint", "index": 60, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "numeric", "index": 61, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "bigint", "index": 62, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "numeric", "index": 63, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "bigint", "index": 64, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "numeric", "index": 65, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "bigint", "index": 66, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "numeric", "index": 67, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "bigint", "index": 68, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "numeric", "index": 69, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "bigint", "index": 70, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "numeric", "index": 71, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "bigint", "index": 72, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "numeric", "index": 73, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "bigint", "index": 74, "name": "unique_count_failed_to_deliver_sms", "comment": null}, "campaign_variation_key": {"type": "text", "index": 75, "name": "campaign_variation_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__campaigns"}, "model.klaviyo.klaviyo__events": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_klaviyo", "name": "klaviyo__events", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"variation_id": {"type": "text", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "character varying", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "timestamp without time zone", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "integer", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "text", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "text", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "text", "index": 8, "name": "person_id", "comment": null}, "uuid": {"type": "text", "index": 9, "name": "uuid", "comment": null}, "numeric_value": {"type": "integer", "index": 10, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 12, "name": "source_relation", "comment": null}, "occurred_on": {"type": "date", "index": 13, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "text", "index": 14, "name": "unique_event_id", "comment": null}, "touch_id": {"type": "character varying", "index": 15, "name": "touch_id", "comment": null}, "touch_type": {"type": "text", "index": 16, "name": "touch_type", "comment": null}, "type": {"type": "text", "index": 17, "name": "type", "comment": null}, "last_touch_campaign_id": {"type": "character varying", "index": 18, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 19, "name": "last_touch_flow_id", "comment": null}, "last_touch_at": {"type": "timestamp without time zone", "index": 20, "name": "last_touch_at", "comment": null}, "last_touch_event_type": {"type": "text", "index": 21, "name": "last_touch_event_type", "comment": null}, "last_touch_type": {"type": "text", "index": 22, "name": "last_touch_type", "comment": null}, "campaign_name": {"type": "text", "index": 23, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "text", "index": 24, "name": "campaign_type", "comment": null}, "campaign_subject_line": {"type": "text", "index": 25, "name": "campaign_subject_line", "comment": null}, "flow_name": {"type": "text", "index": 26, "name": "flow_name", "comment": null}, "person_city": {"type": "text", "index": 27, "name": "person_city", "comment": null}, "person_country": {"type": "text", "index": 28, "name": "person_country", "comment": null}, "person_region": {"type": "text", "index": 29, "name": "person_region", "comment": null}, "person_email": {"type": "text", "index": 30, "name": "person_email", "comment": null}, "person_timezone": {"type": "text", "index": 31, "name": "person_timezone", "comment": null}, "integration_name": {"type": "text", "index": 32, "name": "integration_name", "comment": null}, "integration_category": {"type": "text", "index": 33, "name": "integration_category", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__events"}, "model.klaviyo.klaviyo__flows": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_klaviyo", "name": "klaviyo__flows", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "flow_id": {"type": "text", "index": 2, "name": "flow_id", "comment": null}, "flow_name": {"type": "text", "index": 3, "name": "flow_name", "comment": null}, "status": {"type": "text", "index": 4, "name": "status", "comment": null}, "flow_trigger": {"type": "character varying", "index": 5, "name": "flow_trigger", "comment": null}, "updated_at": {"type": "text", "index": 6, "name": "updated_at", "comment": null}, "person_filter": {"type": "text", "index": 7, "name": "person_filter", "comment": null}, "source_relation": {"type": "text", "index": 8, "name": "source_relation", "comment": null}, "variation_id": {"type": "text", "index": 9, "name": "variation_id", "comment": null}, "total_count_unique_people": {"type": "bigint", "index": 10, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 11, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 12, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "numeric", "index": 13, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "numeric", "index": 14, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "numeric", "index": 15, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "numeric", "index": 16, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "numeric", "index": 17, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "numeric", "index": 18, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "bigint", "index": 19, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "numeric", "index": 20, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "bigint", "index": 21, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "numeric", "index": 22, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "bigint", "index": 23, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "numeric", "index": 24, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "bigint", "index": 25, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "numeric", "index": 26, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "bigint", "index": 27, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "numeric", "index": 28, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "bigint", "index": 29, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "numeric", "index": 30, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "bigint", "index": 31, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "numeric", "index": 32, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "bigint", "index": 33, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "numeric", "index": 34, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "bigint", "index": 35, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "numeric", "index": 36, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "bigint", "index": 37, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "numeric", "index": 38, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "bigint", "index": 39, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "numeric", "index": 40, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "bigint", "index": 41, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "numeric", "index": 42, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "bigint", "index": 43, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "numeric", "index": 44, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "bigint", "index": 45, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "numeric", "index": 46, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "bigint", "index": 47, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "numeric", "index": 48, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "bigint", "index": 49, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "numeric", "index": 50, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "bigint", "index": 51, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "numeric", "index": 52, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "bigint", "index": 53, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "numeric", "index": 54, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "bigint", "index": 55, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "numeric", "index": 56, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "bigint", "index": 57, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "numeric", "index": 58, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "bigint", "index": 59, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "numeric", "index": 60, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "bigint", "index": 61, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "numeric", "index": 62, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "bigint", "index": 63, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "numeric", "index": 64, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "bigint", "index": 65, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "numeric", "index": 66, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "bigint", "index": 67, "name": "unique_count_failed_to_deliver_sms", "comment": null}, "flow_variation_key": {"type": "text", "index": 68, "name": "flow_variation_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__flows"}, "model.klaviyo.klaviyo__person_campaign_flow": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_klaviyo", "name": "klaviyo__person_campaign_flow", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"person_id": {"type": "text", "index": 1, "name": "person_id", "comment": null}, "last_touch_campaign_id": {"type": "character varying", "index": 2, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 3, "name": "last_touch_flow_id", "comment": null}, "campaign_name": {"type": "text", "index": 4, "name": "campaign_name", "comment": null}, "flow_name": {"type": "text", "index": 5, "name": "flow_name", "comment": null}, "variation_id": {"type": "text", "index": 6, "name": "variation_id", "comment": null}, "source_relation": {"type": "text", "index": 7, "name": "source_relation", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 8, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 9, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "numeric", "index": 10, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "numeric", "index": 11, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "numeric", "index": 12, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "numeric", "index": 13, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "numeric", "index": 14, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "bigint", "index": 15, "name": "count_active_on_site", "comment": null}, "count_viewed_product": {"type": "bigint", "index": 16, "name": "count_viewed_product", "comment": null}, "count_ordered_product": {"type": "bigint", "index": 17, "name": "count_ordered_product", "comment": null}, "count_placed_order": {"type": "bigint", "index": 18, "name": "count_placed_order", "comment": null}, "count_refunded_order": {"type": "bigint", "index": 19, "name": "count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "bigint", "index": 20, "name": "count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "bigint", "index": 21, "name": "count_fulfilled_order", "comment": null}, "count_received_email": {"type": "bigint", "index": 22, "name": "count_received_email", "comment": null}, "count_clicked_email": {"type": "bigint", "index": 23, "name": "count_clicked_email", "comment": null}, "count_opened_email": {"type": "bigint", "index": 24, "name": "count_opened_email", "comment": null}, "count_bounced_email": {"type": "bigint", "index": 25, "name": "count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "bigint", "index": 26, "name": "count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "bigint", "index": 27, "name": "count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "bigint", "index": 28, "name": "count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "bigint", "index": 29, "name": "count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "bigint", "index": 30, "name": "count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "bigint", "index": 31, "name": "count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "bigint", "index": 32, "name": "count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "bigint", "index": 33, "name": "count_merged_profile", "comment": null}, "count_received_sms": {"type": "bigint", "index": 34, "name": "count_received_sms", "comment": null}, "count_clicked_sms": {"type": "bigint", "index": 35, "name": "count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "bigint", "index": 36, "name": "count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "bigint", "index": 37, "name": "count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "bigint", "index": 38, "name": "count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "bigint", "index": 39, "name": "count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__person_campaign_flow"}, "model.klaviyo.klaviyo__persons": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_klaviyo", "name": "klaviyo__persons", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"person_id": {"type": "text", "index": 1, "name": "person_id", "comment": null}, "address_1": {"type": "text", "index": 2, "name": "address_1", "comment": null}, "address_2": {"type": "integer", "index": 3, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 4, "name": "city", "comment": null}, "country": {"type": "text", "index": 5, "name": "country", "comment": null}, "zip": {"type": "integer", "index": 6, "name": "zip", "comment": null}, "created_at": {"type": "text", "index": 7, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 8, "name": "email", "comment": null}, "full_name": {"type": "text", "index": 9, "name": "full_name", "comment": null}, "latitude": {"type": "double precision", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "double precision", "index": 11, "name": "longitude", "comment": null}, "organization": {"type": "integer", "index": 12, "name": "organization", "comment": null}, "phone_number": {"type": "character varying", "index": 13, "name": "phone_number", "comment": null}, "region": {"type": "text", "index": 14, "name": "region", "comment": null}, "timezone": {"type": "text", "index": 15, "name": "timezone", "comment": null}, "title": {"type": "integer", "index": 16, "name": "title", "comment": null}, "updated_at": {"type": "text", "index": 17, "name": "updated_at", "comment": null}, "source_relation": {"type": "text", "index": 18, "name": "source_relation", "comment": null}, "count_total_campaigns": {"type": "bigint", "index": 19, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "bigint", "index": 20, "name": "count_total_flows", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 21, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 22, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "timestamp without time zone", "index": 23, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "timestamp without time zone", "index": 24, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "timestamp without time zone", "index": 25, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "timestamp without time zone", "index": 26, "name": "last_flow_touch_at", "comment": null}, "total_sum_revenue_refunded_order": {"type": "numeric", "index": 27, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "numeric", "index": 28, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "numeric", "index": 29, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "numeric", "index": 30, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "numeric", "index": 31, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "numeric", "index": 32, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "numeric", "index": 33, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "numeric", "index": 34, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "numeric", "index": 35, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "numeric", "index": 36, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "numeric", "index": 37, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "numeric", "index": 38, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "numeric", "index": 39, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "numeric", "index": 40, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "numeric", "index": 41, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "numeric", "index": 42, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "numeric", "index": 43, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "numeric", "index": 44, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "numeric", "index": 45, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "numeric", "index": 46, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "numeric", "index": 47, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "numeric", "index": 48, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "numeric", "index": 49, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "numeric", "index": 50, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "numeric", "index": 51, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "numeric", "index": 52, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "numeric", "index": 53, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "numeric", "index": 54, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "numeric", "index": 55, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "numeric", "index": 56, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "numeric", "index": 57, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "numeric", "index": 58, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "numeric", "index": 59, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "numeric", "index": 60, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "numeric", "index": 61, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__persons"}, "model.shopify.shopify__calendar": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__calendar", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "timestamp without time zone", "index": 1, "name": "date_day", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__calendar"}, "model.shopify.shopify__customer_cohorts": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__customer_cohorts", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_month": {"type": "timestamp without time zone", "index": 1, "name": "date_month", "comment": null}, "customer_id": {"type": "bigint", "index": 2, "name": "customer_id", "comment": null}, "first_order_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "first_order_timestamp", "comment": null}, "cohort_month": {"type": "timestamp without time zone", "index": 4, "name": "cohort_month", "comment": null}, "source_relation": {"type": "text", "index": 5, "name": "source_relation", "comment": null}, "order_count_in_month": {"type": "bigint", "index": 6, "name": "order_count_in_month", "comment": null}, "total_price_in_month": {"type": "double precision", "index": 7, "name": "total_price_in_month", "comment": null}, "line_item_count_in_month": {"type": "numeric", "index": 8, "name": "line_item_count_in_month", "comment": null}, "total_price_lifetime": {"type": "double precision", "index": 9, "name": "total_price_lifetime", "comment": null}, "order_count_lifetime": {"type": "numeric", "index": 10, "name": "order_count_lifetime", "comment": null}, "line_item_count_lifetime": {"type": "numeric", "index": 11, "name": "line_item_count_lifetime", "comment": null}, "cohort_month_number": {"type": "bigint", "index": 12, "name": "cohort_month_number", "comment": null}, "customer_cohort_id": {"type": "text", "index": 13, "name": "customer_cohort_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customer_cohorts"}, "model.shopify.shopify__customers": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__customers", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "has_accepted_marketing": {"type": "boolean", "index": 2, "name": "has_accepted_marketing", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "created_timestamp", "comment": null}, "default_address_id": {"type": "bigint", "index": 4, "name": "default_address_id", "comment": null}, "email": {"type": "text", "index": 5, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 6, "name": "first_name", "comment": null}, "customer_id": {"type": "bigint", "index": 7, "name": "customer_id", "comment": null}, "last_name": {"type": "text", "index": 8, "name": "last_name", "comment": null}, "phone": {"type": "integer", "index": 9, "name": "phone", "comment": null}, "account_state": {"type": "text", "index": 10, "name": "account_state", "comment": null}, "is_tax_exempt": {"type": "boolean", "index": 11, "name": "is_tax_exempt", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 12, "name": "updated_timestamp", "comment": null}, "is_verified_email": {"type": "boolean", "index": 13, "name": "is_verified_email", "comment": null}, "source_relation": {"type": "text", "index": 14, "name": "source_relation", "comment": null}, "first_order_timestamp": {"type": "timestamp without time zone", "index": 15, "name": "first_order_timestamp", "comment": null}, "most_recent_order_timestamp": {"type": "timestamp without time zone", "index": 16, "name": "most_recent_order_timestamp", "comment": null}, "average_order_value": {"type": "double precision", "index": 17, "name": "average_order_value", "comment": null}, "lifetime_total_spent": {"type": "double precision", "index": 18, "name": "lifetime_total_spent", "comment": null}, "lifetime_total_refunded": {"type": "double precision", "index": 19, "name": "lifetime_total_refunded", "comment": null}, "lifetime_total_amount": {"type": "double precision", "index": 20, "name": "lifetime_total_amount", "comment": null}, "lifetime_count_orders": {"type": "bigint", "index": 21, "name": "lifetime_count_orders", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customers"}, "model.shopify.shopify__order_lines": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__order_lines", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "fulfillable_quantity": {"type": "integer", "index": 2, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "text", "index": 3, "name": "fulfillment_service", "comment": null}, "fulfillment_status": {"type": "text", "index": 4, "name": "fulfillment_status", "comment": null}, "is_gift_card": {"type": "boolean", "index": 5, "name": "is_gift_card", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "order_line_id": {"type": "bigint", "index": 7, "name": "order_line_id", "comment": null}, "index": {"type": "integer", "index": 8, "name": "index", "comment": null}, "name": {"type": "text", "index": 9, "name": "name", "comment": null}, "order_id": {"type": "bigint", "index": 10, "name": "order_id", "comment": null}, "pre_tax_price": {"type": "integer", "index": 11, "name": "pre_tax_price", "comment": null}, "price": {"type": "double precision", "index": 12, "name": "price", "comment": null}, "product_id": {"type": "bigint", "index": 13, "name": "product_id", "comment": null}, "property_charge_interval_frequency": {"type": "numeric(28,6)", "index": 14, "name": "property_charge_interval_frequency", "comment": null}, "property_for_shipping_jan_3_rd_2020": {"type": "text", "index": 15, "name": "property_for_shipping_jan_3_rd_2020", "comment": null}, "property_shipping_interval_frequency": {"type": "numeric(28,6)", "index": 16, "name": "property_shipping_interval_frequency", "comment": null}, "property_shipping_interval_unit_type": {"type": "text", "index": 17, "name": "property_shipping_interval_unit_type", "comment": null}, "property_subscription_id": {"type": "numeric(28,6)", "index": 18, "name": "property_subscription_id", "comment": null}, "quantity": {"type": "integer", "index": 19, "name": "quantity", "comment": null}, "is_requiring_shipping": {"type": "boolean", "index": 20, "name": "is_requiring_shipping", "comment": null}, "sku": {"type": "text", "index": 21, "name": "sku", "comment": null}, "is_taxable": {"type": "boolean", "index": 22, "name": "is_taxable", "comment": null}, "title": {"type": "text", "index": 23, "name": "title", "comment": null}, "total_discount": {"type": "integer", "index": 24, "name": "total_discount", "comment": null}, "variant_id": {"type": "bigint", "index": 25, "name": "variant_id", "comment": null}, "vendor": {"type": "text", "index": 26, "name": "vendor", "comment": null}, "source_relation": {"type": "text", "index": 27, "name": "source_relation", "comment": null}, "refunded_quantity": {"type": "bigint", "index": 28, "name": "refunded_quantity", "comment": null}, "refunded_subtotal": {"type": "numeric", "index": 29, "name": "refunded_subtotal", "comment": null}, "quantity_net_refunds": {"type": "bigint", "index": 30, "name": "quantity_net_refunds", "comment": null}, "subtotal_net_refunds": {"type": "numeric", "index": 31, "name": "subtotal_net_refunds", "comment": null}, "variant_created_at": {"type": "text", "index": 32, "name": "variant_created_at", "comment": null}, "variant_updated_at": {"type": "text", "index": 33, "name": "variant_updated_at", "comment": null}, "inventory_item_id": {"type": "bigint", "index": 34, "name": "inventory_item_id", "comment": null}, "image_id": {"type": "integer", "index": 35, "name": "image_id", "comment": null}, "variant_title": {"type": "text", "index": 36, "name": "variant_title", "comment": null}, "variant_price": {"type": "integer", "index": 37, "name": "variant_price", "comment": null}, "variant_sku": {"type": "integer", "index": 38, "name": "variant_sku", "comment": null}, "variant_position": {"type": "integer", "index": 39, "name": "variant_position", "comment": null}, "variant_inventory_policy": {"type": "text", "index": 40, "name": "variant_inventory_policy", "comment": null}, "variant_compare_at_price": {"type": "integer", "index": 41, "name": "variant_compare_at_price", "comment": null}, "variant_fulfillment_service": {"type": "text", "index": 42, "name": "variant_fulfillment_service", "comment": null}, "variant_inventory_management": {"type": "text", "index": 43, "name": "variant_inventory_management", "comment": null}, "variant_is_taxable": {"type": "boolean", "index": 44, "name": "variant_is_taxable", "comment": null}, "variant_barcode": {"type": "integer", "index": 45, "name": "variant_barcode", "comment": null}, "variant_grams": {"type": "integer", "index": 46, "name": "variant_grams", "comment": null}, "variant_inventory_quantity": {"type": "integer", "index": 47, "name": "variant_inventory_quantity", "comment": null}, "variant_weight": {"type": "integer", "index": 48, "name": "variant_weight", "comment": null}, "variant_weight_unit": {"type": "text", "index": 49, "name": "variant_weight_unit", "comment": null}, "variant_option_1": {"type": "text", "index": 50, "name": "variant_option_1", "comment": null}, "variant_option_2": {"type": "integer", "index": 51, "name": "variant_option_2", "comment": null}, "variant_option_3": {"type": "integer", "index": 52, "name": "variant_option_3", "comment": null}, "variant_tax_code": {"type": "text", "index": 53, "name": "variant_tax_code", "comment": null}, "variant_is_requiring_shipping": {"type": "boolean", "index": 54, "name": "variant_is_requiring_shipping", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__order_lines"}, "model.shopify.shopify__orders": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__orders", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "processed_timestamp": {"type": "timestamp without time zone", "index": 2, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "updated_timestamp", "comment": null}, "user_id": {"type": "bigint", "index": 4, "name": "user_id", "comment": null}, "total_discounts": {"type": "double precision", "index": 5, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 6, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "double precision", "index": 7, "name": "total_price", "comment": null}, "total_tax": {"type": "integer", "index": 8, "name": "total_tax", "comment": null}, "source_name": {"type": "text", "index": 9, "name": "source_name", "comment": null}, "subtotal_price": {"type": "double precision", "index": 10, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "boolean", "index": 11, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "integer", "index": 12, "name": "total_weight", "comment": null}, "landing_site_base_url": {"type": "text", "index": 13, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "bigint", "index": 14, "name": "location_id", "comment": null}, "name": {"type": "text", "index": 15, "name": "name", "comment": null}, "note": {"type": "text", "index": 16, "name": "note", "comment": null}, "number": {"type": "integer", "index": 17, "name": "number", "comment": null}, "order_number": {"type": "integer", "index": 18, "name": "order_number", "comment": null}, "cancel_reason": {"type": "integer", "index": 19, "name": "cancel_reason", "comment": null}, "cancelled_timestamp": {"type": "timestamp without time zone", "index": 20, "name": "cancelled_timestamp", "comment": null}, "cart_token": {"type": "text", "index": 21, "name": "cart_token", "comment": null}, "checkout_token": {"type": "text", "index": 22, "name": "checkout_token", "comment": null}, "closed_timestamp": {"type": "text", "index": 23, "name": "closed_timestamp", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 24, "name": "created_timestamp", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "customer_id": {"type": "bigint", "index": 26, "name": "customer_id", "comment": null}, "email": {"type": "text", "index": 27, "name": "email", "comment": null}, "financial_status": {"type": "text", "index": 28, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "text", "index": 29, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "text", "index": 30, "name": "processing_method", "comment": null}, "referring_site": {"type": "text", "index": 31, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "text", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "text", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "text", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "text", "index": 35, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "text", "index": 36, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "text", "index": 37, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "text", "index": 38, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "text", "index": 39, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "text", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "text", "index": 41, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "text", "index": 42, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "text", "index": 43, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "text", "index": 44, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "integer", "index": 45, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "text", "index": 46, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "text", "index": 47, "name": "browser_ip", "comment": null}, "has_buyer_accepted_marketing": {"type": "boolean", "index": 48, "name": "has_buyer_accepted_marketing", "comment": null}, "total_shipping_price_set": {"type": "text", "index": 49, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "text", "index": 50, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "text", "index": 51, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "text", "index": 52, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "text", "index": 53, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "text", "index": 54, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "text", "index": 55, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "text", "index": 56, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "text", "index": 57, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "text", "index": 58, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "text", "index": 59, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "text", "index": 60, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "text", "index": 61, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "text", "index": 62, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "integer", "index": 63, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "text", "index": 64, "name": "shipping_address_zip", "comment": null}, "is_test_order": {"type": "boolean", "index": 65, "name": "is_test_order", "comment": null}, "token": {"type": "text", "index": 66, "name": "token", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 67, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 68, "name": "source_relation", "comment": null}, "shipping_cost": {"type": "double precision", "index": 69, "name": "shipping_cost", "comment": null}, "order_adjustment_amount": {"type": "bigint", "index": 70, "name": "order_adjustment_amount", "comment": null}, "order_adjustment_tax_amount": {"type": "double precision", "index": 71, "name": "order_adjustment_tax_amount", "comment": null}, "refund_subtotal": {"type": "numeric", "index": 72, "name": "refund_subtotal", "comment": null}, "refund_total_tax": {"type": "numeric", "index": 73, "name": "refund_total_tax", "comment": null}, "order_adjusted_total": {"type": "double precision", "index": 74, "name": "order_adjusted_total", "comment": null}, "line_item_count": {"type": "bigint", "index": 75, "name": "line_item_count", "comment": null}, "customer_order_seq_number": {"type": "bigint", "index": 76, "name": "customer_order_seq_number", "comment": null}, "new_vs_repeat": {"type": "text", "index": 77, "name": "new_vs_repeat", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__orders"}, "model.shopify.shopify__products": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__products", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_deleted": {"type": "boolean", "index": 1, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "created_timestamp", "comment": null}, "handle": {"type": "text", "index": 4, "name": "handle", "comment": null}, "product_id": {"type": "bigint", "index": 5, "name": "product_id", "comment": null}, "product_type": {"type": "text", "index": 6, "name": "product_type", "comment": null}, "published_timestamp": {"type": "timestamp without time zone", "index": 7, "name": "published_timestamp", "comment": null}, "published_scope": {"type": "text", "index": 8, "name": "published_scope", "comment": null}, "title": {"type": "text", "index": 9, "name": "title", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 10, "name": "updated_timestamp", "comment": null}, "vendor": {"type": "text", "index": 11, "name": "vendor", "comment": null}, "source_relation": {"type": "text", "index": 12, "name": "source_relation", "comment": null}, "quantity_sold": {"type": "bigint", "index": 13, "name": "quantity_sold", "comment": null}, "subtotal_sold": {"type": "bigint", "index": 14, "name": "subtotal_sold", "comment": null}, "quantity_sold_net_refunds": {"type": "numeric", "index": 15, "name": "quantity_sold_net_refunds", "comment": null}, "subtotal_sold_net_refunds": {"type": "numeric", "index": 16, "name": "subtotal_sold_net_refunds", "comment": null}, "first_order_timestamp": {"type": "timestamp without time zone", "index": 17, "name": "first_order_timestamp", "comment": null}, "most_recent_order_timestamp": {"type": "timestamp without time zone", "index": 18, "name": "most_recent_order_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__products"}, "model.shopify.shopify__transactions": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify", "name": "shopify__transactions", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transaction_id": {"type": "bigint", "index": 1, "name": "transaction_id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "created_timestamp": {"type": "text", "index": 5, "name": "created_timestamp", "comment": null}, "processed_timestamp": {"type": "text", "index": 6, "name": "processed_timestamp", "comment": null}, "device_id": {"type": "integer", "index": 7, "name": "device_id", "comment": null}, "gateway": {"type": "text", "index": 8, "name": "gateway", "comment": null}, "source_name": {"type": "text", "index": 9, "name": "source_name", "comment": null}, "message": {"type": "text", "index": 10, "name": "message", "comment": null}, "currency": {"type": "text", "index": 11, "name": "currency", "comment": null}, "location_id": {"type": "integer", "index": 12, "name": "location_id", "comment": null}, "parent_id": {"type": "integer", "index": 13, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "text", "index": 14, "name": "payment_avs_result_code", "comment": null}, "payment_credit_card_bin": {"type": "integer", "index": 15, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "integer", "index": 16, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "integer", "index": 17, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "integer", "index": 18, "name": "payment_credit_card_company", "comment": null}, "kind": {"type": "text", "index": 19, "name": "kind", "comment": null}, "receipt": {"type": "character varying(100)", "index": 20, "name": "receipt", "comment": null}, "currency_exchange_id": {"type": "integer", "index": 21, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "integer", "index": 22, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "integer", "index": 23, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "integer", "index": 24, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "integer", "index": 25, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "integer", "index": 26, "name": "error_code", "comment": null}, "status": {"type": "text", "index": 27, "name": "status", "comment": null}, "test": {"type": "boolean", "index": 28, "name": "test", "comment": null}, "user_id": {"type": "integer", "index": 29, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 30, "name": "_fivetran_synced", "comment": null}, "authorization": {"type": "text", "index": 31, "name": "authorization", "comment": null}, "source_relation": {"type": "text", "index": 32, "name": "source_relation", "comment": null}, "exchange_rate": {"type": "numeric", "index": 33, "name": "exchange_rate", "comment": null}, "currency_exchange_calculated_amount": {"type": "double precision", "index": 34, "name": "currency_exchange_calculated_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__transactions"}, "model.shopify_holistic_reporting.int__daily_klaviyo_user_metrics": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "int__daily_klaviyo_user_metrics", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "date", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "text", "index": 2, "name": "email", "comment": null}, "last_touch_campaign_id": {"type": "character varying", "index": 3, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 4, "name": "last_touch_flow_id", "comment": null}, "campaign_name": {"type": "text", "index": 5, "name": "campaign_name", "comment": null}, "flow_name": {"type": "text", "index": 6, "name": "flow_name", "comment": null}, "variation_id": {"type": "text", "index": 7, "name": "variation_id", "comment": null}, "campaign_subject_line": {"type": "text", "index": 8, "name": "campaign_subject_line", "comment": null}, "campaign_type": {"type": "text", "index": 9, "name": "campaign_type", "comment": null}, "source_relation": {"type": "text", "index": 10, "name": "source_relation", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 11, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 12, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "numeric", "index": 13, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "numeric", "index": 14, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "numeric", "index": 15, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "numeric", "index": 16, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "numeric", "index": 17, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "bigint", "index": 18, "name": "count_active_on_site", "comment": null}, "count_viewed_product": {"type": "bigint", "index": 19, "name": "count_viewed_product", "comment": null}, "count_ordered_product": {"type": "bigint", "index": 20, "name": "count_ordered_product", "comment": null}, "count_placed_order": {"type": "bigint", "index": 21, "name": "count_placed_order", "comment": null}, "count_refunded_order": {"type": "bigint", "index": 22, "name": "count_refunded_order", "comment": null}, "count_received_email": {"type": "bigint", "index": 23, "name": "count_received_email", "comment": null}, "count_clicked_email": {"type": "bigint", "index": 24, "name": "count_clicked_email", "comment": null}, "count_opened_email": {"type": "bigint", "index": 25, "name": "count_opened_email", "comment": null}, "count_marked_email_as_spam": {"type": "bigint", "index": 26, "name": "count_marked_email_as_spam", "comment": null}, "count_unsubscribed": {"type": "bigint", "index": 27, "name": "count_unsubscribed", "comment": null}, "count_received_sms": {"type": "bigint", "index": 28, "name": "count_received_sms", "comment": null}, "count_clicked_sms": {"type": "bigint", "index": 29, "name": "count_clicked_sms", "comment": null}, "count_sent_sms": {"type": "bigint", "index": 30, "name": "count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "bigint", "index": 31, "name": "count_unsubscribed_from_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__daily_klaviyo_user_metrics"}, "model.shopify_holistic_reporting.int__daily_shopify_customer_orders": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "int__daily_shopify_customer_orders", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "date", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "text", "index": 2, "name": "email", "comment": null}, "last_touch_campaign_id": {"type": "character varying", "index": 3, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 4, "name": "last_touch_flow_id", "comment": null}, "last_touch_campaign_name": {"type": "text", "index": 5, "name": "last_touch_campaign_name", "comment": null}, "last_touch_flow_name": {"type": "text", "index": 6, "name": "last_touch_flow_name", "comment": null}, "last_touch_variation_id": {"type": "text", "index": 7, "name": "last_touch_variation_id", "comment": null}, "last_touch_campaign_subject_line": {"type": "text", "index": 8, "name": "last_touch_campaign_subject_line", "comment": null}, "last_touch_campaign_type": {"type": "text", "index": 9, "name": "last_touch_campaign_type", "comment": null}, "source_relation": {"type": "text", "index": 10, "name": "source_relation", "comment": null}, "total_orders": {"type": "bigint", "index": 11, "name": "total_orders", "comment": null}, "total_price": {"type": "double precision", "index": 12, "name": "total_price", "comment": null}, "count_line_items": {"type": "numeric", "index": 13, "name": "count_line_items", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 14, "name": "total_line_items_price", "comment": null}, "total_discounts": {"type": "double precision", "index": 15, "name": "total_discounts", "comment": null}, "total_tax": {"type": "bigint", "index": 16, "name": "total_tax", "comment": null}, "total_shipping_cost": {"type": "double precision", "index": 17, "name": "total_shipping_cost", "comment": null}, "total_refund_subtotal": {"type": "numeric", "index": 18, "name": "total_refund_subtotal", "comment": null}, "total_refund_tax": {"type": "numeric", "index": 19, "name": "total_refund_tax", "comment": null}, "count_cancelled_orders": {"type": "bigint", "index": 20, "name": "count_cancelled_orders", "comment": null}, "count_products": {"type": "numeric", "index": 21, "name": "count_products", "comment": null}, "count_product_variants": {"type": "numeric", "index": 22, "name": "count_product_variants", "comment": null}, "sum_quantity": {"type": "numeric", "index": 23, "name": "sum_quantity", "comment": null}, "total_order_adjustment_amount": {"type": "numeric", "index": 24, "name": "total_order_adjustment_amount", "comment": null}, "total_order_adjustment_tax_amount": {"type": "double precision", "index": 25, "name": "total_order_adjustment_tax_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__daily_shopify_customer_orders"}, "model.shopify_holistic_reporting.int__klaviyo_person_rollup": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "int__klaviyo_person_rollup", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"email": {"type": "text", "index": 1, "name": "email", "comment": null}, "source_relation": {"type": "text", "index": 2, "name": "source_relation", "comment": null}, "person_ids": {"type": "text", "index": 3, "name": "person_ids", "comment": null}, "phone_numbers": {"type": "text", "index": 4, "name": "phone_numbers", "comment": null}, "full_name": {"type": "text", "index": 5, "name": "full_name", "comment": null}, "first_klaviyo_account_made_at": {"type": "text", "index": 6, "name": "first_klaviyo_account_made_at", "comment": null}, "last_klaviyo_account_made_at": {"type": "text", "index": 7, "name": "last_klaviyo_account_made_at", "comment": null}, "last_updated_at": {"type": "text", "index": 8, "name": "last_updated_at", "comment": null}, "first_event_at": {"type": "timestamp without time zone", "index": 9, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "timestamp without time zone", "index": 10, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "timestamp without time zone", "index": 11, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "timestamp without time zone", "index": 12, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "timestamp without time zone", "index": 13, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "timestamp without time zone", "index": 14, "name": "last_flow_touch_at", "comment": null}, "count_total_campaigns": {"type": "numeric", "index": 15, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "numeric", "index": 16, "name": "count_total_flows", "comment": null}, "address_1": {"type": "text", "index": 17, "name": "address_1", "comment": null}, "address_2": {"type": "integer", "index": 18, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 19, "name": "city", "comment": null}, "country": {"type": "text", "index": 20, "name": "country", "comment": null}, "zip": {"type": "integer", "index": 21, "name": "zip", "comment": null}, "latitude": {"type": "double precision", "index": 22, "name": "latitude", "comment": null}, "longitude": {"type": "double precision", "index": 23, "name": "longitude", "comment": null}, "organization": {"type": "integer", "index": 24, "name": "organization", "comment": null}, "region": {"type": "text", "index": 25, "name": "region", "comment": null}, "timezone": {"type": "text", "index": 26, "name": "timezone", "comment": null}, "title": {"type": "integer", "index": 27, "name": "title", "comment": null}, "total_sum_revenue_refunded_order": {"type": "numeric", "index": 28, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "numeric", "index": 29, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "numeric", "index": 30, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "numeric", "index": 31, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "numeric", "index": 32, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "numeric", "index": 33, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "numeric", "index": 34, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "numeric", "index": 35, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "numeric", "index": 36, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "numeric", "index": 37, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "numeric", "index": 38, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "numeric", "index": 39, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "numeric", "index": 40, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "numeric", "index": 41, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "numeric", "index": 42, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "numeric", "index": 43, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "numeric", "index": 44, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "numeric", "index": 45, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "numeric", "index": 46, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "numeric", "index": 47, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "numeric", "index": 48, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "numeric", "index": 49, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "numeric", "index": 50, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "numeric", "index": 51, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "numeric", "index": 52, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "numeric", "index": 53, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "numeric", "index": 54, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "numeric", "index": 55, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "numeric", "index": 56, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "numeric", "index": 57, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "numeric", "index": 58, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "numeric", "index": 59, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "numeric", "index": 60, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "numeric", "index": 61, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "numeric", "index": 62, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__klaviyo_person_rollup"}, "model.shopify_holistic_reporting.int__shopify_customer_rollup": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "int__shopify_customer_rollup", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"email": {"type": "text", "index": 1, "name": "email", "comment": null}, "source_relation": {"type": "text", "index": 2, "name": "source_relation", "comment": null}, "customer_ids": {"type": "text", "index": 3, "name": "customer_ids", "comment": null}, "phone_numbers": {"type": "text", "index": 4, "name": "phone_numbers", "comment": null}, "full_name": {"type": "text", "index": 5, "name": "full_name", "comment": null}, "first_shopify_account_made_at": {"type": "timestamp without time zone", "index": 6, "name": "first_shopify_account_made_at", "comment": null}, "last_shopify_account_made_at": {"type": "timestamp without time zone", "index": 7, "name": "last_shopify_account_made_at", "comment": null}, "first_order_at": {"type": "timestamp without time zone", "index": 8, "name": "first_order_at", "comment": null}, "last_order_at": {"type": "timestamp without time zone", "index": 9, "name": "last_order_at", "comment": null}, "last_updated_at": {"type": "timestamp without time zone", "index": 10, "name": "last_updated_at", "comment": null}, "lifetime_total_spent": {"type": "double precision", "index": 11, "name": "lifetime_total_spent", "comment": null}, "lifetime_total_refunded": {"type": "double precision", "index": 12, "name": "lifetime_total_refunded", "comment": null}, "lifetime_total_amount": {"type": "double precision", "index": 13, "name": "lifetime_total_amount", "comment": null}, "lifetime_count_orders": {"type": "numeric", "index": 14, "name": "lifetime_count_orders", "comment": null}, "average_order_value": {"type": "double precision", "index": 15, "name": "average_order_value", "comment": null}, "has_accepted_marketing": {"type": "boolean", "index": 16, "name": "has_accepted_marketing", "comment": null}, "is_tax_exempt": {"type": "boolean", "index": 17, "name": "is_tax_exempt", "comment": null}, "is_verified_email": {"type": "boolean", "index": 18, "name": "is_verified_email", "comment": null}, "default_address_id": {"type": "bigint", "index": 19, "name": "default_address_id", "comment": null}, "account_state": {"type": "text", "index": 20, "name": "account_state", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__shopify_customer_rollup"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "shopify_holistic_reporting__customer_enhanced", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"email": {"type": "text", "index": 1, "name": "email", "comment": null}, "full_name": {"type": "text", "index": 2, "name": "full_name", "comment": null}, "shopify_customer_ids": {"type": "text", "index": 3, "name": "shopify_customer_ids", "comment": null}, "klaviyo_person_ids": {"type": "text", "index": 4, "name": "klaviyo_person_ids", "comment": null}, "phone_number": {"type": "text", "index": 5, "name": "phone_number", "comment": null}, "shopify_customer_first_created_at": {"type": "timestamp without time zone", "index": 6, "name": "shopify_customer_first_created_at", "comment": null}, "shopify_customer_last_created_at": {"type": "timestamp without time zone", "index": 7, "name": "shopify_customer_last_created_at", "comment": null}, "klaviyo_person_first_created_at": {"type": "text", "index": 8, "name": "klaviyo_person_first_created_at", "comment": null}, "klaviyo_person_last_created_at": {"type": "text", "index": 9, "name": "klaviyo_person_last_created_at", "comment": null}, "shopify_customer_last_updated_at": {"type": "timestamp without time zone", "index": 10, "name": "shopify_customer_last_updated_at", "comment": null}, "klaviyo_person_last_updated_at": {"type": "text", "index": 11, "name": "klaviyo_person_last_updated_at", "comment": null}, "is_shopify_email_verified": {"type": "boolean", "index": 12, "name": "is_shopify_email_verified", "comment": null}, "shopify_first_order_at": {"type": "timestamp without time zone", "index": 13, "name": "shopify_first_order_at", "comment": null}, "shopify_last_order_at": {"type": "timestamp without time zone", "index": 14, "name": "shopify_last_order_at", "comment": null}, "shopify_lifetime_total_spent": {"type": "double precision", "index": 15, "name": "shopify_lifetime_total_spent", "comment": null}, "shopify_lifetime_total_refunded": {"type": "double precision", "index": 16, "name": "shopify_lifetime_total_refunded", "comment": null}, "shopify_lifetime_total_amount": {"type": "double precision", "index": 17, "name": "shopify_lifetime_total_amount", "comment": null}, "shopify_lifetime_count_orders": {"type": "numeric", "index": 18, "name": "shopify_lifetime_count_orders", "comment": null}, "shopify_average_order_value": {"type": "double precision", "index": 19, "name": "shopify_average_order_value", "comment": null}, "shopify_has_accepted_marketing": {"type": "boolean", "index": 20, "name": "shopify_has_accepted_marketing", "comment": null}, "shopify_is_tax_exempt": {"type": "boolean", "index": 21, "name": "shopify_is_tax_exempt", "comment": null}, "shopify_default_address_id": {"type": "bigint", "index": 22, "name": "shopify_default_address_id", "comment": null}, "shopify_account_state": {"type": "text", "index": 23, "name": "shopify_account_state", "comment": null}, "shopify_source_relation": {"type": "text", "index": 24, "name": "shopify_source_relation", "comment": null}, "klaviyo_first_event_at": {"type": "timestamp without time zone", "index": 25, "name": "klaviyo_first_event_at", "comment": null}, "klaviyo_last_event_at": {"type": "timestamp without time zone", "index": 26, "name": "klaviyo_last_event_at", "comment": null}, "klaviyo_first_campaign_touch_at": {"type": "timestamp without time zone", "index": 27, "name": "klaviyo_first_campaign_touch_at", "comment": null}, "klaviyo_last_campaign_touch_at": {"type": "timestamp without time zone", "index": 28, "name": "klaviyo_last_campaign_touch_at", "comment": null}, "klaviyo_first_flow_touch_at": {"type": "timestamp without time zone", "index": 29, "name": "klaviyo_first_flow_touch_at", "comment": null}, "klaviyo_last_flow_touch_at": {"type": "timestamp without time zone", "index": 30, "name": "klaviyo_last_flow_touch_at", "comment": null}, "klaviyo_count_total_campaigns": {"type": "numeric", "index": 31, "name": "klaviyo_count_total_campaigns", "comment": null}, "klaviyo_count_total_flows": {"type": "numeric", "index": 32, "name": "klaviyo_count_total_flows", "comment": null}, "klaviyo_address_1": {"type": "text", "index": 33, "name": "klaviyo_address_1", "comment": null}, "klaviyo_address_2": {"type": "integer", "index": 34, "name": "klaviyo_address_2", "comment": null}, "klaviyo_city": {"type": "text", "index": 35, "name": "klaviyo_city", "comment": null}, "klaviyo_country": {"type": "text", "index": 36, "name": "klaviyo_country", "comment": null}, "klaviyo_zip": {"type": "integer", "index": 37, "name": "klaviyo_zip", "comment": null}, "klaviyo_latitude": {"type": "double precision", "index": 38, "name": "klaviyo_latitude", "comment": null}, "klaviyo_longitude": {"type": "double precision", "index": 39, "name": "klaviyo_longitude", "comment": null}, "klaviyo_organization": {"type": "integer", "index": 40, "name": "klaviyo_organization", "comment": null}, "klaviyo_region": {"type": "text", "index": 41, "name": "klaviyo_region", "comment": null}, "klaviyo_timezone": {"type": "text", "index": 42, "name": "klaviyo_timezone", "comment": null}, "klaviyo_title": {"type": "integer", "index": 43, "name": "klaviyo_title", "comment": null}, "klaviyo_total_sum_revenue_refunded_order": {"type": "numeric", "index": 44, "name": "klaviyo_total_sum_revenue_refunded_order", "comment": null}, "klaviyo_organic_sum_revenue_refunded_order": {"type": "numeric", "index": 45, "name": "klaviyo_organic_sum_revenue_refunded_order", "comment": null}, "klaviyo_total_sum_revenue_placed_order": {"type": "numeric", "index": 46, "name": "klaviyo_total_sum_revenue_placed_order", "comment": null}, "klaviyo_organic_sum_revenue_placed_order": {"type": "numeric", "index": 47, "name": "klaviyo_organic_sum_revenue_placed_order", "comment": null}, "klaviyo_total_sum_revenue_ordered_product": {"type": "numeric", "index": 48, "name": "klaviyo_total_sum_revenue_ordered_product", "comment": null}, "klaviyo_organic_sum_revenue_ordered_product": {"type": "numeric", "index": 49, "name": "klaviyo_organic_sum_revenue_ordered_product", "comment": null}, "klaviyo_total_sum_revenue_checkout_started": {"type": "numeric", "index": 50, "name": "klaviyo_total_sum_revenue_checkout_started", "comment": null}, "klaviyo_organic_sum_revenue_checkout_started": {"type": "numeric", "index": 51, "name": "klaviyo_organic_sum_revenue_checkout_started", "comment": null}, "klaviyo_total_sum_revenue_cancelled_order": {"type": "numeric", "index": 52, "name": "klaviyo_total_sum_revenue_cancelled_order", "comment": null}, "klaviyo_organic_sum_revenue_cancelled_order": {"type": "numeric", "index": 53, "name": "klaviyo_organic_sum_revenue_cancelled_order", "comment": null}, "klaviyo_total_count_active_on_site": {"type": "numeric", "index": 54, "name": "klaviyo_total_count_active_on_site", "comment": null}, "klaviyo_total_count_viewed_product": {"type": "numeric", "index": 55, "name": "klaviyo_total_count_viewed_product", "comment": null}, "klaviyo_total_count_ordered_product": {"type": "numeric", "index": 56, "name": "klaviyo_total_count_ordered_product", "comment": null}, "klaviyo_total_count_placed_order": {"type": "numeric", "index": 57, "name": "klaviyo_total_count_placed_order", "comment": null}, "klaviyo_total_count_refunded_order": {"type": "numeric", "index": 58, "name": "klaviyo_total_count_refunded_order", "comment": null}, "klaviyo_total_count_cancelled_order": {"type": "numeric", "index": 59, "name": "klaviyo_total_count_cancelled_order", "comment": null}, "klaviyo_total_count_fulfilled_order": {"type": "numeric", "index": 60, "name": "klaviyo_total_count_fulfilled_order", "comment": null}, "klaviyo_total_count_received_email": {"type": "numeric", "index": 61, "name": "klaviyo_total_count_received_email", "comment": null}, "klaviyo_total_count_clicked_email": {"type": "numeric", "index": 62, "name": "klaviyo_total_count_clicked_email", "comment": null}, "klaviyo_total_count_opened_email": {"type": "numeric", "index": 63, "name": "klaviyo_total_count_opened_email", "comment": null}, "klaviyo_total_count_bounced_email": {"type": "numeric", "index": 64, "name": "klaviyo_total_count_bounced_email", "comment": null}, "klaviyo_total_count_marked_email_as_spam": {"type": "numeric", "index": 65, "name": "klaviyo_total_count_marked_email_as_spam", "comment": null}, "klaviyo_total_count_dropped_email": {"type": "numeric", "index": 66, "name": "klaviyo_total_count_dropped_email", "comment": null}, "klaviyo_total_count_subscribed_to_list": {"type": "numeric", "index": 67, "name": "klaviyo_total_count_subscribed_to_list", "comment": null}, "klaviyo_total_count_unsubscribed_to_list": {"type": "numeric", "index": 68, "name": "klaviyo_total_count_unsubscribed_to_list", "comment": null}, "klaviyo_total_count_unsubscribed": {"type": "numeric", "index": 69, "name": "klaviyo_total_count_unsubscribed", "comment": null}, "klaviyo_total_count_updated_email_preferences": {"type": "numeric", "index": 70, "name": "klaviyo_total_count_updated_email_preferences", "comment": null}, "klaviyo_total_count_subscribed_to_back_in_stock": {"type": "numeric", "index": 71, "name": "klaviyo_total_count_subscribed_to_back_in_stock", "comment": null}, "klaviyo_total_count_merged_profile": {"type": "numeric", "index": 72, "name": "klaviyo_total_count_merged_profile", "comment": null}, "klaviyo_total_count_received_sms": {"type": "numeric", "index": 73, "name": "klaviyo_total_count_received_sms", "comment": null}, "klaviyo_total_count_clicked_sms": {"type": "numeric", "index": 74, "name": "klaviyo_total_count_clicked_sms", "comment": null}, "klaviyo_total_count_consented_to_receive_sms": {"type": "numeric", "index": 75, "name": "klaviyo_total_count_consented_to_receive_sms", "comment": null}, "klaviyo_total_count_sent_sms": {"type": "numeric", "index": 76, "name": "klaviyo_total_count_sent_sms", "comment": null}, "klaviyo_total_count_unsubscribed_from_sms": {"type": "numeric", "index": 77, "name": "klaviyo_total_count_unsubscribed_from_sms", "comment": null}, "klaviyo_total_count_failed_to_deliver_sms": {"type": "numeric", "index": 78, "name": "klaviyo_total_count_failed_to_deliver_sms", "comment": null}, "klaviyo_source_relation": {"type": "text", "index": 79, "name": "klaviyo_source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "shopify_holistic_reporting__daily_customer_metrics", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"date_day": {"type": "date", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "text", "index": 2, "name": "email", "comment": null}, "campaign_id": {"type": "character varying", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "campaign_name": {"type": "text", "index": 5, "name": "campaign_name", "comment": null}, "flow_name": {"type": "text", "index": 6, "name": "flow_name", "comment": null}, "variation_id": {"type": "text", "index": 7, "name": "variation_id", "comment": null}, "campaign_subject_line": {"type": "text", "index": 8, "name": "campaign_subject_line", "comment": null}, "campaign_type": {"type": "text", "index": 9, "name": "campaign_type", "comment": null}, "shopify_total_orders": {"type": "bigint", "index": 10, "name": "shopify_total_orders", "comment": null}, "shopify_total_price": {"type": "double precision", "index": 11, "name": "shopify_total_price", "comment": null}, "shopify_count_line_items": {"type": "numeric", "index": 12, "name": "shopify_count_line_items", "comment": null}, "shopify_total_line_items_price": {"type": "double precision", "index": 13, "name": "shopify_total_line_items_price", "comment": null}, "shopify_total_discounts": {"type": "double precision", "index": 14, "name": "shopify_total_discounts", "comment": null}, "shopify_total_tax": {"type": "bigint", "index": 15, "name": "shopify_total_tax", "comment": null}, "shopify_total_shipping_cost": {"type": "double precision", "index": 16, "name": "shopify_total_shipping_cost", "comment": null}, "shopify_total_refund_subtotal": {"type": "numeric", "index": 17, "name": "shopify_total_refund_subtotal", "comment": null}, "shopify_total_refund_tax": {"type": "numeric", "index": 18, "name": "shopify_total_refund_tax", "comment": null}, "shopify_count_cancelled_orders": {"type": "bigint", "index": 19, "name": "shopify_count_cancelled_orders", "comment": null}, "shopify_count_products": {"type": "numeric", "index": 20, "name": "shopify_count_products", "comment": null}, "shopify_count_product_variants": {"type": "numeric", "index": 21, "name": "shopify_count_product_variants", "comment": null}, "shopify_sum_quantity": {"type": "numeric", "index": 22, "name": "shopify_sum_quantity", "comment": null}, "shopify_total_order_adjustment_amount": {"type": "numeric", "index": 23, "name": "shopify_total_order_adjustment_amount", "comment": null}, "shopify_total_order_adjustment_tax_amount": {"type": "double precision", "index": 24, "name": "shopify_total_order_adjustment_tax_amount", "comment": null}, "shopify_source_relation": {"type": "text", "index": 25, "name": "shopify_source_relation", "comment": null}, "klaviyo_first_event_at": {"type": "timestamp without time zone", "index": 26, "name": "klaviyo_first_event_at", "comment": null}, "klaviyo_last_event_at": {"type": "timestamp without time zone", "index": 27, "name": "klaviyo_last_event_at", "comment": null}, "klaviyo_sum_revenue_refunded_order": {"type": "numeric", "index": 28, "name": "klaviyo_sum_revenue_refunded_order", "comment": null}, "klaviyo_sum_revenue_placed_order": {"type": "numeric", "index": 29, "name": "klaviyo_sum_revenue_placed_order", "comment": null}, "klaviyo_sum_revenue_ordered_product": {"type": "numeric", "index": 30, "name": "klaviyo_sum_revenue_ordered_product", "comment": null}, "klaviyo_sum_revenue_checkout_started": {"type": "numeric", "index": 31, "name": "klaviyo_sum_revenue_checkout_started", "comment": null}, "klaviyo_sum_revenue_cancelled_order": {"type": "numeric", "index": 32, "name": "klaviyo_sum_revenue_cancelled_order", "comment": null}, "klaviyo_count_active_on_site": {"type": "bigint", "index": 33, "name": "klaviyo_count_active_on_site", "comment": null}, "klaviyo_count_viewed_product": {"type": "bigint", "index": 34, "name": "klaviyo_count_viewed_product", "comment": null}, "klaviyo_count_ordered_product": {"type": "bigint", "index": 35, "name": "klaviyo_count_ordered_product", "comment": null}, "klaviyo_count_placed_order": {"type": "bigint", "index": 36, "name": "klaviyo_count_placed_order", "comment": null}, "klaviyo_count_refunded_order": {"type": "bigint", "index": 37, "name": "klaviyo_count_refunded_order", "comment": null}, "klaviyo_count_received_email": {"type": "bigint", "index": 38, "name": "klaviyo_count_received_email", "comment": null}, "klaviyo_count_clicked_email": {"type": "bigint", "index": 39, "name": "klaviyo_count_clicked_email", "comment": null}, "klaviyo_count_opened_email": {"type": "bigint", "index": 40, "name": "klaviyo_count_opened_email", "comment": null}, "klaviyo_count_marked_email_as_spam": {"type": "bigint", "index": 41, "name": "klaviyo_count_marked_email_as_spam", "comment": null}, "klaviyo_count_unsubscribed": {"type": "bigint", "index": 42, "name": "klaviyo_count_unsubscribed", "comment": null}, "klaviyo_count_received_sms": {"type": "bigint", "index": 43, "name": "klaviyo_count_received_sms", "comment": null}, "klaviyo_count_clicked_sms": {"type": "bigint", "index": 44, "name": "klaviyo_count_clicked_sms", "comment": null}, "klaviyo_count_sent_sms": {"type": "bigint", "index": 45, "name": "klaviyo_count_sent_sms", "comment": null}, "klaviyo_count_unsubscribed_from_sms": {"type": "bigint", "index": 46, "name": "klaviyo_count_unsubscribed_from_sms", "comment": null}, "klaviyo_source_relation": {"type": "text", "index": 47, "name": "klaviyo_source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_shopify_holistic", "name": "shopify_holistic_reporting__orders_attribution", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "processed_timestamp": {"type": "timestamp without time zone", "index": 2, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "updated_timestamp", "comment": null}, "user_id": {"type": "bigint", "index": 4, "name": "user_id", "comment": null}, "total_discounts": {"type": "double precision", "index": 5, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 6, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "double precision", "index": 7, "name": "total_price", "comment": null}, "total_tax": {"type": "integer", "index": 8, "name": "total_tax", "comment": null}, "source_name": {"type": "text", "index": 9, "name": "source_name", "comment": null}, "subtotal_price": {"type": "double precision", "index": 10, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "boolean", "index": 11, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "integer", "index": 12, "name": "total_weight", "comment": null}, "landing_site_base_url": {"type": "text", "index": 13, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "bigint", "index": 14, "name": "location_id", "comment": null}, "name": {"type": "text", "index": 15, "name": "name", "comment": null}, "note": {"type": "text", "index": 16, "name": "note", "comment": null}, "number": {"type": "integer", "index": 17, "name": "number", "comment": null}, "order_number": {"type": "integer", "index": 18, "name": "order_number", "comment": null}, "cancel_reason": {"type": "integer", "index": 19, "name": "cancel_reason", "comment": null}, "cancelled_timestamp": {"type": "timestamp without time zone", "index": 20, "name": "cancelled_timestamp", "comment": null}, "cart_token": {"type": "text", "index": 21, "name": "cart_token", "comment": null}, "checkout_token": {"type": "text", "index": 22, "name": "checkout_token", "comment": null}, "closed_timestamp": {"type": "text", "index": 23, "name": "closed_timestamp", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 24, "name": "created_timestamp", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "customer_id": {"type": "bigint", "index": 26, "name": "customer_id", "comment": null}, "email": {"type": "text", "index": 27, "name": "email", "comment": null}, "financial_status": {"type": "text", "index": 28, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "text", "index": 29, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "text", "index": 30, "name": "processing_method", "comment": null}, "referring_site": {"type": "text", "index": 31, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "text", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "text", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "text", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "text", "index": 35, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "text", "index": 36, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "text", "index": 37, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "text", "index": 38, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "text", "index": 39, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "text", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "text", "index": 41, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "text", "index": 42, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "text", "index": 43, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "text", "index": 44, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "integer", "index": 45, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "text", "index": 46, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "text", "index": 47, "name": "browser_ip", "comment": null}, "has_buyer_accepted_marketing": {"type": "boolean", "index": 48, "name": "has_buyer_accepted_marketing", "comment": null}, "total_shipping_price_set": {"type": "text", "index": 49, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "text", "index": 50, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "text", "index": 51, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "text", "index": 52, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "text", "index": 53, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "text", "index": 54, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "text", "index": 55, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "text", "index": 56, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "text", "index": 57, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "text", "index": 58, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "text", "index": 59, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "text", "index": 60, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "text", "index": 61, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "text", "index": 62, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "integer", "index": 63, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "text", "index": 64, "name": "shipping_address_zip", "comment": null}, "is_test_order": {"type": "boolean", "index": 65, "name": "is_test_order", "comment": null}, "token": {"type": "text", "index": 66, "name": "token", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 67, "name": "_fivetran_synced", "comment": null}, "shipping_cost": {"type": "double precision", "index": 68, "name": "shipping_cost", "comment": null}, "order_adjustment_amount": {"type": "bigint", "index": 69, "name": "order_adjustment_amount", "comment": null}, "order_adjustment_tax_amount": {"type": "double precision", "index": 70, "name": "order_adjustment_tax_amount", "comment": null}, "refund_subtotal": {"type": "numeric", "index": 71, "name": "refund_subtotal", "comment": null}, "refund_total_tax": {"type": "numeric", "index": 72, "name": "refund_total_tax", "comment": null}, "order_adjusted_total": {"type": "double precision", "index": 73, "name": "order_adjusted_total", "comment": null}, "line_item_count": {"type": "bigint", "index": 74, "name": "line_item_count", "comment": null}, "customer_order_seq_number": {"type": "bigint", "index": 75, "name": "customer_order_seq_number", "comment": null}, "new_vs_repeat": {"type": "text", "index": 76, "name": "new_vs_repeat", "comment": null}, "is_attributed": {"type": "boolean", "index": 77, "name": "is_attributed", "comment": null}, "last_touch_campaign_id": {"type": "character varying", "index": 78, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "character varying", "index": 79, "name": "last_touch_flow_id", "comment": null}, "last_touch_variation_id": {"type": "text", "index": 80, "name": "last_touch_variation_id", "comment": null}, "last_touch_campaign_name": {"type": "text", "index": 81, "name": "last_touch_campaign_name", "comment": null}, "last_touch_campaign_subject_line": {"type": "text", "index": 82, "name": "last_touch_campaign_subject_line", "comment": null}, "last_touch_campaign_type": {"type": "text", "index": 83, "name": "last_touch_campaign_type", "comment": null}, "last_touch_flow_name": {"type": "text", "index": 84, "name": "last_touch_flow_name", "comment": null}, "count_interactions_with_campaign": {"type": "bigint", "index": 85, "name": "count_interactions_with_campaign", "comment": null}, "count_interactions_with_flow": {"type": "bigint", "index": 86, "name": "count_interactions_with_flow", "comment": null}, "last_touch_event_id": {"type": "text", "index": 87, "name": "last_touch_event_id", "comment": null}, "last_touch_event_occurred_at": {"type": "timestamp without time zone", "index": 88, "name": "last_touch_event_occurred_at", "comment": null}, "last_touch_event_type": {"type": "text", "index": 89, "name": "last_touch_event_type", "comment": null}, "last_touch_integration_name": {"type": "text", "index": 90, "name": "last_touch_integration_name", "comment": null}, "last_touch_integration_category": {"type": "text", "index": 91, "name": "last_touch_integration_category", "comment": null}, "shopify_source_relation": {"type": "text", "index": 92, "name": "shopify_source_relation", "comment": null}, "klaviyo_source_relation": {"type": "text", "index": 93, "name": "klaviyo_source_relation", "comment": null}, "unique_order_key": {"type": "text", "index": 94, "name": "unique_order_key", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution"}, "model.klaviyo_source.stg_klaviyo__campaign": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__campaign", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"campaign_type": {"type": "text", "index": 1, "name": "campaign_type", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "email_template_id": {"type": "text", "index": 3, "name": "email_template_id", "comment": null}, "from_email": {"type": "text", "index": 4, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 5, "name": "from_name", "comment": null}, "campaign_id": {"type": "text", "index": 6, "name": "campaign_id", "comment": null}, "is_segmented": {"type": "boolean", "index": 7, "name": "is_segmented", "comment": null}, "campaign_name": {"type": "text", "index": 8, "name": "campaign_name", "comment": null}, "scheduled_to_send_at": {"type": "text", "index": 9, "name": "scheduled_to_send_at", "comment": null}, "sent_at": {"type": "text", "index": 10, "name": "sent_at", "comment": null}, "status": {"type": "text", "index": 11, "name": "status", "comment": null}, "status_id": {"type": "integer", "index": 12, "name": "status_id", "comment": null}, "subject": {"type": "text", "index": 13, "name": "subject", "comment": null}, "updated_at": {"type": "text", "index": 14, "name": "updated_at", "comment": null}, "source_relation": {"type": "text", "index": 15, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__campaign"}, "model.klaviyo_source.stg_klaviyo__campaign_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__campaign_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "from_name": {"type": "text", "index": 2, "name": "from_name", "comment": null}, "status_id": {"type": "integer", "index": 3, "name": "status_id", "comment": null}, "is_segmented": {"type": "boolean", "index": 4, "name": "is_segmented", "comment": null}, "campaign_type": {"type": "text", "index": 5, "name": "campaign_type", "comment": null}, "status_label": {"type": "text", "index": 6, "name": "status_label", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "subject": {"type": "text", "index": 8, "name": "subject", "comment": null}, "name": {"type": "text", "index": 9, "name": "name", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "created": {"type": "text", "index": 11, "name": "created", "comment": null}, "updated": {"type": "text", "index": 12, "name": "updated", "comment": null}, "send_time": {"type": "text", "index": 13, "name": "send_time", "comment": null}, "sent_at": {"type": "text", "index": 14, "name": "sent_at", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}, "email_template_id": {"type": "text", "index": 16, "name": "email_template_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__campaign_tmp"}, "model.klaviyo_source.stg_klaviyo__event": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__event", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"variation_id": {"type": "text", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "character varying", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "timestamp without time zone", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "integer", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "text", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "text", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "text", "index": 8, "name": "person_id", "comment": null}, "type": {"type": "text", "index": 9, "name": "type", "comment": null}, "uuid": {"type": "text", "index": 10, "name": "uuid", "comment": null}, "numeric_value": {"type": "integer", "index": 11, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 13, "name": "source_relation", "comment": null}, "occurred_on": {"type": "date", "index": 14, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "text", "index": 15, "name": "unique_event_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__event"}, "model.klaviyo_source.stg_klaviyo__event_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__event_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "person_id": {"type": "text", "index": 2, "name": "person_id", "comment": null}, "campaign_id": {"type": "character varying", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "character varying", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "integer", "index": 5, "name": "flow_message_id", "comment": null}, "uuid": {"type": "text", "index": 6, "name": "uuid", "comment": null}, "datetime": {"type": "text", "index": 7, "name": "datetime", "comment": null}, "timestamp": {"type": "text", "index": 8, "name": "timestamp", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 9, "name": "_fivetran_deleted", "comment": null}, "metric_id": {"type": "text", "index": 10, "name": "metric_id", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "_variation": {"type": "text", "index": 12, "name": "_variation", "comment": null}, "property_value": {"type": "integer", "index": 13, "name": "property_value", "comment": null}, "property_source_name": {"type": "integer", "index": 14, "name": "property_source_name", "comment": null}, "property_extra": {"type": "integer", "index": 15, "name": "property_extra", "comment": null}, "property_shipping_rate": {"type": "integer", "index": 16, "name": "property_shipping_rate", "comment": null}, "property_items": {"type": "integer", "index": 17, "name": "property_items", "comment": null}, "property_tags": {"type": "integer", "index": 18, "name": "property_tags", "comment": null}, "property_item_count": {"type": "integer", "index": 19, "name": "property_item_count", "comment": null}, "property_collections": {"type": "integer", "index": 20, "name": "property_collections", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 21, "name": "_fivetran_synced", "comment": null}, "property_currency_code": {"type": "integer", "index": 22, "name": "property_currency_code", "comment": null}, "property_product_id": {"type": "integer", "index": 23, "name": "property_product_id", "comment": null}, "property_quantity": {"type": "integer", "index": 24, "name": "property_quantity", "comment": null}, "property_name": {"type": "integer", "index": 25, "name": "property_name", "comment": null}, "property_variant_option_title": {"type": "integer", "index": 26, "name": "property_variant_option_title", "comment": null}, "property_sku": {"type": "integer", "index": 27, "name": "property_sku", "comment": null}, "property_variant_name": {"type": "integer", "index": 28, "name": "property_variant_name", "comment": null}, "property_vendor": {"type": "integer", "index": 29, "name": "property_vendor", "comment": null}, "property_event_id": {"type": "text", "index": 30, "name": "property_event_id", "comment": null}, "property_total_discounts": {"type": "integer", "index": 31, "name": "property_total_discounts", "comment": null}, "property_attribution": {"type": "integer", "index": 32, "name": "property_attribution", "comment": null}, "property_discount_codes": {"type": "integer", "index": 33, "name": "property_discount_codes", "comment": null}, "property_fulfillment_hours": {"type": "integer", "index": 34, "name": "property_fulfillment_hours", "comment": null}, "property_fulfillment_status": {"type": "integer", "index": 35, "name": "property_fulfillment_status", "comment": null}, "property_subject": {"type": "text", "index": 36, "name": "property_subject", "comment": null}, "property_title": {"type": "integer", "index": 37, "name": "property_title", "comment": null}, "property_message_interaction": {"type": "integer", "index": 38, "name": "property_message_interaction", "comment": null}, "property_url": {"type": "integer", "index": 39, "name": "property_url", "comment": null}, "property_shipment_type": {"type": "integer", "index": 40, "name": "property_shipment_type", "comment": null}, "property_courier_name": {"type": "integer", "index": 41, "name": "property_courier_name", "comment": null}, "property_current_status": {"type": "integer", "index": 42, "name": "property_current_status", "comment": null}, "property_tracking_ship_date": {"type": "integer", "index": 43, "name": "property_tracking_ship_date", "comment": null}, "property_tracking_postal_code": {"type": "integer", "index": 44, "name": "property_tracking_postal_code", "comment": null}, "property_shipment_package_count": {"type": "integer", "index": 45, "name": "property_shipment_package_count", "comment": null}, "property_campaign_name": {"type": "text", "index": 46, "name": "property_campaign_name", "comment": null}, "property_cohort_message_send_cohort": {"type": "text", "index": 47, "name": "property_cohort_message_send_cohort", "comment": null}, "property_email_domain": {"type": "text", "index": 48, "name": "property_email_domain", "comment": null}, "property_bounce_type": {"type": "integer", "index": 49, "name": "property_bounce_type", "comment": null}, "property_client_type": {"type": "integer", "index": 50, "name": "property_client_type", "comment": null}, "property_client_os": {"type": "integer", "index": 51, "name": "property_client_os", "comment": null}, "property_client_name": {"type": "integer", "index": 52, "name": "property_client_name", "comment": null}, "property_client_os_family": {"type": "integer", "index": 53, "name": "property_client_os_family", "comment": null}, "property_client_canonical": {"type": "integer", "index": 54, "name": "property_client_canonical", "comment": null}, "property_page": {"type": "integer", "index": 55, "name": "property_page", "comment": null}, "property_is_session_activity": {"type": "integer", "index": 56, "name": "property_is_session_activity", "comment": null}, "property_os": {"type": "integer", "index": 57, "name": "property_os", "comment": null}, "property_session_end": {"type": "integer", "index": 58, "name": "property_session_end", "comment": null}, "property_browser": {"type": "integer", "index": 59, "name": "property_browser", "comment": null}, "property_list": {"type": "integer", "index": 60, "name": "property_list", "comment": null}, "property_compare_at_price": {"type": "integer", "index": 61, "name": "property_compare_at_price", "comment": null}, "property_price": {"type": "integer", "index": 62, "name": "property_price", "comment": null}, "property_image_url": {"type": "integer", "index": 63, "name": "property_image_url", "comment": null}, "property_brand": {"type": "integer", "index": 64, "name": "property_brand", "comment": null}, "property_categories": {"type": "integer", "index": 65, "name": "property_categories", "comment": null}, "property_variant_option_size": {"type": "integer", "index": 66, "name": "property_variant_option_size", "comment": null}, "property_attribute_workout": {"type": "integer", "index": 67, "name": "property_attribute_workout", "comment": null}, "property_attribute_age": {"type": "integer", "index": 68, "name": "property_attribute_age", "comment": null}, "property_attribute_fitness_goal": {"type": "integer", "index": 69, "name": "property_attribute_fitness_goal", "comment": null}, "property_attribute_breakfast": {"type": "integer", "index": 70, "name": "property_attribute_breakfast", "comment": null}, "property_variant_option_type": {"type": "integer", "index": 71, "name": "property_variant_option_type", "comment": null}, "property_cohort_variation_send_cohort": {"type": "text", "index": 72, "name": "property_cohort_variation_send_cohort", "comment": null}, "property_method": {"type": "integer", "index": 73, "name": "property_method", "comment": null}, "property_to_number": {"type": "integer", "index": 74, "name": "property_to_number", "comment": null}, "property_message_type": {"type": "integer", "index": 75, "name": "property_message_type", "comment": null}, "property_from_number": {"type": "integer", "index": 76, "name": "property_from_number", "comment": null}, "property_message_format": {"type": "integer", "index": 77, "name": "property_message_format", "comment": null}, "property_message_name": {"type": "integer", "index": 78, "name": "property_message_name", "comment": null}, "property_carrier_delivery_status": {"type": "integer", "index": 79, "name": "property_carrier_delivery_status", "comment": null}, "property_failure_type": {"type": "integer", "index": 80, "name": "property_failure_type", "comment": null}, "property_failure_source": {"type": "integer", "index": 81, "name": "property_failure_source", "comment": null}, "property_message_body": {"type": "integer", "index": 82, "name": "property_message_body", "comment": null}, "property_email": {"type": "integer", "index": 83, "name": "property_email", "comment": null}, "property_attribute_kit": {"type": "integer", "index": 84, "name": "property_attribute_kit", "comment": null}, "property_vendor_error_code": {"type": "integer", "index": 85, "name": "property_vendor_error_code", "comment": null}, "property_ordr_details": {"type": "integer", "index": 86, "name": "property_ordr_details", "comment": null}, "property_date_to_send_gift": {"type": "integer", "index": 87, "name": "property_date_to_send_gift", "comment": null}, "property_recipient_name": {"type": "integer", "index": 88, "name": "property_recipient_name", "comment": null}, "property_attribute_facebook_order_retailer_id": {"type": "integer", "index": 89, "name": "property_attribute_facebook_order_retailer_id", "comment": null}, "property_sender_s_name": {"type": "integer", "index": 90, "name": "property_sender_s_name", "comment": null}, "property_attribute_kitid": {"type": "integer", "index": 91, "name": "property_attribute_kitid", "comment": null}, "property_conversation_id": {"type": "integer", "index": 92, "name": "property_conversation_id", "comment": null}, "property_conversation_link": {"type": "integer", "index": 93, "name": "property_conversation_link", "comment": null}, "property_conversation_channel": {"type": "integer", "index": 94, "name": "property_conversation_channel", "comment": null}, "property_rating": {"type": "integer", "index": 95, "name": "property_rating", "comment": null}, "property_score": {"type": "integer", "index": 96, "name": "property_score", "comment": null}, "property_from_phone_region": {"type": "integer", "index": 97, "name": "property_from_phone_region", "comment": null}, "property_shipment_carrier": {"type": "integer", "index": 98, "name": "property_shipment_carrier", "comment": null}, "property_shipment_status": {"type": "integer", "index": 99, "name": "property_shipment_status", "comment": null}, "property_to_phone_region": {"type": "integer", "index": 100, "name": "property_to_phone_region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__event_tmp"}, "model.klaviyo_source.stg_klaviyo__flow": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__flow", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "flow_id": {"type": "text", "index": 2, "name": "flow_id", "comment": null}, "flow_name": {"type": "text", "index": 3, "name": "flow_name", "comment": null}, "status": {"type": "text", "index": 4, "name": "status", "comment": null}, "flow_trigger": {"type": "character varying", "index": 5, "name": "flow_trigger", "comment": null}, "updated_at": {"type": "text", "index": 6, "name": "updated_at", "comment": null}, "person_filter": {"type": "text", "index": 7, "name": "person_filter", "comment": null}, "source_relation": {"type": "text", "index": 8, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__flow"}, "model.klaviyo_source.stg_klaviyo__flow_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__flow_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "status": {"type": "text", "index": 3, "name": "status", "comment": null}, "created": {"type": "text", "index": 4, "name": "created", "comment": null}, "updated": {"type": "text", "index": 5, "name": "updated", "comment": null}, "customer_filter": {"type": "text", "index": 6, "name": "customer_filter", "comment": null}, "trigger": {"type": "character varying", "index": 7, "name": "trigger", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 8, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__flow_tmp"}, "model.klaviyo_source.stg_klaviyo__integration": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__integration", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"category": {"type": "text", "index": 1, "name": "category", "comment": null}, "integration_id": {"type": "text", "index": 2, "name": "integration_id", "comment": null}, "integration_name": {"type": "text", "index": 3, "name": "integration_name", "comment": null}, "source_relation": {"type": "text", "index": 4, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__integration"}, "model.klaviyo_source.stg_klaviyo__integration_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__integration_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "category": {"type": "text", "index": 2, "name": "category", "comment": null}, "name": {"type": "text", "index": 3, "name": "name", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__integration_tmp"}, "model.klaviyo_source.stg_klaviyo__metric": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__metric", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "metric_id": {"type": "text", "index": 2, "name": "metric_id", "comment": null}, "integration_id": {"type": "text", "index": 3, "name": "integration_id", "comment": null}, "metric_name": {"type": "text", "index": 4, "name": "metric_name", "comment": null}, "updated_at": {"type": "text", "index": 5, "name": "updated_at", "comment": null}, "source_relation": {"type": "text", "index": 6, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__metric"}, "model.klaviyo_source.stg_klaviyo__metric_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__metric_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "name": {"type": "text", "index": 2, "name": "name", "comment": null}, "integration_id": {"type": "text", "index": 3, "name": "integration_id", "comment": null}, "created": {"type": "text", "index": 4, "name": "created", "comment": null}, "updated": {"type": "text", "index": 5, "name": "updated", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__metric_tmp"}, "model.klaviyo_source.stg_klaviyo__person": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__person", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"person_id": {"type": "text", "index": 1, "name": "person_id", "comment": null}, "address_1": {"type": "text", "index": 2, "name": "address_1", "comment": null}, "address_2": {"type": "integer", "index": 3, "name": "address_2", "comment": null}, "city": {"type": "text", "index": 4, "name": "city", "comment": null}, "country": {"type": "text", "index": 5, "name": "country", "comment": null}, "zip": {"type": "integer", "index": 6, "name": "zip", "comment": null}, "created_at": {"type": "text", "index": 7, "name": "created_at", "comment": null}, "email": {"type": "text", "index": 8, "name": "email", "comment": null}, "full_name": {"type": "text", "index": 9, "name": "full_name", "comment": null}, "latitude": {"type": "double precision", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "double precision", "index": 11, "name": "longitude", "comment": null}, "organization": {"type": "integer", "index": 12, "name": "organization", "comment": null}, "phone_number": {"type": "character varying", "index": 13, "name": "phone_number", "comment": null}, "region": {"type": "text", "index": 14, "name": "region", "comment": null}, "timezone": {"type": "text", "index": 15, "name": "timezone", "comment": null}, "title": {"type": "integer", "index": 16, "name": "title", "comment": null}, "updated_at": {"type": "text", "index": 17, "name": "updated_at", "comment": null}, "source_relation": {"type": "text", "index": 18, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__person"}, "model.klaviyo_source.stg_klaviyo__person_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_klaviyo", "name": "stg_klaviyo__person_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated": {"type": "text", "index": 2, "name": "updated", "comment": null}, "created": {"type": "text", "index": 3, "name": "created", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 4, "name": "_fivetran_deleted", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "address_1": {"type": "text", "index": 7, "name": "address_1", "comment": null}, "address_2": {"type": "integer", "index": 8, "name": "address_2", "comment": null}, "title": {"type": "integer", "index": 9, "name": "title", "comment": null}, "timezone": {"type": "text", "index": 10, "name": "timezone", "comment": null}, "organization": {"type": "integer", "index": 11, "name": "organization", "comment": null}, "region": {"type": "text", "index": 12, "name": "region", "comment": null}, "longitude": {"type": "double precision", "index": 13, "name": "longitude", "comment": null}, "latitude": {"type": "double precision", "index": 14, "name": "latitude", "comment": null}, "phone_number": {"type": "character varying", "index": 15, "name": "phone_number", "comment": null}, "country": {"type": "text", "index": 16, "name": "country", "comment": null}, "zip": {"type": "integer", "index": 17, "name": "zip", "comment": null}, "city": {"type": "text", "index": 18, "name": "city", "comment": null}, "email": {"type": "text", "index": 19, "name": "email", "comment": null}, "custom_object": {"type": "text", "index": 20, "name": "custom_object", "comment": null}, "custom_email": {"type": "text", "index": 21, "name": "custom_email", "comment": null}, "custom_accepts_marketing": {"type": "boolean", "index": 22, "name": "custom_accepts_marketing", "comment": null}, "custom_shopify_tags": {"type": "text", "index": 23, "name": "custom_shopify_tags", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 24, "name": "_fivetran_synced", "comment": null}, "custom_consent_form_id": {"type": "text", "index": 25, "name": "custom_consent_form_id", "comment": null}, "custom_source": {"type": "text", "index": 26, "name": "custom_source", "comment": null}, "custom_consent_method": {"type": "text", "index": 27, "name": "custom_consent_method", "comment": null}, "custom_consent": {"type": "integer", "index": 28, "name": "custom_consent", "comment": null}, "custom_gift_giver_name": {"type": "integer", "index": 29, "name": "custom_gift_giver_name", "comment": null}, "custom_state": {"type": "integer", "index": 30, "name": "custom_state", "comment": null}, "custom_flow": {"type": "integer", "index": 31, "name": "custom_flow", "comment": null}, "custom_gift_recipient_name": {"type": "integer", "index": 32, "name": "custom_gift_recipient_name", "comment": null}, "custom_last_sign_in": {"type": "integer", "index": 33, "name": "custom_last_sign_in", "comment": null}, "custom_consent_form_version": {"type": "integer", "index": 34, "name": "custom_consent_form_version", "comment": null}, "custom_consent_timestamp": {"type": "integer", "index": 35, "name": "custom_consent_timestamp", "comment": null}, "custom_mail_chimp_rating": {"type": "integer", "index": 36, "name": "custom_mail_chimp_rating", "comment": null}, "custom_gift_recipient_email": {"type": "integer", "index": 37, "name": "custom_gift_recipient_email", "comment": null}, "custom_gift_options": {"type": "integer", "index": 38, "name": "custom_gift_options", "comment": null}, "custom_address": {"type": "integer", "index": 39, "name": "custom_address", "comment": null}, "custom_subscription_expiration": {"type": "integer", "index": 40, "name": "custom_subscription_expiration", "comment": null}, "custom_city": {"type": "integer", "index": 41, "name": "custom_city", "comment": null}, "custom_address_line_2": {"type": "integer", "index": 42, "name": "custom_address_line_2", "comment": null}, "custom_zipcode": {"type": "integer", "index": 43, "name": "custom_zipcode", "comment": null}, "custom_expected_date_of_next_order": {"type": "text", "index": 44, "name": "custom_expected_date_of_next_order", "comment": null}, "custom_sms_attentive_signup": {"type": "integer", "index": 45, "name": "custom_sms_attentive_signup", "comment": null}, "custom_phone": {"type": "integer", "index": 46, "name": "custom_phone", "comment": null}, "custom_afterpay_order": {"type": "integer", "index": 47, "name": "custom_afterpay_order", "comment": null}, "custom_phone_number_region": {"type": "text", "index": 48, "name": "custom_phone_number_region", "comment": null}, "custom_name": {"type": "integer", "index": 49, "name": "custom_name", "comment": null}, "custom_referrer_name": {"type": "integer", "index": 50, "name": "custom_referrer_name", "comment": null}, "custom_referrer_email": {"type": "integer", "index": 51, "name": "custom_referrer_email", "comment": null}, "custom_birthday": {"type": "integer", "index": 52, "name": "custom_birthday", "comment": null}, "custom_first_purchase_date_": {"type": "date", "index": 53, "name": "custom_first_purchase_date_", "comment": null}, "custom_unengaged": {"type": "integer", "index": 54, "name": "custom_unengaged", "comment": null}, "custom_landing_page_tag": {"type": "integer", "index": 55, "name": "custom_landing_page_tag", "comment": null}, "custom_fitness_goal": {"type": "integer", "index": 56, "name": "custom_fitness_goal", "comment": null}, "custom_age": {"type": "integer", "index": 57, "name": "custom_age", "comment": null}, "custom_workout": {"type": "integer", "index": 58, "name": "custom_workout", "comment": null}, "custom_quiz": {"type": "integer", "index": 59, "name": "custom_quiz", "comment": null}, "custom_breakfast": {"type": "integer", "index": 60, "name": "custom_breakfast", "comment": null}, "custom_quiz_data": {"type": "integer", "index": 61, "name": "custom_quiz_data", "comment": null}, "custom_raf_subscribe": {"type": "integer", "index": 62, "name": "custom_raf_subscribe", "comment": null}, "custom_suppress": {"type": "integer", "index": 63, "name": "custom_suppress", "comment": null}, "custom_sms_consent": {"type": "integer", "index": 64, "name": "custom_sms_consent", "comment": null}, "custom_gift_option_dreambelt": {"type": "integer", "index": 65, "name": "custom_gift_option_dreambelt", "comment": null}, "custom_gift_option_starter": {"type": "integer", "index": 66, "name": "custom_gift_option_starter", "comment": null}, "custom_gift_option_machine": {"type": "integer", "index": 67, "name": "custom_gift_option_machine", "comment": null}, "custom_landingpage_tag": {"type": "integer", "index": 68, "name": "custom_landingpage_tag", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__person_tmp"}, "model.shopify_source.stg_shopify__customer": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__customer", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "has_accepted_marketing": {"type": "boolean", "index": 2, "name": "has_accepted_marketing", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "created_timestamp", "comment": null}, "default_address_id": {"type": "bigint", "index": 4, "name": "default_address_id", "comment": null}, "email": {"type": "text", "index": 5, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 6, "name": "first_name", "comment": null}, "customer_id": {"type": "bigint", "index": 7, "name": "customer_id", "comment": null}, "last_name": {"type": "text", "index": 8, "name": "last_name", "comment": null}, "orders_count": {"type": "integer", "index": 9, "name": "orders_count", "comment": null}, "phone": {"type": "integer", "index": 10, "name": "phone", "comment": null}, "account_state": {"type": "text", "index": 11, "name": "account_state", "comment": null}, "is_tax_exempt": {"type": "boolean", "index": 12, "name": "is_tax_exempt", "comment": null}, "total_spent": {"type": "double precision", "index": 13, "name": "total_spent", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 14, "name": "updated_timestamp", "comment": null}, "is_verified_email": {"type": "boolean", "index": 15, "name": "is_verified_email", "comment": null}, "source_relation": {"type": "text", "index": 16, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer"}, "model.shopify_source.stg_shopify__customer_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__customer_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "first_name": {"type": "text", "index": 2, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 3, "name": "last_name", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "phone": {"type": "integer", "index": 5, "name": "phone", "comment": null}, "state": {"type": "text", "index": 6, "name": "state", "comment": null}, "orders_count": {"type": "integer", "index": 7, "name": "orders_count", "comment": null}, "total_spent": {"type": "double precision", "index": 8, "name": "total_spent", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "name": "updated_at", "comment": null}, "accepts_marketing": {"type": "boolean", "index": 11, "name": "accepts_marketing", "comment": null}, "tax_exempt": {"type": "boolean", "index": 12, "name": "tax_exempt", "comment": null}, "verified_email": {"type": "boolean", "index": 13, "name": "verified_email", "comment": null}, "default_address_id": {"type": "bigint", "index": 14, "name": "default_address_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer_tmp"}, "model.shopify_source.stg_shopify__order": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "processed_timestamp": {"type": "timestamp without time zone", "index": 2, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "updated_timestamp", "comment": null}, "user_id": {"type": "bigint", "index": 4, "name": "user_id", "comment": null}, "total_discounts": {"type": "double precision", "index": 5, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 6, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "double precision", "index": 7, "name": "total_price", "comment": null}, "total_tax": {"type": "integer", "index": 8, "name": "total_tax", "comment": null}, "source_name": {"type": "text", "index": 9, "name": "source_name", "comment": null}, "subtotal_price": {"type": "double precision", "index": 10, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "boolean", "index": 11, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "integer", "index": 12, "name": "total_weight", "comment": null}, "landing_site_base_url": {"type": "text", "index": 13, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "bigint", "index": 14, "name": "location_id", "comment": null}, "name": {"type": "text", "index": 15, "name": "name", "comment": null}, "note": {"type": "text", "index": 16, "name": "note", "comment": null}, "number": {"type": "integer", "index": 17, "name": "number", "comment": null}, "order_number": {"type": "integer", "index": 18, "name": "order_number", "comment": null}, "cancel_reason": {"type": "integer", "index": 19, "name": "cancel_reason", "comment": null}, "cancelled_timestamp": {"type": "timestamp without time zone", "index": 20, "name": "cancelled_timestamp", "comment": null}, "cart_token": {"type": "text", "index": 21, "name": "cart_token", "comment": null}, "checkout_token": {"type": "text", "index": 22, "name": "checkout_token", "comment": null}, "closed_timestamp": {"type": "text", "index": 23, "name": "closed_timestamp", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 24, "name": "created_timestamp", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "customer_id": {"type": "bigint", "index": 26, "name": "customer_id", "comment": null}, "email": {"type": "text", "index": 27, "name": "email", "comment": null}, "financial_status": {"type": "text", "index": 28, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "text", "index": 29, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "text", "index": 30, "name": "processing_method", "comment": null}, "referring_site": {"type": "text", "index": 31, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "text", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "text", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "text", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "text", "index": 35, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "text", "index": 36, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "text", "index": 37, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "text", "index": 38, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "text", "index": 39, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "text", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "text", "index": 41, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "text", "index": 42, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "text", "index": 43, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "text", "index": 44, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "integer", "index": 45, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "text", "index": 46, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "text", "index": 47, "name": "browser_ip", "comment": null}, "has_buyer_accepted_marketing": {"type": "boolean", "index": 48, "name": "has_buyer_accepted_marketing", "comment": null}, "total_shipping_price_set": {"type": "text", "index": 49, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "text", "index": 50, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "text", "index": 51, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "text", "index": 52, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "text", "index": 53, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "text", "index": 54, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "text", "index": 55, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "text", "index": 56, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "text", "index": 57, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "text", "index": 58, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "text", "index": 59, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "text", "index": 60, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "text", "index": 61, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "text", "index": 62, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "integer", "index": 63, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "text", "index": 64, "name": "shipping_address_zip", "comment": null}, "is_test_order": {"type": "boolean", "index": 65, "name": "is_test_order", "comment": null}, "token": {"type": "text", "index": 66, "name": "token", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 67, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 68, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order"}, "model.shopify_source.stg_shopify__order_adjustment": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_adjustment", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_adjustment_id": {"type": "bigint", "index": 1, "name": "order_adjustment_id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "integer", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "double precision", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "text", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "text", "index": 7, "name": "reason", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 8, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "text", "index": 9, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_adjustment"}, "model.shopify_source.stg_shopify__order_adjustment_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_adjustment_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "integer", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "double precision", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "text", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "text", "index": 7, "name": "reason", "comment": null}, "amount_set": {"type": "integer", "index": 8, "name": "amount_set", "comment": null}, "tax_amount_set": {"type": "integer", "index": 9, "name": "tax_amount_set", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_adjustment_tmp"}, "model.shopify_source.stg_shopify__order_line": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_line", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "fulfillable_quantity": {"type": "integer", "index": 2, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "text", "index": 3, "name": "fulfillment_service", "comment": null}, "fulfillment_status": {"type": "text", "index": 4, "name": "fulfillment_status", "comment": null}, "is_gift_card": {"type": "boolean", "index": 5, "name": "is_gift_card", "comment": null}, "grams": {"type": "integer", "index": 6, "name": "grams", "comment": null}, "order_line_id": {"type": "bigint", "index": 7, "name": "order_line_id", "comment": null}, "index": {"type": "integer", "index": 8, "name": "index", "comment": null}, "name": {"type": "text", "index": 9, "name": "name", "comment": null}, "order_id": {"type": "bigint", "index": 10, "name": "order_id", "comment": null}, "pre_tax_price": {"type": "integer", "index": 11, "name": "pre_tax_price", "comment": null}, "price": {"type": "double precision", "index": 12, "name": "price", "comment": null}, "product_id": {"type": "bigint", "index": 13, "name": "product_id", "comment": null}, "property_charge_interval_frequency": {"type": "numeric(28,6)", "index": 14, "name": "property_charge_interval_frequency", "comment": null}, "property_for_shipping_jan_3_rd_2020": {"type": "text", "index": 15, "name": "property_for_shipping_jan_3_rd_2020", "comment": null}, "property_shipping_interval_frequency": {"type": "numeric(28,6)", "index": 16, "name": "property_shipping_interval_frequency", "comment": null}, "property_shipping_interval_unit_type": {"type": "text", "index": 17, "name": "property_shipping_interval_unit_type", "comment": null}, "property_subscription_id": {"type": "numeric(28,6)", "index": 18, "name": "property_subscription_id", "comment": null}, "quantity": {"type": "integer", "index": 19, "name": "quantity", "comment": null}, "is_requiring_shipping": {"type": "boolean", "index": 20, "name": "is_requiring_shipping", "comment": null}, "sku": {"type": "text", "index": 21, "name": "sku", "comment": null}, "is_taxable": {"type": "boolean", "index": 22, "name": "is_taxable", "comment": null}, "title": {"type": "text", "index": 23, "name": "title", "comment": null}, "total_discount": {"type": "integer", "index": 24, "name": "total_discount", "comment": null}, "variant_id": {"type": "bigint", "index": 25, "name": "variant_id", "comment": null}, "vendor": {"type": "text", "index": 26, "name": "vendor", "comment": null}, "source_relation": {"type": "text", "index": 27, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line"}, "model.shopify_source.stg_shopify__order_line_refund": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_line_refund", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "order_line_refund_id": {"type": "bigint", "index": 2, "name": "order_line_refund_id", "comment": null}, "location_id": {"type": "bigint", "index": 3, "name": "location_id", "comment": null}, "order_line_id": {"type": "bigint", "index": 4, "name": "order_line_id", "comment": null}, "subtotal": {"type": "numeric(28,6)", "index": 5, "name": "subtotal", "comment": null}, "total_tax": {"type": "numeric(28,6)", "index": 6, "name": "total_tax", "comment": null}, "quantity": {"type": "integer", "index": 7, "name": "quantity", "comment": null}, "refund_id": {"type": "bigint", "index": 8, "name": "refund_id", "comment": null}, "restock_type": {"type": "integer", "index": 9, "name": "restock_type", "comment": null}, "source_relation": {"type": "text", "index": 10, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_refund"}, "model.shopify_source.stg_shopify__order_line_refund_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_line_refund_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "location_id": {"type": "bigint", "index": 2, "name": "location_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "restock_type": {"type": "integer", "index": 4, "name": "restock_type", "comment": null}, "quantity": {"type": "integer", "index": 5, "name": "quantity", "comment": null}, "order_line_id": {"type": "bigint", "index": 6, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_refund_tmp"}, "model.shopify_source.stg_shopify__order_line_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_line_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"order_id": {"type": "bigint", "index": 1, "name": "order_id", "comment": null}, "id": {"type": "bigint", "index": 2, "name": "id", "comment": null}, "product_id": {"type": "bigint", "index": 3, "name": "product_id", "comment": null}, "variant_id": {"type": "bigint", "index": 4, "name": "variant_id", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "title": {"type": "text", "index": 6, "name": "title", "comment": null}, "vendor": {"type": "text", "index": 7, "name": "vendor", "comment": null}, "price": {"type": "double precision", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "integer", "index": 9, "name": "quantity", "comment": null}, "grams": {"type": "integer", "index": 10, "name": "grams", "comment": null}, "sku": {"type": "text", "index": 11, "name": "sku", "comment": null}, "fulfillable_quantity": {"type": "integer", "index": 12, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "text", "index": 13, "name": "fulfillment_service", "comment": null}, "gift_card": {"type": "boolean", "index": 14, "name": "gift_card", "comment": null}, "requires_shipping": {"type": "boolean", "index": 15, "name": "requires_shipping", "comment": null}, "taxable": {"type": "boolean", "index": 16, "name": "taxable", "comment": null}, "index": {"type": "integer", "index": 17, "name": "index", "comment": null}, "total_discount": {"type": "integer", "index": 18, "name": "total_discount", "comment": null}, "pre_tax_price": {"type": "integer", "index": 19, "name": "pre_tax_price", "comment": null}, "fulfillment_status": {"type": "text", "index": 20, "name": "fulfillment_status", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 21, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_tmp"}, "model.shopify_source.stg_shopify__order_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__order_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "note": {"type": "text", "index": 2, "name": "note", "comment": null}, "email": {"type": "text", "index": 3, "name": "email", "comment": null}, "taxes_included": {"type": "boolean", "index": 4, "name": "taxes_included", "comment": null}, "currency": {"type": "text", "index": 5, "name": "currency", "comment": null}, "subtotal_price": {"type": "double precision", "index": 6, "name": "subtotal_price", "comment": null}, "total_tax": {"type": "integer", "index": 7, "name": "total_tax", "comment": null}, "total_price": {"type": "double precision", "index": 8, "name": "total_price", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "name": "updated_at", "comment": null}, "name": {"type": "text", "index": 11, "name": "name", "comment": null}, "shipping_address_name": {"type": "text", "index": 12, "name": "shipping_address_name", "comment": null}, "shipping_address_first_name": {"type": "text", "index": 13, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "text", "index": 14, "name": "shipping_address_last_name", "comment": null}, "shipping_address_company": {"type": "text", "index": 15, "name": "shipping_address_company", "comment": null}, "shipping_address_phone": {"type": "text", "index": 16, "name": "shipping_address_phone", "comment": null}, "shipping_address_address_1": {"type": "text", "index": 17, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "text", "index": 18, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "text", "index": 19, "name": "shipping_address_city", "comment": null}, "shipping_address_country": {"type": "text", "index": 20, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "text", "index": 21, "name": "shipping_address_country_code", "comment": null}, "shipping_address_province": {"type": "text", "index": 22, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "integer", "index": 23, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "text", "index": 24, "name": "shipping_address_zip", "comment": null}, "shipping_address_latitude": {"type": "text", "index": 25, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "text", "index": 26, "name": "shipping_address_longitude", "comment": null}, "billing_address_name": {"type": "text", "index": 27, "name": "billing_address_name", "comment": null}, "billing_address_first_name": {"type": "text", "index": 28, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "text", "index": 29, "name": "billing_address_last_name", "comment": null}, "billing_address_company": {"type": "text", "index": 30, "name": "billing_address_company", "comment": null}, "billing_address_phone": {"type": "text", "index": 31, "name": "billing_address_phone", "comment": null}, "billing_address_address_1": {"type": "text", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "text", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "text", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_country": {"type": "text", "index": 35, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "text", "index": 36, "name": "billing_address_country_code", "comment": null}, "billing_address_province": {"type": "text", "index": 37, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "integer", "index": 38, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "text", "index": 39, "name": "billing_address_zip", "comment": null}, "billing_address_latitude": {"type": "text", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "text", "index": 41, "name": "billing_address_longitude", "comment": null}, "customer_id": {"type": "bigint", "index": 42, "name": "customer_id", "comment": null}, "location_id": {"type": "bigint", "index": 43, "name": "location_id", "comment": null}, "user_id": {"type": "bigint", "index": 44, "name": "user_id", "comment": null}, "number": {"type": "integer", "index": 45, "name": "number", "comment": null}, "order_number": {"type": "integer", "index": 46, "name": "order_number", "comment": null}, "financial_status": {"type": "text", "index": 47, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "text", "index": 48, "name": "fulfillment_status", "comment": null}, "processed_at": {"type": "timestamp without time zone", "index": 49, "name": "processed_at", "comment": null}, "processing_method": {"type": "text", "index": 50, "name": "processing_method", "comment": null}, "referring_site": {"type": "text", "index": 51, "name": "referring_site", "comment": null}, "cancel_reason": {"type": "integer", "index": 52, "name": "cancel_reason", "comment": null}, "cancelled_at": {"type": "timestamp without time zone", "index": 53, "name": "cancelled_at", "comment": null}, "closed_at": {"type": "text", "index": 54, "name": "closed_at", "comment": null}, "total_discounts": {"type": "double precision", "index": 55, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "double precision", "index": 56, "name": "total_line_items_price", "comment": null}, "total_weight": {"type": "integer", "index": 57, "name": "total_weight", "comment": null}, "source_name": {"type": "text", "index": 58, "name": "source_name", "comment": null}, "browser_ip": {"type": "text", "index": 59, "name": "browser_ip", "comment": null}, "buyer_accepts_marketing": {"type": "boolean", "index": 60, "name": "buyer_accepts_marketing", "comment": null}, "token": {"type": "text", "index": 61, "name": "token", "comment": null}, "cart_token": {"type": "text", "index": 62, "name": "cart_token", "comment": null}, "checkout_token": {"type": "text", "index": 63, "name": "checkout_token", "comment": null}, "test": {"type": "boolean", "index": 64, "name": "test", "comment": null}, "landing_site_base_url": {"type": "text", "index": 65, "name": "landing_site_base_url", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 66, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_tmp"}, "model.shopify_source.stg_shopify__product": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__product", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_deleted": {"type": "boolean", "index": 1, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "created_timestamp", "comment": null}, "handle": {"type": "text", "index": 4, "name": "handle", "comment": null}, "product_id": {"type": "bigint", "index": 5, "name": "product_id", "comment": null}, "product_type": {"type": "text", "index": 6, "name": "product_type", "comment": null}, "published_timestamp": {"type": "timestamp without time zone", "index": 7, "name": "published_timestamp", "comment": null}, "published_scope": {"type": "text", "index": 8, "name": "published_scope", "comment": null}, "title": {"type": "text", "index": 9, "name": "title", "comment": null}, "updated_timestamp": {"type": "timestamp without time zone", "index": 10, "name": "updated_timestamp", "comment": null}, "vendor": {"type": "text", "index": 11, "name": "vendor", "comment": null}, "source_relation": {"type": "text", "index": 12, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product"}, "model.shopify_source.stg_shopify__product_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__product_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "title": {"type": "text", "index": 2, "name": "title", "comment": null}, "handle": {"type": "text", "index": 3, "name": "handle", "comment": null}, "product_type": {"type": "text", "index": 4, "name": "product_type", "comment": null}, "vendor": {"type": "text", "index": 5, "name": "vendor", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 7, "name": "updated_at", "comment": null}, "published_at": {"type": "timestamp without time zone", "index": 8, "name": "published_at", "comment": null}, "published_scope": {"type": "text", "index": 9, "name": "published_scope", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 10, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_tmp"}, "model.shopify_source.stg_shopify__product_variant": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__product_variant", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"variant_id": {"type": "bigint", "index": 1, "name": "variant_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_timestamp": {"type": "text", "index": 3, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "text", "index": 4, "name": "updated_timestamp", "comment": null}, "product_id": {"type": "bigint", "index": 5, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "bigint", "index": 6, "name": "inventory_item_id", "comment": null}, "image_id": {"type": "integer", "index": 7, "name": "image_id", "comment": null}, "title": {"type": "text", "index": 8, "name": "title", "comment": null}, "price": {"type": "integer", "index": 9, "name": "price", "comment": null}, "sku": {"type": "integer", "index": 10, "name": "sku", "comment": null}, "position": {"type": "integer", "index": 11, "name": "position", "comment": null}, "inventory_policy": {"type": "text", "index": 12, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "integer", "index": 13, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "text", "index": 14, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "text", "index": 15, "name": "inventory_management", "comment": null}, "is_taxable": {"type": "boolean", "index": 16, "name": "is_taxable", "comment": null}, "barcode": {"type": "integer", "index": 17, "name": "barcode", "comment": null}, "grams": {"type": "integer", "index": 18, "name": "grams", "comment": null}, "inventory_quantity": {"type": "integer", "index": 19, "name": "inventory_quantity", "comment": null}, "weight": {"type": "integer", "index": 20, "name": "weight", "comment": null}, "weight_unit": {"type": "text", "index": 21, "name": "weight_unit", "comment": null}, "option_1": {"type": "text", "index": 22, "name": "option_1", "comment": null}, "option_2": {"type": "integer", "index": 23, "name": "option_2", "comment": null}, "option_3": {"type": "integer", "index": 24, "name": "option_3", "comment": null}, "tax_code": {"type": "text", "index": 25, "name": "tax_code", "comment": null}, "old_inventory_quantity": {"type": "integer", "index": 26, "name": "old_inventory_quantity", "comment": null}, "is_requiring_shipping": {"type": "boolean", "index": 27, "name": "is_requiring_shipping", "comment": null}, "source_relation": {"type": "text", "index": 28, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_variant"}, "model.shopify_source.stg_shopify__product_variant_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__product_variant_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "bigint", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "bigint", "index": 3, "name": "inventory_item_id", "comment": null}, "title": {"type": "text", "index": 4, "name": "title", "comment": null}, "price": {"type": "integer", "index": 5, "name": "price", "comment": null}, "sku": {"type": "integer", "index": 6, "name": "sku", "comment": null}, "position": {"type": "integer", "index": 7, "name": "position", "comment": null}, "inventory_policy": {"type": "text", "index": 8, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "integer", "index": 9, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "text", "index": 10, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "text", "index": 11, "name": "inventory_management", "comment": null}, "created_at": {"type": "text", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "text", "index": 13, "name": "updated_at", "comment": null}, "taxable": {"type": "boolean", "index": 14, "name": "taxable", "comment": null}, "barcode": {"type": "integer", "index": 15, "name": "barcode", "comment": null}, "grams": {"type": "integer", "index": 16, "name": "grams", "comment": null}, "image_id": {"type": "integer", "index": 17, "name": "image_id", "comment": null}, "inventory_quantity": {"type": "integer", "index": 18, "name": "inventory_quantity", "comment": null}, "weight": {"type": "integer", "index": 19, "name": "weight", "comment": null}, "weight_unit": {"type": "text", "index": 20, "name": "weight_unit", "comment": null}, "old_inventory_quantity": {"type": "integer", "index": 21, "name": "old_inventory_quantity", "comment": null}, "requires_shipping": {"type": "boolean", "index": 22, "name": "requires_shipping", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 23, "name": "_fivetran_synced", "comment": null}, "option_2": {"type": "integer", "index": 24, "name": "option_2", "comment": null}, "tax_code": {"type": "text", "index": 25, "name": "tax_code", "comment": null}, "option_3": {"type": "integer", "index": 26, "name": "option_3", "comment": null}, "option_1": {"type": "text", "index": 27, "name": "option_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_variant_tmp"}, "model.shopify_source.stg_shopify__refund": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__refund", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "note": {"type": "text", "index": 4, "name": "note", "comment": null}, "order_id": {"type": "bigint", "index": 5, "name": "order_id", "comment": null}, "processed_at": {"type": "text", "index": 6, "name": "processed_at", "comment": null}, "restock": {"type": "boolean", "index": 7, "name": "restock", "comment": null}, "user_id": {"type": "bigint", "index": 8, "name": "user_id", "comment": null}, "source_relation": {"type": "text", "index": 9, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__refund"}, "model.shopify_source.stg_shopify__refund_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__refund_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "processed_at": {"type": "text", "index": 3, "name": "processed_at", "comment": null}, "note": {"type": "text", "index": 4, "name": "note", "comment": null}, "restock": {"type": "boolean", "index": 5, "name": "restock", "comment": null}, "user_id": {"type": "bigint", "index": 6, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 7, "name": "_fivetran_synced", "comment": null}, "total_duties_set": {"type": "integer", "index": 8, "name": "total_duties_set", "comment": null}, "order_id": {"type": "bigint", "index": 9, "name": "order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__refund_tmp"}, "model.shopify_source.stg_shopify__transaction": {"metadata": {"type": "BASE TABLE", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__transaction", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transaction_id": {"type": "bigint", "index": 1, "name": "transaction_id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "created_timestamp": {"type": "text", "index": 5, "name": "created_timestamp", "comment": null}, "processed_timestamp": {"type": "text", "index": 6, "name": "processed_timestamp", "comment": null}, "device_id": {"type": "integer", "index": 7, "name": "device_id", "comment": null}, "gateway": {"type": "text", "index": 8, "name": "gateway", "comment": null}, "source_name": {"type": "text", "index": 9, "name": "source_name", "comment": null}, "message": {"type": "text", "index": 10, "name": "message", "comment": null}, "currency": {"type": "text", "index": 11, "name": "currency", "comment": null}, "location_id": {"type": "integer", "index": 12, "name": "location_id", "comment": null}, "parent_id": {"type": "integer", "index": 13, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "text", "index": 14, "name": "payment_avs_result_code", "comment": null}, "payment_credit_card_bin": {"type": "integer", "index": 15, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "integer", "index": 16, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "integer", "index": 17, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "integer", "index": 18, "name": "payment_credit_card_company", "comment": null}, "kind": {"type": "text", "index": 19, "name": "kind", "comment": null}, "receipt": {"type": "character varying(100)", "index": 20, "name": "receipt", "comment": null}, "currency_exchange_id": {"type": "integer", "index": 21, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "integer", "index": 22, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "integer", "index": 23, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "integer", "index": 24, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "integer", "index": 25, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "integer", "index": 26, "name": "error_code", "comment": null}, "status": {"type": "text", "index": 27, "name": "status", "comment": null}, "test": {"type": "boolean", "index": 28, "name": "test", "comment": null}, "user_id": {"type": "integer", "index": 29, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 30, "name": "_fivetran_synced", "comment": null}, "authorization": {"type": "text", "index": 31, "name": "authorization", "comment": null}, "source_relation": {"type": "text", "index": 32, "name": "source_relation", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__transaction"}, "model.shopify_source.stg_shopify__transaction_tmp": {"metadata": {"type": "VIEW", "schema": "shopify_holistic_reporting_integration_tests_stg_shopify", "name": "stg_shopify__transaction_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "bigint", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "bigint", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "bigint", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "authorization": {"type": "text", "index": 5, "name": "authorization", "comment": null}, "created_at": {"type": "text", "index": 6, "name": "created_at", "comment": null}, "processed_at": {"type": "text", "index": 7, "name": "processed_at", "comment": null}, "device_id": {"type": "integer", "index": 8, "name": "device_id", "comment": null}, "gateway": {"type": "text", "index": 9, "name": "gateway", "comment": null}, "source_name": {"type": "text", "index": 10, "name": "source_name", "comment": null}, "message": {"type": "text", "index": 11, "name": "message", "comment": null}, "currency": {"type": "text", "index": 12, "name": "currency", "comment": null}, "location_id": {"type": "integer", "index": 13, "name": "location_id", "comment": null}, "parent_id": {"type": "integer", "index": 14, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "text", "index": 15, "name": "payment_avs_result_code", "comment": null}, "kind": {"type": "text", "index": 16, "name": "kind", "comment": null}, "currency_exchange_id": {"type": "integer", "index": 17, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "integer", "index": 18, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "integer", "index": 19, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "integer", "index": 20, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "integer", "index": 21, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "integer", "index": 22, "name": "error_code", "comment": null}, "status": {"type": "text", "index": 23, "name": "status", "comment": null}, "test": {"type": "boolean", "index": 24, "name": "test", "comment": null}, "user_id": {"type": "integer", "index": 25, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 26, "name": "_fivetran_synced", "comment": null}, "payment_credit_card_bin": {"type": "integer", "index": 27, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "integer", "index": 28, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "integer", "index": 29, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "integer", "index": 30, "name": "payment_credit_card_company", "comment": null}, "receipt": {"type": "character varying(100)", "index": 31, "name": "receipt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__transaction_tmp"}}, "sources": {}, "errors": null}
\ No newline at end of file
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.4.5", "generated_at": "2023-05-09T20:19:12.811353Z", "invocation_id": "9129ba02-3916-4cdd-b5d3-d7f76d4e56d7", "env": {}}, "nodes": {"model.klaviyo.klaviyo__persons": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_klaviyo", "name": "klaviyo__persons", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"person_id": {"type": "STRING", "index": 1, "name": "person_id", "comment": null}, "address_1": {"type": "STRING", "index": 2, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 3, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 4, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 5, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 6, "name": "zip", "comment": null}, "created_at": {"type": "STRING", "index": 7, "name": "created_at", "comment": null}, "email": {"type": "STRING", "index": 8, "name": "email", "comment": null}, "full_name": {"type": "STRING", "index": 9, "name": "full_name", "comment": null}, "latitude": {"type": "FLOAT64", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 11, "name": "longitude", "comment": null}, "organization": {"type": "INT64", "index": 12, "name": "organization", "comment": null}, "phone_number": {"type": "STRING", "index": 13, "name": "phone_number", "comment": null}, "region": {"type": "STRING", "index": 14, "name": "region", "comment": null}, "timezone": {"type": "STRING", "index": 15, "name": "timezone", "comment": null}, "title": {"type": "INT64", "index": 16, "name": "title", "comment": null}, "updated_at": {"type": "STRING", "index": 17, "name": "updated_at", "comment": null}, "source_relation": {"type": "STRING", "index": 18, "name": "source_relation", "comment": null}, "count_total_campaigns": {"type": "INT64", "index": 19, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "INT64", "index": 20, "name": "count_total_flows", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 21, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 22, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "TIMESTAMP", "index": 23, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "TIMESTAMP", "index": 24, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "TIMESTAMP", "index": 25, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "TIMESTAMP", "index": 26, "name": "last_flow_touch_at", "comment": null}, "total_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 27, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 28, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "NUMERIC", "index": 29, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "NUMERIC", "index": 30, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 31, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 32, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 33, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 34, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 35, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 36, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "INT64", "index": 37, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "INT64", "index": 38, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "INT64", "index": 39, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "INT64", "index": 40, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "INT64", "index": 41, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "INT64", "index": 42, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "INT64", "index": 43, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "INT64", "index": 44, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "INT64", "index": 45, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "INT64", "index": 46, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "INT64", "index": 47, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "INT64", "index": 48, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "INT64", "index": 49, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "INT64", "index": 50, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "INT64", "index": 51, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "INT64", "index": 52, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "INT64", "index": 53, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 54, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "INT64", "index": 55, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "INT64", "index": 56, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "INT64", "index": 57, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "INT64", "index": 58, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "INT64", "index": 59, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "INT64", "index": 60, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "INT64", "index": 61, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 385.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__persons"}, "model.klaviyo.klaviyo__person_campaign_flow": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_klaviyo", "name": "klaviyo__person_campaign_flow", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"person_id": {"type": "STRING", "index": 1, "name": "person_id", "comment": null}, "last_touch_campaign_id": {"type": "STRING", "index": 2, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 3, "name": "last_touch_flow_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "flow_name": {"type": "STRING", "index": 5, "name": "flow_name", "comment": null}, "variation_id": {"type": "STRING", "index": 6, "name": "variation_id", "comment": null}, "source_relation": {"type": "STRING", "index": 7, "name": "source_relation", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 8, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 9, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "NUMERIC", "index": 10, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "NUMERIC", "index": 11, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "NUMERIC", "index": 12, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "NUMERIC", "index": 13, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 14, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "INT64", "index": 15, "name": "count_active_on_site", "comment": null}, "count_viewed_product": {"type": "INT64", "index": 16, "name": "count_viewed_product", "comment": null}, "count_ordered_product": {"type": "INT64", "index": 17, "name": "count_ordered_product", "comment": null}, "count_placed_order": {"type": "INT64", "index": 18, "name": "count_placed_order", "comment": null}, "count_refunded_order": {"type": "INT64", "index": 19, "name": "count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "INT64", "index": 20, "name": "count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "INT64", "index": 21, "name": "count_fulfilled_order", "comment": null}, "count_received_email": {"type": "INT64", "index": 22, "name": "count_received_email", "comment": null}, "count_clicked_email": {"type": "INT64", "index": 23, "name": "count_clicked_email", "comment": null}, "count_opened_email": {"type": "INT64", "index": 24, "name": "count_opened_email", "comment": null}, "count_bounced_email": {"type": "INT64", "index": 25, "name": "count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "INT64", "index": 26, "name": "count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "INT64", "index": 27, "name": "count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "INT64", "index": 28, "name": "count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "INT64", "index": 29, "name": "count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "INT64", "index": 30, "name": "count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "INT64", "index": 31, "name": "count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "INT64", "index": 32, "name": "count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "INT64", "index": 33, "name": "count_merged_profile", "comment": null}, "count_received_sms": {"type": "INT64", "index": 34, "name": "count_received_sms", "comment": null}, "count_clicked_sms": {"type": "INT64", "index": 35, "name": "count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "INT64", "index": 36, "name": "count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "INT64", "index": 37, "name": "count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "INT64", "index": 38, "name": "count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "INT64", "index": 39, "name": "count_failed_to_deliver_sms", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 644.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__person_campaign_flow"}, "model.klaviyo.klaviyo__flows": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_klaviyo", "name": "klaviyo__flows", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "flow_id": {"type": "STRING", "index": 2, "name": "flow_id", "comment": null}, "flow_name": {"type": "STRING", "index": 3, "name": "flow_name", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "flow_trigger": {"type": "STRING", "index": 5, "name": "flow_trigger", "comment": null}, "updated_at": {"type": "STRING", "index": 6, "name": "updated_at", "comment": null}, "person_filter": {"type": "STRING", "index": 7, "name": "person_filter", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}, "variation_id": {"type": "STRING", "index": 9, "name": "variation_id", "comment": null}, "total_count_unique_people": {"type": "INT64", "index": 10, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 11, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 12, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "NUMERIC", "index": 13, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "NUMERIC", "index": 14, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "NUMERIC", "index": 15, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "NUMERIC", "index": 16, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 17, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "INT64", "index": 18, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "INT64", "index": 19, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "INT64", "index": 20, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "INT64", "index": 21, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "INT64", "index": 22, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "INT64", "index": 23, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "INT64", "index": 24, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "INT64", "index": 25, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "INT64", "index": 26, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "INT64", "index": 27, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "INT64", "index": 28, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "INT64", "index": 29, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "INT64", "index": 30, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "INT64", "index": 31, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "INT64", "index": 32, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "INT64", "index": 33, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "INT64", "index": 34, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "INT64", "index": 35, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "INT64", "index": 36, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "INT64", "index": 37, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "INT64", "index": 38, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "INT64", "index": 39, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "INT64", "index": 40, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "INT64", "index": 41, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "INT64", "index": 42, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "INT64", "index": 43, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "INT64", "index": 44, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "INT64", "index": 45, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "INT64", "index": 46, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "INT64", "index": 47, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "INT64", "index": 48, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "INT64", "index": 49, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "INT64", "index": 50, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "INT64", "index": 51, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "INT64", "index": 52, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 53, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "INT64", "index": 54, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "INT64", "index": 55, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "INT64", "index": 56, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "INT64", "index": 57, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "INT64", "index": 58, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "INT64", "index": 59, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "INT64", "index": 60, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "INT64", "index": 61, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "INT64", "index": 62, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "INT64", "index": 63, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "INT64", "index": 64, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "INT64", "index": 65, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "INT64", "index": 66, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "INT64", "index": 67, "name": "unique_count_failed_to_deliver_sms", "comment": null}, "flow_variation_key": {"type": "STRING", "index": 68, "name": "flow_variation_key", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 660.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__flows"}, "model.klaviyo.klaviyo__events": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_klaviyo", "name": "klaviyo__events", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"variation_id": {"type": "STRING", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "TIMESTAMP", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "STRING", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "STRING", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "STRING", "index": 8, "name": "person_id", "comment": null}, "uuid": {"type": "STRING", "index": 9, "name": "uuid", "comment": null}, "numeric_value": {"type": "INT64", "index": 10, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 12, "name": "source_relation", "comment": null}, "occurred_on": {"type": "DATE", "index": 13, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "STRING", "index": 14, "name": "unique_event_id", "comment": null}, "touch_id": {"type": "STRING", "index": 15, "name": "touch_id", "comment": null}, "touch_type": {"type": "STRING", "index": 16, "name": "touch_type", "comment": null}, "type": {"type": "STRING", "index": 17, "name": "type", "comment": null}, "last_touch_campaign_id": {"type": "STRING", "index": 18, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 19, "name": "last_touch_flow_id", "comment": null}, "last_touch_at": {"type": "TIMESTAMP", "index": 20, "name": "last_touch_at", "comment": null}, "last_touch_event_type": {"type": "STRING", "index": 21, "name": "last_touch_event_type", "comment": null}, "last_touch_type": {"type": "STRING", "index": 22, "name": "last_touch_type", "comment": null}, "campaign_name": {"type": "STRING", "index": 23, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 24, "name": "campaign_type", "comment": null}, "campaign_subject_line": {"type": "STRING", "index": 25, "name": "campaign_subject_line", "comment": null}, "flow_name": {"type": "STRING", "index": 26, "name": "flow_name", "comment": null}, "person_city": {"type": "STRING", "index": 27, "name": "person_city", "comment": null}, "person_country": {"type": "STRING", "index": 28, "name": "person_country", "comment": null}, "person_region": {"type": "STRING", "index": 29, "name": "person_region", "comment": null}, "person_email": {"type": "STRING", "index": 30, "name": "person_email", "comment": null}, "person_timezone": {"type": "STRING", "index": 31, "name": "person_timezone", "comment": null}, "integration_name": {"type": "STRING", "index": 32, "name": "integration_name", "comment": null}, "integration_category": {"type": "STRING", "index": 33, "name": "integration_category", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 432.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "partitioning_type": {"id": "partitioning_type", "label": "Partitioned By", "value": "occurred_on", "include": true, "description": "The partitioning column for this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__events"}, "model.klaviyo.klaviyo__campaigns": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_klaviyo", "name": "klaviyo__campaigns", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_type": {"type": "STRING", "index": 1, "name": "campaign_type", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "email_template_id": {"type": "STRING", "index": 3, "name": "email_template_id", "comment": null}, "from_email": {"type": "STRING", "index": 4, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 5, "name": "from_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 6, "name": "campaign_id", "comment": null}, "is_segmented": {"type": "BOOL", "index": 7, "name": "is_segmented", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "scheduled_to_send_at": {"type": "STRING", "index": 9, "name": "scheduled_to_send_at", "comment": null}, "sent_at": {"type": "STRING", "index": 10, "name": "sent_at", "comment": null}, "status": {"type": "STRING", "index": 11, "name": "status", "comment": null}, "status_id": {"type": "INT64", "index": 12, "name": "status_id", "comment": null}, "subject": {"type": "STRING", "index": 13, "name": "subject", "comment": null}, "updated_at": {"type": "STRING", "index": 14, "name": "updated_at", "comment": null}, "source_relation": {"type": "STRING", "index": 15, "name": "source_relation", "comment": null}, "variation_id": {"type": "STRING", "index": 16, "name": "variation_id", "comment": null}, "total_count_unique_people": {"type": "INT64", "index": 17, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 18, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 19, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "NUMERIC", "index": 20, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "NUMERIC", "index": 21, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "NUMERIC", "index": 22, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "NUMERIC", "index": 23, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 24, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "INT64", "index": 25, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "INT64", "index": 26, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "INT64", "index": 27, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "INT64", "index": 28, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "INT64", "index": 29, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "INT64", "index": 30, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "INT64", "index": 31, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "INT64", "index": 32, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "INT64", "index": 33, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "INT64", "index": 34, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "INT64", "index": 35, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "INT64", "index": 36, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "INT64", "index": 37, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "INT64", "index": 38, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "INT64", "index": 39, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "INT64", "index": 40, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "INT64", "index": 41, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "INT64", "index": 42, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "INT64", "index": 43, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "INT64", "index": 44, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "INT64", "index": 45, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "INT64", "index": 46, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "INT64", "index": 47, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "INT64", "index": 48, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "INT64", "index": 49, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "INT64", "index": 50, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "INT64", "index": 51, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "INT64", "index": 52, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "INT64", "index": 53, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "INT64", "index": 54, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "INT64", "index": 55, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "INT64", "index": 56, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "INT64", "index": 57, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "INT64", "index": 58, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "INT64", "index": 59, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 60, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "INT64", "index": 61, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "INT64", "index": 62, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "INT64", "index": 63, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "INT64", "index": 64, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "INT64", "index": 65, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "INT64", "index": 66, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "INT64", "index": 67, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "INT64", "index": 68, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "INT64", "index": 69, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "INT64", "index": 70, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "INT64", "index": 71, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "INT64", "index": 72, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "INT64", "index": 73, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "INT64", "index": 74, "name": "unique_count_failed_to_deliver_sms", "comment": null}, "campaign_variation_key": {"type": "STRING", "index": 75, "name": "campaign_variation_key", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 403.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.klaviyo__campaigns"}, "seed.shopify_holistic_reporting_integration_tests.inventory_item": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "inventory_item", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "cost": {"type": "INT64", "index": 3, "name": "cost", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 4, "name": "created_at", "comment": null}, "requires_shipping": {"type": "INT64", "index": 5, "name": "requires_shipping", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "tracked": {"type": "INT64", "index": 7, "name": "tracked", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "country_code_of_origin": {"type": "INT64", "index": 9, "name": "country_code_of_origin", "comment": null}, "province_code_of_origin": {"type": "INT64", "index": 10, "name": "province_code_of_origin", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 11, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 51.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.inventory_item"}, "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "abandoned_checkout_url": {"type": "STRING", "index": 3, "name": "abandoned_checkout_url", "comment": null}, "applied_discount_amount": {"type": "INT64", "index": 4, "name": "applied_discount_amount", "comment": null}, "applied_discount_applicable": {"type": "INT64", "index": 5, "name": "applied_discount_applicable", "comment": null}, "applied_discount_description": {"type": "INT64", "index": 6, "name": "applied_discount_description", "comment": null}, "applied_discount_non_applicable_reason": {"type": "INT64", "index": 7, "name": "applied_discount_non_applicable_reason", "comment": null}, "applied_discount_title": {"type": "INT64", "index": 8, "name": "applied_discount_title", "comment": null}, "applied_discount_value": {"type": "INT64", "index": 9, "name": "applied_discount_value", "comment": null}, "applied_discount_value_type": {"type": "INT64", "index": 10, "name": "applied_discount_value_type", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 11, "name": "billing_address_address_1", "comment": null}, "billing_address_address_0": {"type": "STRING", "index": 12, "name": "billing_address_address_0", "comment": null}, "billing_address_city": {"type": "STRING", "index": 13, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "INT64", "index": 14, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 15, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 16, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 17, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 18, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "FLOAT64", "index": 19, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "FLOAT64", "index": 20, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 21, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 22, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 23, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "STRING", "index": 24, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "INT64", "index": 25, "name": "billing_address_zip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 26, "name": "buyer_accepts_marketing", "comment": null}, "cart_token": {"type": "STRING", "index": 27, "name": "cart_token", "comment": null}, "closed_at": {"type": "TIMESTAMP", "index": 28, "name": "closed_at", "comment": null}, "completed_at": {"type": "INT64", "index": 29, "name": "completed_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 30, "name": "created_at", "comment": null}, "credit_card_first_name": {"type": "INT64", "index": 31, "name": "credit_card_first_name", "comment": null}, "credit_card_last_name": {"type": "INT64", "index": 32, "name": "credit_card_last_name", "comment": null}, "credit_card_month": {"type": "INT64", "index": 33, "name": "credit_card_month", "comment": null}, "credit_card_number": {"type": "INT64", "index": 34, "name": "credit_card_number", "comment": null}, "credit_card_verification_value": {"type": "INT64", "index": 35, "name": "credit_card_verification_value", "comment": null}, "credit_card_year": {"type": "INT64", "index": 36, "name": "credit_card_year", "comment": null}, "currency": {"type": "STRING", "index": 37, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 38, "name": "customer_id", "comment": null}, "customer_locale": {"type": "STRING", "index": 39, "name": "customer_locale", "comment": null}, "device_id": {"type": "INT64", "index": 40, "name": "device_id", "comment": null}, "email": {"type": "STRING", "index": 41, "name": "email", "comment": null}, "gateway": {"type": "STRING", "index": 42, "name": "gateway", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 43, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 44, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 45, "name": "name", "comment": null}, "note": {"type": "INT64", "index": 46, "name": "note", "comment": null}, "phone": {"type": "INT64", "index": 47, "name": "phone", "comment": null}, "referring_site": {"type": "STRING", "index": 48, "name": "referring_site", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 49, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_0": {"type": "STRING", "index": 50, "name": "shipping_address_address_0", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 51, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "INT64", "index": 52, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 53, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 54, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 55, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 56, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "FLOAT64", "index": 57, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "FLOAT64", "index": 58, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 59, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 60, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 61, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "STRING", "index": 62, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 63, "name": "shipping_address_zip", "comment": null}, "shipping_line": {"type": "INT64", "index": 64, "name": "shipping_line", "comment": null}, "shipping_rate_id": {"type": "INT64", "index": 65, "name": "shipping_rate_id", "comment": null}, "shipping_rate_price": {"type": "INT64", "index": 66, "name": "shipping_rate_price", "comment": null}, "shipping_rate_title": {"type": "INT64", "index": 67, "name": "shipping_rate_title", "comment": null}, "source": {"type": "INT64", "index": 68, "name": "source", "comment": null}, "source_identifier": {"type": "INT64", "index": 69, "name": "source_identifier", "comment": null}, "source_name": {"type": "STRING", "index": 70, "name": "source_name", "comment": null}, "source_url": {"type": "INT64", "index": 71, "name": "source_url", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 72, "name": "subtotal_price", "comment": null}, "taxes_included": {"type": "BOOL", "index": 73, "name": "taxes_included", "comment": null}, "token": {"type": "STRING", "index": 74, "name": "token", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 75, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 76, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "FLOAT64", "index": 77, "name": "total_price", "comment": null}, "total_tax": {"type": "FLOAT64", "index": 78, "name": "total_tax", "comment": null}, "total_weight": {"type": "INT64", "index": 79, "name": "total_weight", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 80, "name": "updated_at", "comment": null}, "user_id": {"type": "INT64", "index": 81, "name": "user_id", "comment": null}, "note_attribute_littledata_updated_at": {"type": "INT64", "index": 82, "name": "note_attribute_littledata_updated_at", "comment": null}, "note_attribute_segment_client_id": {"type": "STRING", "index": 83, "name": "note_attribute_segment_client_id", "comment": null}, "billing_address_id": {"type": "INT64", "index": 84, "name": "billing_address_id", "comment": null}, "billing_address_is_default": {"type": "INT64", "index": 85, "name": "billing_address_is_default", "comment": null}, "presentment_currency": {"type": "STRING", "index": 86, "name": "presentment_currency", "comment": null}, "shipping_address_id": {"type": "INT64", "index": 87, "name": "shipping_address_id", "comment": null}, "shipping_address_is_default": {"type": "INT64", "index": 88, "name": "shipping_address_is_default", "comment": null}, "total_duties": {"type": "INT64", "index": 89, "name": "total_duties", "comment": null}, "note_attribute_email_client_id": {"type": "INT64", "index": 90, "name": "note_attribute_email_client_id", "comment": null}, "note_attributes": {"type": "STRING", "index": 91, "name": "note_attributes", "comment": null}, "note_attribute_google_client_id": {"type": "INT64", "index": 92, "name": "note_attribute_google_client_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 93, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1678.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout"}, "seed.shopify_holistic_reporting_integration_tests.order_url_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_url_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"key": {"type": "STRING", "index": 1, "name": "key", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 102.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_url_tag"}, "seed.shopify_holistic_reporting_integration_tests.integration": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "integration", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "category": {"type": "STRING", "index": 2, "name": "category", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.integration"}, "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "api_client_id": {"type": "INT64", "index": 4, "name": "api_client_id", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 5, "name": "carrier_identifier", "comment": null}, "carrier_service_id": {"type": "INT64", "index": 6, "name": "carrier_service_id", "comment": null}, "code": {"type": "STRING", "index": 7, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 8, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "INT64", "index": 9, "name": "discounted_price", "comment": null}, "id": {"type": "STRING", "index": 10, "name": "id", "comment": null}, "markup": {"type": "STRING", "index": 11, "name": "markup", "comment": null}, "phone": {"type": "INT64", "index": 12, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 13, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 14, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 15, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 16, "name": "title", "comment": null}, "validation_context": {"type": "INT64", "index": 17, "name": "validation_context", "comment": null}, "delivery_expectation_range": {"type": "INT64", "index": 18, "name": "delivery_expectation_range", "comment": null}, "delivery_expectation_type": {"type": "INT64", "index": 19, "name": "delivery_expectation_type", "comment": null}, "original_shop_markup": {"type": "STRING", "index": 20, "name": "original_shop_markup", "comment": null}, "original_shop_price": {"type": "STRING", "index": 21, "name": "original_shop_price", "comment": null}, "presentment_title": {"type": "STRING", "index": 22, "name": "presentment_title", "comment": null}, "delivery_expectation_range_min": {"type": "INT64", "index": 23, "name": "delivery_expectation_range_min", "comment": null}, "delivery_expectation_range_max": {"type": "INT64", "index": 24, "name": "delivery_expectation_range_max", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 535.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout_shipping_line"}, "seed.shopify_holistic_reporting_integration_tests.event": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "event", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "person_id": {"type": "STRING", "index": 2, "name": "person_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "uuid": {"type": "STRING", "index": 6, "name": "uuid", "comment": null}, "datetime": {"type": "TIMESTAMP", "index": 7, "name": "datetime", "comment": null}, "timestamp": {"type": "TIMESTAMP", "index": 8, "name": "timestamp", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 9, "name": "_fivetran_deleted", "comment": null}, "metric_id": {"type": "STRING", "index": 10, "name": "metric_id", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "_variation": {"type": "STRING", "index": 12, "name": "_variation", "comment": null}, "property_value": {"type": "INT64", "index": 13, "name": "property_value", "comment": null}, "property_source_name": {"type": "INT64", "index": 14, "name": "property_source_name", "comment": null}, "property_extra": {"type": "INT64", "index": 15, "name": "property_extra", "comment": null}, "property_shipping_rate": {"type": "INT64", "index": 16, "name": "property_shipping_rate", "comment": null}, "property_items": {"type": "INT64", "index": 17, "name": "property_items", "comment": null}, "property_tags": {"type": "INT64", "index": 18, "name": "property_tags", "comment": null}, "property_item_count": {"type": "INT64", "index": 19, "name": "property_item_count", "comment": null}, "property_collections": {"type": "INT64", "index": 20, "name": "property_collections", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}, "property_currency_code": {"type": "INT64", "index": 22, "name": "property_currency_code", "comment": null}, "property_product_id": {"type": "INT64", "index": 23, "name": "property_product_id", "comment": null}, "property_quantity": {"type": "INT64", "index": 24, "name": "property_quantity", "comment": null}, "property_name": {"type": "INT64", "index": 25, "name": "property_name", "comment": null}, "property_variant_option_title": {"type": "INT64", "index": 26, "name": "property_variant_option_title", "comment": null}, "property_sku": {"type": "INT64", "index": 27, "name": "property_sku", "comment": null}, "property_variant_name": {"type": "INT64", "index": 28, "name": "property_variant_name", "comment": null}, "property_vendor": {"type": "INT64", "index": 29, "name": "property_vendor", "comment": null}, "property_event_id": {"type": "STRING", "index": 30, "name": "property_event_id", "comment": null}, "property_total_discounts": {"type": "INT64", "index": 31, "name": "property_total_discounts", "comment": null}, "property_attribution": {"type": "INT64", "index": 32, "name": "property_attribution", "comment": null}, "property_discount_codes": {"type": "INT64", "index": 33, "name": "property_discount_codes", "comment": null}, "property_fulfillment_hours": {"type": "INT64", "index": 34, "name": "property_fulfillment_hours", "comment": null}, "property_fulfillment_status": {"type": "INT64", "index": 35, "name": "property_fulfillment_status", "comment": null}, "property_subject": {"type": "STRING", "index": 36, "name": "property_subject", "comment": null}, "property_title": {"type": "INT64", "index": 37, "name": "property_title", "comment": null}, "property_message_interaction": {"type": "INT64", "index": 38, "name": "property_message_interaction", "comment": null}, "property_url": {"type": "INT64", "index": 39, "name": "property_url", "comment": null}, "property_shipment_type": {"type": "INT64", "index": 40, "name": "property_shipment_type", "comment": null}, "property_courier_name": {"type": "INT64", "index": 41, "name": "property_courier_name", "comment": null}, "property_current_status": {"type": "INT64", "index": 42, "name": "property_current_status", "comment": null}, "property_tracking_ship_date": {"type": "INT64", "index": 43, "name": "property_tracking_ship_date", "comment": null}, "property_tracking_postal_code": {"type": "INT64", "index": 44, "name": "property_tracking_postal_code", "comment": null}, "property_shipment_package_count": {"type": "INT64", "index": 45, "name": "property_shipment_package_count", "comment": null}, "property_campaign_name": {"type": "STRING", "index": 46, "name": "property_campaign_name", "comment": null}, "property_cohort_message_send_cohort": {"type": "STRING", "index": 47, "name": "property_cohort_message_send_cohort", "comment": null}, "property_email_domain": {"type": "STRING", "index": 48, "name": "property_email_domain", "comment": null}, "property_bounce_type": {"type": "INT64", "index": 49, "name": "property_bounce_type", "comment": null}, "property_client_type": {"type": "INT64", "index": 50, "name": "property_client_type", "comment": null}, "property_client_os": {"type": "INT64", "index": 51, "name": "property_client_os", "comment": null}, "property_client_name": {"type": "INT64", "index": 52, "name": "property_client_name", "comment": null}, "property_client_os_family": {"type": "INT64", "index": 53, "name": "property_client_os_family", "comment": null}, "property_client_canonical": {"type": "INT64", "index": 54, "name": "property_client_canonical", "comment": null}, "property_page": {"type": "INT64", "index": 55, "name": "property_page", "comment": null}, "property_is_session_activity": {"type": "INT64", "index": 56, "name": "property_is_session_activity", "comment": null}, "property_os": {"type": "INT64", "index": 57, "name": "property_os", "comment": null}, "property_session_end": {"type": "INT64", "index": 58, "name": "property_session_end", "comment": null}, "property_browser": {"type": "INT64", "index": 59, "name": "property_browser", "comment": null}, "property_list": {"type": "INT64", "index": 60, "name": "property_list", "comment": null}, "property_compare_at_price": {"type": "INT64", "index": 61, "name": "property_compare_at_price", "comment": null}, "property_price": {"type": "INT64", "index": 62, "name": "property_price", "comment": null}, "property_image_url": {"type": "INT64", "index": 63, "name": "property_image_url", "comment": null}, "property_brand": {"type": "INT64", "index": 64, "name": "property_brand", "comment": null}, "property_categories": {"type": "INT64", "index": 65, "name": "property_categories", "comment": null}, "property_variant_option_size": {"type": "INT64", "index": 66, "name": "property_variant_option_size", "comment": null}, "property_attribute_workout": {"type": "INT64", "index": 67, "name": "property_attribute_workout", "comment": null}, "property_attribute_age": {"type": "INT64", "index": 68, "name": "property_attribute_age", "comment": null}, "property_attribute_fitness_goal": {"type": "INT64", "index": 69, "name": "property_attribute_fitness_goal", "comment": null}, "property_attribute_breakfast": {"type": "INT64", "index": 70, "name": "property_attribute_breakfast", "comment": null}, "property_variant_option_type": {"type": "INT64", "index": 71, "name": "property_variant_option_type", "comment": null}, "property_cohort_variation_send_cohort": {"type": "STRING", "index": 72, "name": "property_cohort_variation_send_cohort", "comment": null}, "property_method": {"type": "INT64", "index": 73, "name": "property_method", "comment": null}, "property_to_number": {"type": "INT64", "index": 74, "name": "property_to_number", "comment": null}, "property_message_type": {"type": "INT64", "index": 75, "name": "property_message_type", "comment": null}, "property_from_number": {"type": "INT64", "index": 76, "name": "property_from_number", "comment": null}, "property_message_format": {"type": "INT64", "index": 77, "name": "property_message_format", "comment": null}, "property_message_name": {"type": "INT64", "index": 78, "name": "property_message_name", "comment": null}, "property_carrier_delivery_status": {"type": "INT64", "index": 79, "name": "property_carrier_delivery_status", "comment": null}, "property_failure_type": {"type": "INT64", "index": 80, "name": "property_failure_type", "comment": null}, "property_failure_source": {"type": "INT64", "index": 81, "name": "property_failure_source", "comment": null}, "property_message_body": {"type": "INT64", "index": 82, "name": "property_message_body", "comment": null}, "property_email": {"type": "INT64", "index": 83, "name": "property_email", "comment": null}, "property_attribute_kit": {"type": "INT64", "index": 84, "name": "property_attribute_kit", "comment": null}, "property_vendor_error_code": {"type": "INT64", "index": 85, "name": "property_vendor_error_code", "comment": null}, "property_ordr_details": {"type": "INT64", "index": 86, "name": "property_ordr_details", "comment": null}, "property_date_to_send_gift": {"type": "INT64", "index": 87, "name": "property_date_to_send_gift", "comment": null}, "property_recipient_name": {"type": "INT64", "index": 88, "name": "property_recipient_name", "comment": null}, "property_attribute_facebook_order_retailer_id": {"type": "INT64", "index": 89, "name": "property_attribute_facebook_order_retailer_id", "comment": null}, "property_sender_s_name": {"type": "INT64", "index": 90, "name": "property_sender_s_name", "comment": null}, "property_attribute_kitid": {"type": "INT64", "index": 91, "name": "property_attribute_kitid", "comment": null}, "property_conversation_id": {"type": "INT64", "index": 92, "name": "property_conversation_id", "comment": null}, "property_conversation_link": {"type": "INT64", "index": 93, "name": "property_conversation_link", "comment": null}, "property_conversation_channel": {"type": "INT64", "index": 94, "name": "property_conversation_channel", "comment": null}, "property_rating": {"type": "INT64", "index": 95, "name": "property_rating", "comment": null}, "property_score": {"type": "INT64", "index": 96, "name": "property_score", "comment": null}, "property_from_phone_region": {"type": "INT64", "index": 97, "name": "property_from_phone_region", "comment": null}, "property_shipment_carrier": {"type": "INT64", "index": 98, "name": "property_shipment_carrier", "comment": null}, "property_shipment_status": {"type": "INT64", "index": 99, "name": "property_shipment_status", "comment": null}, "property_to_phone_region": {"type": "INT64", "index": 100, "name": "property_to_phone_region", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 509.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.event"}, "seed.shopify_holistic_reporting_integration_tests.customer_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "customer_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 90.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.customer_tag"}, "seed.shopify_holistic_reporting_integration_tests.product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title": {"type": "STRING", "index": 2, "name": "title", "comment": null}, "handle": {"type": "STRING", "index": 3, "name": "handle", "comment": null}, "product_type": {"type": "STRING", "index": 4, "name": "product_type", "comment": null}, "vendor": {"type": "STRING", "index": 5, "name": "vendor", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 8, "name": "published_at", "comment": null}, "published_scope": {"type": "STRING", "index": 9, "name": "published_scope", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 10, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 549.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.product"}, "seed.shopify_holistic_reporting_integration_tests.order": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_table", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "note": {"type": "STRING", "index": 2, "name": "note", "comment": null}, "email": {"type": "STRING", "index": 3, "name": "email", "comment": null}, "taxes_included": {"type": "BOOL", "index": 4, "name": "taxes_included", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 6, "name": "subtotal_price", "comment": null}, "total_tax": {"type": "INT64", "index": 7, "name": "total_tax", "comment": null}, "total_price": {"type": "FLOAT64", "index": 8, "name": "total_price", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 12, "name": "shipping_address_name", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 13, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 14, "name": "shipping_address_last_name", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 15, "name": "shipping_address_company", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 16, "name": "shipping_address_phone", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 17, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 18, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 19, "name": "shipping_address_city", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 20, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 21, "name": "shipping_address_country_code", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 22, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 23, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 24, "name": "shipping_address_zip", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 25, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 26, "name": "shipping_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 27, "name": "billing_address_name", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 28, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 29, "name": "billing_address_last_name", "comment": null}, "billing_address_company": {"type": "STRING", "index": 30, "name": "billing_address_company", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 31, "name": "billing_address_phone", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_country": {"type": "STRING", "index": 35, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 36, "name": "billing_address_country_code", "comment": null}, "billing_address_province": {"type": "STRING", "index": 37, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 38, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 39, "name": "billing_address_zip", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 41, "name": "billing_address_longitude", "comment": null}, "customer_id": {"type": "INT64", "index": 42, "name": "customer_id", "comment": null}, "location_id": {"type": "INT64", "index": 43, "name": "location_id", "comment": null}, "user_id": {"type": "INT64", "index": 44, "name": "user_id", "comment": null}, "number": {"type": "INT64", "index": 45, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 46, "name": "order_number", "comment": null}, "financial_status": {"type": "STRING", "index": 47, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 48, "name": "fulfillment_status", "comment": null}, "processed_at": {"type": "TIMESTAMP", "index": 49, "name": "processed_at", "comment": null}, "processing_method": {"type": "STRING", "index": 50, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 51, "name": "referring_site", "comment": null}, "cancel_reason": {"type": "INT64", "index": 52, "name": "cancel_reason", "comment": null}, "cancelled_at": {"type": "TIMESTAMP", "index": 53, "name": "cancelled_at", "comment": null}, "closed_at": {"type": "STRING", "index": 54, "name": "closed_at", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 55, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 56, "name": "total_line_items_price", "comment": null}, "total_weight": {"type": "INT64", "index": 57, "name": "total_weight", "comment": null}, "source_name": {"type": "STRING", "index": 58, "name": "source_name", "comment": null}, "browser_ip": {"type": "STRING", "index": 59, "name": "browser_ip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 60, "name": "buyer_accepts_marketing", "comment": null}, "token": {"type": "STRING", "index": 61, "name": "token", "comment": null}, "cart_token": {"type": "STRING", "index": 62, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 63, "name": "checkout_token", "comment": null}, "test": {"type": "BOOL", "index": 64, "name": "test", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 65, "name": "landing_site_base_url", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 66, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3848.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order"}, "seed.shopify_holistic_reporting_integration_tests.collection": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "collection", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "handle": {"type": "INT64", "index": 4, "name": "handle", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 5, "name": "published_at", "comment": null}, "published_scope": {"type": "INT64", "index": 6, "name": "published_scope", "comment": null}, "title": {"type": "STRING", "index": 7, "name": "title", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "disjunctive": {"type": "BOOL", "index": 9, "name": "disjunctive", "comment": null}, "rules": {"type": "INT64", "index": 10, "name": "rules", "comment": null}, "sort_order": {"type": "INT64", "index": 11, "name": "sort_order", "comment": null}, "template_suffix": {"type": "INT64", "index": 12, "name": "template_suffix", "comment": null}, "body_html": {"type": "INT64", "index": 13, "name": "body_html", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 75.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.collection"}, "seed.shopify_holistic_reporting_integration_tests.customer": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "customer", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "first_name": {"type": "STRING", "index": 2, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 3, "name": "last_name", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "phone": {"type": "INT64", "index": 5, "name": "phone", "comment": null}, "state": {"type": "STRING", "index": 6, "name": "state", "comment": null}, "orders_count": {"type": "INT64", "index": 7, "name": "orders_count", "comment": null}, "total_spent": {"type": "FLOAT64", "index": 8, "name": "total_spent", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "accepts_marketing": {"type": "BOOL", "index": 11, "name": "accepts_marketing", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 12, "name": "tax_exempt", "comment": null}, "verified_email": {"type": "BOOL", "index": 13, "name": "verified_email", "comment": null}, "default_address_id": {"type": "INT64", "index": 14, "name": "default_address_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 512.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.customer"}, "seed.shopify_holistic_reporting_integration_tests.order_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 97.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_tag"}, "seed.shopify_holistic_reporting_integration_tests.product_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 189.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.product_tag"}, "seed.shopify_holistic_reporting_integration_tests.fulfillment_event": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "fulfillment_event", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "address_1": {"type": "INT64", "index": 3, "name": "address_1", "comment": null}, "city": {"type": "STRING", "index": 4, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 5, "name": "country", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "estimated_delivery_at": {"type": "STRING", "index": 7, "name": "estimated_delivery_at", "comment": null}, "fulfillment_id": {"type": "INT64", "index": 8, "name": "fulfillment_id", "comment": null}, "happened_at": {"type": "STRING", "index": 9, "name": "happened_at", "comment": null}, "latitude": {"type": "FLOAT64", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 11, "name": "longitude", "comment": null}, "message": {"type": "STRING", "index": 12, "name": "message", "comment": null}, "order_id": {"type": "INT64", "index": 13, "name": "order_id", "comment": null}, "province": {"type": "STRING", "index": 14, "name": "province", "comment": null}, "shop_id": {"type": "INT64", "index": 15, "name": "shop_id", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "updated_at": {"type": "STRING", "index": 17, "name": "updated_at", "comment": null}, "zip": {"type": "STRING", "index": 18, "name": "zip", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 19, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 926.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.fulfillment_event"}, "seed.shopify_holistic_reporting_integration_tests.flow": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "flow", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 3, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "customer_filter": {"type": "STRING", "index": 6, "name": "customer_filter", "comment": null}, "trigger": {"type": "STRING", "index": 7, "name": "trigger", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 8, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 606.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.flow"}, "seed.shopify_holistic_reporting_integration_tests.shop": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "shop", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "STRING", "index": 5, "name": "address_2", "comment": null}, "auto_configure_tax_inclusivity": {"type": "INT64", "index": 6, "name": "auto_configure_tax_inclusivity", "comment": null}, "checkout_api_supported": {"type": "BOOL", "index": 7, "name": "checkout_api_supported", "comment": null}, "city": {"type": "STRING", "index": 8, "name": "city", "comment": null}, "cookie_consent_level": {"type": "STRING", "index": 9, "name": "cookie_consent_level", "comment": null}, "country": {"type": "STRING", "index": 10, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 11, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 12, "name": "country_name", "comment": null}, "county_taxes": {"type": "BOOL", "index": 13, "name": "county_taxes", "comment": null}, "created_at": {"type": "STRING", "index": 14, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 15, "name": "currency", "comment": null}, "customer_email": {"type": "STRING", "index": 16, "name": "customer_email", "comment": null}, "domain": {"type": "STRING", "index": 17, "name": "domain", "comment": null}, "eligible_for_card_reader_giveaway": {"type": "BOOL", "index": 18, "name": "eligible_for_card_reader_giveaway", "comment": null}, "eligible_for_payments": {"type": "BOOL", "index": 19, "name": "eligible_for_payments", "comment": null}, "email": {"type": "STRING", "index": 20, "name": "email", "comment": null}, "enabled_presentment_currencies": {"type": "STRING", "index": 21, "name": "enabled_presentment_currencies", "comment": null}, "force_ssl": {"type": "BOOL", "index": 22, "name": "force_ssl", "comment": null}, "google_apps_domain": {"type": "INT64", "index": 23, "name": "google_apps_domain", "comment": null}, "google_apps_login_enabled": {"type": "BOOL", "index": 24, "name": "google_apps_login_enabled", "comment": null}, "has_discounts": {"type": "BOOL", "index": 25, "name": "has_discounts", "comment": null}, "has_gift_cards": {"type": "BOOL", "index": 26, "name": "has_gift_cards", "comment": null}, "has_storefront": {"type": "BOOL", "index": 27, "name": "has_storefront", "comment": null}, "iana_timezone": {"type": "STRING", "index": 28, "name": "iana_timezone", "comment": null}, "latitude": {"type": "FLOAT64", "index": 29, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 30, "name": "longitude", "comment": null}, "money_format": {"type": "STRING", "index": 31, "name": "money_format", "comment": null}, "money_in_emails_format": {"type": "STRING", "index": 32, "name": "money_in_emails_format", "comment": null}, "money_with_currency_format": {"type": "STRING", "index": 33, "name": "money_with_currency_format", "comment": null}, "money_with_currency_in_emails_format": {"type": "STRING", "index": 34, "name": "money_with_currency_in_emails_format", "comment": null}, "multi_location_enabled": {"type": "BOOL", "index": 35, "name": "multi_location_enabled", "comment": null}, "myshopify_domain": {"type": "STRING", "index": 36, "name": "myshopify_domain", "comment": null}, "name": {"type": "STRING", "index": 37, "name": "name", "comment": null}, "password_enabled": {"type": "BOOL", "index": 38, "name": "password_enabled", "comment": null}, "phone": {"type": "INT64", "index": 39, "name": "phone", "comment": null}, "plan_display_name": {"type": "STRING", "index": 40, "name": "plan_display_name", "comment": null}, "plan_name": {"type": "STRING", "index": 41, "name": "plan_name", "comment": null}, "pre_launch_enabled": {"type": "BOOL", "index": 42, "name": "pre_launch_enabled", "comment": null}, "primary_locale": {"type": "STRING", "index": 43, "name": "primary_locale", "comment": null}, "primary_location_id": {"type": "INT64", "index": 44, "name": "primary_location_id", "comment": null}, "province": {"type": "STRING", "index": 45, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 46, "name": "province_code", "comment": null}, "requires_extra_payments_agreement": {"type": "BOOL", "index": 47, "name": "requires_extra_payments_agreement", "comment": null}, "setup_required": {"type": "BOOL", "index": 48, "name": "setup_required", "comment": null}, "shop_owner": {"type": "STRING", "index": 49, "name": "shop_owner", "comment": null}, "source": {"type": "INT64", "index": 50, "name": "source", "comment": null}, "tax_shipping": {"type": "INT64", "index": 51, "name": "tax_shipping", "comment": null}, "taxes_included": {"type": "BOOL", "index": 52, "name": "taxes_included", "comment": null}, "timezone": {"type": "STRING", "index": 53, "name": "timezone", "comment": null}, "updated_at": {"type": "STRING", "index": 54, "name": "updated_at", "comment": null}, "visitor_tracking_consent_preference": {"type": "STRING", "index": 55, "name": "visitor_tracking_consent_preference", "comment": null}, "weight_unit": {"type": "STRING", "index": 56, "name": "weight_unit", "comment": null}, "zip": {"type": "INT64", "index": 57, "name": "zip", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 493.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.shop"}, "seed.shopify_holistic_reporting_integration_tests.transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "authorization": {"type": "STRING", "index": 5, "name": "authorization", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 7, "name": "processed_at", "comment": null}, "device_id": {"type": "INT64", "index": 8, "name": "device_id", "comment": null}, "gateway": {"type": "STRING", "index": 9, "name": "gateway", "comment": null}, "source_name": {"type": "STRING", "index": 10, "name": "source_name", "comment": null}, "message": {"type": "STRING", "index": 11, "name": "message", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "location_id": {"type": "INT64", "index": 13, "name": "location_id", "comment": null}, "parent_id": {"type": "INT64", "index": 14, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "STRING", "index": 15, "name": "payment_avs_result_code", "comment": null}, "kind": {"type": "STRING", "index": 16, "name": "kind", "comment": null}, "currency_exchange_id": {"type": "INT64", "index": 17, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "INT64", "index": 18, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "INT64", "index": 19, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "INT64", "index": 20, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "INT64", "index": 21, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "INT64", "index": 22, "name": "error_code", "comment": null}, "status": {"type": "STRING", "index": 23, "name": "status", "comment": null}, "test": {"type": "BOOL", "index": 24, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 25, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 26, "name": "_fivetran_synced", "comment": null}, "payment_credit_card_bin": {"type": "INT64", "index": 27, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "INT64", "index": 28, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "INT64", "index": 29, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "INT64", "index": 30, "name": "payment_credit_card_company", "comment": null}, "receipt": {"type": "STRING", "index": 31, "name": "receipt", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1045.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.transaction"}, "seed.shopify_holistic_reporting_integration_tests.location": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "location", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "active": {"type": "BOOL", "index": 3, "name": "active", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 5, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 6, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 7, "name": "country", "comment": null}, "created_at": {"type": "STRING", "index": 8, "name": "created_at", "comment": null}, "legacy": {"type": "BOOL", "index": 9, "name": "legacy", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "phone": {"type": "INT64", "index": 11, "name": "phone", "comment": null}, "province": {"type": "STRING", "index": 12, "name": "province", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "zip": {"type": "INT64", "index": 14, "name": "zip", "comment": null}, "country_code": {"type": "STRING", "index": 15, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 16, "name": "country_name", "comment": null}, "localized_country_name": {"type": "STRING", "index": 17, "name": "localized_country_name", "comment": null}, "localized_province_name": {"type": "STRING", "index": 18, "name": "localized_province_name", "comment": null}, "province_code": {"type": "STRING", "index": 19, "name": "province_code", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 20, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 293.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.location"}, "seed.shopify_holistic_reporting_integration_tests.product_variant": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_variant", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "INT64", "index": 3, "name": "inventory_item_id", "comment": null}, "title": {"type": "STRING", "index": 4, "name": "title", "comment": null}, "price": {"type": "INT64", "index": 5, "name": "price", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "position": {"type": "INT64", "index": 7, "name": "position", "comment": null}, "inventory_policy": {"type": "STRING", "index": 8, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "INT64", "index": 9, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 10, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "STRING", "index": 11, "name": "inventory_management", "comment": null}, "created_at": {"type": "STRING", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "taxable": {"type": "BOOL", "index": 14, "name": "taxable", "comment": null}, "barcode": {"type": "INT64", "index": 15, "name": "barcode", "comment": null}, "grams": {"type": "INT64", "index": 16, "name": "grams", "comment": null}, "image_id": {"type": "INT64", "index": 17, "name": "image_id", "comment": null}, "inventory_quantity": {"type": "INT64", "index": 18, "name": "inventory_quantity", "comment": null}, "weight": {"type": "INT64", "index": 19, "name": "weight", "comment": null}, "weight_unit": {"type": "STRING", "index": 20, "name": "weight_unit", "comment": null}, "old_inventory_quantity": {"type": "INT64", "index": 21, "name": "old_inventory_quantity", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 22, "name": "requires_shipping", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 23, "name": "_fivetran_synced", "comment": null}, "option_2": {"type": "INT64", "index": 24, "name": "option_2", "comment": null}, "tax_code": {"type": "STRING", "index": 25, "name": "tax_code", "comment": null}, "option_3": {"type": "INT64", "index": 26, "name": "option_3", "comment": null}, "option_1": {"type": "STRING", "index": 27, "name": "option_1", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 948.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.product_variant"}, "seed.shopify_holistic_reporting_integration_tests.order_line_refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_line_refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "restock_type": {"type": "INT64", "index": 4, "name": "restock_type", "comment": null}, "quantity": {"type": "INT64", "index": 5, "name": "quantity", "comment": null}, "order_line_id": {"type": "INT64", "index": 6, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_line_refund"}, "seed.shopify_holistic_reporting_integration_tests.order_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 164.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_discount_code"}, "seed.shopify_holistic_reporting_integration_tests.inventory_level": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "inventory_level", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "available": {"type": "INT64", "index": 4, "name": "available", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 5, "name": "updated_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.inventory_level"}, "seed.shopify_holistic_reporting_integration_tests.product_image": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_image", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 3, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "alt": {"type": "INT64", "index": 5, "name": "alt", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "height": {"type": "INT64", "index": 7, "name": "height", "comment": null}, "position": {"type": "INT64", "index": 8, "name": "position", "comment": null}, "src": {"type": "STRING", "index": 9, "name": "src", "comment": null}, "updated_at": {"type": "STRING", "index": 10, "name": "updated_at", "comment": null}, "width": {"type": "INT64", "index": 11, "name": "width", "comment": null}, "is_default": {"type": "BOOL", "index": 12, "name": "is_default", "comment": null}, "variant_ids": {"type": "STRING", "index": 13, "name": "variant_ids", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 586.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.product_image"}, "seed.shopify_holistic_reporting_integration_tests.collection_product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "collection_product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"collection_id": {"type": "INT64", "index": 1, "name": "collection_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.collection_product"}, "seed.shopify_holistic_reporting_integration_tests.order_note_attribute": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_note_attribute", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"name": {"type": "STRING", "index": 1, "name": "name", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 264.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_note_attribute"}, "seed.shopify_holistic_reporting_integration_tests.price_rule": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "price_rule", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "allocation_limit": {"type": "INT64", "index": 3, "name": "allocation_limit", "comment": null}, "allocation_method": {"type": "STRING", "index": 4, "name": "allocation_method", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "customer_selection": {"type": "STRING", "index": 6, "name": "customer_selection", "comment": null}, "ends_at": {"type": "STRING", "index": 7, "name": "ends_at", "comment": null}, "once_per_customer": {"type": "BOOL", "index": 8, "name": "once_per_customer", "comment": null}, "prerequisite_quantity_range": {"type": "INT64", "index": 9, "name": "prerequisite_quantity_range", "comment": null}, "prerequisite_shipping_price_range": {"type": "INT64", "index": 10, "name": "prerequisite_shipping_price_range", "comment": null}, "prerequisite_subtotal_range": {"type": "FLOAT64", "index": 11, "name": "prerequisite_subtotal_range", "comment": null}, "quantity_ratio_entitled_quantity": {"type": "INT64", "index": 12, "name": "quantity_ratio_entitled_quantity", "comment": null}, "quantity_ratio_prerequisite_quantity": {"type": "INT64", "index": 13, "name": "quantity_ratio_prerequisite_quantity", "comment": null}, "starts_at": {"type": "STRING", "index": 14, "name": "starts_at", "comment": null}, "target_selection": {"type": "STRING", "index": 15, "name": "target_selection", "comment": null}, "target_type": {"type": "STRING", "index": 16, "name": "target_type", "comment": null}, "title": {"type": "STRING", "index": 17, "name": "title", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}, "usage_limit": {"type": "INT64", "index": 19, "name": "usage_limit", "comment": null}, "value": {"type": "FLOAT64", "index": 20, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 21, "name": "value_type", "comment": null}, "prerequisite_to_entitlement_purchase_prerequisite_amount": {"type": "INT64", "index": 22, "name": "prerequisite_to_entitlement_purchase_prerequisite_amount", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 573.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.price_rule"}, "seed.shopify_holistic_reporting_integration_tests.tender_transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "tender_transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "payment_details_credit_card_company": {"type": "INT64", "index": 6, "name": "payment_details_credit_card_company", "comment": null}, "payment_details_credit_card_number": {"type": "INT64", "index": 7, "name": "payment_details_credit_card_number", "comment": null}, "payment_method": {"type": "STRING", "index": 8, "name": "payment_method", "comment": null}, "processed_at": {"type": "STRING", "index": 9, "name": "processed_at", "comment": null}, "remote_reference": {"type": "INT64", "index": 10, "name": "remote_reference", "comment": null}, "test": {"type": "BOOL", "index": 11, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 12, "name": "user_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 365.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.tender_transaction"}, "seed.shopify_holistic_reporting_integration_tests.campaign": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "from_name": {"type": "STRING", "index": 2, "name": "from_name", "comment": null}, "status_id": {"type": "INT64", "index": 3, "name": "status_id", "comment": null}, "is_segmented": {"type": "BOOL", "index": 4, "name": "is_segmented", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "status_label": {"type": "STRING", "index": 6, "name": "status_label", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "subject": {"type": "STRING", "index": 8, "name": "subject", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 11, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 12, "name": "updated", "comment": null}, "send_time": {"type": "STRING", "index": 13, "name": "send_time", "comment": null}, "sent_at": {"type": "STRING", "index": 14, "name": "sent_at", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 15, "name": "_fivetran_deleted", "comment": null}, "email_template_id": {"type": "STRING", "index": 16, "name": "email_template_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 362.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.campaign"}, "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "discount_id": {"type": "INT64", "index": 5, "name": "discount_id", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "type": {"type": "STRING", "index": 8, "name": "type", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 9, "name": "updated_at", "comment": null}, "usage_count": {"type": "INT64", "index": 10, "name": "usage_count", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 157.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.abandoned_checkout_discount_code"}, "seed.shopify_holistic_reporting_integration_tests.metric": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "metric", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "integration_id": {"type": "STRING", "index": 3, "name": "integration_id", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 181.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.metric"}, "seed.shopify_holistic_reporting_integration_tests.tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_line_id": {"type": "INT64", "index": 2, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 805.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.tax_line"}, "seed.shopify_holistic_reporting_integration_tests.refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 3, "name": "processed_at", "comment": null}, "note": {"type": "STRING", "index": 4, "name": "note", "comment": null}, "restock": {"type": "BOOL", "index": 5, "name": "restock", "comment": null}, "user_id": {"type": "INT64", "index": 6, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "total_duties_set": {"type": "INT64", "index": 8, "name": "total_duties_set", "comment": null}, "order_id": {"type": "INT64", "index": 9, "name": "order_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 431.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.refund"}, "seed.shopify_holistic_reporting_integration_tests.order_shipping_tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_shipping_tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_shipping_line_id": {"type": "INT64", "index": 2, "name": "order_shipping_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 494.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_shipping_tax_line"}, "seed.shopify_holistic_reporting_integration_tests.order_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 4, "name": "carrier_identifier", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 6, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "FLOAT64", "index": 7, "name": "discounted_price", "comment": null}, "phone": {"type": "INT64", "index": 8, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 9, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 10, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 11, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 12, "name": "title", "comment": null}, "discounted_price_set": {"type": "STRING", "index": 13, "name": "discounted_price_set", "comment": null}, "price_set": {"type": "STRING", "index": 14, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 903.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_shipping_line"}, "seed.shopify_holistic_reporting_integration_tests.order_adjustment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_adjustment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "INT64", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "FLOAT64", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "STRING", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "STRING", "index": 7, "name": "reason", "comment": null}, "amount_set": {"type": "INT64", "index": 8, "name": "amount_set", "comment": null}, "tax_amount_set": {"type": "INT64", "index": 9, "name": "tax_amount_set", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 416.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_adjustment"}, "seed.shopify_holistic_reporting_integration_tests.fulfillment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "fulfillment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "location_id": {"type": "INT64", "index": 4, "name": "location_id", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "tracking_company": {"type": "INT64", "index": 7, "name": "tracking_company", "comment": null}, "tracking_number": {"type": "INT64", "index": 8, "name": "tracking_number", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 10, "name": "tracking_numbers", "comment": null}, "tracking_urls": {"type": "STRING", "index": 11, "name": "tracking_urls", "comment": null}, "shipment_status": {"type": "INT64", "index": 12, "name": "shipment_status", "comment": null}, "service": {"type": "STRING", "index": 13, "name": "service", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "receipt_authorization": {"type": "INT64", "index": 15, "name": "receipt_authorization", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 373.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.fulfillment"}, "seed.shopify_holistic_reporting_integration_tests.order_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 3, "name": "product_id", "comment": null}, "variant_id": {"type": "INT64", "index": 4, "name": "variant_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "vendor": {"type": "STRING", "index": 7, "name": "vendor", "comment": null}, "price": {"type": "FLOAT64", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "INT64", "index": 9, "name": "quantity", "comment": null}, "grams": {"type": "INT64", "index": 10, "name": "grams", "comment": null}, "sku": {"type": "STRING", "index": 11, "name": "sku", "comment": null}, "fulfillable_quantity": {"type": "INT64", "index": 12, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 13, "name": "fulfillment_service", "comment": null}, "gift_card": {"type": "BOOL", "index": 14, "name": "gift_card", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 15, "name": "requires_shipping", "comment": null}, "taxable": {"type": "BOOL", "index": 16, "name": "taxable", "comment": null}, "index": {"type": "INT64", "index": 17, "name": "index", "comment": null}, "total_discount": {"type": "INT64", "index": 18, "name": "total_discount", "comment": null}, "pre_tax_price": {"type": "INT64", "index": 19, "name": "pre_tax_price", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 20, "name": "fulfillment_status", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 727.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.order_line"}, "seed.shopify_holistic_reporting_integration_tests.discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "code": {"type": "STRING", "index": 3, "name": "code", "comment": null}, "created_at": {"type": "STRING", "index": 4, "name": "created_at", "comment": null}, "price_rule_id": {"type": "INT64", "index": 5, "name": "price_rule_id", "comment": null}, "updated_at": {"type": "STRING", "index": 6, "name": "updated_at", "comment": null}, "usage_count": {"type": "FLOAT64", "index": 7, "name": "usage_count", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 317.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.discount_code"}, "seed.shopify_holistic_reporting_integration_tests.person": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "person", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated": {"type": "STRING", "index": 2, "name": "updated", "comment": null}, "created": {"type": "STRING", "index": 3, "name": "created", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "address_1": {"type": "STRING", "index": 7, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 8, "name": "address_2", "comment": null}, "title": {"type": "INT64", "index": 9, "name": "title", "comment": null}, "timezone": {"type": "STRING", "index": 10, "name": "timezone", "comment": null}, "organization": {"type": "INT64", "index": 11, "name": "organization", "comment": null}, "region": {"type": "STRING", "index": 12, "name": "region", "comment": null}, "longitude": {"type": "FLOAT64", "index": 13, "name": "longitude", "comment": null}, "latitude": {"type": "FLOAT64", "index": 14, "name": "latitude", "comment": null}, "phone_number": {"type": "STRING", "index": 15, "name": "phone_number", "comment": null}, "country": {"type": "STRING", "index": 16, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 17, "name": "zip", "comment": null}, "city": {"type": "STRING", "index": 18, "name": "city", "comment": null}, "email": {"type": "STRING", "index": 19, "name": "email", "comment": null}, "custom_object": {"type": "STRING", "index": 20, "name": "custom_object", "comment": null}, "custom_email": {"type": "STRING", "index": 21, "name": "custom_email", "comment": null}, "custom_accepts_marketing": {"type": "BOOL", "index": 22, "name": "custom_accepts_marketing", "comment": null}, "custom_shopify_tags": {"type": "STRING", "index": 23, "name": "custom_shopify_tags", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 24, "name": "_fivetran_synced", "comment": null}, "custom_consent_form_id": {"type": "STRING", "index": 25, "name": "custom_consent_form_id", "comment": null}, "custom_source": {"type": "STRING", "index": 26, "name": "custom_source", "comment": null}, "custom_consent_method": {"type": "STRING", "index": 27, "name": "custom_consent_method", "comment": null}, "custom_consent": {"type": "INT64", "index": 28, "name": "custom_consent", "comment": null}, "custom_gift_giver_name": {"type": "INT64", "index": 29, "name": "custom_gift_giver_name", "comment": null}, "custom_state": {"type": "INT64", "index": 30, "name": "custom_state", "comment": null}, "custom_flow": {"type": "INT64", "index": 31, "name": "custom_flow", "comment": null}, "custom_gift_recipient_name": {"type": "INT64", "index": 32, "name": "custom_gift_recipient_name", "comment": null}, "custom_last_sign_in": {"type": "INT64", "index": 33, "name": "custom_last_sign_in", "comment": null}, "custom_consent_form_version": {"type": "INT64", "index": 34, "name": "custom_consent_form_version", "comment": null}, "custom_consent_timestamp": {"type": "INT64", "index": 35, "name": "custom_consent_timestamp", "comment": null}, "custom_mail_chimp_rating": {"type": "INT64", "index": 36, "name": "custom_mail_chimp_rating", "comment": null}, "custom_gift_recipient_email": {"type": "INT64", "index": 37, "name": "custom_gift_recipient_email", "comment": null}, "custom_gift_options": {"type": "INT64", "index": 38, "name": "custom_gift_options", "comment": null}, "custom_address": {"type": "INT64", "index": 39, "name": "custom_address", "comment": null}, "custom_subscription_expiration": {"type": "INT64", "index": 40, "name": "custom_subscription_expiration", "comment": null}, "custom_city": {"type": "INT64", "index": 41, "name": "custom_city", "comment": null}, "custom_address_line_2": {"type": "INT64", "index": 42, "name": "custom_address_line_2", "comment": null}, "custom_zipcode": {"type": "INT64", "index": 43, "name": "custom_zipcode", "comment": null}, "custom_expected_date_of_next_order": {"type": "STRING", "index": 44, "name": "custom_expected_date_of_next_order", "comment": null}, "custom_sms_attentive_signup": {"type": "INT64", "index": 45, "name": "custom_sms_attentive_signup", "comment": null}, "custom_phone": {"type": "INT64", "index": 46, "name": "custom_phone", "comment": null}, "custom_afterpay_order": {"type": "INT64", "index": 47, "name": "custom_afterpay_order", "comment": null}, "custom_phone_number_region": {"type": "STRING", "index": 48, "name": "custom_phone_number_region", "comment": null}, "custom_name": {"type": "INT64", "index": 49, "name": "custom_name", "comment": null}, "custom_referrer_name": {"type": "INT64", "index": 50, "name": "custom_referrer_name", "comment": null}, "custom_referrer_email": {"type": "INT64", "index": 51, "name": "custom_referrer_email", "comment": null}, "custom_birthday": {"type": "INT64", "index": 52, "name": "custom_birthday", "comment": null}, "custom_first_purchase_date_": {"type": "DATE", "index": 53, "name": "custom_first_purchase_date_", "comment": null}, "custom_unengaged": {"type": "INT64", "index": 54, "name": "custom_unengaged", "comment": null}, "custom_landing_page_tag": {"type": "INT64", "index": 55, "name": "custom_landing_page_tag", "comment": null}, "custom_fitness_goal": {"type": "INT64", "index": 56, "name": "custom_fitness_goal", "comment": null}, "custom_age": {"type": "INT64", "index": 57, "name": "custom_age", "comment": null}, "custom_workout": {"type": "INT64", "index": 58, "name": "custom_workout", "comment": null}, "custom_quiz": {"type": "INT64", "index": 59, "name": "custom_quiz", "comment": null}, "custom_breakfast": {"type": "INT64", "index": 60, "name": "custom_breakfast", "comment": null}, "custom_quiz_data": {"type": "INT64", "index": 61, "name": "custom_quiz_data", "comment": null}, "custom_raf_subscribe": {"type": "INT64", "index": 62, "name": "custom_raf_subscribe", "comment": null}, "custom_suppress": {"type": "INT64", "index": 63, "name": "custom_suppress", "comment": null}, "custom_sms_consent": {"type": "INT64", "index": 64, "name": "custom_sms_consent", "comment": null}, "custom_gift_option_dreambelt": {"type": "INT64", "index": 65, "name": "custom_gift_option_dreambelt", "comment": null}, "custom_gift_option_starter": {"type": "INT64", "index": 66, "name": "custom_gift_option_starter", "comment": null}, "custom_gift_option_machine": {"type": "INT64", "index": 67, "name": "custom_gift_option_machine", "comment": null}, "custom_landingpage_tag": {"type": "INT64", "index": 68, "name": "custom_landingpage_tag", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 546.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.person"}, "seed.shopify_holistic_reporting_integration_tests.metafield": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "metafield", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "INT64", "index": 4, "name": "description", "comment": null}, "key": {"type": "STRING", "index": 5, "name": "key", "comment": null}, "namespace": {"type": "STRING", "index": 6, "name": "namespace", "comment": null}, "owner_id": {"type": "INT64", "index": 7, "name": "owner_id", "comment": null}, "owner_resource": {"type": "STRING", "index": 8, "name": "owner_resource", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "value": {"type": "STRING", "index": 10, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 11, "name": "value_type", "comment": null}, "type": {"type": "STRING", "index": 12, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2206.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.shopify_holistic_reporting_integration_tests.metafield"}, "model.shopify_source.stg_shopify__metafield": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__metafield", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"metafield_id": {"type": "INT64", "index": 1, "name": "metafield_id", "comment": null}, "description": {"type": "INT64", "index": 2, "name": "description", "comment": null}, "namespace": {"type": "STRING", "index": 3, "name": "namespace", "comment": null}, "key": {"type": "STRING", "index": 4, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 5, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 6, "name": "value_type", "comment": null}, "owner_resource_id": {"type": "INT64", "index": 7, "name": "owner_resource_id", "comment": null}, "owner_resource": {"type": "STRING", "index": 8, "name": "owner_resource", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "metafield_reference": {"type": "STRING", "index": 12, "name": "metafield_reference", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 13, "name": "is_most_recent_record", "comment": null}, "source_relation": {"type": "STRING", "index": 14, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2196.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__metafield"}, "model.shopify_source.stg_shopify__inventory_level_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__inventory_level_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "available": {"type": "INT64", "index": 4, "name": "available", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 5, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__inventory_level_tmp"}, "model.shopify_source.stg_shopify__abandoned_checkout_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"abandoned_checkout_shipping_line_id": {"type": "STRING", "index": 1, "name": "abandoned_checkout_shipping_line_id", "comment": null}, "checkout_id": {"type": "INT64", "index": 2, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 3, "name": "index", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 4, "name": "carrier_identifier", "comment": null}, "shipping_code": {"type": "STRING", "index": 5, "name": "shipping_code", "comment": null}, "delivery_category": {"type": "INT64", "index": 6, "name": "delivery_category", "comment": null}, "delivery_expectation_range": {"type": "INT64", "index": 7, "name": "delivery_expectation_range", "comment": null}, "delivery_expectation_range_max": {"type": "INT64", "index": 8, "name": "delivery_expectation_range_max", "comment": null}, "delivery_expectation_range_min": {"type": "INT64", "index": 9, "name": "delivery_expectation_range_min", "comment": null}, "delivery_expectation_type": {"type": "INT64", "index": 10, "name": "delivery_expectation_type", "comment": null}, "discounted_price": {"type": "INT64", "index": 11, "name": "discounted_price", "comment": null}, "phone": {"type": "INT64", "index": 12, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 13, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 14, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 15, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 16, "name": "title", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 17, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 18, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 420.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout_shipping_line"}, "model.shopify_source.stg_shopify__order_tag_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_tag_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_tag_tmp"}, "model.shopify_source.stg_shopify__tax_line_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__tax_line_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_line_id": {"type": "INT64", "index": 2, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__tax_line_tmp"}, "model.shopify_source.stg_shopify__order_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 103.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_tag"}, "model.shopify_source.stg_shopify__transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"transaction_id": {"type": "INT64", "index": 1, "name": "transaction_id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "device_id": {"type": "INT64", "index": 5, "name": "device_id", "comment": null}, "gateway": {"type": "STRING", "index": 6, "name": "gateway", "comment": null}, "source_name": {"type": "STRING", "index": 7, "name": "source_name", "comment": null}, "message": {"type": "STRING", "index": 8, "name": "message", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "location_id": {"type": "INT64", "index": 10, "name": "location_id", "comment": null}, "parent_id": {"type": "INT64", "index": 11, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "STRING", "index": 12, "name": "payment_avs_result_code", "comment": null}, "payment_credit_card_bin": {"type": "INT64", "index": 13, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "INT64", "index": 14, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "INT64", "index": 15, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "INT64", "index": 16, "name": "payment_credit_card_company", "comment": null}, "kind": {"type": "STRING", "index": 17, "name": "kind", "comment": null}, "receipt": {"type": "STRING", "index": 18, "name": "receipt", "comment": null}, "currency_exchange_id": {"type": "INT64", "index": 19, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "INT64", "index": 20, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "INT64", "index": 21, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "INT64", "index": 22, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "INT64", "index": 23, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "INT64", "index": 24, "name": "error_code", "comment": null}, "status": {"type": "STRING", "index": 25, "name": "status", "comment": null}, "user_id": {"type": "INT64", "index": 26, "name": "user_id", "comment": null}, "authorization_code": {"type": "STRING", "index": 27, "name": "authorization_code", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "created_timestamp", "comment": null}, "processed_timestamp": {"type": "TIMESTAMP", "index": 29, "name": "processed_timestamp", "comment": null}, "authorization_expires_at": {"type": "TIMESTAMP", "index": 30, "name": "authorization_expires_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 31, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 32, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 880.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__transaction"}, "model.shopify_source.stg_shopify__product_image_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_image_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 3, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "alt": {"type": "INT64", "index": 5, "name": "alt", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "height": {"type": "INT64", "index": 7, "name": "height", "comment": null}, "position": {"type": "INT64", "index": 8, "name": "position", "comment": null}, "src": {"type": "STRING", "index": 9, "name": "src", "comment": null}, "updated_at": {"type": "STRING", "index": 10, "name": "updated_at", "comment": null}, "width": {"type": "INT64", "index": 11, "name": "width", "comment": null}, "is_default": {"type": "BOOL", "index": 12, "name": "is_default", "comment": null}, "variant_ids": {"type": "STRING", "index": 13, "name": "variant_ids", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_image_tmp"}, "model.shopify_source.stg_shopify__inventory_item_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__inventory_item_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "cost": {"type": "INT64", "index": 3, "name": "cost", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 4, "name": "created_at", "comment": null}, "requires_shipping": {"type": "INT64", "index": 5, "name": "requires_shipping", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "tracked": {"type": "INT64", "index": 7, "name": "tracked", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "country_code_of_origin": {"type": "INT64", "index": 9, "name": "country_code_of_origin", "comment": null}, "province_code_of_origin": {"type": "INT64", "index": 10, "name": "province_code_of_origin", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 11, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__inventory_item_tmp"}, "model.shopify_source.stg_shopify__collection_product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__collection_product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"collection_id": {"type": "INT64", "index": 1, "name": "collection_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 4, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 78.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__collection_product"}, "model.shopify_source.stg_shopify__price_rule_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__price_rule_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "allocation_limit": {"type": "INT64", "index": 3, "name": "allocation_limit", "comment": null}, "allocation_method": {"type": "STRING", "index": 4, "name": "allocation_method", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "customer_selection": {"type": "STRING", "index": 6, "name": "customer_selection", "comment": null}, "ends_at": {"type": "STRING", "index": 7, "name": "ends_at", "comment": null}, "once_per_customer": {"type": "BOOL", "index": 8, "name": "once_per_customer", "comment": null}, "prerequisite_quantity_range": {"type": "INT64", "index": 9, "name": "prerequisite_quantity_range", "comment": null}, "prerequisite_shipping_price_range": {"type": "INT64", "index": 10, "name": "prerequisite_shipping_price_range", "comment": null}, "prerequisite_subtotal_range": {"type": "FLOAT64", "index": 11, "name": "prerequisite_subtotal_range", "comment": null}, "quantity_ratio_entitled_quantity": {"type": "INT64", "index": 12, "name": "quantity_ratio_entitled_quantity", "comment": null}, "quantity_ratio_prerequisite_quantity": {"type": "INT64", "index": 13, "name": "quantity_ratio_prerequisite_quantity", "comment": null}, "starts_at": {"type": "STRING", "index": 14, "name": "starts_at", "comment": null}, "target_selection": {"type": "STRING", "index": 15, "name": "target_selection", "comment": null}, "target_type": {"type": "STRING", "index": 16, "name": "target_type", "comment": null}, "title": {"type": "STRING", "index": 17, "name": "title", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}, "usage_limit": {"type": "INT64", "index": 19, "name": "usage_limit", "comment": null}, "value": {"type": "FLOAT64", "index": 20, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 21, "name": "value_type", "comment": null}, "prerequisite_to_entitlement_purchase_prerequisite_amount": {"type": "INT64", "index": 22, "name": "prerequisite_to_entitlement_purchase_prerequisite_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__price_rule_tmp"}, "model.shopify_source.stg_shopify__order_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "note": {"type": "STRING", "index": 2, "name": "note", "comment": null}, "email": {"type": "STRING", "index": 3, "name": "email", "comment": null}, "taxes_included": {"type": "BOOL", "index": 4, "name": "taxes_included", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 6, "name": "subtotal_price", "comment": null}, "total_tax": {"type": "INT64", "index": 7, "name": "total_tax", "comment": null}, "total_price": {"type": "FLOAT64", "index": 8, "name": "total_price", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 12, "name": "shipping_address_name", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 13, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 14, "name": "shipping_address_last_name", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 15, "name": "shipping_address_company", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 16, "name": "shipping_address_phone", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 17, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 18, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 19, "name": "shipping_address_city", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 20, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 21, "name": "shipping_address_country_code", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 22, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 23, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 24, "name": "shipping_address_zip", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 25, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 26, "name": "shipping_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 27, "name": "billing_address_name", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 28, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 29, "name": "billing_address_last_name", "comment": null}, "billing_address_company": {"type": "STRING", "index": 30, "name": "billing_address_company", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 31, "name": "billing_address_phone", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_country": {"type": "STRING", "index": 35, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 36, "name": "billing_address_country_code", "comment": null}, "billing_address_province": {"type": "STRING", "index": 37, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 38, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 39, "name": "billing_address_zip", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 41, "name": "billing_address_longitude", "comment": null}, "customer_id": {"type": "INT64", "index": 42, "name": "customer_id", "comment": null}, "location_id": {"type": "INT64", "index": 43, "name": "location_id", "comment": null}, "user_id": {"type": "INT64", "index": 44, "name": "user_id", "comment": null}, "number": {"type": "INT64", "index": 45, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 46, "name": "order_number", "comment": null}, "financial_status": {"type": "STRING", "index": 47, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 48, "name": "fulfillment_status", "comment": null}, "processed_at": {"type": "TIMESTAMP", "index": 49, "name": "processed_at", "comment": null}, "processing_method": {"type": "STRING", "index": 50, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 51, "name": "referring_site", "comment": null}, "cancel_reason": {"type": "INT64", "index": 52, "name": "cancel_reason", "comment": null}, "cancelled_at": {"type": "TIMESTAMP", "index": 53, "name": "cancelled_at", "comment": null}, "closed_at": {"type": "STRING", "index": 54, "name": "closed_at", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 55, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 56, "name": "total_line_items_price", "comment": null}, "total_weight": {"type": "INT64", "index": 57, "name": "total_weight", "comment": null}, "source_name": {"type": "STRING", "index": 58, "name": "source_name", "comment": null}, "browser_ip": {"type": "STRING", "index": 59, "name": "browser_ip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 60, "name": "buyer_accepts_marketing", "comment": null}, "token": {"type": "STRING", "index": 61, "name": "token", "comment": null}, "cart_token": {"type": "STRING", "index": 62, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 63, "name": "checkout_token", "comment": null}, "test": {"type": "BOOL", "index": 64, "name": "test", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 65, "name": "landing_site_base_url", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 66, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_tmp"}, "model.shopify_source.stg_shopify__location_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__location_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "active": {"type": "BOOL", "index": 3, "name": "active", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 5, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 6, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 7, "name": "country", "comment": null}, "created_at": {"type": "STRING", "index": 8, "name": "created_at", "comment": null}, "legacy": {"type": "BOOL", "index": 9, "name": "legacy", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "phone": {"type": "INT64", "index": 11, "name": "phone", "comment": null}, "province": {"type": "STRING", "index": 12, "name": "province", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "zip": {"type": "INT64", "index": 14, "name": "zip", "comment": null}, "country_code": {"type": "STRING", "index": 15, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 16, "name": "country_name", "comment": null}, "localized_country_name": {"type": "STRING", "index": 17, "name": "localized_country_name", "comment": null}, "localized_province_name": {"type": "STRING", "index": 18, "name": "localized_province_name", "comment": null}, "province_code": {"type": "STRING", "index": 19, "name": "province_code", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 20, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__location_tmp"}, "model.shopify_source.stg_shopify__abandoned_checkout_shipping_line_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout_shipping_line_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "api_client_id": {"type": "INT64", "index": 4, "name": "api_client_id", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 5, "name": "carrier_identifier", "comment": null}, "carrier_service_id": {"type": "INT64", "index": 6, "name": "carrier_service_id", "comment": null}, "code": {"type": "STRING", "index": 7, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 8, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "INT64", "index": 9, "name": "discounted_price", "comment": null}, "id": {"type": "STRING", "index": 10, "name": "id", "comment": null}, "markup": {"type": "STRING", "index": 11, "name": "markup", "comment": null}, "phone": {"type": "INT64", "index": 12, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 13, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 14, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 15, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 16, "name": "title", "comment": null}, "validation_context": {"type": "INT64", "index": 17, "name": "validation_context", "comment": null}, "delivery_expectation_range": {"type": "INT64", "index": 18, "name": "delivery_expectation_range", "comment": null}, "delivery_expectation_type": {"type": "INT64", "index": 19, "name": "delivery_expectation_type", "comment": null}, "original_shop_markup": {"type": "STRING", "index": 20, "name": "original_shop_markup", "comment": null}, "original_shop_price": {"type": "STRING", "index": 21, "name": "original_shop_price", "comment": null}, "presentment_title": {"type": "STRING", "index": 22, "name": "presentment_title", "comment": null}, "delivery_expectation_range_min": {"type": "INT64", "index": 23, "name": "delivery_expectation_range_min", "comment": null}, "delivery_expectation_range_max": {"type": "INT64", "index": 24, "name": "delivery_expectation_range_max", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout_shipping_line_tmp"}, "model.shopify_source.stg_shopify__customer_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__customer_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 96.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer_tag"}, "model.shopify_source.stg_shopify__inventory_level": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__inventory_level", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "available_quantity": {"type": "INT64", "index": 3, "name": "available_quantity", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 4, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 6, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 78.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__inventory_level"}, "model.shopify_source.stg_shopify__abandoned_checkout_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "abandoned_checkout_url": {"type": "STRING", "index": 3, "name": "abandoned_checkout_url", "comment": null}, "applied_discount_amount": {"type": "INT64", "index": 4, "name": "applied_discount_amount", "comment": null}, "applied_discount_applicable": {"type": "INT64", "index": 5, "name": "applied_discount_applicable", "comment": null}, "applied_discount_description": {"type": "INT64", "index": 6, "name": "applied_discount_description", "comment": null}, "applied_discount_non_applicable_reason": {"type": "INT64", "index": 7, "name": "applied_discount_non_applicable_reason", "comment": null}, "applied_discount_title": {"type": "INT64", "index": 8, "name": "applied_discount_title", "comment": null}, "applied_discount_value": {"type": "INT64", "index": 9, "name": "applied_discount_value", "comment": null}, "applied_discount_value_type": {"type": "INT64", "index": 10, "name": "applied_discount_value_type", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 11, "name": "billing_address_address_1", "comment": null}, "billing_address_address_0": {"type": "STRING", "index": 12, "name": "billing_address_address_0", "comment": null}, "billing_address_city": {"type": "STRING", "index": 13, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "INT64", "index": 14, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 15, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 16, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 17, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 18, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "FLOAT64", "index": 19, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "FLOAT64", "index": 20, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 21, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 22, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 23, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "STRING", "index": 24, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "INT64", "index": 25, "name": "billing_address_zip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 26, "name": "buyer_accepts_marketing", "comment": null}, "cart_token": {"type": "STRING", "index": 27, "name": "cart_token", "comment": null}, "closed_at": {"type": "TIMESTAMP", "index": 28, "name": "closed_at", "comment": null}, "completed_at": {"type": "INT64", "index": 29, "name": "completed_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 30, "name": "created_at", "comment": null}, "credit_card_first_name": {"type": "INT64", "index": 31, "name": "credit_card_first_name", "comment": null}, "credit_card_last_name": {"type": "INT64", "index": 32, "name": "credit_card_last_name", "comment": null}, "credit_card_month": {"type": "INT64", "index": 33, "name": "credit_card_month", "comment": null}, "credit_card_number": {"type": "INT64", "index": 34, "name": "credit_card_number", "comment": null}, "credit_card_verification_value": {"type": "INT64", "index": 35, "name": "credit_card_verification_value", "comment": null}, "credit_card_year": {"type": "INT64", "index": 36, "name": "credit_card_year", "comment": null}, "currency": {"type": "STRING", "index": 37, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 38, "name": "customer_id", "comment": null}, "customer_locale": {"type": "STRING", "index": 39, "name": "customer_locale", "comment": null}, "device_id": {"type": "INT64", "index": 40, "name": "device_id", "comment": null}, "email": {"type": "STRING", "index": 41, "name": "email", "comment": null}, "gateway": {"type": "STRING", "index": 42, "name": "gateway", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 43, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 44, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 45, "name": "name", "comment": null}, "note": {"type": "INT64", "index": 46, "name": "note", "comment": null}, "phone": {"type": "INT64", "index": 47, "name": "phone", "comment": null}, "referring_site": {"type": "STRING", "index": 48, "name": "referring_site", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 49, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_0": {"type": "STRING", "index": 50, "name": "shipping_address_address_0", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 51, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "INT64", "index": 52, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 53, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 54, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 55, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 56, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "FLOAT64", "index": 57, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "FLOAT64", "index": 58, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 59, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 60, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 61, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "STRING", "index": 62, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 63, "name": "shipping_address_zip", "comment": null}, "shipping_line": {"type": "INT64", "index": 64, "name": "shipping_line", "comment": null}, "shipping_rate_id": {"type": "INT64", "index": 65, "name": "shipping_rate_id", "comment": null}, "shipping_rate_price": {"type": "INT64", "index": 66, "name": "shipping_rate_price", "comment": null}, "shipping_rate_title": {"type": "INT64", "index": 67, "name": "shipping_rate_title", "comment": null}, "source": {"type": "INT64", "index": 68, "name": "source", "comment": null}, "source_identifier": {"type": "INT64", "index": 69, "name": "source_identifier", "comment": null}, "source_name": {"type": "STRING", "index": 70, "name": "source_name", "comment": null}, "source_url": {"type": "INT64", "index": 71, "name": "source_url", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 72, "name": "subtotal_price", "comment": null}, "taxes_included": {"type": "BOOL", "index": 73, "name": "taxes_included", "comment": null}, "token": {"type": "STRING", "index": 74, "name": "token", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 75, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 76, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "FLOAT64", "index": 77, "name": "total_price", "comment": null}, "total_tax": {"type": "FLOAT64", "index": 78, "name": "total_tax", "comment": null}, "total_weight": {"type": "INT64", "index": 79, "name": "total_weight", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 80, "name": "updated_at", "comment": null}, "user_id": {"type": "INT64", "index": 81, "name": "user_id", "comment": null}, "note_attribute_littledata_updated_at": {"type": "INT64", "index": 82, "name": "note_attribute_littledata_updated_at", "comment": null}, "note_attribute_segment_client_id": {"type": "STRING", "index": 83, "name": "note_attribute_segment_client_id", "comment": null}, "billing_address_id": {"type": "INT64", "index": 84, "name": "billing_address_id", "comment": null}, "billing_address_is_default": {"type": "INT64", "index": 85, "name": "billing_address_is_default", "comment": null}, "presentment_currency": {"type": "STRING", "index": 86, "name": "presentment_currency", "comment": null}, "shipping_address_id": {"type": "INT64", "index": 87, "name": "shipping_address_id", "comment": null}, "shipping_address_is_default": {"type": "INT64", "index": 88, "name": "shipping_address_is_default", "comment": null}, "total_duties": {"type": "INT64", "index": 89, "name": "total_duties", "comment": null}, "note_attribute_email_client_id": {"type": "INT64", "index": 90, "name": "note_attribute_email_client_id", "comment": null}, "note_attributes": {"type": "STRING", "index": 91, "name": "note_attributes", "comment": null}, "note_attribute_google_client_id": {"type": "INT64", "index": 92, "name": "note_attribute_google_client_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 93, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout_tmp"}, "model.shopify_source.stg_shopify__abandoned_checkout_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "code": {"type": "STRING", "index": 2, "name": "code", "comment": null}, "discount_id": {"type": "INT64", "index": 3, "name": "discount_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 8, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 9, "name": "source_relation", "comment": null}, "index": {"type": "INT64", "index": 10, "name": "index", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 163.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout_discount_code"}, "model.shopify_source.stg_shopify__refund_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__refund_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 3, "name": "processed_at", "comment": null}, "note": {"type": "STRING", "index": 4, "name": "note", "comment": null}, "restock": {"type": "BOOL", "index": 5, "name": "restock", "comment": null}, "user_id": {"type": "INT64", "index": 6, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "total_duties_set": {"type": "INT64", "index": 8, "name": "total_duties_set", "comment": null}, "order_id": {"type": "INT64", "index": 9, "name": "order_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__refund_tmp"}, "model.shopify_source.stg_shopify__order_adjustment_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_adjustment_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "INT64", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "FLOAT64", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "STRING", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "STRING", "index": 7, "name": "reason", "comment": null}, "amount_set": {"type": "INT64", "index": 8, "name": "amount_set", "comment": null}, "tax_amount_set": {"type": "INT64", "index": 9, "name": "tax_amount_set", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_adjustment_tmp"}, "model.shopify_source.stg_shopify__product_tag_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_tag_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_tag_tmp"}, "model.shopify_source.stg_shopify__inventory_item": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__inventory_item", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "sku": {"type": "INT64", "index": 2, "name": "sku", "comment": null}, "is_deleted": {"type": "BOOL", "index": 3, "name": "is_deleted", "comment": null}, "cost": {"type": "INT64", "index": 4, "name": "cost", "comment": null}, "country_code_of_origin": {"type": "INT64", "index": 5, "name": "country_code_of_origin", "comment": null}, "province_code_of_origin": {"type": "INT64", "index": 6, "name": "province_code_of_origin", "comment": null}, "is_shipping_required": {"type": "INT64", "index": 7, "name": "is_shipping_required", "comment": null}, "is_inventory_quantity_tracked": {"type": "INT64", "index": 8, "name": "is_inventory_quantity_tracked", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 12, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 57.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__inventory_item"}, "model.shopify_source.stg_shopify__refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"refund_id": {"type": "INT64", "index": 1, "name": "refund_id", "comment": null}, "note": {"type": "STRING", "index": 2, "name": "note", "comment": null}, "order_id": {"type": "INT64", "index": 3, "name": "order_id", "comment": null}, "restock": {"type": "BOOL", "index": 4, "name": "restock", "comment": null}, "total_duties_set": {"type": "INT64", "index": 5, "name": "total_duties_set", "comment": null}, "user_id": {"type": "INT64", "index": 6, "name": "user_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "processed_at": {"type": "TIMESTAMP", "index": 8, "name": "processed_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 9, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 10, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 271.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__refund"}, "model.shopify_source.stg_shopify__product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"product_id": {"type": "INT64", "index": 1, "name": "product_id", "comment": null}, "handle": {"type": "STRING", "index": 2, "name": "handle", "comment": null}, "product_type": {"type": "STRING", "index": 3, "name": "product_type", "comment": null}, "published_scope": {"type": "STRING", "index": 4, "name": "published_scope", "comment": null}, "title": {"type": "STRING", "index": 5, "name": "title", "comment": null}, "vendor": {"type": "STRING", "index": 6, "name": "vendor", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "is_deleted": {"type": "BOOL", "index": 8, "name": "is_deleted", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 9, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 10, "name": "updated_timestamp", "comment": null}, "published_timestamp": {"type": "TIMESTAMP", "index": 11, "name": "published_timestamp", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 13, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 555.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product"}, "model.shopify_source.stg_shopify__product_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title": {"type": "STRING", "index": 2, "name": "title", "comment": null}, "handle": {"type": "STRING", "index": 3, "name": "handle", "comment": null}, "product_type": {"type": "STRING", "index": 4, "name": "product_type", "comment": null}, "vendor": {"type": "STRING", "index": 5, "name": "vendor", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 8, "name": "published_at", "comment": null}, "published_scope": {"type": "STRING", "index": 9, "name": "published_scope", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 10, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_tmp"}, "model.shopify_source.stg_shopify__metafield_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__metafield_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "INT64", "index": 4, "name": "description", "comment": null}, "key": {"type": "STRING", "index": 5, "name": "key", "comment": null}, "namespace": {"type": "STRING", "index": 6, "name": "namespace", "comment": null}, "owner_id": {"type": "INT64", "index": 7, "name": "owner_id", "comment": null}, "owner_resource": {"type": "STRING", "index": 8, "name": "owner_resource", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "value": {"type": "STRING", "index": 10, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 11, "name": "value_type", "comment": null}, "type": {"type": "STRING", "index": 12, "name": "type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__metafield_tmp"}, "model.shopify_source.stg_shopify__fulfillment_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__fulfillment_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "location_id": {"type": "INT64", "index": 4, "name": "location_id", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "tracking_company": {"type": "INT64", "index": 7, "name": "tracking_company", "comment": null}, "tracking_number": {"type": "INT64", "index": 8, "name": "tracking_number", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 10, "name": "tracking_numbers", "comment": null}, "tracking_urls": {"type": "STRING", "index": 11, "name": "tracking_urls", "comment": null}, "shipment_status": {"type": "INT64", "index": 12, "name": "shipment_status", "comment": null}, "service": {"type": "STRING", "index": 13, "name": "service", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "receipt_authorization": {"type": "INT64", "index": 15, "name": "receipt_authorization", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__fulfillment_tmp"}, "model.shopify_source.stg_shopify__customer": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__customer", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 4, "name": "last_name", "comment": null}, "orders_count": {"type": "INT64", "index": 5, "name": "orders_count", "comment": null}, "default_address_id": {"type": "INT64", "index": 6, "name": "default_address_id", "comment": null}, "phone": {"type": "INT64", "index": 7, "name": "phone", "comment": null}, "account_state": {"type": "STRING", "index": 8, "name": "account_state", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 9, "name": "is_tax_exempt", "comment": null}, "total_spent": {"type": "FLOAT64", "index": 10, "name": "total_spent", "comment": null}, "is_verified_email": {"type": "BOOL", "index": 11, "name": "is_verified_email", "comment": null}, "note": {"type": "STRING", "index": 12, "name": "note", "comment": null}, "lifetime_duration": {"type": "STRING", "index": 13, "name": "lifetime_duration", "comment": null}, "currency": {"type": "STRING", "index": 14, "name": "currency", "comment": null}, "marketing_consent_state": {"type": "STRING", "index": 15, "name": "marketing_consent_state", "comment": null}, "marketing_opt_in_level": {"type": "STRING", "index": 16, "name": "marketing_opt_in_level", "comment": null}, "marketing_consent_updated_at": {"type": "TIMESTAMP", "index": 17, "name": "marketing_consent_updated_at", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 18, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 19, "name": "updated_timestamp", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 20, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 21, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 586.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer"}, "model.shopify_source.stg_shopify__product_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"product_id": {"type": "INT64", "index": 1, "name": "product_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 199.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_tag"}, "model.shopify_source.stg_shopify__fulfillment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__fulfillment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"fulfillment_id": {"type": "INT64", "index": 1, "name": "fulfillment_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "order_id": {"type": "INT64", "index": 3, "name": "order_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "service": {"type": "STRING", "index": 5, "name": "service", "comment": null}, "shipment_status": {"type": "INT64", "index": 6, "name": "shipment_status", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "tracking_company": {"type": "INT64", "index": 8, "name": "tracking_company", "comment": null}, "tracking_number": {"type": "INT64", "index": 9, "name": "tracking_number", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 10, "name": "tracking_numbers", "comment": null}, "tracking_urls": {"type": "STRING", "index": 11, "name": "tracking_urls", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 13, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 14, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 15, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 259.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__fulfillment"}, "model.shopify_source.stg_shopify__collection_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__collection_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "handle": {"type": "INT64", "index": 4, "name": "handle", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 5, "name": "published_at", "comment": null}, "published_scope": {"type": "INT64", "index": 6, "name": "published_scope", "comment": null}, "title": {"type": "STRING", "index": 7, "name": "title", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "disjunctive": {"type": "BOOL", "index": 9, "name": "disjunctive", "comment": null}, "rules": {"type": "INT64", "index": 10, "name": "rules", "comment": null}, "sort_order": {"type": "INT64", "index": 11, "name": "sort_order", "comment": null}, "template_suffix": {"type": "INT64", "index": 12, "name": "template_suffix", "comment": null}, "body_html": {"type": "INT64", "index": 13, "name": "body_html", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__collection_tmp"}, "model.shopify_source.stg_shopify__order_shipping_tax_line_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_shipping_tax_line_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_shipping_line_id": {"type": "INT64", "index": 2, "name": "order_shipping_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_shipping_tax_line_tmp"}, "model.shopify_source.stg_shopify__abandoned_checkout": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"is_deleted": {"type": "BOOL", "index": 1, "name": "is_deleted", "comment": null}, "abandoned_checkout_url": {"type": "STRING", "index": 2, "name": "abandoned_checkout_url", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 3, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 4, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 5, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "INT64", "index": 6, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 7, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 8, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 9, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 10, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "FLOAT64", "index": 11, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "FLOAT64", "index": 12, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 13, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 14, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 15, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "STRING", "index": 16, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "INT64", "index": 17, "name": "billing_address_zip", "comment": null}, "has_buyer_accepted_marketing": {"type": "BOOL", "index": 18, "name": "has_buyer_accepted_marketing", "comment": null}, "cart_token": {"type": "STRING", "index": 19, "name": "cart_token", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 20, "name": "created_at", "comment": null}, "closed_at": {"type": "TIMESTAMP", "index": 21, "name": "closed_at", "comment": null}, "shop_currency": {"type": "STRING", "index": 22, "name": "shop_currency", "comment": null}, "customer_id": {"type": "INT64", "index": 23, "name": "customer_id", "comment": null}, "customer_locale": {"type": "STRING", "index": 24, "name": "customer_locale", "comment": null}, "device_id": {"type": "INT64", "index": 25, "name": "device_id", "comment": null}, "email": {"type": "STRING", "index": 26, "name": "email", "comment": null}, "gateway": {"type": "STRING", "index": 27, "name": "gateway", "comment": null}, "checkout_id": {"type": "INT64", "index": 28, "name": "checkout_id", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 29, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 30, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 31, "name": "name", "comment": null}, "note": {"type": "INT64", "index": 32, "name": "note", "comment": null}, "phone": {"type": "INT64", "index": 33, "name": "phone", "comment": null}, "presentment_currency": {"type": "STRING", "index": 34, "name": "presentment_currency", "comment": null}, "referring_site": {"type": "STRING", "index": 35, "name": "referring_site", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 36, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 37, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 38, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "INT64", "index": 39, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 40, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 41, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 42, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 43, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "FLOAT64", "index": 44, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "FLOAT64", "index": 45, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 46, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 47, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 48, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "STRING", "index": 49, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 50, "name": "shipping_address_zip", "comment": null}, "source_name": {"type": "STRING", "index": 51, "name": "source_name", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 52, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "BOOL", "index": 53, "name": "has_taxes_included", "comment": null}, "token": {"type": "STRING", "index": 54, "name": "token", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 55, "name": "total_discounts", "comment": null}, "total_duties": {"type": "INT64", "index": 56, "name": "total_duties", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 57, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "FLOAT64", "index": 58, "name": "total_price", "comment": null}, "total_tax": {"type": "FLOAT64", "index": 59, "name": "total_tax", "comment": null}, "total_weight": {"type": "INT64", "index": 60, "name": "total_weight", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 61, "name": "updated_at", "comment": null}, "user_id": {"type": "INT64", "index": 62, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 63, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 64, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1487.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout"}, "model.shopify_source.stg_shopify__order_note_attribute_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_note_attribute_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"name": {"type": "STRING", "index": 1, "name": "name", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_note_attribute_tmp"}, "model.shopify_source.stg_shopify__discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"discount_code_id": {"type": "INT64", "index": 1, "name": "discount_code_id", "comment": null}, "code": {"type": "STRING", "index": 2, "name": "code", "comment": null}, "price_rule_id": {"type": "INT64", "index": 3, "name": "price_rule_id", "comment": null}, "usage_count": {"type": "FLOAT64", "index": 4, "name": "usage_count", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 6, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 203.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__discount_code"}, "model.shopify_source.stg_shopify__collection": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__collection", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"collection_id": {"type": "INT64", "index": 1, "name": "collection_id", "comment": null}, "is_deleted": {"type": "BOOL", "index": 2, "name": "is_deleted", "comment": null}, "rule_logic": {"type": "STRING", "index": 3, "name": "rule_logic", "comment": null}, "handle": {"type": "INT64", "index": 4, "name": "handle", "comment": null}, "published_scope": {"type": "INT64", "index": 5, "name": "published_scope", "comment": null}, "rules": {"type": "INT64", "index": 6, "name": "rules", "comment": null}, "sort_order": {"type": "INT64", "index": 7, "name": "sort_order", "comment": null}, "title": {"type": "STRING", "index": 8, "name": "title", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 9, "name": "published_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 12, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 81.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__collection"}, "model.shopify_source.stg_shopify__collection_product_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__collection_product_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"collection_id": {"type": "INT64", "index": 1, "name": "collection_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__collection_product_tmp"}, "model.shopify_source.stg_shopify__transaction_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__transaction_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "authorization": {"type": "STRING", "index": 5, "name": "authorization", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 7, "name": "processed_at", "comment": null}, "device_id": {"type": "INT64", "index": 8, "name": "device_id", "comment": null}, "gateway": {"type": "STRING", "index": 9, "name": "gateway", "comment": null}, "source_name": {"type": "STRING", "index": 10, "name": "source_name", "comment": null}, "message": {"type": "STRING", "index": 11, "name": "message", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "location_id": {"type": "INT64", "index": 13, "name": "location_id", "comment": null}, "parent_id": {"type": "INT64", "index": 14, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "STRING", "index": 15, "name": "payment_avs_result_code", "comment": null}, "kind": {"type": "STRING", "index": 16, "name": "kind", "comment": null}, "currency_exchange_id": {"type": "INT64", "index": 17, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "INT64", "index": 18, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "INT64", "index": 19, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "INT64", "index": 20, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "INT64", "index": 21, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "INT64", "index": 22, "name": "error_code", "comment": null}, "status": {"type": "STRING", "index": 23, "name": "status", "comment": null}, "test": {"type": "BOOL", "index": 24, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 25, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 26, "name": "_fivetran_synced", "comment": null}, "payment_credit_card_bin": {"type": "INT64", "index": 27, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "INT64", "index": 28, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "INT64", "index": 29, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "INT64", "index": 30, "name": "payment_credit_card_company", "comment": null}, "receipt": {"type": "STRING", "index": 31, "name": "receipt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__transaction_tmp"}, "model.shopify_source.stg_shopify__tender_transaction_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__tender_transaction_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "payment_details_credit_card_company": {"type": "INT64", "index": 6, "name": "payment_details_credit_card_company", "comment": null}, "payment_details_credit_card_number": {"type": "INT64", "index": 7, "name": "payment_details_credit_card_number", "comment": null}, "payment_method": {"type": "STRING", "index": 8, "name": "payment_method", "comment": null}, "processed_at": {"type": "STRING", "index": 9, "name": "processed_at", "comment": null}, "remote_reference": {"type": "INT64", "index": 10, "name": "remote_reference", "comment": null}, "test": {"type": "BOOL", "index": 11, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 12, "name": "user_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__tender_transaction_tmp"}, "model.shopify_source.stg_shopify__abandoned_checkout_discount_code_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__abandoned_checkout_discount_code_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "discount_id": {"type": "INT64", "index": 5, "name": "discount_id", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "type": {"type": "STRING", "index": 8, "name": "type", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 9, "name": "updated_at", "comment": null}, "usage_count": {"type": "INT64", "index": 10, "name": "usage_count", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__abandoned_checkout_discount_code_tmp"}, "model.shopify_source.stg_shopify__order_url_tag_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_url_tag_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"key": {"type": "STRING", "index": 1, "name": "key", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_url_tag_tmp"}, "model.shopify_source.stg_shopify__order": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "user_id": {"type": "INT64", "index": 2, "name": "user_id", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 3, "name": "total_discounts", "comment": null}, "total_discounts_set": {"type": "STRING", "index": 4, "name": "total_discounts_set", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 5, "name": "total_line_items_price", "comment": null}, "total_line_items_price_set": {"type": "STRING", "index": 6, "name": "total_line_items_price_set", "comment": null}, "total_price": {"type": "FLOAT64", "index": 7, "name": "total_price", "comment": null}, "total_price_set": {"type": "STRING", "index": 8, "name": "total_price_set", "comment": null}, "total_price_usd": {"type": "FLOAT64", "index": 9, "name": "total_price_usd", "comment": null}, "total_tax_set": {"type": "STRING", "index": 10, "name": "total_tax_set", "comment": null}, "total_tax": {"type": "INT64", "index": 11, "name": "total_tax", "comment": null}, "source_name": {"type": "STRING", "index": 12, "name": "source_name", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 13, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "BOOL", "index": 14, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "INT64", "index": 15, "name": "total_weight", "comment": null}, "total_tip_received": {"type": "FLOAT64", "index": 16, "name": "total_tip_received", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 17, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 18, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 19, "name": "name", "comment": null}, "note": {"type": "STRING", "index": 20, "name": "note", "comment": null}, "number": {"type": "INT64", "index": 21, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 22, "name": "order_number", "comment": null}, "cancel_reason": {"type": "INT64", "index": 23, "name": "cancel_reason", "comment": null}, "cart_token": {"type": "STRING", "index": 24, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 25, "name": "checkout_token", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 26, "name": "created_timestamp", "comment": null}, "cancelled_timestamp": {"type": "TIMESTAMP", "index": 27, "name": "cancelled_timestamp", "comment": null}, "closed_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "closed_timestamp", "comment": null}, "processed_timestamp": {"type": "TIMESTAMP", "index": 29, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 30, "name": "updated_timestamp", "comment": null}, "currency": {"type": "STRING", "index": 31, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 32, "name": "customer_id", "comment": null}, "email": {"type": "STRING", "index": 33, "name": "email", "comment": null}, "financial_status": {"type": "STRING", "index": 34, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 35, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "STRING", "index": 36, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 37, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 38, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 39, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 40, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "STRING", "index": 41, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 42, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 43, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 44, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 45, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 46, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 47, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 48, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 49, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 50, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 51, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 52, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "STRING", "index": 53, "name": "browser_ip", "comment": null}, "total_shipping_price_set": {"type": "STRING", "index": 54, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 55, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 56, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 57, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 58, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 59, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 60, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 61, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 62, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 63, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 64, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 65, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 66, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 67, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 68, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 69, "name": "shipping_address_zip", "comment": null}, "token": {"type": "STRING", "index": 70, "name": "token", "comment": null}, "app_id": {"type": "INT64", "index": 71, "name": "app_id", "comment": null}, "checkout_id": {"type": "INT64", "index": 72, "name": "checkout_id", "comment": null}, "client_details_user_agent": {"type": "STRING", "index": 73, "name": "client_details_user_agent", "comment": null}, "customer_locale": {"type": "STRING", "index": 74, "name": "customer_locale", "comment": null}, "order_status_url": {"type": "STRING", "index": 75, "name": "order_status_url", "comment": null}, "presentment_currency": {"type": "STRING", "index": 76, "name": "presentment_currency", "comment": null}, "is_test_order": {"type": "BOOL", "index": 77, "name": "is_test_order", "comment": null}, "is_deleted": {"type": "BOOL", "index": 78, "name": "is_deleted", "comment": null}, "has_buyer_accepted_marketing": {"type": "BOOL", "index": 79, "name": "has_buyer_accepted_marketing", "comment": null}, "is_confirmed": {"type": "BOOL", "index": 80, "name": "is_confirmed", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 81, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 82, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3820.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order"}, "model.shopify_source.stg_shopify__order_adjustment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_adjustment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_adjustment_id": {"type": "INT64", "index": 1, "name": "order_adjustment_id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "INT64", "index": 4, "name": "amount", "comment": null}, "amount_set": {"type": "INT64", "index": 5, "name": "amount_set", "comment": null}, "tax_amount": {"type": "FLOAT64", "index": 6, "name": "tax_amount", "comment": null}, "tax_amount_set": {"type": "INT64", "index": 7, "name": "tax_amount_set", "comment": null}, "kind": {"type": "STRING", "index": 8, "name": "kind", "comment": null}, "reason": {"type": "STRING", "index": 9, "name": "reason", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 11, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 426.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_adjustment"}, "model.shopify_source.stg_shopify__product_image": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_image", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"product_image_id": {"type": "INT64", "index": 1, "name": "product_image_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "height": {"type": "INT64", "index": 3, "name": "height", "comment": null}, "position": {"type": "INT64", "index": 4, "name": "position", "comment": null}, "src": {"type": "STRING", "index": 5, "name": "src", "comment": null}, "variant_ids": {"type": "STRING", "index": 6, "name": "variant_ids", "comment": null}, "width": {"type": "INT64", "index": 7, "name": "width", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 8, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 9, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 11, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 466.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_image"}, "model.shopify_source.stg_shopify__customer_tag_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__customer_tag_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer_tag_tmp"}, "model.shopify_source.stg_shopify__order_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "code": {"type": "STRING", "index": 2, "name": "code", "comment": null}, "type": {"type": "STRING", "index": 3, "name": "type", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 6, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 146.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_discount_code"}, "model.shopify_source.stg_shopify__tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_line_id": {"type": "INT64", "index": 2, "name": "order_line_id", "comment": null}, "price": {"type": "FLOAT64", "index": 3, "name": "price", "comment": null}, "price_set": {"type": "STRING", "index": 4, "name": "price_set", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 815.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__tax_line"}, "model.shopify_source.stg_shopify__order_url_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_url_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "key": {"type": "STRING", "index": 2, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 108.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_url_tag"}, "model.shopify_source.stg_shopify__product_variant_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_variant_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "INT64", "index": 3, "name": "inventory_item_id", "comment": null}, "title": {"type": "STRING", "index": 4, "name": "title", "comment": null}, "price": {"type": "INT64", "index": 5, "name": "price", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "position": {"type": "INT64", "index": 7, "name": "position", "comment": null}, "inventory_policy": {"type": "STRING", "index": 8, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "INT64", "index": 9, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 10, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "STRING", "index": 11, "name": "inventory_management", "comment": null}, "created_at": {"type": "STRING", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "taxable": {"type": "BOOL", "index": 14, "name": "taxable", "comment": null}, "barcode": {"type": "INT64", "index": 15, "name": "barcode", "comment": null}, "grams": {"type": "INT64", "index": 16, "name": "grams", "comment": null}, "image_id": {"type": "INT64", "index": 17, "name": "image_id", "comment": null}, "inventory_quantity": {"type": "INT64", "index": 18, "name": "inventory_quantity", "comment": null}, "weight": {"type": "INT64", "index": 19, "name": "weight", "comment": null}, "weight_unit": {"type": "STRING", "index": 20, "name": "weight_unit", "comment": null}, "old_inventory_quantity": {"type": "INT64", "index": 21, "name": "old_inventory_quantity", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 22, "name": "requires_shipping", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 23, "name": "_fivetran_synced", "comment": null}, "option_2": {"type": "INT64", "index": 24, "name": "option_2", "comment": null}, "tax_code": {"type": "STRING", "index": 25, "name": "tax_code", "comment": null}, "option_3": {"type": "INT64", "index": 26, "name": "option_3", "comment": null}, "option_1": {"type": "STRING", "index": 27, "name": "option_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_variant_tmp"}, "model.shopify_source.stg_shopify__discount_code_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__discount_code_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "code": {"type": "STRING", "index": 3, "name": "code", "comment": null}, "created_at": {"type": "STRING", "index": 4, "name": "created_at", "comment": null}, "price_rule_id": {"type": "INT64", "index": 5, "name": "price_rule_id", "comment": null}, "updated_at": {"type": "STRING", "index": 6, "name": "updated_at", "comment": null}, "usage_count": {"type": "FLOAT64", "index": 7, "name": "usage_count", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__discount_code_tmp"}, "model.shopify_source.stg_shopify__order_line_refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_line_refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_line_refund_id": {"type": "INT64", "index": 1, "name": "order_line_refund_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "order_line_id": {"type": "INT64", "index": 3, "name": "order_line_id", "comment": null}, "subtotal": {"type": "NUMERIC", "index": 4, "name": "subtotal", "comment": null}, "subtotal_set": {"type": "STRING", "index": 5, "name": "subtotal_set", "comment": null}, "total_tax": {"type": "NUMERIC", "index": 6, "name": "total_tax", "comment": null}, "total_tax_set": {"type": "STRING", "index": 7, "name": "total_tax_set", "comment": null}, "quantity": {"type": "INT64", "index": 8, "name": "quantity", "comment": null}, "refund_id": {"type": "INT64", "index": 9, "name": "refund_id", "comment": null}, "restock_type": {"type": "INT64", "index": 10, "name": "restock_type", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 12, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_refund"}, "model.shopify_source.stg_shopify__order_shipping_line_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_shipping_line_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 4, "name": "carrier_identifier", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 6, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "FLOAT64", "index": 7, "name": "discounted_price", "comment": null}, "phone": {"type": "INT64", "index": 8, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 9, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 10, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 11, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 12, "name": "title", "comment": null}, "discounted_price_set": {"type": "STRING", "index": 13, "name": "discounted_price_set", "comment": null}, "price_set": {"type": "STRING", "index": 14, "name": "price_set", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_shipping_line_tmp"}, "model.shopify_source.stg_shopify__tender_transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__tender_transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"transaction_id": {"type": "INT64", "index": 1, "name": "transaction_id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "payment_method": {"type": "STRING", "index": 5, "name": "payment_method", "comment": null}, "remote_reference": {"type": "INT64", "index": 6, "name": "remote_reference", "comment": null}, "user_id": {"type": "INT64", "index": 7, "name": "user_id", "comment": null}, "processed_at": {"type": "TIMESTAMP", "index": 8, "name": "processed_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 9, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 10, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 270.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__tender_transaction"}, "model.shopify_source.stg_shopify__location": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__location", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"location_id": {"type": "INT64", "index": 1, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "is_deleted": {"type": "BOOL", "index": 3, "name": "is_deleted", "comment": null}, "is_active": {"type": "BOOL", "index": 4, "name": "is_active", "comment": null}, "address_1": {"type": "STRING", "index": 5, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 6, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 7, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 8, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 9, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 10, "name": "country_name", "comment": null}, "is_legacy": {"type": "BOOL", "index": 11, "name": "is_legacy", "comment": null}, "localized_country_name": {"type": "STRING", "index": 12, "name": "localized_country_name", "comment": null}, "localized_province_name": {"type": "STRING", "index": 13, "name": "localized_province_name", "comment": null}, "phone": {"type": "INT64", "index": 14, "name": "phone", "comment": null}, "province": {"type": "STRING", "index": 15, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 16, "name": "province_code", "comment": null}, "zip": {"type": "INT64", "index": 17, "name": "zip", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 18, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 19, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 20, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 21, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 217.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__location"}, "model.shopify_source.stg_shopify__product_variant": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__product_variant", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"variant_id": {"type": "INT64", "index": 1, "name": "variant_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "INT64", "index": 3, "name": "inventory_item_id", "comment": null}, "image_id": {"type": "INT64", "index": 4, "name": "image_id", "comment": null}, "title": {"type": "STRING", "index": 5, "name": "title", "comment": null}, "price": {"type": "INT64", "index": 6, "name": "price", "comment": null}, "sku": {"type": "INT64", "index": 7, "name": "sku", "comment": null}, "position": {"type": "INT64", "index": 8, "name": "position", "comment": null}, "inventory_policy": {"type": "STRING", "index": 9, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "INT64", "index": 10, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 11, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "STRING", "index": 12, "name": "inventory_management", "comment": null}, "is_taxable": {"type": "BOOL", "index": 13, "name": "is_taxable", "comment": null}, "barcode": {"type": "INT64", "index": 14, "name": "barcode", "comment": null}, "grams": {"type": "INT64", "index": 15, "name": "grams", "comment": null}, "inventory_quantity": {"type": "INT64", "index": 16, "name": "inventory_quantity", "comment": null}, "weight": {"type": "INT64", "index": 17, "name": "weight", "comment": null}, "weight_unit": {"type": "STRING", "index": 18, "name": "weight_unit", "comment": null}, "option_1": {"type": "STRING", "index": 19, "name": "option_1", "comment": null}, "option_2": {"type": "INT64", "index": 20, "name": "option_2", "comment": null}, "option_3": {"type": "INT64", "index": 21, "name": "option_3", "comment": null}, "tax_code": {"type": "STRING", "index": 22, "name": "tax_code", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 23, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 24, "name": "updated_timestamp", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 25, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 26, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 743.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__product_variant"}, "model.shopify_source.stg_shopify__shop": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__shop", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"shop_id": {"type": "INT64", "index": 1, "name": "shop_id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "is_deleted": {"type": "BOOL", "index": 3, "name": "is_deleted", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "STRING", "index": 5, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 6, "name": "city", "comment": null}, "province": {"type": "STRING", "index": 7, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 8, "name": "province_code", "comment": null}, "country": {"type": "STRING", "index": 9, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 10, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 11, "name": "country_name", "comment": null}, "zip": {"type": "INT64", "index": 12, "name": "zip", "comment": null}, "latitude": {"type": "FLOAT64", "index": 13, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 14, "name": "longitude", "comment": null}, "has_county_taxes": {"type": "BOOL", "index": 15, "name": "has_county_taxes", "comment": null}, "currency": {"type": "STRING", "index": 16, "name": "currency", "comment": null}, "enabled_presentment_currencies": {"type": "STRING", "index": 17, "name": "enabled_presentment_currencies", "comment": null}, "customer_email": {"type": "STRING", "index": 18, "name": "customer_email", "comment": null}, "email": {"type": "STRING", "index": 19, "name": "email", "comment": null}, "domain": {"type": "STRING", "index": 20, "name": "domain", "comment": null}, "phone": {"type": "INT64", "index": 21, "name": "phone", "comment": null}, "timezone": {"type": "STRING", "index": 22, "name": "timezone", "comment": null}, "iana_timezone": {"type": "STRING", "index": 23, "name": "iana_timezone", "comment": null}, "primary_locale": {"type": "STRING", "index": 24, "name": "primary_locale", "comment": null}, "weight_unit": {"type": "STRING", "index": 25, "name": "weight_unit", "comment": null}, "myshopify_domain": {"type": "STRING", "index": 26, "name": "myshopify_domain", "comment": null}, "cookie_consent_level": {"type": "STRING", "index": 27, "name": "cookie_consent_level", "comment": null}, "shop_owner": {"type": "STRING", "index": 28, "name": "shop_owner", "comment": null}, "source": {"type": "INT64", "index": 29, "name": "source", "comment": null}, "has_shipping_taxes": {"type": "INT64", "index": 30, "name": "has_shipping_taxes", "comment": null}, "has_taxes_included_in_price": {"type": "BOOL", "index": 31, "name": "has_taxes_included_in_price", "comment": null}, "has_discounts": {"type": "BOOL", "index": 32, "name": "has_discounts", "comment": null}, "has_gift_cards": {"type": "BOOL", "index": 33, "name": "has_gift_cards", "comment": null}, "has_storefront": {"type": "BOOL", "index": 34, "name": "has_storefront", "comment": null}, "has_checkout_api_supported": {"type": "BOOL", "index": 35, "name": "has_checkout_api_supported", "comment": null}, "is_eligible_for_card_reader_giveaway": {"type": "BOOL", "index": 36, "name": "is_eligible_for_card_reader_giveaway", "comment": null}, "is_eligible_for_payments": {"type": "BOOL", "index": 37, "name": "is_eligible_for_payments", "comment": null}, "google_apps_domain": {"type": "INT64", "index": 38, "name": "google_apps_domain", "comment": null}, "is_google_apps_login_enabled": {"type": "BOOL", "index": 39, "name": "is_google_apps_login_enabled", "comment": null}, "money_format": {"type": "STRING", "index": 40, "name": "money_format", "comment": null}, "money_in_emails_format": {"type": "STRING", "index": 41, "name": "money_in_emails_format", "comment": null}, "money_with_currency_format": {"type": "STRING", "index": 42, "name": "money_with_currency_format", "comment": null}, "money_with_currency_in_emails_format": {"type": "STRING", "index": 43, "name": "money_with_currency_in_emails_format", "comment": null}, "plan_display_name": {"type": "STRING", "index": 44, "name": "plan_display_name", "comment": null}, "plan_name": {"type": "STRING", "index": 45, "name": "plan_name", "comment": null}, "is_password_enabled": {"type": "BOOL", "index": 46, "name": "is_password_enabled", "comment": null}, "is_pre_launch_enabled": {"type": "BOOL", "index": 47, "name": "is_pre_launch_enabled", "comment": null}, "is_extra_payments_agreement_required": {"type": "BOOL", "index": 48, "name": "is_extra_payments_agreement_required", "comment": null}, "is_setup_required": {"type": "BOOL", "index": 49, "name": "is_setup_required", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 50, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 51, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 52, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 53, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 435.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__shop"}, "model.shopify_source.stg_shopify__order_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_shipping_line_id": {"type": "INT64", "index": 1, "name": "order_shipping_line_id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 3, "name": "carrier_identifier", "comment": null}, "code": {"type": "STRING", "index": 4, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 5, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "FLOAT64", "index": 6, "name": "discounted_price", "comment": null}, "discounted_price_set": {"type": "STRING", "index": 7, "name": "discounted_price_set", "comment": null}, "phone": {"type": "INT64", "index": 8, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 9, "name": "price", "comment": null}, "price_set": {"type": "STRING", "index": 10, "name": "price_set", "comment": null}, "is_third_party_required": {"type": "BOOL", "index": 11, "name": "is_third_party_required", "comment": null}, "source": {"type": "STRING", "index": 12, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 13, "name": "title", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 14, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 15, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 912.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_shipping_line"}, "model.shopify_source.stg_shopify__order_note_attribute": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_note_attribute", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 274.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_note_attribute"}, "model.shopify_source.stg_shopify__order_line_refund_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_line_refund_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "restock_type": {"type": "INT64", "index": 4, "name": "restock_type", "comment": null}, "quantity": {"type": "INT64", "index": 5, "name": "quantity", "comment": null}, "order_line_id": {"type": "INT64", "index": 6, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_refund_tmp"}, "model.shopify_source.stg_shopify__order_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_line_id": {"type": "INT64", "index": 1, "name": "order_line_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "order_id": {"type": "INT64", "index": 4, "name": "order_id", "comment": null}, "fulfillable_quantity": {"type": "INT64", "index": 5, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 6, "name": "fulfillment_service", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 7, "name": "fulfillment_status", "comment": null}, "is_gift_card": {"type": "BOOL", "index": 8, "name": "is_gift_card", "comment": null}, "grams": {"type": "INT64", "index": 9, "name": "grams", "comment": null}, "pre_tax_price": {"type": "INT64", "index": 10, "name": "pre_tax_price", "comment": null}, "pre_tax_price_set": {"type": "STRING", "index": 11, "name": "pre_tax_price_set", "comment": null}, "price": {"type": "FLOAT64", "index": 12, "name": "price", "comment": null}, "price_set": {"type": "STRING", "index": 13, "name": "price_set", "comment": null}, "product_id": {"type": "INT64", "index": 14, "name": "product_id", "comment": null}, "quantity": {"type": "INT64", "index": 15, "name": "quantity", "comment": null}, "is_shipping_required": {"type": "BOOL", "index": 16, "name": "is_shipping_required", "comment": null}, "sku": {"type": "STRING", "index": 17, "name": "sku", "comment": null}, "is_taxable": {"type": "BOOL", "index": 18, "name": "is_taxable", "comment": null}, "tax_code": {"type": "STRING", "index": 19, "name": "tax_code", "comment": null}, "title": {"type": "STRING", "index": 20, "name": "title", "comment": null}, "total_discount": {"type": "INT64", "index": 21, "name": "total_discount", "comment": null}, "total_discount_set": {"type": "STRING", "index": 22, "name": "total_discount_set", "comment": null}, "variant_id": {"type": "INT64", "index": 23, "name": "variant_id", "comment": null}, "variant_title": {"type": "STRING", "index": 24, "name": "variant_title", "comment": null}, "variant_inventory_management": {"type": "STRING", "index": 25, "name": "variant_inventory_management", "comment": null}, "vendor": {"type": "STRING", "index": 26, "name": "vendor", "comment": null}, "properties": {"type": "STRING", "index": 27, "name": "properties", "comment": null}, "destination_location_address_1": {"type": "STRING", "index": 28, "name": "destination_location_address_1", "comment": null}, "destination_location_address_2": {"type": "STRING", "index": 29, "name": "destination_location_address_2", "comment": null}, "destination_location_city": {"type": "STRING", "index": 30, "name": "destination_location_city", "comment": null}, "destination_location_country_code": {"type": "STRING", "index": 31, "name": "destination_location_country_code", "comment": null}, "destination_location_id": {"type": "INT64", "index": 32, "name": "destination_location_id", "comment": null}, "destination_location_name": {"type": "STRING", "index": 33, "name": "destination_location_name", "comment": null}, "destination_location_province_code": {"type": "STRING", "index": 34, "name": "destination_location_province_code", "comment": null}, "destination_location_zip": {"type": "STRING", "index": 35, "name": "destination_location_zip", "comment": null}, "origin_location_address_1": {"type": "STRING", "index": 36, "name": "origin_location_address_1", "comment": null}, "origin_location_address_2": {"type": "STRING", "index": 37, "name": "origin_location_address_2", "comment": null}, "origin_location_city": {"type": "STRING", "index": 38, "name": "origin_location_city", "comment": null}, "origin_location_country_code": {"type": "STRING", "index": 39, "name": "origin_location_country_code", "comment": null}, "origin_location_id": {"type": "INT64", "index": 40, "name": "origin_location_id", "comment": null}, "origin_location_name": {"type": "STRING", "index": 41, "name": "origin_location_name", "comment": null}, "origin_location_province_code": {"type": "STRING", "index": 42, "name": "origin_location_province_code", "comment": null}, "origin_location_zip": {"type": "STRING", "index": 43, "name": "origin_location_zip", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 44, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 45, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 733.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line"}, "model.shopify_source.stg_shopify__order_line_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_line_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 3, "name": "product_id", "comment": null}, "variant_id": {"type": "INT64", "index": 4, "name": "variant_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "vendor": {"type": "STRING", "index": 7, "name": "vendor", "comment": null}, "price": {"type": "FLOAT64", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "INT64", "index": 9, "name": "quantity", "comment": null}, "grams": {"type": "INT64", "index": 10, "name": "grams", "comment": null}, "sku": {"type": "STRING", "index": 11, "name": "sku", "comment": null}, "fulfillable_quantity": {"type": "INT64", "index": 12, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 13, "name": "fulfillment_service", "comment": null}, "gift_card": {"type": "BOOL", "index": 14, "name": "gift_card", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 15, "name": "requires_shipping", "comment": null}, "taxable": {"type": "BOOL", "index": 16, "name": "taxable", "comment": null}, "index": {"type": "INT64", "index": 17, "name": "index", "comment": null}, "total_discount": {"type": "INT64", "index": 18, "name": "total_discount", "comment": null}, "pre_tax_price": {"type": "INT64", "index": 19, "name": "pre_tax_price", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 20, "name": "fulfillment_status", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_line_tmp"}, "model.shopify_source.stg_shopify__customer_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__customer_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "first_name": {"type": "STRING", "index": 2, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 3, "name": "last_name", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "phone": {"type": "INT64", "index": 5, "name": "phone", "comment": null}, "state": {"type": "STRING", "index": 6, "name": "state", "comment": null}, "orders_count": {"type": "INT64", "index": 7, "name": "orders_count", "comment": null}, "total_spent": {"type": "FLOAT64", "index": 8, "name": "total_spent", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "accepts_marketing": {"type": "BOOL", "index": 11, "name": "accepts_marketing", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 12, "name": "tax_exempt", "comment": null}, "verified_email": {"type": "BOOL", "index": 13, "name": "verified_email", "comment": null}, "default_address_id": {"type": "INT64", "index": 14, "name": "default_address_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__customer_tmp"}, "model.shopify_source.stg_shopify__shop_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__shop_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "STRING", "index": 5, "name": "address_2", "comment": null}, "auto_configure_tax_inclusivity": {"type": "INT64", "index": 6, "name": "auto_configure_tax_inclusivity", "comment": null}, "checkout_api_supported": {"type": "BOOL", "index": 7, "name": "checkout_api_supported", "comment": null}, "city": {"type": "STRING", "index": 8, "name": "city", "comment": null}, "cookie_consent_level": {"type": "STRING", "index": 9, "name": "cookie_consent_level", "comment": null}, "country": {"type": "STRING", "index": 10, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 11, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 12, "name": "country_name", "comment": null}, "county_taxes": {"type": "BOOL", "index": 13, "name": "county_taxes", "comment": null}, "created_at": {"type": "STRING", "index": 14, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 15, "name": "currency", "comment": null}, "customer_email": {"type": "STRING", "index": 16, "name": "customer_email", "comment": null}, "domain": {"type": "STRING", "index": 17, "name": "domain", "comment": null}, "eligible_for_card_reader_giveaway": {"type": "BOOL", "index": 18, "name": "eligible_for_card_reader_giveaway", "comment": null}, "eligible_for_payments": {"type": "BOOL", "index": 19, "name": "eligible_for_payments", "comment": null}, "email": {"type": "STRING", "index": 20, "name": "email", "comment": null}, "enabled_presentment_currencies": {"type": "STRING", "index": 21, "name": "enabled_presentment_currencies", "comment": null}, "force_ssl": {"type": "BOOL", "index": 22, "name": "force_ssl", "comment": null}, "google_apps_domain": {"type": "INT64", "index": 23, "name": "google_apps_domain", "comment": null}, "google_apps_login_enabled": {"type": "BOOL", "index": 24, "name": "google_apps_login_enabled", "comment": null}, "has_discounts": {"type": "BOOL", "index": 25, "name": "has_discounts", "comment": null}, "has_gift_cards": {"type": "BOOL", "index": 26, "name": "has_gift_cards", "comment": null}, "has_storefront": {"type": "BOOL", "index": 27, "name": "has_storefront", "comment": null}, "iana_timezone": {"type": "STRING", "index": 28, "name": "iana_timezone", "comment": null}, "latitude": {"type": "FLOAT64", "index": 29, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 30, "name": "longitude", "comment": null}, "money_format": {"type": "STRING", "index": 31, "name": "money_format", "comment": null}, "money_in_emails_format": {"type": "STRING", "index": 32, "name": "money_in_emails_format", "comment": null}, "money_with_currency_format": {"type": "STRING", "index": 33, "name": "money_with_currency_format", "comment": null}, "money_with_currency_in_emails_format": {"type": "STRING", "index": 34, "name": "money_with_currency_in_emails_format", "comment": null}, "multi_location_enabled": {"type": "BOOL", "index": 35, "name": "multi_location_enabled", "comment": null}, "myshopify_domain": {"type": "STRING", "index": 36, "name": "myshopify_domain", "comment": null}, "name": {"type": "STRING", "index": 37, "name": "name", "comment": null}, "password_enabled": {"type": "BOOL", "index": 38, "name": "password_enabled", "comment": null}, "phone": {"type": "INT64", "index": 39, "name": "phone", "comment": null}, "plan_display_name": {"type": "STRING", "index": 40, "name": "plan_display_name", "comment": null}, "plan_name": {"type": "STRING", "index": 41, "name": "plan_name", "comment": null}, "pre_launch_enabled": {"type": "BOOL", "index": 42, "name": "pre_launch_enabled", "comment": null}, "primary_locale": {"type": "STRING", "index": 43, "name": "primary_locale", "comment": null}, "primary_location_id": {"type": "INT64", "index": 44, "name": "primary_location_id", "comment": null}, "province": {"type": "STRING", "index": 45, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 46, "name": "province_code", "comment": null}, "requires_extra_payments_agreement": {"type": "BOOL", "index": 47, "name": "requires_extra_payments_agreement", "comment": null}, "setup_required": {"type": "BOOL", "index": 48, "name": "setup_required", "comment": null}, "shop_owner": {"type": "STRING", "index": 49, "name": "shop_owner", "comment": null}, "source": {"type": "INT64", "index": 50, "name": "source", "comment": null}, "tax_shipping": {"type": "INT64", "index": 51, "name": "tax_shipping", "comment": null}, "taxes_included": {"type": "BOOL", "index": 52, "name": "taxes_included", "comment": null}, "timezone": {"type": "STRING", "index": 53, "name": "timezone", "comment": null}, "updated_at": {"type": "STRING", "index": 54, "name": "updated_at", "comment": null}, "visitor_tracking_consent_preference": {"type": "STRING", "index": 55, "name": "visitor_tracking_consent_preference", "comment": null}, "weight_unit": {"type": "STRING", "index": 56, "name": "weight_unit", "comment": null}, "zip": {"type": "INT64", "index": 57, "name": "zip", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__shop_tmp"}, "model.shopify_source.stg_shopify__order_discount_code_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_discount_code_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_discount_code_tmp"}, "model.shopify_source.stg_shopify__price_rule": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__price_rule", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"price_rule_id": {"type": "INT64", "index": 1, "name": "price_rule_id", "comment": null}, "allocation_limit": {"type": "INT64", "index": 2, "name": "allocation_limit", "comment": null}, "allocation_method": {"type": "STRING", "index": 3, "name": "allocation_method", "comment": null}, "customer_selection": {"type": "STRING", "index": 4, "name": "customer_selection", "comment": null}, "is_once_per_customer": {"type": "BOOL", "index": 5, "name": "is_once_per_customer", "comment": null}, "prereq_min_quantity": {"type": "INT64", "index": 6, "name": "prereq_min_quantity", "comment": null}, "prereq_max_shipping_price": {"type": "INT64", "index": 7, "name": "prereq_max_shipping_price", "comment": null}, "prereq_min_subtotal": {"type": "FLOAT64", "index": 8, "name": "prereq_min_subtotal", "comment": null}, "prereq_min_purchase_quantity_for_entitlement": {"type": "INT64", "index": 9, "name": "prereq_min_purchase_quantity_for_entitlement", "comment": null}, "prereq_buy_x_get_this": {"type": "INT64", "index": 10, "name": "prereq_buy_x_get_this", "comment": null}, "prereq_buy_this_get_y": {"type": "INT64", "index": 11, "name": "prereq_buy_this_get_y", "comment": null}, "target_selection": {"type": "STRING", "index": 12, "name": "target_selection", "comment": null}, "target_type": {"type": "STRING", "index": 13, "name": "target_type", "comment": null}, "title": {"type": "STRING", "index": 14, "name": "title", "comment": null}, "usage_limit": {"type": "INT64", "index": 15, "name": "usage_limit", "comment": null}, "value": {"type": "FLOAT64", "index": 16, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 17, "name": "value_type", "comment": null}, "starts_at": {"type": "TIMESTAMP", "index": 18, "name": "starts_at", "comment": null}, "ends_at": {"type": "TIMESTAMP", "index": 19, "name": "ends_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 20, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 21, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 22, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 23, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 339.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__price_rule"}, "model.shopify_source.stg_shopify__order_shipping_tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_shopify", "name": "stg_shopify__order_shipping_tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_shipping_line_id": {"type": "INT64", "index": 1, "name": "order_shipping_line_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "price": {"type": "FLOAT64", "index": 3, "name": "price", "comment": null}, "price_set": {"type": "STRING", "index": 4, "name": "price_set", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_source.stg_shopify__order_shipping_tax_line"}, "model.klaviyo.int_klaviyo__event_attribution": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_int_klaviyo", "name": "int_klaviyo__event_attribution", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"variation_id": {"type": "STRING", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "TIMESTAMP", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "STRING", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "STRING", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "STRING", "index": 8, "name": "person_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "uuid": {"type": "STRING", "index": 10, "name": "uuid", "comment": null}, "numeric_value": {"type": "INT64", "index": 11, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 13, "name": "source_relation", "comment": null}, "occurred_on": {"type": "DATE", "index": 14, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "STRING", "index": 15, "name": "unique_event_id", "comment": null}, "touch_id": {"type": "STRING", "index": 16, "name": "touch_id", "comment": null}, "touch_type": {"type": "STRING", "index": 17, "name": "touch_type", "comment": null}, "touch_session": {"type": "INT64", "index": 18, "name": "touch_session", "comment": null}, "session_start_at": {"type": "TIMESTAMP", "index": 19, "name": "session_start_at", "comment": null}, "session_event_type": {"type": "STRING", "index": 20, "name": "session_event_type", "comment": null}, "last_touch_id": {"type": "STRING", "index": 21, "name": "last_touch_id", "comment": null}, "session_touch_type": {"type": "STRING", "index": 22, "name": "session_touch_type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 448.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "partitioning_type": {"id": "partitioning_type", "label": "Partitioned By", "value": "occurred_on", "include": true, "description": "The partitioning column for this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__event_attribution"}, "model.klaviyo.int_klaviyo__campaign_flow_metrics": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_int_klaviyo", "name": "int_klaviyo__campaign_flow_metrics", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"last_touch_campaign_id": {"type": "STRING", "index": 1, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 2, "name": "last_touch_flow_id", "comment": null}, "variation_id": {"type": "STRING", "index": 3, "name": "variation_id", "comment": null}, "source_relation": {"type": "STRING", "index": 4, "name": "source_relation", "comment": null}, "total_count_unique_people": {"type": "INT64", "index": 5, "name": "total_count_unique_people", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 6, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 7, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "NUMERIC", "index": 8, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "NUMERIC", "index": 9, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "NUMERIC", "index": 10, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "NUMERIC", "index": 11, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 12, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "INT64", "index": 13, "name": "count_active_on_site", "comment": null}, "unique_count_active_on_site": {"type": "INT64", "index": 14, "name": "unique_count_active_on_site", "comment": null}, "count_viewed_product": {"type": "INT64", "index": 15, "name": "count_viewed_product", "comment": null}, "unique_count_viewed_product": {"type": "INT64", "index": 16, "name": "unique_count_viewed_product", "comment": null}, "count_ordered_product": {"type": "INT64", "index": 17, "name": "count_ordered_product", "comment": null}, "unique_count_ordered_product": {"type": "INT64", "index": 18, "name": "unique_count_ordered_product", "comment": null}, "count_placed_order": {"type": "INT64", "index": 19, "name": "count_placed_order", "comment": null}, "unique_count_placed_order": {"type": "INT64", "index": 20, "name": "unique_count_placed_order", "comment": null}, "count_refunded_order": {"type": "INT64", "index": 21, "name": "count_refunded_order", "comment": null}, "unique_count_refunded_order": {"type": "INT64", "index": 22, "name": "unique_count_refunded_order", "comment": null}, "count_cancelled_order": {"type": "INT64", "index": 23, "name": "count_cancelled_order", "comment": null}, "unique_count_cancelled_order": {"type": "INT64", "index": 24, "name": "unique_count_cancelled_order", "comment": null}, "count_fulfilled_order": {"type": "INT64", "index": 25, "name": "count_fulfilled_order", "comment": null}, "unique_count_fulfilled_order": {"type": "INT64", "index": 26, "name": "unique_count_fulfilled_order", "comment": null}, "count_received_email": {"type": "INT64", "index": 27, "name": "count_received_email", "comment": null}, "unique_count_received_email": {"type": "INT64", "index": 28, "name": "unique_count_received_email", "comment": null}, "count_clicked_email": {"type": "INT64", "index": 29, "name": "count_clicked_email", "comment": null}, "unique_count_clicked_email": {"type": "INT64", "index": 30, "name": "unique_count_clicked_email", "comment": null}, "count_opened_email": {"type": "INT64", "index": 31, "name": "count_opened_email", "comment": null}, "unique_count_opened_email": {"type": "INT64", "index": 32, "name": "unique_count_opened_email", "comment": null}, "count_bounced_email": {"type": "INT64", "index": 33, "name": "count_bounced_email", "comment": null}, "unique_count_bounced_email": {"type": "INT64", "index": 34, "name": "unique_count_bounced_email", "comment": null}, "count_marked_email_as_spam": {"type": "INT64", "index": 35, "name": "count_marked_email_as_spam", "comment": null}, "unique_count_marked_email_as_spam": {"type": "INT64", "index": 36, "name": "unique_count_marked_email_as_spam", "comment": null}, "count_dropped_email": {"type": "INT64", "index": 37, "name": "count_dropped_email", "comment": null}, "unique_count_dropped_email": {"type": "INT64", "index": 38, "name": "unique_count_dropped_email", "comment": null}, "count_subscribed_to_list": {"type": "INT64", "index": 39, "name": "count_subscribed_to_list", "comment": null}, "unique_count_subscribed_to_list": {"type": "INT64", "index": 40, "name": "unique_count_subscribed_to_list", "comment": null}, "count_unsubscribed_to_list": {"type": "INT64", "index": 41, "name": "count_unsubscribed_to_list", "comment": null}, "unique_count_unsubscribed_to_list": {"type": "INT64", "index": 42, "name": "unique_count_unsubscribed_to_list", "comment": null}, "count_unsubscribed": {"type": "INT64", "index": 43, "name": "count_unsubscribed", "comment": null}, "unique_count_unsubscribed": {"type": "INT64", "index": 44, "name": "unique_count_unsubscribed", "comment": null}, "count_updated_email_preferences": {"type": "INT64", "index": 45, "name": "count_updated_email_preferences", "comment": null}, "unique_count_updated_email_preferences": {"type": "INT64", "index": 46, "name": "unique_count_updated_email_preferences", "comment": null}, "count_subscribed_to_back_in_stock": {"type": "INT64", "index": 47, "name": "count_subscribed_to_back_in_stock", "comment": null}, "unique_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 48, "name": "unique_count_subscribed_to_back_in_stock", "comment": null}, "count_merged_profile": {"type": "INT64", "index": 49, "name": "count_merged_profile", "comment": null}, "unique_count_merged_profile": {"type": "INT64", "index": 50, "name": "unique_count_merged_profile", "comment": null}, "count_received_sms": {"type": "INT64", "index": 51, "name": "count_received_sms", "comment": null}, "unique_count_received_sms": {"type": "INT64", "index": 52, "name": "unique_count_received_sms", "comment": null}, "count_clicked_sms": {"type": "INT64", "index": 53, "name": "count_clicked_sms", "comment": null}, "unique_count_clicked_sms": {"type": "INT64", "index": 54, "name": "unique_count_clicked_sms", "comment": null}, "count_consented_to_receive_sms": {"type": "INT64", "index": 55, "name": "count_consented_to_receive_sms", "comment": null}, "unique_count_consented_to_receive_sms": {"type": "INT64", "index": 56, "name": "unique_count_consented_to_receive_sms", "comment": null}, "count_sent_sms": {"type": "INT64", "index": 57, "name": "count_sent_sms", "comment": null}, "unique_count_sent_sms": {"type": "INT64", "index": 58, "name": "unique_count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "INT64", "index": 59, "name": "count_unsubscribed_from_sms", "comment": null}, "unique_count_unsubscribed_from_sms": {"type": "INT64", "index": 60, "name": "unique_count_unsubscribed_from_sms", "comment": null}, "count_failed_to_deliver_sms": {"type": "INT64", "index": 61, "name": "count_failed_to_deliver_sms", "comment": null}, "unique_count_failed_to_deliver_sms": {"type": "INT64", "index": 62, "name": "unique_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__campaign_flow_metrics"}, "model.klaviyo.int_klaviyo__person_metrics": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_int_klaviyo", "name": "int_klaviyo__person_metrics", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"person_id": {"type": "STRING", "index": 1, "name": "person_id", "comment": null}, "source_relation": {"type": "STRING", "index": 2, "name": "source_relation", "comment": null}, "count_total_campaigns": {"type": "INT64", "index": 3, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "INT64", "index": 4, "name": "count_total_flows", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 5, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 6, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "TIMESTAMP", "index": 7, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "TIMESTAMP", "index": 8, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "TIMESTAMP", "index": 9, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "TIMESTAMP", "index": 10, "name": "last_flow_touch_at", "comment": null}, "total_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 11, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 12, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "NUMERIC", "index": 13, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "NUMERIC", "index": 14, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 15, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 16, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 17, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 18, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 19, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 20, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "INT64", "index": 21, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "INT64", "index": 22, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "INT64", "index": 23, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "INT64", "index": 24, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "INT64", "index": 25, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "INT64", "index": 26, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "INT64", "index": 27, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "INT64", "index": 28, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "INT64", "index": 29, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "INT64", "index": 30, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "INT64", "index": 31, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "INT64", "index": 32, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "INT64", "index": 33, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "INT64", "index": 34, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "INT64", "index": 35, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "INT64", "index": 36, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "INT64", "index": 37, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 38, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "INT64", "index": 39, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "INT64", "index": 40, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "INT64", "index": 41, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "INT64", "index": 42, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "INT64", "index": 43, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "INT64", "index": 44, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "INT64", "index": 45, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo.int_klaviyo__person_metrics"}, "model.klaviyo_source.stg_klaviyo__event_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__event_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "person_id": {"type": "STRING", "index": 2, "name": "person_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "uuid": {"type": "STRING", "index": 6, "name": "uuid", "comment": null}, "datetime": {"type": "TIMESTAMP", "index": 7, "name": "datetime", "comment": null}, "timestamp": {"type": "TIMESTAMP", "index": 8, "name": "timestamp", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 9, "name": "_fivetran_deleted", "comment": null}, "metric_id": {"type": "STRING", "index": 10, "name": "metric_id", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "_variation": {"type": "STRING", "index": 12, "name": "_variation", "comment": null}, "property_value": {"type": "INT64", "index": 13, "name": "property_value", "comment": null}, "property_source_name": {"type": "INT64", "index": 14, "name": "property_source_name", "comment": null}, "property_extra": {"type": "INT64", "index": 15, "name": "property_extra", "comment": null}, "property_shipping_rate": {"type": "INT64", "index": 16, "name": "property_shipping_rate", "comment": null}, "property_items": {"type": "INT64", "index": 17, "name": "property_items", "comment": null}, "property_tags": {"type": "INT64", "index": 18, "name": "property_tags", "comment": null}, "property_item_count": {"type": "INT64", "index": 19, "name": "property_item_count", "comment": null}, "property_collections": {"type": "INT64", "index": 20, "name": "property_collections", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}, "property_currency_code": {"type": "INT64", "index": 22, "name": "property_currency_code", "comment": null}, "property_product_id": {"type": "INT64", "index": 23, "name": "property_product_id", "comment": null}, "property_quantity": {"type": "INT64", "index": 24, "name": "property_quantity", "comment": null}, "property_name": {"type": "INT64", "index": 25, "name": "property_name", "comment": null}, "property_variant_option_title": {"type": "INT64", "index": 26, "name": "property_variant_option_title", "comment": null}, "property_sku": {"type": "INT64", "index": 27, "name": "property_sku", "comment": null}, "property_variant_name": {"type": "INT64", "index": 28, "name": "property_variant_name", "comment": null}, "property_vendor": {"type": "INT64", "index": 29, "name": "property_vendor", "comment": null}, "property_event_id": {"type": "STRING", "index": 30, "name": "property_event_id", "comment": null}, "property_total_discounts": {"type": "INT64", "index": 31, "name": "property_total_discounts", "comment": null}, "property_attribution": {"type": "INT64", "index": 32, "name": "property_attribution", "comment": null}, "property_discount_codes": {"type": "INT64", "index": 33, "name": "property_discount_codes", "comment": null}, "property_fulfillment_hours": {"type": "INT64", "index": 34, "name": "property_fulfillment_hours", "comment": null}, "property_fulfillment_status": {"type": "INT64", "index": 35, "name": "property_fulfillment_status", "comment": null}, "property_subject": {"type": "STRING", "index": 36, "name": "property_subject", "comment": null}, "property_title": {"type": "INT64", "index": 37, "name": "property_title", "comment": null}, "property_message_interaction": {"type": "INT64", "index": 38, "name": "property_message_interaction", "comment": null}, "property_url": {"type": "INT64", "index": 39, "name": "property_url", "comment": null}, "property_shipment_type": {"type": "INT64", "index": 40, "name": "property_shipment_type", "comment": null}, "property_courier_name": {"type": "INT64", "index": 41, "name": "property_courier_name", "comment": null}, "property_current_status": {"type": "INT64", "index": 42, "name": "property_current_status", "comment": null}, "property_tracking_ship_date": {"type": "INT64", "index": 43, "name": "property_tracking_ship_date", "comment": null}, "property_tracking_postal_code": {"type": "INT64", "index": 44, "name": "property_tracking_postal_code", "comment": null}, "property_shipment_package_count": {"type": "INT64", "index": 45, "name": "property_shipment_package_count", "comment": null}, "property_campaign_name": {"type": "STRING", "index": 46, "name": "property_campaign_name", "comment": null}, "property_cohort_message_send_cohort": {"type": "STRING", "index": 47, "name": "property_cohort_message_send_cohort", "comment": null}, "property_email_domain": {"type": "STRING", "index": 48, "name": "property_email_domain", "comment": null}, "property_bounce_type": {"type": "INT64", "index": 49, "name": "property_bounce_type", "comment": null}, "property_client_type": {"type": "INT64", "index": 50, "name": "property_client_type", "comment": null}, "property_client_os": {"type": "INT64", "index": 51, "name": "property_client_os", "comment": null}, "property_client_name": {"type": "INT64", "index": 52, "name": "property_client_name", "comment": null}, "property_client_os_family": {"type": "INT64", "index": 53, "name": "property_client_os_family", "comment": null}, "property_client_canonical": {"type": "INT64", "index": 54, "name": "property_client_canonical", "comment": null}, "property_page": {"type": "INT64", "index": 55, "name": "property_page", "comment": null}, "property_is_session_activity": {"type": "INT64", "index": 56, "name": "property_is_session_activity", "comment": null}, "property_os": {"type": "INT64", "index": 57, "name": "property_os", "comment": null}, "property_session_end": {"type": "INT64", "index": 58, "name": "property_session_end", "comment": null}, "property_browser": {"type": "INT64", "index": 59, "name": "property_browser", "comment": null}, "property_list": {"type": "INT64", "index": 60, "name": "property_list", "comment": null}, "property_compare_at_price": {"type": "INT64", "index": 61, "name": "property_compare_at_price", "comment": null}, "property_price": {"type": "INT64", "index": 62, "name": "property_price", "comment": null}, "property_image_url": {"type": "INT64", "index": 63, "name": "property_image_url", "comment": null}, "property_brand": {"type": "INT64", "index": 64, "name": "property_brand", "comment": null}, "property_categories": {"type": "INT64", "index": 65, "name": "property_categories", "comment": null}, "property_variant_option_size": {"type": "INT64", "index": 66, "name": "property_variant_option_size", "comment": null}, "property_attribute_workout": {"type": "INT64", "index": 67, "name": "property_attribute_workout", "comment": null}, "property_attribute_age": {"type": "INT64", "index": 68, "name": "property_attribute_age", "comment": null}, "property_attribute_fitness_goal": {"type": "INT64", "index": 69, "name": "property_attribute_fitness_goal", "comment": null}, "property_attribute_breakfast": {"type": "INT64", "index": 70, "name": "property_attribute_breakfast", "comment": null}, "property_variant_option_type": {"type": "INT64", "index": 71, "name": "property_variant_option_type", "comment": null}, "property_cohort_variation_send_cohort": {"type": "STRING", "index": 72, "name": "property_cohort_variation_send_cohort", "comment": null}, "property_method": {"type": "INT64", "index": 73, "name": "property_method", "comment": null}, "property_to_number": {"type": "INT64", "index": 74, "name": "property_to_number", "comment": null}, "property_message_type": {"type": "INT64", "index": 75, "name": "property_message_type", "comment": null}, "property_from_number": {"type": "INT64", "index": 76, "name": "property_from_number", "comment": null}, "property_message_format": {"type": "INT64", "index": 77, "name": "property_message_format", "comment": null}, "property_message_name": {"type": "INT64", "index": 78, "name": "property_message_name", "comment": null}, "property_carrier_delivery_status": {"type": "INT64", "index": 79, "name": "property_carrier_delivery_status", "comment": null}, "property_failure_type": {"type": "INT64", "index": 80, "name": "property_failure_type", "comment": null}, "property_failure_source": {"type": "INT64", "index": 81, "name": "property_failure_source", "comment": null}, "property_message_body": {"type": "INT64", "index": 82, "name": "property_message_body", "comment": null}, "property_email": {"type": "INT64", "index": 83, "name": "property_email", "comment": null}, "property_attribute_kit": {"type": "INT64", "index": 84, "name": "property_attribute_kit", "comment": null}, "property_vendor_error_code": {"type": "INT64", "index": 85, "name": "property_vendor_error_code", "comment": null}, "property_ordr_details": {"type": "INT64", "index": 86, "name": "property_ordr_details", "comment": null}, "property_date_to_send_gift": {"type": "INT64", "index": 87, "name": "property_date_to_send_gift", "comment": null}, "property_recipient_name": {"type": "INT64", "index": 88, "name": "property_recipient_name", "comment": null}, "property_attribute_facebook_order_retailer_id": {"type": "INT64", "index": 89, "name": "property_attribute_facebook_order_retailer_id", "comment": null}, "property_sender_s_name": {"type": "INT64", "index": 90, "name": "property_sender_s_name", "comment": null}, "property_attribute_kitid": {"type": "INT64", "index": 91, "name": "property_attribute_kitid", "comment": null}, "property_conversation_id": {"type": "INT64", "index": 92, "name": "property_conversation_id", "comment": null}, "property_conversation_link": {"type": "INT64", "index": 93, "name": "property_conversation_link", "comment": null}, "property_conversation_channel": {"type": "INT64", "index": 94, "name": "property_conversation_channel", "comment": null}, "property_rating": {"type": "INT64", "index": 95, "name": "property_rating", "comment": null}, "property_score": {"type": "INT64", "index": 96, "name": "property_score", "comment": null}, "property_from_phone_region": {"type": "INT64", "index": 97, "name": "property_from_phone_region", "comment": null}, "property_shipment_carrier": {"type": "INT64", "index": 98, "name": "property_shipment_carrier", "comment": null}, "property_shipment_status": {"type": "INT64", "index": 99, "name": "property_shipment_status", "comment": null}, "property_to_phone_region": {"type": "INT64", "index": 100, "name": "property_to_phone_region", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__event_tmp"}, "model.klaviyo_source.stg_klaviyo__flow": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__flow", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "flow_id": {"type": "STRING", "index": 2, "name": "flow_id", "comment": null}, "flow_name": {"type": "STRING", "index": 3, "name": "flow_name", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "flow_trigger": {"type": "STRING", "index": 5, "name": "flow_trigger", "comment": null}, "updated_at": {"type": "STRING", "index": 6, "name": "updated_at", "comment": null}, "person_filter": {"type": "STRING", "index": 7, "name": "person_filter", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 592.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__flow"}, "model.klaviyo_source.stg_klaviyo__campaign": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_type": {"type": "STRING", "index": 1, "name": "campaign_type", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "email_template_id": {"type": "STRING", "index": 3, "name": "email_template_id", "comment": null}, "from_email": {"type": "STRING", "index": 4, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 5, "name": "from_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 6, "name": "campaign_id", "comment": null}, "is_segmented": {"type": "BOOL", "index": 7, "name": "is_segmented", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "scheduled_to_send_at": {"type": "STRING", "index": 9, "name": "scheduled_to_send_at", "comment": null}, "sent_at": {"type": "STRING", "index": 10, "name": "sent_at", "comment": null}, "status": {"type": "STRING", "index": 11, "name": "status", "comment": null}, "status_id": {"type": "INT64", "index": 12, "name": "status_id", "comment": null}, "subject": {"type": "STRING", "index": 13, "name": "subject", "comment": null}, "updated_at": {"type": "STRING", "index": 14, "name": "updated_at", "comment": null}, "source_relation": {"type": "STRING", "index": 15, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 335.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__campaign"}, "model.klaviyo_source.stg_klaviyo__person_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__person_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated": {"type": "STRING", "index": 2, "name": "updated", "comment": null}, "created": {"type": "STRING", "index": 3, "name": "created", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "address_1": {"type": "STRING", "index": 7, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 8, "name": "address_2", "comment": null}, "title": {"type": "INT64", "index": 9, "name": "title", "comment": null}, "timezone": {"type": "STRING", "index": 10, "name": "timezone", "comment": null}, "organization": {"type": "INT64", "index": 11, "name": "organization", "comment": null}, "region": {"type": "STRING", "index": 12, "name": "region", "comment": null}, "longitude": {"type": "FLOAT64", "index": 13, "name": "longitude", "comment": null}, "latitude": {"type": "FLOAT64", "index": 14, "name": "latitude", "comment": null}, "phone_number": {"type": "STRING", "index": 15, "name": "phone_number", "comment": null}, "country": {"type": "STRING", "index": 16, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 17, "name": "zip", "comment": null}, "city": {"type": "STRING", "index": 18, "name": "city", "comment": null}, "email": {"type": "STRING", "index": 19, "name": "email", "comment": null}, "custom_object": {"type": "STRING", "index": 20, "name": "custom_object", "comment": null}, "custom_email": {"type": "STRING", "index": 21, "name": "custom_email", "comment": null}, "custom_accepts_marketing": {"type": "BOOL", "index": 22, "name": "custom_accepts_marketing", "comment": null}, "custom_shopify_tags": {"type": "STRING", "index": 23, "name": "custom_shopify_tags", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 24, "name": "_fivetran_synced", "comment": null}, "custom_consent_form_id": {"type": "STRING", "index": 25, "name": "custom_consent_form_id", "comment": null}, "custom_source": {"type": "STRING", "index": 26, "name": "custom_source", "comment": null}, "custom_consent_method": {"type": "STRING", "index": 27, "name": "custom_consent_method", "comment": null}, "custom_consent": {"type": "INT64", "index": 28, "name": "custom_consent", "comment": null}, "custom_gift_giver_name": {"type": "INT64", "index": 29, "name": "custom_gift_giver_name", "comment": null}, "custom_state": {"type": "INT64", "index": 30, "name": "custom_state", "comment": null}, "custom_flow": {"type": "INT64", "index": 31, "name": "custom_flow", "comment": null}, "custom_gift_recipient_name": {"type": "INT64", "index": 32, "name": "custom_gift_recipient_name", "comment": null}, "custom_last_sign_in": {"type": "INT64", "index": 33, "name": "custom_last_sign_in", "comment": null}, "custom_consent_form_version": {"type": "INT64", "index": 34, "name": "custom_consent_form_version", "comment": null}, "custom_consent_timestamp": {"type": "INT64", "index": 35, "name": "custom_consent_timestamp", "comment": null}, "custom_mail_chimp_rating": {"type": "INT64", "index": 36, "name": "custom_mail_chimp_rating", "comment": null}, "custom_gift_recipient_email": {"type": "INT64", "index": 37, "name": "custom_gift_recipient_email", "comment": null}, "custom_gift_options": {"type": "INT64", "index": 38, "name": "custom_gift_options", "comment": null}, "custom_address": {"type": "INT64", "index": 39, "name": "custom_address", "comment": null}, "custom_subscription_expiration": {"type": "INT64", "index": 40, "name": "custom_subscription_expiration", "comment": null}, "custom_city": {"type": "INT64", "index": 41, "name": "custom_city", "comment": null}, "custom_address_line_2": {"type": "INT64", "index": 42, "name": "custom_address_line_2", "comment": null}, "custom_zipcode": {"type": "INT64", "index": 43, "name": "custom_zipcode", "comment": null}, "custom_expected_date_of_next_order": {"type": "STRING", "index": 44, "name": "custom_expected_date_of_next_order", "comment": null}, "custom_sms_attentive_signup": {"type": "INT64", "index": 45, "name": "custom_sms_attentive_signup", "comment": null}, "custom_phone": {"type": "INT64", "index": 46, "name": "custom_phone", "comment": null}, "custom_afterpay_order": {"type": "INT64", "index": 47, "name": "custom_afterpay_order", "comment": null}, "custom_phone_number_region": {"type": "STRING", "index": 48, "name": "custom_phone_number_region", "comment": null}, "custom_name": {"type": "INT64", "index": 49, "name": "custom_name", "comment": null}, "custom_referrer_name": {"type": "INT64", "index": 50, "name": "custom_referrer_name", "comment": null}, "custom_referrer_email": {"type": "INT64", "index": 51, "name": "custom_referrer_email", "comment": null}, "custom_birthday": {"type": "INT64", "index": 52, "name": "custom_birthday", "comment": null}, "custom_first_purchase_date_": {"type": "DATE", "index": 53, "name": "custom_first_purchase_date_", "comment": null}, "custom_unengaged": {"type": "INT64", "index": 54, "name": "custom_unengaged", "comment": null}, "custom_landing_page_tag": {"type": "INT64", "index": 55, "name": "custom_landing_page_tag", "comment": null}, "custom_fitness_goal": {"type": "INT64", "index": 56, "name": "custom_fitness_goal", "comment": null}, "custom_age": {"type": "INT64", "index": 57, "name": "custom_age", "comment": null}, "custom_workout": {"type": "INT64", "index": 58, "name": "custom_workout", "comment": null}, "custom_quiz": {"type": "INT64", "index": 59, "name": "custom_quiz", "comment": null}, "custom_breakfast": {"type": "INT64", "index": 60, "name": "custom_breakfast", "comment": null}, "custom_quiz_data": {"type": "INT64", "index": 61, "name": "custom_quiz_data", "comment": null}, "custom_raf_subscribe": {"type": "INT64", "index": 62, "name": "custom_raf_subscribe", "comment": null}, "custom_suppress": {"type": "INT64", "index": 63, "name": "custom_suppress", "comment": null}, "custom_sms_consent": {"type": "INT64", "index": 64, "name": "custom_sms_consent", "comment": null}, "custom_gift_option_dreambelt": {"type": "INT64", "index": 65, "name": "custom_gift_option_dreambelt", "comment": null}, "custom_gift_option_starter": {"type": "INT64", "index": 66, "name": "custom_gift_option_starter", "comment": null}, "custom_gift_option_machine": {"type": "INT64", "index": 67, "name": "custom_gift_option_machine", "comment": null}, "custom_landingpage_tag": {"type": "INT64", "index": 68, "name": "custom_landingpage_tag", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__person_tmp"}, "model.klaviyo_source.stg_klaviyo__metric_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__metric_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "integration_id": {"type": "STRING", "index": 3, "name": "integration_id", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__metric_tmp"}, "model.klaviyo_source.stg_klaviyo__metric": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__metric", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "metric_id": {"type": "STRING", "index": 2, "name": "metric_id", "comment": null}, "integration_id": {"type": "STRING", "index": 3, "name": "integration_id", "comment": null}, "metric_name": {"type": "STRING", "index": 4, "name": "metric_name", "comment": null}, "updated_at": {"type": "STRING", "index": 5, "name": "updated_at", "comment": null}, "source_relation": {"type": "STRING", "index": 6, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 167.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__metric"}, "model.klaviyo_source.stg_klaviyo__integration_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__integration_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "category": {"type": "STRING", "index": 2, "name": "category", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__integration_tmp"}, "model.klaviyo_source.stg_klaviyo__event": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__event", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"variation_id": {"type": "STRING", "index": 1, "name": "variation_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "occurred_at": {"type": "TIMESTAMP", "index": 3, "name": "occurred_at", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "event_id": {"type": "STRING", "index": 6, "name": "event_id", "comment": null}, "metric_id": {"type": "STRING", "index": 7, "name": "metric_id", "comment": null}, "person_id": {"type": "STRING", "index": 8, "name": "person_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "uuid": {"type": "STRING", "index": 10, "name": "uuid", "comment": null}, "numeric_value": {"type": "INT64", "index": 11, "name": "numeric_value", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 13, "name": "source_relation", "comment": null}, "occurred_on": {"type": "DATE", "index": 14, "name": "occurred_on", "comment": null}, "unique_event_id": {"type": "STRING", "index": 15, "name": "unique_event_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 312.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__event"}, "model.klaviyo_source.stg_klaviyo__integration": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__integration", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"category": {"type": "STRING", "index": 1, "name": "category", "comment": null}, "integration_id": {"type": "STRING", "index": 2, "name": "integration_id", "comment": null}, "integration_name": {"type": "STRING", "index": 3, "name": "integration_name", "comment": null}, "source_relation": {"type": "STRING", "index": 4, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 58.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__integration"}, "model.klaviyo_source.stg_klaviyo__campaign_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__campaign_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "from_name": {"type": "STRING", "index": 2, "name": "from_name", "comment": null}, "status_id": {"type": "INT64", "index": 3, "name": "status_id", "comment": null}, "is_segmented": {"type": "BOOL", "index": 4, "name": "is_segmented", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "status_label": {"type": "STRING", "index": 6, "name": "status_label", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "subject": {"type": "STRING", "index": 8, "name": "subject", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 11, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 12, "name": "updated", "comment": null}, "send_time": {"type": "STRING", "index": 13, "name": "send_time", "comment": null}, "sent_at": {"type": "STRING", "index": 14, "name": "sent_at", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 15, "name": "_fivetran_deleted", "comment": null}, "email_template_id": {"type": "STRING", "index": 16, "name": "email_template_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__campaign_tmp"}, "model.klaviyo_source.stg_klaviyo__person": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__person", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"person_id": {"type": "STRING", "index": 1, "name": "person_id", "comment": null}, "address_1": {"type": "STRING", "index": 2, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 3, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 4, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 5, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 6, "name": "zip", "comment": null}, "created_at": {"type": "STRING", "index": 7, "name": "created_at", "comment": null}, "email": {"type": "STRING", "index": 8, "name": "email", "comment": null}, "full_name": {"type": "STRING", "index": 9, "name": "full_name", "comment": null}, "latitude": {"type": "FLOAT64", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 11, "name": "longitude", "comment": null}, "organization": {"type": "INT64", "index": 12, "name": "organization", "comment": null}, "phone_number": {"type": "STRING", "index": 13, "name": "phone_number", "comment": null}, "region": {"type": "STRING", "index": 14, "name": "region", "comment": null}, "timezone": {"type": "STRING", "index": 15, "name": "timezone", "comment": null}, "title": {"type": "INT64", "index": 16, "name": "title", "comment": null}, "updated_at": {"type": "STRING", "index": 17, "name": "updated_at", "comment": null}, "source_relation": {"type": "STRING", "index": 18, "name": "source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 385.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__person"}, "model.klaviyo_source.stg_klaviyo__flow_tmp": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_stg_klaviyo", "name": "stg_klaviyo__flow_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 3, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "customer_filter": {"type": "STRING", "index": 6, "name": "customer_filter", "comment": null}, "trigger": {"type": "STRING", "index": 7, "name": "trigger", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 8, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.klaviyo_source.stg_klaviyo__flow_tmp"}, "model.shopify.shopify__orders": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__orders", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "user_id": {"type": "INT64", "index": 2, "name": "user_id", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 3, "name": "total_discounts", "comment": null}, "total_discounts_set": {"type": "STRING", "index": 4, "name": "total_discounts_set", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 5, "name": "total_line_items_price", "comment": null}, "total_line_items_price_set": {"type": "STRING", "index": 6, "name": "total_line_items_price_set", "comment": null}, "total_price": {"type": "FLOAT64", "index": 7, "name": "total_price", "comment": null}, "total_price_set": {"type": "STRING", "index": 8, "name": "total_price_set", "comment": null}, "total_price_usd": {"type": "FLOAT64", "index": 9, "name": "total_price_usd", "comment": null}, "total_tax_set": {"type": "STRING", "index": 10, "name": "total_tax_set", "comment": null}, "total_tax": {"type": "INT64", "index": 11, "name": "total_tax", "comment": null}, "source_name": {"type": "STRING", "index": 12, "name": "source_name", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 13, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "BOOL", "index": 14, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "INT64", "index": 15, "name": "total_weight", "comment": null}, "total_tip_received": {"type": "FLOAT64", "index": 16, "name": "total_tip_received", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 17, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 18, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 19, "name": "name", "comment": null}, "note": {"type": "STRING", "index": 20, "name": "note", "comment": null}, "number": {"type": "INT64", "index": 21, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 22, "name": "order_number", "comment": null}, "cancel_reason": {"type": "INT64", "index": 23, "name": "cancel_reason", "comment": null}, "cart_token": {"type": "STRING", "index": 24, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 25, "name": "checkout_token", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 26, "name": "created_timestamp", "comment": null}, "cancelled_timestamp": {"type": "TIMESTAMP", "index": 27, "name": "cancelled_timestamp", "comment": null}, "closed_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "closed_timestamp", "comment": null}, "processed_timestamp": {"type": "TIMESTAMP", "index": 29, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 30, "name": "updated_timestamp", "comment": null}, "currency": {"type": "STRING", "index": 31, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 32, "name": "customer_id", "comment": null}, "email": {"type": "STRING", "index": 33, "name": "email", "comment": null}, "financial_status": {"type": "STRING", "index": 34, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 35, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "STRING", "index": 36, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 37, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 38, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 39, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 40, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "STRING", "index": 41, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 42, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 43, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 44, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 45, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 46, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 47, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 48, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 49, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 50, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 51, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 52, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "STRING", "index": 53, "name": "browser_ip", "comment": null}, "total_shipping_price_set": {"type": "STRING", "index": 54, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 55, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 56, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 57, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 58, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 59, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 60, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 61, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 62, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 63, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 64, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 65, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 66, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 67, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 68, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 69, "name": "shipping_address_zip", "comment": null}, "token": {"type": "STRING", "index": 70, "name": "token", "comment": null}, "app_id": {"type": "INT64", "index": 71, "name": "app_id", "comment": null}, "checkout_id": {"type": "INT64", "index": 72, "name": "checkout_id", "comment": null}, "client_details_user_agent": {"type": "STRING", "index": 73, "name": "client_details_user_agent", "comment": null}, "customer_locale": {"type": "STRING", "index": 74, "name": "customer_locale", "comment": null}, "order_status_url": {"type": "STRING", "index": 75, "name": "order_status_url", "comment": null}, "presentment_currency": {"type": "STRING", "index": 76, "name": "presentment_currency", "comment": null}, "is_test_order": {"type": "BOOL", "index": 77, "name": "is_test_order", "comment": null}, "is_deleted": {"type": "BOOL", "index": 78, "name": "is_deleted", "comment": null}, "has_buyer_accepted_marketing": {"type": "BOOL", "index": 79, "name": "has_buyer_accepted_marketing", "comment": null}, "is_confirmed": {"type": "BOOL", "index": 80, "name": "is_confirmed", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 81, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 82, "name": "source_relation", "comment": null}, "shipping_cost": {"type": "FLOAT64", "index": 83, "name": "shipping_cost", "comment": null}, "order_adjustment_amount": {"type": "INT64", "index": 84, "name": "order_adjustment_amount", "comment": null}, "order_adjustment_tax_amount": {"type": "FLOAT64", "index": 85, "name": "order_adjustment_tax_amount", "comment": null}, "refund_subtotal": {"type": "NUMERIC", "index": 86, "name": "refund_subtotal", "comment": null}, "refund_total_tax": {"type": "NUMERIC", "index": 87, "name": "refund_total_tax", "comment": null}, "order_adjusted_total": {"type": "FLOAT64", "index": 88, "name": "order_adjusted_total", "comment": null}, "line_item_count": {"type": "INT64", "index": 89, "name": "line_item_count", "comment": null}, "shipping_discount_amount": {"type": "FLOAT64", "index": 90, "name": "shipping_discount_amount", "comment": null}, "percentage_calc_discount_amount": {"type": "FLOAT64", "index": 91, "name": "percentage_calc_discount_amount", "comment": null}, "fixed_amount_discount_amount": {"type": "FLOAT64", "index": 92, "name": "fixed_amount_discount_amount", "comment": null}, "count_discount_codes_applied": {"type": "INT64", "index": 93, "name": "count_discount_codes_applied", "comment": null}, "order_total_shipping_tax": {"type": "FLOAT64", "index": 94, "name": "order_total_shipping_tax", "comment": null}, "order_tags": {"type": "STRING", "index": 95, "name": "order_tags", "comment": null}, "order_url_tags": {"type": "STRING", "index": 96, "name": "order_url_tags", "comment": null}, "number_of_fulfillments": {"type": "INT64", "index": 97, "name": "number_of_fulfillments", "comment": null}, "fulfillment_services": {"type": "STRING", "index": 98, "name": "fulfillment_services", "comment": null}, "tracking_companies": {"type": "STRING", "index": 99, "name": "tracking_companies", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 100, "name": "tracking_numbers", "comment": null}, "customer_order_seq_number": {"type": "INT64", "index": 101, "name": "customer_order_seq_number", "comment": null}, "new_vs_repeat": {"type": "STRING", "index": 102, "name": "new_vs_repeat", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4054.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__orders"}, "model.shopify.shopify__inventory_levels": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__inventory_levels", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "available_quantity": {"type": "INT64", "index": 3, "name": "available_quantity", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 4, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 6, "name": "source_relation", "comment": null}, "sku": {"type": "INT64", "index": 7, "name": "sku", "comment": null}, "is_inventory_item_deleted": {"type": "BOOL", "index": 8, "name": "is_inventory_item_deleted", "comment": null}, "cost": {"type": "INT64", "index": 9, "name": "cost", "comment": null}, "country_code_of_origin": {"type": "INT64", "index": 10, "name": "country_code_of_origin", "comment": null}, "province_code_of_origin": {"type": "INT64", "index": 11, "name": "province_code_of_origin", "comment": null}, "is_shipping_required": {"type": "INT64", "index": 12, "name": "is_shipping_required", "comment": null}, "is_inventory_quantity_tracked": {"type": "INT64", "index": 13, "name": "is_inventory_quantity_tracked", "comment": null}, "inventory_item_created_at": {"type": "TIMESTAMP", "index": 14, "name": "inventory_item_created_at", "comment": null}, "inventory_item_updated_at": {"type": "TIMESTAMP", "index": 15, "name": "inventory_item_updated_at", "comment": null}, "location_name": {"type": "STRING", "index": 16, "name": "location_name", "comment": null}, "is_location_deleted": {"type": "BOOL", "index": 17, "name": "is_location_deleted", "comment": null}, "is_location_active": {"type": "BOOL", "index": 18, "name": "is_location_active", "comment": null}, "address_1": {"type": "STRING", "index": 19, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 20, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 21, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 22, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 23, "name": "country_code", "comment": null}, "is_legacy_location": {"type": "BOOL", "index": 24, "name": "is_legacy_location", "comment": null}, "province": {"type": "STRING", "index": 25, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 26, "name": "province_code", "comment": null}, "phone": {"type": "INT64", "index": 27, "name": "phone", "comment": null}, "zip": {"type": "INT64", "index": 28, "name": "zip", "comment": null}, "location_created_at": {"type": "TIMESTAMP", "index": 29, "name": "location_created_at", "comment": null}, "location_updated_at": {"type": "TIMESTAMP", "index": 30, "name": "location_updated_at", "comment": null}, "variant_id": {"type": "INT64", "index": 31, "name": "variant_id", "comment": null}, "product_id": {"type": "INT64", "index": 32, "name": "product_id", "comment": null}, "variant_title": {"type": "STRING", "index": 33, "name": "variant_title", "comment": null}, "variant_inventory_policy": {"type": "STRING", "index": 34, "name": "variant_inventory_policy", "comment": null}, "variant_price": {"type": "INT64", "index": 35, "name": "variant_price", "comment": null}, "variant_image_id": {"type": "INT64", "index": 36, "name": "variant_image_id", "comment": null}, "variant_fulfillment_service": {"type": "STRING", "index": 37, "name": "variant_fulfillment_service", "comment": null}, "variant_inventory_management": {"type": "STRING", "index": 38, "name": "variant_inventory_management", "comment": null}, "is_variant_taxable": {"type": "BOOL", "index": 39, "name": "is_variant_taxable", "comment": null}, "variant_barcode": {"type": "INT64", "index": 40, "name": "variant_barcode", "comment": null}, "variant_grams": {"type": "INT64", "index": 41, "name": "variant_grams", "comment": null}, "variant_inventory_quantity": {"type": "INT64", "index": 42, "name": "variant_inventory_quantity", "comment": null}, "variant_weight": {"type": "INT64", "index": 43, "name": "variant_weight", "comment": null}, "variant_weight_unit": {"type": "STRING", "index": 44, "name": "variant_weight_unit", "comment": null}, "variant_option_1": {"type": "STRING", "index": 45, "name": "variant_option_1", "comment": null}, "variant_option_2": {"type": "INT64", "index": 46, "name": "variant_option_2", "comment": null}, "variant_option_3": {"type": "INT64", "index": 47, "name": "variant_option_3", "comment": null}, "variant_tax_code": {"type": "STRING", "index": 48, "name": "variant_tax_code", "comment": null}, "variant_created_at": {"type": "TIMESTAMP", "index": 49, "name": "variant_created_at", "comment": null}, "variant_updated_at": {"type": "TIMESTAMP", "index": 50, "name": "variant_updated_at", "comment": null}, "subtotal_sold": {"type": "INT64", "index": 51, "name": "subtotal_sold", "comment": null}, "quantity_sold": {"type": "INT64", "index": 52, "name": "quantity_sold", "comment": null}, "count_distinct_orders": {"type": "INT64", "index": 53, "name": "count_distinct_orders", "comment": null}, "count_distinct_customers": {"type": "INT64", "index": 54, "name": "count_distinct_customers", "comment": null}, "count_distinct_customer_emails": {"type": "INT64", "index": 55, "name": "count_distinct_customer_emails", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 56, "name": "first_order_timestamp", "comment": null}, "last_order_timestamp": {"type": "TIMESTAMP", "index": 57, "name": "last_order_timestamp", "comment": null}, "subtotal_sold_refunds": {"type": "NUMERIC", "index": 58, "name": "subtotal_sold_refunds", "comment": null}, "quantity_sold_refunds": {"type": "INT64", "index": 59, "name": "quantity_sold_refunds", "comment": null}, "count_fulfillment_pending": {"type": "INT64", "index": 60, "name": "count_fulfillment_pending", "comment": null}, "count_fulfillment_open": {"type": "INT64", "index": 61, "name": "count_fulfillment_open", "comment": null}, "count_fulfillment_success": {"type": "INT64", "index": 62, "name": "count_fulfillment_success", "comment": null}, "count_fulfillment_cancelled": {"type": "INT64", "index": 63, "name": "count_fulfillment_cancelled", "comment": null}, "count_fulfillment_error": {"type": "INT64", "index": 64, "name": "count_fulfillment_error", "comment": null}, "count_fulfillment_failure": {"type": "INT64", "index": 65, "name": "count_fulfillment_failure", "comment": null}, "net_subtotal_sold": {"type": "NUMERIC", "index": 66, "name": "net_subtotal_sold", "comment": null}, "net_quantity_sold": {"type": "INT64", "index": 67, "name": "net_quantity_sold", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__inventory_levels"}, "model.shopify.shopify__transactions": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__transactions", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"transaction_id": {"type": "INT64", "index": 1, "name": "transaction_id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "device_id": {"type": "INT64", "index": 5, "name": "device_id", "comment": null}, "gateway": {"type": "STRING", "index": 6, "name": "gateway", "comment": null}, "source_name": {"type": "STRING", "index": 7, "name": "source_name", "comment": null}, "message": {"type": "STRING", "index": 8, "name": "message", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "location_id": {"type": "INT64", "index": 10, "name": "location_id", "comment": null}, "parent_id": {"type": "INT64", "index": 11, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "STRING", "index": 12, "name": "payment_avs_result_code", "comment": null}, "payment_credit_card_bin": {"type": "INT64", "index": 13, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "INT64", "index": 14, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "INT64", "index": 15, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "INT64", "index": 16, "name": "payment_credit_card_company", "comment": null}, "kind": {"type": "STRING", "index": 17, "name": "kind", "comment": null}, "receipt": {"type": "STRING", "index": 18, "name": "receipt", "comment": null}, "currency_exchange_id": {"type": "INT64", "index": 19, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "INT64", "index": 20, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "INT64", "index": 21, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "INT64", "index": 22, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "INT64", "index": 23, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "INT64", "index": 24, "name": "error_code", "comment": null}, "status": {"type": "STRING", "index": 25, "name": "status", "comment": null}, "user_id": {"type": "INT64", "index": 26, "name": "user_id", "comment": null}, "authorization_code": {"type": "STRING", "index": 27, "name": "authorization_code", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "created_timestamp", "comment": null}, "processed_timestamp": {"type": "TIMESTAMP", "index": 29, "name": "processed_timestamp", "comment": null}, "authorization_expires_at": {"type": "TIMESTAMP", "index": 30, "name": "authorization_expires_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 31, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 32, "name": "source_relation", "comment": null}, "payment_method": {"type": "STRING", "index": 33, "name": "payment_method", "comment": null}, "parent_created_timestamp": {"type": "TIMESTAMP", "index": 34, "name": "parent_created_timestamp", "comment": null}, "parent_kind": {"type": "STRING", "index": 35, "name": "parent_kind", "comment": null}, "parent_amount": {"type": "FLOAT64", "index": 36, "name": "parent_amount", "comment": null}, "parent_status": {"type": "STRING", "index": 37, "name": "parent_status", "comment": null}, "exchange_rate": {"type": "NUMERIC", "index": 38, "name": "exchange_rate", "comment": null}, "currency_exchange_calculated_amount": {"type": "FLOAT64", "index": 39, "name": "currency_exchange_calculated_amount", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__transactions"}, "model.shopify.int_shopify__customer_email_rollup": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "int_shopify__customer_email_rollup", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"email": {"type": "STRING", "index": 1, "name": "email", "comment": null}, "source_relation": {"type": "STRING", "index": 2, "name": "source_relation", "comment": null}, "customer_ids": {"type": "STRING", "index": 3, "name": "customer_ids", "comment": null}, "phone_numbers": {"type": "STRING", "index": 4, "name": "phone_numbers", "comment": null}, "customer_tags": {"type": "STRING", "index": 5, "name": "customer_tags", "comment": null}, "first_account_created_at": {"type": "TIMESTAMP", "index": 6, "name": "first_account_created_at", "comment": null}, "last_account_created_at": {"type": "TIMESTAMP", "index": 7, "name": "last_account_created_at", "comment": null}, "last_updated_at": {"type": "TIMESTAMP", "index": 8, "name": "last_updated_at", "comment": null}, "marketing_consent_updated_at": {"type": "TIMESTAMP", "index": 9, "name": "marketing_consent_updated_at", "comment": null}, "last_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "last_fivetran_synced", "comment": null}, "orders_count": {"type": "INT64", "index": 11, "name": "orders_count", "comment": null}, "total_spent": {"type": "FLOAT64", "index": 12, "name": "total_spent", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 13, "name": "is_tax_exempt", "comment": null}, "is_verified_email": {"type": "BOOL", "index": 14, "name": "is_verified_email", "comment": null}, "first_name": {"type": "STRING", "index": 15, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 16, "name": "last_name", "comment": null}, "default_address_id": {"type": "INT64", "index": 17, "name": "default_address_id", "comment": null}, "account_state": {"type": "STRING", "index": 18, "name": "account_state", "comment": null}, "note": {"type": "STRING", "index": 19, "name": "note", "comment": null}, "lifetime_duration": {"type": "STRING", "index": 20, "name": "lifetime_duration", "comment": null}, "currency": {"type": "STRING", "index": 21, "name": "currency", "comment": null}, "marketing_consent_state": {"type": "STRING", "index": 22, "name": "marketing_consent_state", "comment": null}, "marketing_opt_in_level": {"type": "STRING", "index": 23, "name": "marketing_opt_in_level", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 24, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 25, "name": "updated_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.int_shopify__customer_email_rollup"}, "model.shopify.shopify__customer_cohorts": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__customer_cohorts", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_month": {"type": "DATETIME", "index": 1, "name": "date_month", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 3, "name": "first_order_timestamp", "comment": null}, "cohort_month": {"type": "TIMESTAMP", "index": 4, "name": "cohort_month", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}, "order_count_in_month": {"type": "INT64", "index": 6, "name": "order_count_in_month", "comment": null}, "total_price_in_month": {"type": "FLOAT64", "index": 7, "name": "total_price_in_month", "comment": null}, "line_item_count_in_month": {"type": "INT64", "index": 8, "name": "line_item_count_in_month", "comment": null}, "total_price_lifetime": {"type": "FLOAT64", "index": 9, "name": "total_price_lifetime", "comment": null}, "order_count_lifetime": {"type": "INT64", "index": 10, "name": "order_count_lifetime", "comment": null}, "line_item_count_lifetime": {"type": "INT64", "index": 11, "name": "line_item_count_lifetime", "comment": null}, "cohort_month_number": {"type": "INT64", "index": 12, "name": "cohort_month_number", "comment": null}, "customer_cohort_id": {"type": "STRING", "index": 13, "name": "customer_cohort_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8184.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 66.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customer_cohorts"}, "model.shopify.shopify__products": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__products", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"product_id": {"type": "INT64", "index": 1, "name": "product_id", "comment": null}, "handle": {"type": "STRING", "index": 2, "name": "handle", "comment": null}, "product_type": {"type": "STRING", "index": 3, "name": "product_type", "comment": null}, "published_scope": {"type": "STRING", "index": 4, "name": "published_scope", "comment": null}, "title": {"type": "STRING", "index": 5, "name": "title", "comment": null}, "vendor": {"type": "STRING", "index": 6, "name": "vendor", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "is_deleted": {"type": "BOOL", "index": 8, "name": "is_deleted", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 9, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 10, "name": "updated_timestamp", "comment": null}, "published_timestamp": {"type": "TIMESTAMP", "index": 11, "name": "published_timestamp", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 12, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 13, "name": "source_relation", "comment": null}, "collections": {"type": "STRING", "index": 14, "name": "collections", "comment": null}, "tags": {"type": "STRING", "index": 15, "name": "tags", "comment": null}, "count_variants": {"type": "INT64", "index": 16, "name": "count_variants", "comment": null}, "has_product_image": {"type": "BOOL", "index": 17, "name": "has_product_image", "comment": null}, "total_quantity_sold": {"type": "INT64", "index": 18, "name": "total_quantity_sold", "comment": null}, "subtotal_sold": {"type": "INT64", "index": 19, "name": "subtotal_sold", "comment": null}, "quantity_sold_net_refunds": {"type": "INT64", "index": 20, "name": "quantity_sold_net_refunds", "comment": null}, "subtotal_sold_net_refunds": {"type": "NUMERIC", "index": 21, "name": "subtotal_sold_net_refunds", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 22, "name": "first_order_timestamp", "comment": null}, "most_recent_order_timestamp": {"type": "TIMESTAMP", "index": 23, "name": "most_recent_order_timestamp", "comment": null}, "avg_quantity_per_order_line": {"type": "FLOAT64", "index": 24, "name": "avg_quantity_per_order_line", "comment": null}, "product_total_discount": {"type": "INT64", "index": 25, "name": "product_total_discount", "comment": null}, "product_avg_discount_per_order_line": {"type": "FLOAT64", "index": 26, "name": "product_avg_discount_per_order_line", "comment": null}, "product_total_tax": {"type": "FLOAT64", "index": 27, "name": "product_total_tax", "comment": null}, "product_avg_tax_per_order_line": {"type": "FLOAT64", "index": 28, "name": "product_avg_tax_per_order_line", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 822.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__products"}, "model.shopify.shopify__daily_shop": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__daily_shop", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "shop_id": {"type": "INT64", "index": 2, "name": "shop_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "domain": {"type": "STRING", "index": 4, "name": "domain", "comment": null}, "is_deleted": {"type": "BOOL", "index": 5, "name": "is_deleted", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "enabled_presentment_currencies": {"type": "STRING", "index": 7, "name": "enabled_presentment_currencies", "comment": null}, "iana_timezone": {"type": "STRING", "index": 8, "name": "iana_timezone", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "source_relation": {"type": "STRING", "index": 10, "name": "source_relation", "comment": null}, "count_orders": {"type": "INT64", "index": 11, "name": "count_orders", "comment": null}, "count_line_items": {"type": "INT64", "index": 12, "name": "count_line_items", "comment": null}, "avg_line_item_count": {"type": "FLOAT64", "index": 13, "name": "avg_line_item_count", "comment": null}, "count_customers": {"type": "INT64", "index": 14, "name": "count_customers", "comment": null}, "count_customer_emails": {"type": "INT64", "index": 15, "name": "count_customer_emails", "comment": null}, "order_adjusted_total": {"type": "FLOAT64", "index": 16, "name": "order_adjusted_total", "comment": null}, "avg_order_value": {"type": "FLOAT64", "index": 17, "name": "avg_order_value", "comment": null}, "shipping_cost": {"type": "FLOAT64", "index": 18, "name": "shipping_cost", "comment": null}, "order_adjustment_amount": {"type": "INT64", "index": 19, "name": "order_adjustment_amount", "comment": null}, "order_adjustment_tax_amount": {"type": "FLOAT64", "index": 20, "name": "order_adjustment_tax_amount", "comment": null}, "refund_subtotal": {"type": "NUMERIC", "index": 21, "name": "refund_subtotal", "comment": null}, "refund_total_tax": {"type": "NUMERIC", "index": 22, "name": "refund_total_tax", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 23, "name": "total_discounts", "comment": null}, "avg_discount": {"type": "FLOAT64", "index": 24, "name": "avg_discount", "comment": null}, "shipping_discount_amount": {"type": "FLOAT64", "index": 25, "name": "shipping_discount_amount", "comment": null}, "avg_shipping_discount_amount": {"type": "FLOAT64", "index": 26, "name": "avg_shipping_discount_amount", "comment": null}, "percentage_calc_discount_amount": {"type": "FLOAT64", "index": 27, "name": "percentage_calc_discount_amount", "comment": null}, "avg_percentage_calc_discount_amount": {"type": "FLOAT64", "index": 28, "name": "avg_percentage_calc_discount_amount", "comment": null}, "fixed_amount_discount_amount": {"type": "FLOAT64", "index": 29, "name": "fixed_amount_discount_amount", "comment": null}, "avg_fixed_amount_discount_amount": {"type": "FLOAT64", "index": 30, "name": "avg_fixed_amount_discount_amount", "comment": null}, "count_discount_codes_applied": {"type": "INT64", "index": 31, "name": "count_discount_codes_applied", "comment": null}, "count_locations_ordered_from": {"type": "INT64", "index": 32, "name": "count_locations_ordered_from", "comment": null}, "count_orders_with_discounts": {"type": "INT64", "index": 33, "name": "count_orders_with_discounts", "comment": null}, "count_orders_with_refunds": {"type": "INT64", "index": 34, "name": "count_orders_with_refunds", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 35, "name": "first_order_timestamp", "comment": null}, "last_order_timestamp": {"type": "TIMESTAMP", "index": 36, "name": "last_order_timestamp", "comment": null}, "quantity_sold": {"type": "INT64", "index": 37, "name": "quantity_sold", "comment": null}, "quantity_refunded": {"type": "INT64", "index": 38, "name": "quantity_refunded", "comment": null}, "quantity_net": {"type": "INT64", "index": 39, "name": "quantity_net", "comment": null}, "avg_quantity_sold": {"type": "FLOAT64", "index": 40, "name": "avg_quantity_sold", "comment": null}, "avg_quantity_net": {"type": "FLOAT64", "index": 41, "name": "avg_quantity_net", "comment": null}, "count_variants_sold": {"type": "INT64", "index": 42, "name": "count_variants_sold", "comment": null}, "count_products_sold": {"type": "INT64", "index": 43, "name": "count_products_sold", "comment": null}, "quantity_gift_cards_sold": {"type": "INT64", "index": 44, "name": "quantity_gift_cards_sold", "comment": null}, "quantity_requiring_shipping": {"type": "INT64", "index": 45, "name": "quantity_requiring_shipping", "comment": null}, "count_abandoned_checkouts": {"type": "INT64", "index": 46, "name": "count_abandoned_checkouts", "comment": null}, "count_customers_abandoned_checkout": {"type": "INT64", "index": 47, "name": "count_customers_abandoned_checkout", "comment": null}, "count_customer_emails_abandoned_checkout": {"type": "INT64", "index": 48, "name": "count_customer_emails_abandoned_checkout", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 526119.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1589.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__daily_shop"}, "model.shopify.shopify__customers": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__customers", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 3, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 4, "name": "last_name", "comment": null}, "default_address_id": {"type": "INT64", "index": 5, "name": "default_address_id", "comment": null}, "phone": {"type": "INT64", "index": 6, "name": "phone", "comment": null}, "account_state": {"type": "STRING", "index": 7, "name": "account_state", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 8, "name": "is_tax_exempt", "comment": null}, "is_verified_email": {"type": "BOOL", "index": 9, "name": "is_verified_email", "comment": null}, "note": {"type": "STRING", "index": 10, "name": "note", "comment": null}, "lifetime_duration": {"type": "STRING", "index": 11, "name": "lifetime_duration", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "marketing_consent_state": {"type": "STRING", "index": 13, "name": "marketing_consent_state", "comment": null}, "marketing_opt_in_level": {"type": "STRING", "index": 14, "name": "marketing_opt_in_level", "comment": null}, "marketing_consent_updated_at": {"type": "TIMESTAMP", "index": 15, "name": "marketing_consent_updated_at", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 16, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 17, "name": "updated_timestamp", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 18, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 19, "name": "source_relation", "comment": null}, "lifetime_abandoned_checkouts": {"type": "INT64", "index": 20, "name": "lifetime_abandoned_checkouts", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 21, "name": "first_order_timestamp", "comment": null}, "most_recent_order_timestamp": {"type": "TIMESTAMP", "index": 22, "name": "most_recent_order_timestamp", "comment": null}, "customer_tags": {"type": "STRING", "index": 23, "name": "customer_tags", "comment": null}, "avg_order_value": {"type": "FLOAT64", "index": 24, "name": "avg_order_value", "comment": null}, "lifetime_total_spent": {"type": "FLOAT64", "index": 25, "name": "lifetime_total_spent", "comment": null}, "lifetime_total_refunded": {"type": "FLOAT64", "index": 26, "name": "lifetime_total_refunded", "comment": null}, "lifetime_total_net": {"type": "FLOAT64", "index": 27, "name": "lifetime_total_net", "comment": null}, "lifetime_count_orders": {"type": "INT64", "index": 28, "name": "lifetime_count_orders", "comment": null}, "avg_quantity_per_order": {"type": "FLOAT64", "index": 29, "name": "avg_quantity_per_order", "comment": null}, "lifetime_total_tax": {"type": "FLOAT64", "index": 30, "name": "lifetime_total_tax", "comment": null}, "avg_tax_per_order": {"type": "FLOAT64", "index": 31, "name": "avg_tax_per_order", "comment": null}, "lifetime_total_discount": {"type": "INT64", "index": 32, "name": "lifetime_total_discount", "comment": null}, "avg_discount_per_order": {"type": "FLOAT64", "index": 33, "name": "avg_discount_per_order", "comment": null}, "lifetime_total_shipping": {"type": "FLOAT64", "index": 34, "name": "lifetime_total_shipping", "comment": null}, "avg_shipping_per_order": {"type": "FLOAT64", "index": 35, "name": "avg_shipping_per_order", "comment": null}, "lifetime_total_shipping_with_discounts": {"type": "FLOAT64", "index": 36, "name": "lifetime_total_shipping_with_discounts", "comment": null}, "avg_shipping_with_discounts_per_order": {"type": "FLOAT64", "index": 37, "name": "avg_shipping_with_discounts_per_order", "comment": null}, "lifetime_total_shipping_tax": {"type": "FLOAT64", "index": 38, "name": "lifetime_total_shipping_tax", "comment": null}, "avg_shipping_tax_per_order": {"type": "FLOAT64", "index": 39, "name": "avg_shipping_tax_per_order", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 842.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customers"}, "model.shopify.shopify__discounts": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__discounts", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"discount_code_id": {"type": "INT64", "index": 1, "name": "discount_code_id", "comment": null}, "code": {"type": "STRING", "index": 2, "name": "code", "comment": null}, "price_rule_id": {"type": "INT64", "index": 3, "name": "price_rule_id", "comment": null}, "usage_count": {"type": "FLOAT64", "index": 4, "name": "usage_count", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 6, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 8, "name": "source_relation", "comment": null}, "target_selection": {"type": "STRING", "index": 9, "name": "target_selection", "comment": null}, "target_type": {"type": "STRING", "index": 10, "name": "target_type", "comment": null}, "title": {"type": "STRING", "index": 11, "name": "title", "comment": null}, "usage_limit": {"type": "INT64", "index": 12, "name": "usage_limit", "comment": null}, "value": {"type": "FLOAT64", "index": 13, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 14, "name": "value_type", "comment": null}, "allocation_limit": {"type": "INT64", "index": 15, "name": "allocation_limit", "comment": null}, "allocation_method": {"type": "STRING", "index": 16, "name": "allocation_method", "comment": null}, "is_once_per_customer": {"type": "BOOL", "index": 17, "name": "is_once_per_customer", "comment": null}, "customer_selection": {"type": "STRING", "index": 18, "name": "customer_selection", "comment": null}, "prereq_min_quantity": {"type": "INT64", "index": 19, "name": "prereq_min_quantity", "comment": null}, "prereq_max_shipping_price": {"type": "INT64", "index": 20, "name": "prereq_max_shipping_price", "comment": null}, "prereq_min_subtotal": {"type": "FLOAT64", "index": 21, "name": "prereq_min_subtotal", "comment": null}, "prereq_min_purchase_quantity_for_entitlement": {"type": "INT64", "index": 22, "name": "prereq_min_purchase_quantity_for_entitlement", "comment": null}, "prereq_buy_x_get_this": {"type": "INT64", "index": 23, "name": "prereq_buy_x_get_this", "comment": null}, "prereq_buy_this_get_y": {"type": "INT64", "index": 24, "name": "prereq_buy_this_get_y", "comment": null}, "starts_at": {"type": "TIMESTAMP", "index": 25, "name": "starts_at", "comment": null}, "ends_at": {"type": "TIMESTAMP", "index": 26, "name": "ends_at", "comment": null}, "price_rule_created_at": {"type": "TIMESTAMP", "index": 27, "name": "price_rule_created_at", "comment": null}, "price_rule_updated_at": {"type": "TIMESTAMP", "index": 28, "name": "price_rule_updated_at", "comment": null}, "count_orders": {"type": "INT64", "index": 29, "name": "count_orders", "comment": null}, "count_abandoned_checkouts": {"type": "INT64", "index": 30, "name": "count_abandoned_checkouts", "comment": null}, "avg_order_discount_amount": {"type": "FLOAT64", "index": 31, "name": "avg_order_discount_amount", "comment": null}, "total_order_discount_amount": {"type": "FLOAT64", "index": 32, "name": "total_order_discount_amount", "comment": null}, "total_abandoned_checkout_discount_amount": {"type": "FLOAT64", "index": 33, "name": "total_abandoned_checkout_discount_amount", "comment": null}, "total_order_line_items_price": {"type": "FLOAT64", "index": 34, "name": "total_order_line_items_price", "comment": null}, "total_order_shipping_cost": {"type": "FLOAT64", "index": 35, "name": "total_order_shipping_cost", "comment": null}, "total_abandoned_checkout_shipping_price": {"type": "FLOAT64", "index": 36, "name": "total_abandoned_checkout_shipping_price", "comment": null}, "total_order_refund_amount": {"type": "NUMERIC", "index": 37, "name": "total_order_refund_amount", "comment": null}, "count_customers": {"type": "INT64", "index": 38, "name": "count_customers", "comment": null}, "count_customer_emails": {"type": "INT64", "index": 39, "name": "count_customer_emails", "comment": null}, "count_abandoned_checkout_customers": {"type": "INT64", "index": 40, "name": "count_abandoned_checkout_customers", "comment": null}, "count_abandoned_checkout_customer_emails": {"type": "INT64", "index": 41, "name": "count_abandoned_checkout_customer_emails", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 515.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__discounts"}, "model.shopify.shopify__order_lines": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__order_lines", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_line_id": {"type": "INT64", "index": 1, "name": "order_line_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "order_id": {"type": "INT64", "index": 4, "name": "order_id", "comment": null}, "fulfillable_quantity": {"type": "INT64", "index": 5, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 6, "name": "fulfillment_service", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 7, "name": "fulfillment_status", "comment": null}, "is_gift_card": {"type": "BOOL", "index": 8, "name": "is_gift_card", "comment": null}, "grams": {"type": "INT64", "index": 9, "name": "grams", "comment": null}, "pre_tax_price": {"type": "INT64", "index": 10, "name": "pre_tax_price", "comment": null}, "pre_tax_price_set": {"type": "STRING", "index": 11, "name": "pre_tax_price_set", "comment": null}, "price": {"type": "FLOAT64", "index": 12, "name": "price", "comment": null}, "price_set": {"type": "STRING", "index": 13, "name": "price_set", "comment": null}, "product_id": {"type": "INT64", "index": 14, "name": "product_id", "comment": null}, "quantity": {"type": "INT64", "index": 15, "name": "quantity", "comment": null}, "is_shipping_required": {"type": "BOOL", "index": 16, "name": "is_shipping_required", "comment": null}, "sku": {"type": "STRING", "index": 17, "name": "sku", "comment": null}, "is_taxable": {"type": "BOOL", "index": 18, "name": "is_taxable", "comment": null}, "tax_code": {"type": "STRING", "index": 19, "name": "tax_code", "comment": null}, "title": {"type": "STRING", "index": 20, "name": "title", "comment": null}, "total_discount": {"type": "INT64", "index": 21, "name": "total_discount", "comment": null}, "total_discount_set": {"type": "STRING", "index": 22, "name": "total_discount_set", "comment": null}, "variant_id": {"type": "INT64", "index": 23, "name": "variant_id", "comment": null}, "variant_title": {"type": "STRING", "index": 24, "name": "variant_title", "comment": null}, "variant_inventory_management": {"type": "STRING", "index": 25, "name": "variant_inventory_management", "comment": null}, "vendor": {"type": "STRING", "index": 26, "name": "vendor", "comment": null}, "properties": {"type": "STRING", "index": 27, "name": "properties", "comment": null}, "destination_location_address_1": {"type": "STRING", "index": 28, "name": "destination_location_address_1", "comment": null}, "destination_location_address_2": {"type": "STRING", "index": 29, "name": "destination_location_address_2", "comment": null}, "destination_location_city": {"type": "STRING", "index": 30, "name": "destination_location_city", "comment": null}, "destination_location_country_code": {"type": "STRING", "index": 31, "name": "destination_location_country_code", "comment": null}, "destination_location_id": {"type": "INT64", "index": 32, "name": "destination_location_id", "comment": null}, "destination_location_name": {"type": "STRING", "index": 33, "name": "destination_location_name", "comment": null}, "destination_location_province_code": {"type": "STRING", "index": 34, "name": "destination_location_province_code", "comment": null}, "destination_location_zip": {"type": "STRING", "index": 35, "name": "destination_location_zip", "comment": null}, "origin_location_address_1": {"type": "STRING", "index": 36, "name": "origin_location_address_1", "comment": null}, "origin_location_address_2": {"type": "STRING", "index": 37, "name": "origin_location_address_2", "comment": null}, "origin_location_city": {"type": "STRING", "index": 38, "name": "origin_location_city", "comment": null}, "origin_location_country_code": {"type": "STRING", "index": 39, "name": "origin_location_country_code", "comment": null}, "origin_location_id": {"type": "INT64", "index": 40, "name": "origin_location_id", "comment": null}, "origin_location_name": {"type": "STRING", "index": 41, "name": "origin_location_name", "comment": null}, "origin_location_province_code": {"type": "STRING", "index": 42, "name": "origin_location_province_code", "comment": null}, "origin_location_zip": {"type": "STRING", "index": 43, "name": "origin_location_zip", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 44, "name": "_fivetran_synced", "comment": null}, "source_relation": {"type": "STRING", "index": 45, "name": "source_relation", "comment": null}, "restock_types": {"type": "STRING", "index": 46, "name": "restock_types", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 47, "name": "refunded_quantity", "comment": null}, "refunded_subtotal": {"type": "NUMERIC", "index": 48, "name": "refunded_subtotal", "comment": null}, "quantity_net_refunds": {"type": "INT64", "index": 49, "name": "quantity_net_refunds", "comment": null}, "subtotal_net_refunds": {"type": "NUMERIC", "index": 50, "name": "subtotal_net_refunds", "comment": null}, "variant_created_at": {"type": "TIMESTAMP", "index": 51, "name": "variant_created_at", "comment": null}, "variant_updated_at": {"type": "TIMESTAMP", "index": 52, "name": "variant_updated_at", "comment": null}, "inventory_item_id": {"type": "INT64", "index": 53, "name": "inventory_item_id", "comment": null}, "image_id": {"type": "INT64", "index": 54, "name": "image_id", "comment": null}, "variant_price": {"type": "INT64", "index": 55, "name": "variant_price", "comment": null}, "variant_sku": {"type": "INT64", "index": 56, "name": "variant_sku", "comment": null}, "variant_position": {"type": "INT64", "index": 57, "name": "variant_position", "comment": null}, "variant_inventory_policy": {"type": "STRING", "index": 58, "name": "variant_inventory_policy", "comment": null}, "variant_compare_at_price": {"type": "INT64", "index": 59, "name": "variant_compare_at_price", "comment": null}, "variant_fulfillment_service": {"type": "STRING", "index": 60, "name": "variant_fulfillment_service", "comment": null}, "variant_is_taxable": {"type": "BOOL", "index": 61, "name": "variant_is_taxable", "comment": null}, "variant_barcode": {"type": "INT64", "index": 62, "name": "variant_barcode", "comment": null}, "variant_grams": {"type": "INT64", "index": 63, "name": "variant_grams", "comment": null}, "variant_inventory_quantity": {"type": "INT64", "index": 64, "name": "variant_inventory_quantity", "comment": null}, "variant_weight": {"type": "INT64", "index": 65, "name": "variant_weight", "comment": null}, "variant_weight_unit": {"type": "STRING", "index": 66, "name": "variant_weight_unit", "comment": null}, "variant_option_1": {"type": "STRING", "index": 67, "name": "variant_option_1", "comment": null}, "variant_option_2": {"type": "INT64", "index": 68, "name": "variant_option_2", "comment": null}, "variant_option_3": {"type": "INT64", "index": 69, "name": "variant_option_3", "comment": null}, "variant_tax_code": {"type": "STRING", "index": 70, "name": "variant_tax_code", "comment": null}, "order_line_tax": {"type": "FLOAT64", "index": 71, "name": "order_line_tax", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 829.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__order_lines"}, "model.shopify.shopify__customer_email_cohorts": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__customer_email_cohorts", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_month": {"type": "DATETIME", "index": 1, "name": "date_month", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 3, "name": "first_order_timestamp", "comment": null}, "cohort_month": {"type": "TIMESTAMP", "index": 4, "name": "cohort_month", "comment": null}, "source_relation": {"type": "STRING", "index": 5, "name": "source_relation", "comment": null}, "order_count_in_month": {"type": "INT64", "index": 6, "name": "order_count_in_month", "comment": null}, "total_price_in_month": {"type": "FLOAT64", "index": 7, "name": "total_price_in_month", "comment": null}, "line_item_count_in_month": {"type": "INT64", "index": 8, "name": "line_item_count_in_month", "comment": null}, "total_price_lifetime": {"type": "FLOAT64", "index": 9, "name": "total_price_lifetime", "comment": null}, "order_count_lifetime": {"type": "INT64", "index": 10, "name": "order_count_lifetime", "comment": null}, "line_item_count_lifetime": {"type": "INT64", "index": 11, "name": "line_item_count_lifetime", "comment": null}, "cohort_month_number": {"type": "INT64", "index": 12, "name": "cohort_month_number", "comment": null}, "customer_cohort_id": {"type": "STRING", "index": 13, "name": "customer_cohort_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9900.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 66.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customer_email_cohorts"}, "model.shopify.shopify__calendar": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__calendar", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATETIME", "index": 1, "name": "date_day", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 12712.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1589.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__calendar"}, "model.shopify.shopify__customer_emails": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify", "name": "shopify__customer_emails", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"email": {"type": "STRING", "index": 1, "name": "email", "comment": null}, "source_relation": {"type": "STRING", "index": 2, "name": "source_relation", "comment": null}, "customer_ids": {"type": "STRING", "index": 3, "name": "customer_ids", "comment": null}, "phone_numbers": {"type": "STRING", "index": 4, "name": "phone_numbers", "comment": null}, "customer_tags": {"type": "STRING", "index": 5, "name": "customer_tags", "comment": null}, "first_account_created_at": {"type": "TIMESTAMP", "index": 6, "name": "first_account_created_at", "comment": null}, "last_account_created_at": {"type": "TIMESTAMP", "index": 7, "name": "last_account_created_at", "comment": null}, "last_updated_at": {"type": "TIMESTAMP", "index": 8, "name": "last_updated_at", "comment": null}, "marketing_consent_updated_at": {"type": "TIMESTAMP", "index": 9, "name": "marketing_consent_updated_at", "comment": null}, "last_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "last_fivetran_synced", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 11, "name": "is_tax_exempt", "comment": null}, "is_verified_email": {"type": "BOOL", "index": 12, "name": "is_verified_email", "comment": null}, "first_name": {"type": "STRING", "index": 13, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 14, "name": "last_name", "comment": null}, "default_address_id": {"type": "INT64", "index": 15, "name": "default_address_id", "comment": null}, "account_state": {"type": "STRING", "index": 16, "name": "account_state", "comment": null}, "note": {"type": "STRING", "index": 17, "name": "note", "comment": null}, "lifetime_duration": {"type": "STRING", "index": 18, "name": "lifetime_duration", "comment": null}, "currency": {"type": "STRING", "index": 19, "name": "currency", "comment": null}, "marketing_consent_state": {"type": "STRING", "index": 20, "name": "marketing_consent_state", "comment": null}, "marketing_opt_in_level": {"type": "STRING", "index": 21, "name": "marketing_opt_in_level", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 22, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 23, "name": "updated_timestamp", "comment": null}, "lifetime_abandoned_checkouts": {"type": "INT64", "index": 24, "name": "lifetime_abandoned_checkouts", "comment": null}, "first_order_timestamp": {"type": "TIMESTAMP", "index": 25, "name": "first_order_timestamp", "comment": null}, "most_recent_order_timestamp": {"type": "TIMESTAMP", "index": 26, "name": "most_recent_order_timestamp", "comment": null}, "avg_order_value": {"type": "FLOAT64", "index": 27, "name": "avg_order_value", "comment": null}, "lifetime_total_spent": {"type": "FLOAT64", "index": 28, "name": "lifetime_total_spent", "comment": null}, "lifetime_total_refunded": {"type": "FLOAT64", "index": 29, "name": "lifetime_total_refunded", "comment": null}, "lifetime_total_net": {"type": "FLOAT64", "index": 30, "name": "lifetime_total_net", "comment": null}, "lifetime_count_orders": {"type": "INT64", "index": 31, "name": "lifetime_count_orders", "comment": null}, "avg_quantity_per_order": {"type": "FLOAT64", "index": 32, "name": "avg_quantity_per_order", "comment": null}, "lifetime_total_tax": {"type": "FLOAT64", "index": 33, "name": "lifetime_total_tax", "comment": null}, "avg_tax_per_order": {"type": "FLOAT64", "index": 34, "name": "avg_tax_per_order", "comment": null}, "lifetime_total_discount": {"type": "INT64", "index": 35, "name": "lifetime_total_discount", "comment": null}, "avg_discount_per_order": {"type": "FLOAT64", "index": 36, "name": "avg_discount_per_order", "comment": null}, "lifetime_total_shipping": {"type": "FLOAT64", "index": 37, "name": "lifetime_total_shipping", "comment": null}, "avg_shipping_per_order": {"type": "FLOAT64", "index": 38, "name": "avg_shipping_per_order", "comment": null}, "lifetime_total_shipping_with_discounts": {"type": "FLOAT64", "index": 39, "name": "lifetime_total_shipping_with_discounts", "comment": null}, "avg_shipping_with_discounts_per_order": {"type": "FLOAT64", "index": 40, "name": "avg_shipping_with_discounts_per_order", "comment": null}, "lifetime_total_shipping_tax": {"type": "FLOAT64", "index": 41, "name": "lifetime_total_shipping_tax", "comment": null}, "avg_shipping_tax_per_order": {"type": "FLOAT64", "index": 42, "name": "avg_shipping_tax_per_order", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 935.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify.shopify__customer_emails"}, "model.shopify_holistic_reporting.int__daily_shopify_customer_orders": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "int__daily_shopify_customer_orders", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "last_touch_campaign_id": {"type": "STRING", "index": 3, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 4, "name": "last_touch_flow_id", "comment": null}, "last_touch_campaign_name": {"type": "STRING", "index": 5, "name": "last_touch_campaign_name", "comment": null}, "last_touch_flow_name": {"type": "STRING", "index": 6, "name": "last_touch_flow_name", "comment": null}, "last_touch_variation_id": {"type": "STRING", "index": 7, "name": "last_touch_variation_id", "comment": null}, "last_touch_campaign_subject_line": {"type": "STRING", "index": 8, "name": "last_touch_campaign_subject_line", "comment": null}, "last_touch_campaign_type": {"type": "STRING", "index": 9, "name": "last_touch_campaign_type", "comment": null}, "source_relation": {"type": "STRING", "index": 10, "name": "source_relation", "comment": null}, "total_orders": {"type": "INT64", "index": 11, "name": "total_orders", "comment": null}, "total_price": {"type": "FLOAT64", "index": 12, "name": "total_price", "comment": null}, "count_line_items": {"type": "INT64", "index": 13, "name": "count_line_items", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 14, "name": "total_line_items_price", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 15, "name": "total_discounts", "comment": null}, "total_tax": {"type": "INT64", "index": 16, "name": "total_tax", "comment": null}, "total_shipping_cost": {"type": "FLOAT64", "index": 17, "name": "total_shipping_cost", "comment": null}, "total_refund_subtotal": {"type": "NUMERIC", "index": 18, "name": "total_refund_subtotal", "comment": null}, "total_refund_tax": {"type": "NUMERIC", "index": 19, "name": "total_refund_tax", "comment": null}, "count_cancelled_orders": {"type": "INT64", "index": 20, "name": "count_cancelled_orders", "comment": null}, "count_products": {"type": "INT64", "index": 21, "name": "count_products", "comment": null}, "count_product_variants": {"type": "INT64", "index": 22, "name": "count_product_variants", "comment": null}, "sum_quantity": {"type": "INT64", "index": 23, "name": "sum_quantity", "comment": null}, "total_order_adjustment_amount": {"type": "INT64", "index": 24, "name": "total_order_adjustment_amount", "comment": null}, "total_order_adjustment_tax_amount": {"type": "FLOAT64", "index": 25, "name": "total_order_adjustment_tax_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__daily_shopify_customer_orders"}, "model.shopify_holistic_reporting.int__klaviyo_person_rollup": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "int__klaviyo_person_rollup", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"email": {"type": "STRING", "index": 1, "name": "email", "comment": null}, "source_relation": {"type": "STRING", "index": 2, "name": "source_relation", "comment": null}, "person_ids": {"type": "STRING", "index": 3, "name": "person_ids", "comment": null}, "phone_numbers": {"type": "STRING", "index": 4, "name": "phone_numbers", "comment": null}, "full_name": {"type": "STRING", "index": 5, "name": "full_name", "comment": null}, "first_klaviyo_account_made_at": {"type": "STRING", "index": 6, "name": "first_klaviyo_account_made_at", "comment": null}, "last_klaviyo_account_made_at": {"type": "STRING", "index": 7, "name": "last_klaviyo_account_made_at", "comment": null}, "last_updated_at": {"type": "STRING", "index": 8, "name": "last_updated_at", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 9, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 10, "name": "last_event_at", "comment": null}, "first_campaign_touch_at": {"type": "TIMESTAMP", "index": 11, "name": "first_campaign_touch_at", "comment": null}, "last_campaign_touch_at": {"type": "TIMESTAMP", "index": 12, "name": "last_campaign_touch_at", "comment": null}, "first_flow_touch_at": {"type": "TIMESTAMP", "index": 13, "name": "first_flow_touch_at", "comment": null}, "last_flow_touch_at": {"type": "TIMESTAMP", "index": 14, "name": "last_flow_touch_at", "comment": null}, "count_total_campaigns": {"type": "INT64", "index": 15, "name": "count_total_campaigns", "comment": null}, "count_total_flows": {"type": "INT64", "index": 16, "name": "count_total_flows", "comment": null}, "address_1": {"type": "STRING", "index": 17, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 18, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 19, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 20, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 21, "name": "zip", "comment": null}, "latitude": {"type": "FLOAT64", "index": 22, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 23, "name": "longitude", "comment": null}, "organization": {"type": "INT64", "index": 24, "name": "organization", "comment": null}, "region": {"type": "STRING", "index": 25, "name": "region", "comment": null}, "timezone": {"type": "STRING", "index": 26, "name": "timezone", "comment": null}, "title": {"type": "INT64", "index": 27, "name": "title", "comment": null}, "total_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 28, "name": "total_sum_revenue_refunded_order", "comment": null}, "organic_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 29, "name": "organic_sum_revenue_refunded_order", "comment": null}, "total_sum_revenue_placed_order": {"type": "NUMERIC", "index": 30, "name": "total_sum_revenue_placed_order", "comment": null}, "organic_sum_revenue_placed_order": {"type": "NUMERIC", "index": 31, "name": "organic_sum_revenue_placed_order", "comment": null}, "total_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 32, "name": "total_sum_revenue_ordered_product", "comment": null}, "organic_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 33, "name": "organic_sum_revenue_ordered_product", "comment": null}, "total_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 34, "name": "total_sum_revenue_checkout_started", "comment": null}, "organic_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 35, "name": "organic_sum_revenue_checkout_started", "comment": null}, "total_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 36, "name": "total_sum_revenue_cancelled_order", "comment": null}, "organic_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 37, "name": "organic_sum_revenue_cancelled_order", "comment": null}, "total_count_active_on_site": {"type": "INT64", "index": 38, "name": "total_count_active_on_site", "comment": null}, "total_count_viewed_product": {"type": "INT64", "index": 39, "name": "total_count_viewed_product", "comment": null}, "total_count_ordered_product": {"type": "INT64", "index": 40, "name": "total_count_ordered_product", "comment": null}, "total_count_placed_order": {"type": "INT64", "index": 41, "name": "total_count_placed_order", "comment": null}, "total_count_refunded_order": {"type": "INT64", "index": 42, "name": "total_count_refunded_order", "comment": null}, "total_count_cancelled_order": {"type": "INT64", "index": 43, "name": "total_count_cancelled_order", "comment": null}, "total_count_fulfilled_order": {"type": "INT64", "index": 44, "name": "total_count_fulfilled_order", "comment": null}, "total_count_received_email": {"type": "INT64", "index": 45, "name": "total_count_received_email", "comment": null}, "total_count_clicked_email": {"type": "INT64", "index": 46, "name": "total_count_clicked_email", "comment": null}, "total_count_opened_email": {"type": "INT64", "index": 47, "name": "total_count_opened_email", "comment": null}, "total_count_bounced_email": {"type": "INT64", "index": 48, "name": "total_count_bounced_email", "comment": null}, "total_count_marked_email_as_spam": {"type": "INT64", "index": 49, "name": "total_count_marked_email_as_spam", "comment": null}, "total_count_dropped_email": {"type": "INT64", "index": 50, "name": "total_count_dropped_email", "comment": null}, "total_count_subscribed_to_list": {"type": "INT64", "index": 51, "name": "total_count_subscribed_to_list", "comment": null}, "total_count_unsubscribed_to_list": {"type": "INT64", "index": 52, "name": "total_count_unsubscribed_to_list", "comment": null}, "total_count_unsubscribed": {"type": "INT64", "index": 53, "name": "total_count_unsubscribed", "comment": null}, "total_count_updated_email_preferences": {"type": "INT64", "index": 54, "name": "total_count_updated_email_preferences", "comment": null}, "total_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 55, "name": "total_count_subscribed_to_back_in_stock", "comment": null}, "total_count_merged_profile": {"type": "INT64", "index": 56, "name": "total_count_merged_profile", "comment": null}, "total_count_received_sms": {"type": "INT64", "index": 57, "name": "total_count_received_sms", "comment": null}, "total_count_clicked_sms": {"type": "INT64", "index": 58, "name": "total_count_clicked_sms", "comment": null}, "total_count_consented_to_receive_sms": {"type": "INT64", "index": 59, "name": "total_count_consented_to_receive_sms", "comment": null}, "total_count_sent_sms": {"type": "INT64", "index": 60, "name": "total_count_sent_sms", "comment": null}, "total_count_unsubscribed_from_sms": {"type": "INT64", "index": 61, "name": "total_count_unsubscribed_from_sms", "comment": null}, "total_count_failed_to_deliver_sms": {"type": "INT64", "index": 62, "name": "total_count_failed_to_deliver_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__klaviyo_person_rollup"}, "model.shopify_holistic_reporting.int__daily_klaviyo_user_metrics": {"metadata": {"type": "view", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "int__daily_klaviyo_user_metrics", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "last_touch_campaign_id": {"type": "STRING", "index": 3, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 4, "name": "last_touch_flow_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "flow_name": {"type": "STRING", "index": 6, "name": "flow_name", "comment": null}, "variation_id": {"type": "STRING", "index": 7, "name": "variation_id", "comment": null}, "campaign_subject_line": {"type": "STRING", "index": 8, "name": "campaign_subject_line", "comment": null}, "campaign_type": {"type": "STRING", "index": 9, "name": "campaign_type", "comment": null}, "source_relation": {"type": "STRING", "index": 10, "name": "source_relation", "comment": null}, "first_event_at": {"type": "TIMESTAMP", "index": 11, "name": "first_event_at", "comment": null}, "last_event_at": {"type": "TIMESTAMP", "index": 12, "name": "last_event_at", "comment": null}, "sum_revenue_refunded_order": {"type": "NUMERIC", "index": 13, "name": "sum_revenue_refunded_order", "comment": null}, "sum_revenue_placed_order": {"type": "NUMERIC", "index": 14, "name": "sum_revenue_placed_order", "comment": null}, "sum_revenue_ordered_product": {"type": "NUMERIC", "index": 15, "name": "sum_revenue_ordered_product", "comment": null}, "sum_revenue_checkout_started": {"type": "NUMERIC", "index": 16, "name": "sum_revenue_checkout_started", "comment": null}, "sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 17, "name": "sum_revenue_cancelled_order", "comment": null}, "count_active_on_site": {"type": "INT64", "index": 18, "name": "count_active_on_site", "comment": null}, "count_viewed_product": {"type": "INT64", "index": 19, "name": "count_viewed_product", "comment": null}, "count_ordered_product": {"type": "INT64", "index": 20, "name": "count_ordered_product", "comment": null}, "count_placed_order": {"type": "INT64", "index": 21, "name": "count_placed_order", "comment": null}, "count_refunded_order": {"type": "INT64", "index": 22, "name": "count_refunded_order", "comment": null}, "count_received_email": {"type": "INT64", "index": 23, "name": "count_received_email", "comment": null}, "count_clicked_email": {"type": "INT64", "index": 24, "name": "count_clicked_email", "comment": null}, "count_opened_email": {"type": "INT64", "index": 25, "name": "count_opened_email", "comment": null}, "count_marked_email_as_spam": {"type": "INT64", "index": 26, "name": "count_marked_email_as_spam", "comment": null}, "count_unsubscribed": {"type": "INT64", "index": 27, "name": "count_unsubscribed", "comment": null}, "count_received_sms": {"type": "INT64", "index": 28, "name": "count_received_sms", "comment": null}, "count_clicked_sms": {"type": "INT64", "index": 29, "name": "count_clicked_sms", "comment": null}, "count_sent_sms": {"type": "INT64", "index": 30, "name": "count_sent_sms", "comment": null}, "count_unsubscribed_from_sms": {"type": "INT64", "index": 31, "name": "count_unsubscribed_from_sms", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.int__daily_klaviyo_user_metrics"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "shopify_holistic_reporting__customer_enhanced", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"email": {"type": "STRING", "index": 1, "name": "email", "comment": null}, "full_name": {"type": "STRING", "index": 2, "name": "full_name", "comment": null}, "shopify_customer_ids": {"type": "STRING", "index": 3, "name": "shopify_customer_ids", "comment": null}, "klaviyo_person_ids": {"type": "STRING", "index": 4, "name": "klaviyo_person_ids", "comment": null}, "phone_number": {"type": "STRING", "index": 5, "name": "phone_number", "comment": null}, "shopify_customer_first_created_at": {"type": "TIMESTAMP", "index": 6, "name": "shopify_customer_first_created_at", "comment": null}, "shopify_customer_last_created_at": {"type": "TIMESTAMP", "index": 7, "name": "shopify_customer_last_created_at", "comment": null}, "klaviyo_person_first_created_at": {"type": "STRING", "index": 8, "name": "klaviyo_person_first_created_at", "comment": null}, "klaviyo_person_last_created_at": {"type": "STRING", "index": 9, "name": "klaviyo_person_last_created_at", "comment": null}, "shopify_customer_last_updated_at": {"type": "TIMESTAMP", "index": 10, "name": "shopify_customer_last_updated_at", "comment": null}, "klaviyo_person_last_updated_at": {"type": "STRING", "index": 11, "name": "klaviyo_person_last_updated_at", "comment": null}, "is_shopify_email_verified": {"type": "BOOL", "index": 12, "name": "is_shopify_email_verified", "comment": null}, "shopify_first_order_at": {"type": "TIMESTAMP", "index": 13, "name": "shopify_first_order_at", "comment": null}, "shopify_last_order_at": {"type": "TIMESTAMP", "index": 14, "name": "shopify_last_order_at", "comment": null}, "shopify_customer_tags": {"type": "STRING", "index": 15, "name": "shopify_customer_tags", "comment": null}, "shopify_marketing_consent_updated_at": {"type": "TIMESTAMP", "index": 16, "name": "shopify_marketing_consent_updated_at", "comment": null}, "shopify_last_fivetran_synced": {"type": "TIMESTAMP", "index": 17, "name": "shopify_last_fivetran_synced", "comment": null}, "shopify_is_tax_exempt": {"type": "BOOL", "index": 18, "name": "shopify_is_tax_exempt", "comment": null}, "shopify_first_name": {"type": "STRING", "index": 19, "name": "shopify_first_name", "comment": null}, "shopify_last_name": {"type": "STRING", "index": 20, "name": "shopify_last_name", "comment": null}, "shopify_default_address_id": {"type": "INT64", "index": 21, "name": "shopify_default_address_id", "comment": null}, "shopify_account_state": {"type": "STRING", "index": 22, "name": "shopify_account_state", "comment": null}, "shopify_note": {"type": "STRING", "index": 23, "name": "shopify_note", "comment": null}, "shopify_lifetime_duration": {"type": "STRING", "index": 24, "name": "shopify_lifetime_duration", "comment": null}, "shopify_currency": {"type": "STRING", "index": 25, "name": "shopify_currency", "comment": null}, "shopify_marketing_consent_state": {"type": "STRING", "index": 26, "name": "shopify_marketing_consent_state", "comment": null}, "shopify_marketing_opt_in_level": {"type": "STRING", "index": 27, "name": "shopify_marketing_opt_in_level", "comment": null}, "shopify_created_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "shopify_created_timestamp", "comment": null}, "shopify_lifetime_abandoned_checkouts": {"type": "INT64", "index": 29, "name": "shopify_lifetime_abandoned_checkouts", "comment": null}, "shopify_first_order_timestamp": {"type": "TIMESTAMP", "index": 30, "name": "shopify_first_order_timestamp", "comment": null}, "shopify_most_recent_order_timestamp": {"type": "TIMESTAMP", "index": 31, "name": "shopify_most_recent_order_timestamp", "comment": null}, "shopify_avg_order_value": {"type": "FLOAT64", "index": 32, "name": "shopify_avg_order_value", "comment": null}, "shopify_lifetime_total_spent": {"type": "FLOAT64", "index": 33, "name": "shopify_lifetime_total_spent", "comment": null}, "shopify_lifetime_total_refunded": {"type": "FLOAT64", "index": 34, "name": "shopify_lifetime_total_refunded", "comment": null}, "shopify_lifetime_total_net": {"type": "FLOAT64", "index": 35, "name": "shopify_lifetime_total_net", "comment": null}, "shopify_lifetime_count_orders": {"type": "INT64", "index": 36, "name": "shopify_lifetime_count_orders", "comment": null}, "shopify_avg_quantity_per_order": {"type": "FLOAT64", "index": 37, "name": "shopify_avg_quantity_per_order", "comment": null}, "shopify_lifetime_total_tax": {"type": "FLOAT64", "index": 38, "name": "shopify_lifetime_total_tax", "comment": null}, "shopify_avg_tax_per_order": {"type": "FLOAT64", "index": 39, "name": "shopify_avg_tax_per_order", "comment": null}, "shopify_lifetime_total_discount": {"type": "INT64", "index": 40, "name": "shopify_lifetime_total_discount", "comment": null}, "shopify_avg_discount_per_order": {"type": "FLOAT64", "index": 41, "name": "shopify_avg_discount_per_order", "comment": null}, "shopify_lifetime_total_shipping": {"type": "FLOAT64", "index": 42, "name": "shopify_lifetime_total_shipping", "comment": null}, "shopify_avg_shipping_per_order": {"type": "FLOAT64", "index": 43, "name": "shopify_avg_shipping_per_order", "comment": null}, "shopify_lifetime_total_shipping_with_discounts": {"type": "FLOAT64", "index": 44, "name": "shopify_lifetime_total_shipping_with_discounts", "comment": null}, "shopify_avg_shipping_with_discounts_per_order": {"type": "FLOAT64", "index": 45, "name": "shopify_avg_shipping_with_discounts_per_order", "comment": null}, "shopify_lifetime_total_shipping_tax": {"type": "FLOAT64", "index": 46, "name": "shopify_lifetime_total_shipping_tax", "comment": null}, "shopify_avg_shipping_tax_per_order": {"type": "FLOAT64", "index": 47, "name": "shopify_avg_shipping_tax_per_order", "comment": null}, "shopify_source_relation": {"type": "STRING", "index": 48, "name": "shopify_source_relation", "comment": null}, "klaviyo_first_event_at": {"type": "TIMESTAMP", "index": 49, "name": "klaviyo_first_event_at", "comment": null}, "klaviyo_last_event_at": {"type": "TIMESTAMP", "index": 50, "name": "klaviyo_last_event_at", "comment": null}, "klaviyo_first_campaign_touch_at": {"type": "TIMESTAMP", "index": 51, "name": "klaviyo_first_campaign_touch_at", "comment": null}, "klaviyo_last_campaign_touch_at": {"type": "TIMESTAMP", "index": 52, "name": "klaviyo_last_campaign_touch_at", "comment": null}, "klaviyo_first_flow_touch_at": {"type": "TIMESTAMP", "index": 53, "name": "klaviyo_first_flow_touch_at", "comment": null}, "klaviyo_last_flow_touch_at": {"type": "TIMESTAMP", "index": 54, "name": "klaviyo_last_flow_touch_at", "comment": null}, "klaviyo_count_total_campaigns": {"type": "INT64", "index": 55, "name": "klaviyo_count_total_campaigns", "comment": null}, "klaviyo_count_total_flows": {"type": "INT64", "index": 56, "name": "klaviyo_count_total_flows", "comment": null}, "klaviyo_address_1": {"type": "STRING", "index": 57, "name": "klaviyo_address_1", "comment": null}, "klaviyo_address_2": {"type": "INT64", "index": 58, "name": "klaviyo_address_2", "comment": null}, "klaviyo_city": {"type": "STRING", "index": 59, "name": "klaviyo_city", "comment": null}, "klaviyo_country": {"type": "STRING", "index": 60, "name": "klaviyo_country", "comment": null}, "klaviyo_zip": {"type": "INT64", "index": 61, "name": "klaviyo_zip", "comment": null}, "klaviyo_latitude": {"type": "FLOAT64", "index": 62, "name": "klaviyo_latitude", "comment": null}, "klaviyo_longitude": {"type": "FLOAT64", "index": 63, "name": "klaviyo_longitude", "comment": null}, "klaviyo_organization": {"type": "INT64", "index": 64, "name": "klaviyo_organization", "comment": null}, "klaviyo_region": {"type": "STRING", "index": 65, "name": "klaviyo_region", "comment": null}, "klaviyo_timezone": {"type": "STRING", "index": 66, "name": "klaviyo_timezone", "comment": null}, "klaviyo_title": {"type": "INT64", "index": 67, "name": "klaviyo_title", "comment": null}, "klaviyo_total_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 68, "name": "klaviyo_total_sum_revenue_refunded_order", "comment": null}, "klaviyo_organic_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 69, "name": "klaviyo_organic_sum_revenue_refunded_order", "comment": null}, "klaviyo_total_sum_revenue_placed_order": {"type": "NUMERIC", "index": 70, "name": "klaviyo_total_sum_revenue_placed_order", "comment": null}, "klaviyo_organic_sum_revenue_placed_order": {"type": "NUMERIC", "index": 71, "name": "klaviyo_organic_sum_revenue_placed_order", "comment": null}, "klaviyo_total_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 72, "name": "klaviyo_total_sum_revenue_ordered_product", "comment": null}, "klaviyo_organic_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 73, "name": "klaviyo_organic_sum_revenue_ordered_product", "comment": null}, "klaviyo_total_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 74, "name": "klaviyo_total_sum_revenue_checkout_started", "comment": null}, "klaviyo_organic_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 75, "name": "klaviyo_organic_sum_revenue_checkout_started", "comment": null}, "klaviyo_total_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 76, "name": "klaviyo_total_sum_revenue_cancelled_order", "comment": null}, "klaviyo_organic_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 77, "name": "klaviyo_organic_sum_revenue_cancelled_order", "comment": null}, "klaviyo_total_count_active_on_site": {"type": "INT64", "index": 78, "name": "klaviyo_total_count_active_on_site", "comment": null}, "klaviyo_total_count_viewed_product": {"type": "INT64", "index": 79, "name": "klaviyo_total_count_viewed_product", "comment": null}, "klaviyo_total_count_ordered_product": {"type": "INT64", "index": 80, "name": "klaviyo_total_count_ordered_product", "comment": null}, "klaviyo_total_count_placed_order": {"type": "INT64", "index": 81, "name": "klaviyo_total_count_placed_order", "comment": null}, "klaviyo_total_count_refunded_order": {"type": "INT64", "index": 82, "name": "klaviyo_total_count_refunded_order", "comment": null}, "klaviyo_total_count_cancelled_order": {"type": "INT64", "index": 83, "name": "klaviyo_total_count_cancelled_order", "comment": null}, "klaviyo_total_count_fulfilled_order": {"type": "INT64", "index": 84, "name": "klaviyo_total_count_fulfilled_order", "comment": null}, "klaviyo_total_count_received_email": {"type": "INT64", "index": 85, "name": "klaviyo_total_count_received_email", "comment": null}, "klaviyo_total_count_clicked_email": {"type": "INT64", "index": 86, "name": "klaviyo_total_count_clicked_email", "comment": null}, "klaviyo_total_count_opened_email": {"type": "INT64", "index": 87, "name": "klaviyo_total_count_opened_email", "comment": null}, "klaviyo_total_count_bounced_email": {"type": "INT64", "index": 88, "name": "klaviyo_total_count_bounced_email", "comment": null}, "klaviyo_total_count_marked_email_as_spam": {"type": "INT64", "index": 89, "name": "klaviyo_total_count_marked_email_as_spam", "comment": null}, "klaviyo_total_count_dropped_email": {"type": "INT64", "index": 90, "name": "klaviyo_total_count_dropped_email", "comment": null}, "klaviyo_total_count_subscribed_to_list": {"type": "INT64", "index": 91, "name": "klaviyo_total_count_subscribed_to_list", "comment": null}, "klaviyo_total_count_unsubscribed_to_list": {"type": "INT64", "index": 92, "name": "klaviyo_total_count_unsubscribed_to_list", "comment": null}, "klaviyo_total_count_unsubscribed": {"type": "INT64", "index": 93, "name": "klaviyo_total_count_unsubscribed", "comment": null}, "klaviyo_total_count_updated_email_preferences": {"type": "INT64", "index": 94, "name": "klaviyo_total_count_updated_email_preferences", "comment": null}, "klaviyo_total_count_subscribed_to_back_in_stock": {"type": "INT64", "index": 95, "name": "klaviyo_total_count_subscribed_to_back_in_stock", "comment": null}, "klaviyo_total_count_merged_profile": {"type": "INT64", "index": 96, "name": "klaviyo_total_count_merged_profile", "comment": null}, "klaviyo_total_count_received_sms": {"type": "INT64", "index": 97, "name": "klaviyo_total_count_received_sms", "comment": null}, "klaviyo_total_count_clicked_sms": {"type": "INT64", "index": 98, "name": "klaviyo_total_count_clicked_sms", "comment": null}, "klaviyo_total_count_consented_to_receive_sms": {"type": "INT64", "index": 99, "name": "klaviyo_total_count_consented_to_receive_sms", "comment": null}, "klaviyo_total_count_sent_sms": {"type": "INT64", "index": 100, "name": "klaviyo_total_count_sent_sms", "comment": null}, "klaviyo_total_count_unsubscribed_from_sms": {"type": "INT64", "index": 101, "name": "klaviyo_total_count_unsubscribed_from_sms", "comment": null}, "klaviyo_total_count_failed_to_deliver_sms": {"type": "INT64", "index": 102, "name": "klaviyo_total_count_failed_to_deliver_sms", "comment": null}, "klaviyo_source_relation": {"type": "STRING", "index": 103, "name": "klaviyo_source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1579.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__customer_enhanced"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "shopify_holistic_reporting__daily_customer_metrics", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "email": {"type": "STRING", "index": 2, "name": "email", "comment": null}, "campaign_id": {"type": "STRING", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "flow_name": {"type": "STRING", "index": 6, "name": "flow_name", "comment": null}, "variation_id": {"type": "STRING", "index": 7, "name": "variation_id", "comment": null}, "campaign_subject_line": {"type": "STRING", "index": 8, "name": "campaign_subject_line", "comment": null}, "campaign_type": {"type": "STRING", "index": 9, "name": "campaign_type", "comment": null}, "shopify_total_orders": {"type": "INT64", "index": 10, "name": "shopify_total_orders", "comment": null}, "shopify_total_price": {"type": "FLOAT64", "index": 11, "name": "shopify_total_price", "comment": null}, "shopify_count_line_items": {"type": "INT64", "index": 12, "name": "shopify_count_line_items", "comment": null}, "shopify_total_line_items_price": {"type": "FLOAT64", "index": 13, "name": "shopify_total_line_items_price", "comment": null}, "shopify_total_discounts": {"type": "FLOAT64", "index": 14, "name": "shopify_total_discounts", "comment": null}, "shopify_total_tax": {"type": "INT64", "index": 15, "name": "shopify_total_tax", "comment": null}, "shopify_total_shipping_cost": {"type": "FLOAT64", "index": 16, "name": "shopify_total_shipping_cost", "comment": null}, "shopify_total_refund_subtotal": {"type": "NUMERIC", "index": 17, "name": "shopify_total_refund_subtotal", "comment": null}, "shopify_total_refund_tax": {"type": "NUMERIC", "index": 18, "name": "shopify_total_refund_tax", "comment": null}, "shopify_count_cancelled_orders": {"type": "INT64", "index": 19, "name": "shopify_count_cancelled_orders", "comment": null}, "shopify_count_products": {"type": "INT64", "index": 20, "name": "shopify_count_products", "comment": null}, "shopify_count_product_variants": {"type": "INT64", "index": 21, "name": "shopify_count_product_variants", "comment": null}, "shopify_sum_quantity": {"type": "INT64", "index": 22, "name": "shopify_sum_quantity", "comment": null}, "shopify_total_order_adjustment_amount": {"type": "INT64", "index": 23, "name": "shopify_total_order_adjustment_amount", "comment": null}, "shopify_total_order_adjustment_tax_amount": {"type": "FLOAT64", "index": 24, "name": "shopify_total_order_adjustment_tax_amount", "comment": null}, "shopify_source_relation": {"type": "STRING", "index": 25, "name": "shopify_source_relation", "comment": null}, "klaviyo_first_event_at": {"type": "TIMESTAMP", "index": 26, "name": "klaviyo_first_event_at", "comment": null}, "klaviyo_last_event_at": {"type": "TIMESTAMP", "index": 27, "name": "klaviyo_last_event_at", "comment": null}, "klaviyo_sum_revenue_refunded_order": {"type": "NUMERIC", "index": 28, "name": "klaviyo_sum_revenue_refunded_order", "comment": null}, "klaviyo_sum_revenue_placed_order": {"type": "NUMERIC", "index": 29, "name": "klaviyo_sum_revenue_placed_order", "comment": null}, "klaviyo_sum_revenue_ordered_product": {"type": "NUMERIC", "index": 30, "name": "klaviyo_sum_revenue_ordered_product", "comment": null}, "klaviyo_sum_revenue_checkout_started": {"type": "NUMERIC", "index": 31, "name": "klaviyo_sum_revenue_checkout_started", "comment": null}, "klaviyo_sum_revenue_cancelled_order": {"type": "NUMERIC", "index": 32, "name": "klaviyo_sum_revenue_cancelled_order", "comment": null}, "klaviyo_count_active_on_site": {"type": "INT64", "index": 33, "name": "klaviyo_count_active_on_site", "comment": null}, "klaviyo_count_viewed_product": {"type": "INT64", "index": 34, "name": "klaviyo_count_viewed_product", "comment": null}, "klaviyo_count_ordered_product": {"type": "INT64", "index": 35, "name": "klaviyo_count_ordered_product", "comment": null}, "klaviyo_count_placed_order": {"type": "INT64", "index": 36, "name": "klaviyo_count_placed_order", "comment": null}, "klaviyo_count_refunded_order": {"type": "INT64", "index": 37, "name": "klaviyo_count_refunded_order", "comment": null}, "klaviyo_count_received_email": {"type": "INT64", "index": 38, "name": "klaviyo_count_received_email", "comment": null}, "klaviyo_count_clicked_email": {"type": "INT64", "index": 39, "name": "klaviyo_count_clicked_email", "comment": null}, "klaviyo_count_opened_email": {"type": "INT64", "index": 40, "name": "klaviyo_count_opened_email", "comment": null}, "klaviyo_count_marked_email_as_spam": {"type": "INT64", "index": 41, "name": "klaviyo_count_marked_email_as_spam", "comment": null}, "klaviyo_count_unsubscribed": {"type": "INT64", "index": 42, "name": "klaviyo_count_unsubscribed", "comment": null}, "klaviyo_count_received_sms": {"type": "INT64", "index": 43, "name": "klaviyo_count_received_sms", "comment": null}, "klaviyo_count_clicked_sms": {"type": "INT64", "index": 44, "name": "klaviyo_count_clicked_sms", "comment": null}, "klaviyo_count_sent_sms": {"type": "INT64", "index": 45, "name": "klaviyo_count_sent_sms", "comment": null}, "klaviyo_count_unsubscribed_from_sms": {"type": "INT64", "index": 46, "name": "klaviyo_count_unsubscribed_from_sms", "comment": null}, "klaviyo_source_relation": {"type": "STRING", "index": 47, "name": "klaviyo_source_relation", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 498.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__daily_customer_metrics"}, "model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1_shopify_holistic", "name": "shopify_holistic_reporting__orders_attribution", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "user_id": {"type": "INT64", "index": 2, "name": "user_id", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 3, "name": "total_discounts", "comment": null}, "total_discounts_set": {"type": "STRING", "index": 4, "name": "total_discounts_set", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 5, "name": "total_line_items_price", "comment": null}, "total_line_items_price_set": {"type": "STRING", "index": 6, "name": "total_line_items_price_set", "comment": null}, "total_price": {"type": "FLOAT64", "index": 7, "name": "total_price", "comment": null}, "total_price_set": {"type": "STRING", "index": 8, "name": "total_price_set", "comment": null}, "total_price_usd": {"type": "FLOAT64", "index": 9, "name": "total_price_usd", "comment": null}, "total_tax_set": {"type": "STRING", "index": 10, "name": "total_tax_set", "comment": null}, "total_tax": {"type": "INT64", "index": 11, "name": "total_tax", "comment": null}, "source_name": {"type": "STRING", "index": 12, "name": "source_name", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 13, "name": "subtotal_price", "comment": null}, "has_taxes_included": {"type": "BOOL", "index": 14, "name": "has_taxes_included", "comment": null}, "total_weight": {"type": "INT64", "index": 15, "name": "total_weight", "comment": null}, "total_tip_received": {"type": "FLOAT64", "index": 16, "name": "total_tip_received", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 17, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 18, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 19, "name": "name", "comment": null}, "note": {"type": "STRING", "index": 20, "name": "note", "comment": null}, "number": {"type": "INT64", "index": 21, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 22, "name": "order_number", "comment": null}, "cancel_reason": {"type": "INT64", "index": 23, "name": "cancel_reason", "comment": null}, "cart_token": {"type": "STRING", "index": 24, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 25, "name": "checkout_token", "comment": null}, "created_timestamp": {"type": "TIMESTAMP", "index": 26, "name": "created_timestamp", "comment": null}, "cancelled_timestamp": {"type": "TIMESTAMP", "index": 27, "name": "cancelled_timestamp", "comment": null}, "closed_timestamp": {"type": "TIMESTAMP", "index": 28, "name": "closed_timestamp", "comment": null}, "processed_timestamp": {"type": "TIMESTAMP", "index": 29, "name": "processed_timestamp", "comment": null}, "updated_timestamp": {"type": "TIMESTAMP", "index": 30, "name": "updated_timestamp", "comment": null}, "currency": {"type": "STRING", "index": 31, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 32, "name": "customer_id", "comment": null}, "email": {"type": "STRING", "index": 33, "name": "email", "comment": null}, "financial_status": {"type": "STRING", "index": 34, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 35, "name": "fulfillment_status", "comment": null}, "processing_method": {"type": "STRING", "index": 36, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 37, "name": "referring_site", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 38, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 39, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 40, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "STRING", "index": 41, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 42, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 43, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 44, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 45, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 46, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 47, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 48, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 49, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 50, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 51, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 52, "name": "billing_address_zip", "comment": null}, "browser_ip": {"type": "STRING", "index": 53, "name": "browser_ip", "comment": null}, "total_shipping_price_set": {"type": "STRING", "index": 54, "name": "total_shipping_price_set", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 55, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 56, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 57, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 58, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 59, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 60, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 61, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 62, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 63, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 64, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 65, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 66, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 67, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 68, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 69, "name": "shipping_address_zip", "comment": null}, "token": {"type": "STRING", "index": 70, "name": "token", "comment": null}, "app_id": {"type": "INT64", "index": 71, "name": "app_id", "comment": null}, "checkout_id": {"type": "INT64", "index": 72, "name": "checkout_id", "comment": null}, "client_details_user_agent": {"type": "STRING", "index": 73, "name": "client_details_user_agent", "comment": null}, "customer_locale": {"type": "STRING", "index": 74, "name": "customer_locale", "comment": null}, "order_status_url": {"type": "STRING", "index": 75, "name": "order_status_url", "comment": null}, "presentment_currency": {"type": "STRING", "index": 76, "name": "presentment_currency", "comment": null}, "is_test_order": {"type": "BOOL", "index": 77, "name": "is_test_order", "comment": null}, "is_deleted": {"type": "BOOL", "index": 78, "name": "is_deleted", "comment": null}, "has_buyer_accepted_marketing": {"type": "BOOL", "index": 79, "name": "has_buyer_accepted_marketing", "comment": null}, "is_confirmed": {"type": "BOOL", "index": 80, "name": "is_confirmed", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 81, "name": "_fivetran_synced", "comment": null}, "shipping_cost": {"type": "FLOAT64", "index": 82, "name": "shipping_cost", "comment": null}, "order_adjustment_amount": {"type": "INT64", "index": 83, "name": "order_adjustment_amount", "comment": null}, "order_adjustment_tax_amount": {"type": "FLOAT64", "index": 84, "name": "order_adjustment_tax_amount", "comment": null}, "refund_subtotal": {"type": "NUMERIC", "index": 85, "name": "refund_subtotal", "comment": null}, "refund_total_tax": {"type": "NUMERIC", "index": 86, "name": "refund_total_tax", "comment": null}, "order_adjusted_total": {"type": "FLOAT64", "index": 87, "name": "order_adjusted_total", "comment": null}, "line_item_count": {"type": "INT64", "index": 88, "name": "line_item_count", "comment": null}, "shipping_discount_amount": {"type": "FLOAT64", "index": 89, "name": "shipping_discount_amount", "comment": null}, "percentage_calc_discount_amount": {"type": "FLOAT64", "index": 90, "name": "percentage_calc_discount_amount", "comment": null}, "fixed_amount_discount_amount": {"type": "FLOAT64", "index": 91, "name": "fixed_amount_discount_amount", "comment": null}, "count_discount_codes_applied": {"type": "INT64", "index": 92, "name": "count_discount_codes_applied", "comment": null}, "order_total_shipping_tax": {"type": "FLOAT64", "index": 93, "name": "order_total_shipping_tax", "comment": null}, "order_tags": {"type": "STRING", "index": 94, "name": "order_tags", "comment": null}, "order_url_tags": {"type": "STRING", "index": 95, "name": "order_url_tags", "comment": null}, "number_of_fulfillments": {"type": "INT64", "index": 96, "name": "number_of_fulfillments", "comment": null}, "fulfillment_services": {"type": "STRING", "index": 97, "name": "fulfillment_services", "comment": null}, "tracking_companies": {"type": "STRING", "index": 98, "name": "tracking_companies", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 99, "name": "tracking_numbers", "comment": null}, "customer_order_seq_number": {"type": "INT64", "index": 100, "name": "customer_order_seq_number", "comment": null}, "new_vs_repeat": {"type": "STRING", "index": 101, "name": "new_vs_repeat", "comment": null}, "is_attributed": {"type": "BOOL", "index": 102, "name": "is_attributed", "comment": null}, "last_touch_campaign_id": {"type": "STRING", "index": 103, "name": "last_touch_campaign_id", "comment": null}, "last_touch_flow_id": {"type": "STRING", "index": 104, "name": "last_touch_flow_id", "comment": null}, "last_touch_variation_id": {"type": "STRING", "index": 105, "name": "last_touch_variation_id", "comment": null}, "last_touch_campaign_name": {"type": "STRING", "index": 106, "name": "last_touch_campaign_name", "comment": null}, "last_touch_campaign_subject_line": {"type": "STRING", "index": 107, "name": "last_touch_campaign_subject_line", "comment": null}, "last_touch_campaign_type": {"type": "STRING", "index": 108, "name": "last_touch_campaign_type", "comment": null}, "last_touch_flow_name": {"type": "STRING", "index": 109, "name": "last_touch_flow_name", "comment": null}, "count_interactions_with_campaign": {"type": "INT64", "index": 110, "name": "count_interactions_with_campaign", "comment": null}, "count_interactions_with_flow": {"type": "INT64", "index": 111, "name": "count_interactions_with_flow", "comment": null}, "last_touch_event_id": {"type": "STRING", "index": 112, "name": "last_touch_event_id", "comment": null}, "last_touch_event_occurred_at": {"type": "TIMESTAMP", "index": 113, "name": "last_touch_event_occurred_at", "comment": null}, "last_touch_event_type": {"type": "STRING", "index": 114, "name": "last_touch_event_type", "comment": null}, "last_touch_integration_name": {"type": "STRING", "index": 115, "name": "last_touch_integration_name", "comment": null}, "last_touch_integration_category": {"type": "STRING", "index": 116, "name": "last_touch_integration_category", "comment": null}, "shopify_source_relation": {"type": "STRING", "index": 117, "name": "shopify_source_relation", "comment": null}, "klaviyo_source_relation": {"type": "STRING", "index": 118, "name": "klaviyo_source_relation", "comment": null}, "unique_order_key": {"type": "STRING", "index": 119, "name": "unique_order_key", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4183.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "partitioning_type": {"id": "partitioning_type", "label": "Partitioned By", "value": "created_timestamp", "include": true, "description": "The partitioning column for this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.shopify_holistic_reporting.shopify_holistic_reporting__orders_attribution"}}, "sources": {"source.shopify_source.shopify.inventory_item": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "inventory_item", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "cost": {"type": "INT64", "index": 3, "name": "cost", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 4, "name": "created_at", "comment": null}, "requires_shipping": {"type": "INT64", "index": 5, "name": "requires_shipping", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "tracked": {"type": "INT64", "index": 7, "name": "tracked", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "country_code_of_origin": {"type": "INT64", "index": 9, "name": "country_code_of_origin", "comment": null}, "province_code_of_origin": {"type": "INT64", "index": 10, "name": "province_code_of_origin", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 11, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 51.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.inventory_item"}, "source.shopify_source.shopify.abandoned_checkout": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "abandoned_checkout_url": {"type": "STRING", "index": 3, "name": "abandoned_checkout_url", "comment": null}, "applied_discount_amount": {"type": "INT64", "index": 4, "name": "applied_discount_amount", "comment": null}, "applied_discount_applicable": {"type": "INT64", "index": 5, "name": "applied_discount_applicable", "comment": null}, "applied_discount_description": {"type": "INT64", "index": 6, "name": "applied_discount_description", "comment": null}, "applied_discount_non_applicable_reason": {"type": "INT64", "index": 7, "name": "applied_discount_non_applicable_reason", "comment": null}, "applied_discount_title": {"type": "INT64", "index": 8, "name": "applied_discount_title", "comment": null}, "applied_discount_value": {"type": "INT64", "index": 9, "name": "applied_discount_value", "comment": null}, "applied_discount_value_type": {"type": "INT64", "index": 10, "name": "applied_discount_value_type", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 11, "name": "billing_address_address_1", "comment": null}, "billing_address_address_0": {"type": "STRING", "index": 12, "name": "billing_address_address_0", "comment": null}, "billing_address_city": {"type": "STRING", "index": 13, "name": "billing_address_city", "comment": null}, "billing_address_company": {"type": "INT64", "index": 14, "name": "billing_address_company", "comment": null}, "billing_address_country": {"type": "STRING", "index": 15, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 16, "name": "billing_address_country_code", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 17, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 18, "name": "billing_address_last_name", "comment": null}, "billing_address_latitude": {"type": "FLOAT64", "index": 19, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "FLOAT64", "index": 20, "name": "billing_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 21, "name": "billing_address_name", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 22, "name": "billing_address_phone", "comment": null}, "billing_address_province": {"type": "STRING", "index": 23, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "STRING", "index": 24, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "INT64", "index": 25, "name": "billing_address_zip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 26, "name": "buyer_accepts_marketing", "comment": null}, "cart_token": {"type": "STRING", "index": 27, "name": "cart_token", "comment": null}, "closed_at": {"type": "TIMESTAMP", "index": 28, "name": "closed_at", "comment": null}, "completed_at": {"type": "INT64", "index": 29, "name": "completed_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 30, "name": "created_at", "comment": null}, "credit_card_first_name": {"type": "INT64", "index": 31, "name": "credit_card_first_name", "comment": null}, "credit_card_last_name": {"type": "INT64", "index": 32, "name": "credit_card_last_name", "comment": null}, "credit_card_month": {"type": "INT64", "index": 33, "name": "credit_card_month", "comment": null}, "credit_card_number": {"type": "INT64", "index": 34, "name": "credit_card_number", "comment": null}, "credit_card_verification_value": {"type": "INT64", "index": 35, "name": "credit_card_verification_value", "comment": null}, "credit_card_year": {"type": "INT64", "index": 36, "name": "credit_card_year", "comment": null}, "currency": {"type": "STRING", "index": 37, "name": "currency", "comment": null}, "customer_id": {"type": "INT64", "index": 38, "name": "customer_id", "comment": null}, "customer_locale": {"type": "STRING", "index": 39, "name": "customer_locale", "comment": null}, "device_id": {"type": "INT64", "index": 40, "name": "device_id", "comment": null}, "email": {"type": "STRING", "index": 41, "name": "email", "comment": null}, "gateway": {"type": "STRING", "index": 42, "name": "gateway", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 43, "name": "landing_site_base_url", "comment": null}, "location_id": {"type": "INT64", "index": 44, "name": "location_id", "comment": null}, "name": {"type": "STRING", "index": 45, "name": "name", "comment": null}, "note": {"type": "INT64", "index": 46, "name": "note", "comment": null}, "phone": {"type": "INT64", "index": 47, "name": "phone", "comment": null}, "referring_site": {"type": "STRING", "index": 48, "name": "referring_site", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 49, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_0": {"type": "STRING", "index": 50, "name": "shipping_address_address_0", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 51, "name": "shipping_address_city", "comment": null}, "shipping_address_company": {"type": "INT64", "index": 52, "name": "shipping_address_company", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 53, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 54, "name": "shipping_address_country_code", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 55, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 56, "name": "shipping_address_last_name", "comment": null}, "shipping_address_latitude": {"type": "FLOAT64", "index": 57, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "FLOAT64", "index": 58, "name": "shipping_address_longitude", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 59, "name": "shipping_address_name", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 60, "name": "shipping_address_phone", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 61, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "STRING", "index": 62, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 63, "name": "shipping_address_zip", "comment": null}, "shipping_line": {"type": "INT64", "index": 64, "name": "shipping_line", "comment": null}, "shipping_rate_id": {"type": "INT64", "index": 65, "name": "shipping_rate_id", "comment": null}, "shipping_rate_price": {"type": "INT64", "index": 66, "name": "shipping_rate_price", "comment": null}, "shipping_rate_title": {"type": "INT64", "index": 67, "name": "shipping_rate_title", "comment": null}, "source": {"type": "INT64", "index": 68, "name": "source", "comment": null}, "source_identifier": {"type": "INT64", "index": 69, "name": "source_identifier", "comment": null}, "source_name": {"type": "STRING", "index": 70, "name": "source_name", "comment": null}, "source_url": {"type": "INT64", "index": 71, "name": "source_url", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 72, "name": "subtotal_price", "comment": null}, "taxes_included": {"type": "BOOL", "index": 73, "name": "taxes_included", "comment": null}, "token": {"type": "STRING", "index": 74, "name": "token", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 75, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 76, "name": "total_line_items_price", "comment": null}, "total_price": {"type": "FLOAT64", "index": 77, "name": "total_price", "comment": null}, "total_tax": {"type": "FLOAT64", "index": 78, "name": "total_tax", "comment": null}, "total_weight": {"type": "INT64", "index": 79, "name": "total_weight", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 80, "name": "updated_at", "comment": null}, "user_id": {"type": "INT64", "index": 81, "name": "user_id", "comment": null}, "note_attribute_littledata_updated_at": {"type": "INT64", "index": 82, "name": "note_attribute_littledata_updated_at", "comment": null}, "note_attribute_segment_client_id": {"type": "STRING", "index": 83, "name": "note_attribute_segment_client_id", "comment": null}, "billing_address_id": {"type": "INT64", "index": 84, "name": "billing_address_id", "comment": null}, "billing_address_is_default": {"type": "INT64", "index": 85, "name": "billing_address_is_default", "comment": null}, "presentment_currency": {"type": "STRING", "index": 86, "name": "presentment_currency", "comment": null}, "shipping_address_id": {"type": "INT64", "index": 87, "name": "shipping_address_id", "comment": null}, "shipping_address_is_default": {"type": "INT64", "index": 88, "name": "shipping_address_is_default", "comment": null}, "total_duties": {"type": "INT64", "index": 89, "name": "total_duties", "comment": null}, "note_attribute_email_client_id": {"type": "INT64", "index": 90, "name": "note_attribute_email_client_id", "comment": null}, "note_attributes": {"type": "STRING", "index": 91, "name": "note_attributes", "comment": null}, "note_attribute_google_client_id": {"type": "INT64", "index": 92, "name": "note_attribute_google_client_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 93, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1678.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.abandoned_checkout"}, "source.shopify_source.shopify.order_url_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_url_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"key": {"type": "STRING", "index": 1, "name": "key", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 102.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_url_tag"}, "source.klaviyo_source.klaviyo.integration": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "integration", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "category": {"type": "STRING", "index": 2, "name": "category", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.integration"}, "source.shopify_source.shopify.abandoned_checkout_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "api_client_id": {"type": "INT64", "index": 4, "name": "api_client_id", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 5, "name": "carrier_identifier", "comment": null}, "carrier_service_id": {"type": "INT64", "index": 6, "name": "carrier_service_id", "comment": null}, "code": {"type": "STRING", "index": 7, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 8, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "INT64", "index": 9, "name": "discounted_price", "comment": null}, "id": {"type": "STRING", "index": 10, "name": "id", "comment": null}, "markup": {"type": "STRING", "index": 11, "name": "markup", "comment": null}, "phone": {"type": "INT64", "index": 12, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 13, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 14, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 15, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 16, "name": "title", "comment": null}, "validation_context": {"type": "INT64", "index": 17, "name": "validation_context", "comment": null}, "delivery_expectation_range": {"type": "INT64", "index": 18, "name": "delivery_expectation_range", "comment": null}, "delivery_expectation_type": {"type": "INT64", "index": 19, "name": "delivery_expectation_type", "comment": null}, "original_shop_markup": {"type": "STRING", "index": 20, "name": "original_shop_markup", "comment": null}, "original_shop_price": {"type": "STRING", "index": 21, "name": "original_shop_price", "comment": null}, "presentment_title": {"type": "STRING", "index": 22, "name": "presentment_title", "comment": null}, "delivery_expectation_range_min": {"type": "INT64", "index": 23, "name": "delivery_expectation_range_min", "comment": null}, "delivery_expectation_range_max": {"type": "INT64", "index": 24, "name": "delivery_expectation_range_max", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 535.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.abandoned_checkout_shipping_line"}, "source.klaviyo_source.klaviyo.event": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "event", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "person_id": {"type": "STRING", "index": 2, "name": "person_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 3, "name": "campaign_id", "comment": null}, "flow_id": {"type": "STRING", "index": 4, "name": "flow_id", "comment": null}, "flow_message_id": {"type": "INT64", "index": 5, "name": "flow_message_id", "comment": null}, "uuid": {"type": "STRING", "index": 6, "name": "uuid", "comment": null}, "datetime": {"type": "TIMESTAMP", "index": 7, "name": "datetime", "comment": null}, "timestamp": {"type": "TIMESTAMP", "index": 8, "name": "timestamp", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 9, "name": "_fivetran_deleted", "comment": null}, "metric_id": {"type": "STRING", "index": 10, "name": "metric_id", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "_variation": {"type": "STRING", "index": 12, "name": "_variation", "comment": null}, "property_value": {"type": "INT64", "index": 13, "name": "property_value", "comment": null}, "property_source_name": {"type": "INT64", "index": 14, "name": "property_source_name", "comment": null}, "property_extra": {"type": "INT64", "index": 15, "name": "property_extra", "comment": null}, "property_shipping_rate": {"type": "INT64", "index": 16, "name": "property_shipping_rate", "comment": null}, "property_items": {"type": "INT64", "index": 17, "name": "property_items", "comment": null}, "property_tags": {"type": "INT64", "index": 18, "name": "property_tags", "comment": null}, "property_item_count": {"type": "INT64", "index": 19, "name": "property_item_count", "comment": null}, "property_collections": {"type": "INT64", "index": 20, "name": "property_collections", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}, "property_currency_code": {"type": "INT64", "index": 22, "name": "property_currency_code", "comment": null}, "property_product_id": {"type": "INT64", "index": 23, "name": "property_product_id", "comment": null}, "property_quantity": {"type": "INT64", "index": 24, "name": "property_quantity", "comment": null}, "property_name": {"type": "INT64", "index": 25, "name": "property_name", "comment": null}, "property_variant_option_title": {"type": "INT64", "index": 26, "name": "property_variant_option_title", "comment": null}, "property_sku": {"type": "INT64", "index": 27, "name": "property_sku", "comment": null}, "property_variant_name": {"type": "INT64", "index": 28, "name": "property_variant_name", "comment": null}, "property_vendor": {"type": "INT64", "index": 29, "name": "property_vendor", "comment": null}, "property_event_id": {"type": "STRING", "index": 30, "name": "property_event_id", "comment": null}, "property_total_discounts": {"type": "INT64", "index": 31, "name": "property_total_discounts", "comment": null}, "property_attribution": {"type": "INT64", "index": 32, "name": "property_attribution", "comment": null}, "property_discount_codes": {"type": "INT64", "index": 33, "name": "property_discount_codes", "comment": null}, "property_fulfillment_hours": {"type": "INT64", "index": 34, "name": "property_fulfillment_hours", "comment": null}, "property_fulfillment_status": {"type": "INT64", "index": 35, "name": "property_fulfillment_status", "comment": null}, "property_subject": {"type": "STRING", "index": 36, "name": "property_subject", "comment": null}, "property_title": {"type": "INT64", "index": 37, "name": "property_title", "comment": null}, "property_message_interaction": {"type": "INT64", "index": 38, "name": "property_message_interaction", "comment": null}, "property_url": {"type": "INT64", "index": 39, "name": "property_url", "comment": null}, "property_shipment_type": {"type": "INT64", "index": 40, "name": "property_shipment_type", "comment": null}, "property_courier_name": {"type": "INT64", "index": 41, "name": "property_courier_name", "comment": null}, "property_current_status": {"type": "INT64", "index": 42, "name": "property_current_status", "comment": null}, "property_tracking_ship_date": {"type": "INT64", "index": 43, "name": "property_tracking_ship_date", "comment": null}, "property_tracking_postal_code": {"type": "INT64", "index": 44, "name": "property_tracking_postal_code", "comment": null}, "property_shipment_package_count": {"type": "INT64", "index": 45, "name": "property_shipment_package_count", "comment": null}, "property_campaign_name": {"type": "STRING", "index": 46, "name": "property_campaign_name", "comment": null}, "property_cohort_message_send_cohort": {"type": "STRING", "index": 47, "name": "property_cohort_message_send_cohort", "comment": null}, "property_email_domain": {"type": "STRING", "index": 48, "name": "property_email_domain", "comment": null}, "property_bounce_type": {"type": "INT64", "index": 49, "name": "property_bounce_type", "comment": null}, "property_client_type": {"type": "INT64", "index": 50, "name": "property_client_type", "comment": null}, "property_client_os": {"type": "INT64", "index": 51, "name": "property_client_os", "comment": null}, "property_client_name": {"type": "INT64", "index": 52, "name": "property_client_name", "comment": null}, "property_client_os_family": {"type": "INT64", "index": 53, "name": "property_client_os_family", "comment": null}, "property_client_canonical": {"type": "INT64", "index": 54, "name": "property_client_canonical", "comment": null}, "property_page": {"type": "INT64", "index": 55, "name": "property_page", "comment": null}, "property_is_session_activity": {"type": "INT64", "index": 56, "name": "property_is_session_activity", "comment": null}, "property_os": {"type": "INT64", "index": 57, "name": "property_os", "comment": null}, "property_session_end": {"type": "INT64", "index": 58, "name": "property_session_end", "comment": null}, "property_browser": {"type": "INT64", "index": 59, "name": "property_browser", "comment": null}, "property_list": {"type": "INT64", "index": 60, "name": "property_list", "comment": null}, "property_compare_at_price": {"type": "INT64", "index": 61, "name": "property_compare_at_price", "comment": null}, "property_price": {"type": "INT64", "index": 62, "name": "property_price", "comment": null}, "property_image_url": {"type": "INT64", "index": 63, "name": "property_image_url", "comment": null}, "property_brand": {"type": "INT64", "index": 64, "name": "property_brand", "comment": null}, "property_categories": {"type": "INT64", "index": 65, "name": "property_categories", "comment": null}, "property_variant_option_size": {"type": "INT64", "index": 66, "name": "property_variant_option_size", "comment": null}, "property_attribute_workout": {"type": "INT64", "index": 67, "name": "property_attribute_workout", "comment": null}, "property_attribute_age": {"type": "INT64", "index": 68, "name": "property_attribute_age", "comment": null}, "property_attribute_fitness_goal": {"type": "INT64", "index": 69, "name": "property_attribute_fitness_goal", "comment": null}, "property_attribute_breakfast": {"type": "INT64", "index": 70, "name": "property_attribute_breakfast", "comment": null}, "property_variant_option_type": {"type": "INT64", "index": 71, "name": "property_variant_option_type", "comment": null}, "property_cohort_variation_send_cohort": {"type": "STRING", "index": 72, "name": "property_cohort_variation_send_cohort", "comment": null}, "property_method": {"type": "INT64", "index": 73, "name": "property_method", "comment": null}, "property_to_number": {"type": "INT64", "index": 74, "name": "property_to_number", "comment": null}, "property_message_type": {"type": "INT64", "index": 75, "name": "property_message_type", "comment": null}, "property_from_number": {"type": "INT64", "index": 76, "name": "property_from_number", "comment": null}, "property_message_format": {"type": "INT64", "index": 77, "name": "property_message_format", "comment": null}, "property_message_name": {"type": "INT64", "index": 78, "name": "property_message_name", "comment": null}, "property_carrier_delivery_status": {"type": "INT64", "index": 79, "name": "property_carrier_delivery_status", "comment": null}, "property_failure_type": {"type": "INT64", "index": 80, "name": "property_failure_type", "comment": null}, "property_failure_source": {"type": "INT64", "index": 81, "name": "property_failure_source", "comment": null}, "property_message_body": {"type": "INT64", "index": 82, "name": "property_message_body", "comment": null}, "property_email": {"type": "INT64", "index": 83, "name": "property_email", "comment": null}, "property_attribute_kit": {"type": "INT64", "index": 84, "name": "property_attribute_kit", "comment": null}, "property_vendor_error_code": {"type": "INT64", "index": 85, "name": "property_vendor_error_code", "comment": null}, "property_ordr_details": {"type": "INT64", "index": 86, "name": "property_ordr_details", "comment": null}, "property_date_to_send_gift": {"type": "INT64", "index": 87, "name": "property_date_to_send_gift", "comment": null}, "property_recipient_name": {"type": "INT64", "index": 88, "name": "property_recipient_name", "comment": null}, "property_attribute_facebook_order_retailer_id": {"type": "INT64", "index": 89, "name": "property_attribute_facebook_order_retailer_id", "comment": null}, "property_sender_s_name": {"type": "INT64", "index": 90, "name": "property_sender_s_name", "comment": null}, "property_attribute_kitid": {"type": "INT64", "index": 91, "name": "property_attribute_kitid", "comment": null}, "property_conversation_id": {"type": "INT64", "index": 92, "name": "property_conversation_id", "comment": null}, "property_conversation_link": {"type": "INT64", "index": 93, "name": "property_conversation_link", "comment": null}, "property_conversation_channel": {"type": "INT64", "index": 94, "name": "property_conversation_channel", "comment": null}, "property_rating": {"type": "INT64", "index": 95, "name": "property_rating", "comment": null}, "property_score": {"type": "INT64", "index": 96, "name": "property_score", "comment": null}, "property_from_phone_region": {"type": "INT64", "index": 97, "name": "property_from_phone_region", "comment": null}, "property_shipment_carrier": {"type": "INT64", "index": 98, "name": "property_shipment_carrier", "comment": null}, "property_shipment_status": {"type": "INT64", "index": 99, "name": "property_shipment_status", "comment": null}, "property_to_phone_region": {"type": "INT64", "index": 100, "name": "property_to_phone_region", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 509.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.event"}, "source.shopify_source.shopify.customer_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "customer_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 90.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.customer_tag"}, "source.shopify_source.shopify.product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title": {"type": "STRING", "index": 2, "name": "title", "comment": null}, "handle": {"type": "STRING", "index": 3, "name": "handle", "comment": null}, "product_type": {"type": "STRING", "index": 4, "name": "product_type", "comment": null}, "vendor": {"type": "STRING", "index": 5, "name": "vendor", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 8, "name": "published_at", "comment": null}, "published_scope": {"type": "STRING", "index": 9, "name": "published_scope", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 10, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 549.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.product"}, "source.shopify_source.shopify.order": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_table", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "note": {"type": "STRING", "index": 2, "name": "note", "comment": null}, "email": {"type": "STRING", "index": 3, "name": "email", "comment": null}, "taxes_included": {"type": "BOOL", "index": 4, "name": "taxes_included", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "subtotal_price": {"type": "FLOAT64", "index": 6, "name": "subtotal_price", "comment": null}, "total_tax": {"type": "INT64", "index": 7, "name": "total_tax", "comment": null}, "total_price": {"type": "FLOAT64", "index": 8, "name": "total_price", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "shipping_address_name": {"type": "STRING", "index": 12, "name": "shipping_address_name", "comment": null}, "shipping_address_first_name": {"type": "STRING", "index": 13, "name": "shipping_address_first_name", "comment": null}, "shipping_address_last_name": {"type": "STRING", "index": 14, "name": "shipping_address_last_name", "comment": null}, "shipping_address_company": {"type": "STRING", "index": 15, "name": "shipping_address_company", "comment": null}, "shipping_address_phone": {"type": "STRING", "index": 16, "name": "shipping_address_phone", "comment": null}, "shipping_address_address_1": {"type": "STRING", "index": 17, "name": "shipping_address_address_1", "comment": null}, "shipping_address_address_2": {"type": "STRING", "index": 18, "name": "shipping_address_address_2", "comment": null}, "shipping_address_city": {"type": "STRING", "index": 19, "name": "shipping_address_city", "comment": null}, "shipping_address_country": {"type": "STRING", "index": 20, "name": "shipping_address_country", "comment": null}, "shipping_address_country_code": {"type": "STRING", "index": 21, "name": "shipping_address_country_code", "comment": null}, "shipping_address_province": {"type": "STRING", "index": 22, "name": "shipping_address_province", "comment": null}, "shipping_address_province_code": {"type": "INT64", "index": 23, "name": "shipping_address_province_code", "comment": null}, "shipping_address_zip": {"type": "STRING", "index": 24, "name": "shipping_address_zip", "comment": null}, "shipping_address_latitude": {"type": "STRING", "index": 25, "name": "shipping_address_latitude", "comment": null}, "shipping_address_longitude": {"type": "STRING", "index": 26, "name": "shipping_address_longitude", "comment": null}, "billing_address_name": {"type": "STRING", "index": 27, "name": "billing_address_name", "comment": null}, "billing_address_first_name": {"type": "STRING", "index": 28, "name": "billing_address_first_name", "comment": null}, "billing_address_last_name": {"type": "STRING", "index": 29, "name": "billing_address_last_name", "comment": null}, "billing_address_company": {"type": "STRING", "index": 30, "name": "billing_address_company", "comment": null}, "billing_address_phone": {"type": "STRING", "index": 31, "name": "billing_address_phone", "comment": null}, "billing_address_address_1": {"type": "STRING", "index": 32, "name": "billing_address_address_1", "comment": null}, "billing_address_address_2": {"type": "STRING", "index": 33, "name": "billing_address_address_2", "comment": null}, "billing_address_city": {"type": "STRING", "index": 34, "name": "billing_address_city", "comment": null}, "billing_address_country": {"type": "STRING", "index": 35, "name": "billing_address_country", "comment": null}, "billing_address_country_code": {"type": "STRING", "index": 36, "name": "billing_address_country_code", "comment": null}, "billing_address_province": {"type": "STRING", "index": 37, "name": "billing_address_province", "comment": null}, "billing_address_province_code": {"type": "INT64", "index": 38, "name": "billing_address_province_code", "comment": null}, "billing_address_zip": {"type": "STRING", "index": 39, "name": "billing_address_zip", "comment": null}, "billing_address_latitude": {"type": "STRING", "index": 40, "name": "billing_address_latitude", "comment": null}, "billing_address_longitude": {"type": "STRING", "index": 41, "name": "billing_address_longitude", "comment": null}, "customer_id": {"type": "INT64", "index": 42, "name": "customer_id", "comment": null}, "location_id": {"type": "INT64", "index": 43, "name": "location_id", "comment": null}, "user_id": {"type": "INT64", "index": 44, "name": "user_id", "comment": null}, "number": {"type": "INT64", "index": 45, "name": "number", "comment": null}, "order_number": {"type": "INT64", "index": 46, "name": "order_number", "comment": null}, "financial_status": {"type": "STRING", "index": 47, "name": "financial_status", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 48, "name": "fulfillment_status", "comment": null}, "processed_at": {"type": "TIMESTAMP", "index": 49, "name": "processed_at", "comment": null}, "processing_method": {"type": "STRING", "index": 50, "name": "processing_method", "comment": null}, "referring_site": {"type": "STRING", "index": 51, "name": "referring_site", "comment": null}, "cancel_reason": {"type": "INT64", "index": 52, "name": "cancel_reason", "comment": null}, "cancelled_at": {"type": "TIMESTAMP", "index": 53, "name": "cancelled_at", "comment": null}, "closed_at": {"type": "STRING", "index": 54, "name": "closed_at", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 55, "name": "total_discounts", "comment": null}, "total_line_items_price": {"type": "FLOAT64", "index": 56, "name": "total_line_items_price", "comment": null}, "total_weight": {"type": "INT64", "index": 57, "name": "total_weight", "comment": null}, "source_name": {"type": "STRING", "index": 58, "name": "source_name", "comment": null}, "browser_ip": {"type": "STRING", "index": 59, "name": "browser_ip", "comment": null}, "buyer_accepts_marketing": {"type": "BOOL", "index": 60, "name": "buyer_accepts_marketing", "comment": null}, "token": {"type": "STRING", "index": 61, "name": "token", "comment": null}, "cart_token": {"type": "STRING", "index": 62, "name": "cart_token", "comment": null}, "checkout_token": {"type": "STRING", "index": 63, "name": "checkout_token", "comment": null}, "test": {"type": "BOOL", "index": 64, "name": "test", "comment": null}, "landing_site_base_url": {"type": "STRING", "index": 65, "name": "landing_site_base_url", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 66, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3848.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order"}, "source.shopify_source.shopify.collection": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "collection", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "handle": {"type": "INT64", "index": 4, "name": "handle", "comment": null}, "published_at": {"type": "TIMESTAMP", "index": 5, "name": "published_at", "comment": null}, "published_scope": {"type": "INT64", "index": 6, "name": "published_scope", "comment": null}, "title": {"type": "STRING", "index": 7, "name": "title", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "disjunctive": {"type": "BOOL", "index": 9, "name": "disjunctive", "comment": null}, "rules": {"type": "INT64", "index": 10, "name": "rules", "comment": null}, "sort_order": {"type": "INT64", "index": 11, "name": "sort_order", "comment": null}, "template_suffix": {"type": "INT64", "index": 12, "name": "template_suffix", "comment": null}, "body_html": {"type": "INT64", "index": 13, "name": "body_html", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 75.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.collection"}, "source.shopify_source.shopify.customer": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "customer", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "first_name": {"type": "STRING", "index": 2, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 3, "name": "last_name", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "phone": {"type": "INT64", "index": 5, "name": "phone", "comment": null}, "state": {"type": "STRING", "index": 6, "name": "state", "comment": null}, "orders_count": {"type": "INT64", "index": 7, "name": "orders_count", "comment": null}, "total_spent": {"type": "FLOAT64", "index": 8, "name": "total_spent", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 10, "name": "updated_at", "comment": null}, "accepts_marketing": {"type": "BOOL", "index": 11, "name": "accepts_marketing", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 12, "name": "tax_exempt", "comment": null}, "verified_email": {"type": "BOOL", "index": 13, "name": "verified_email", "comment": null}, "default_address_id": {"type": "INT64", "index": 14, "name": "default_address_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 15, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 512.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.customer"}, "source.shopify_source.shopify.order_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 97.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_tag"}, "source.shopify_source.shopify.product_tag": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_tag", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 189.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.product_tag"}, "source.shopify_source.shopify.fulfillment_event": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "fulfillment_event", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "address_1": {"type": "INT64", "index": 3, "name": "address_1", "comment": null}, "city": {"type": "STRING", "index": 4, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 5, "name": "country", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "estimated_delivery_at": {"type": "STRING", "index": 7, "name": "estimated_delivery_at", "comment": null}, "fulfillment_id": {"type": "INT64", "index": 8, "name": "fulfillment_id", "comment": null}, "happened_at": {"type": "STRING", "index": 9, "name": "happened_at", "comment": null}, "latitude": {"type": "FLOAT64", "index": 10, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 11, "name": "longitude", "comment": null}, "message": {"type": "STRING", "index": 12, "name": "message", "comment": null}, "order_id": {"type": "INT64", "index": 13, "name": "order_id", "comment": null}, "province": {"type": "STRING", "index": 14, "name": "province", "comment": null}, "shop_id": {"type": "INT64", "index": 15, "name": "shop_id", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "updated_at": {"type": "STRING", "index": 17, "name": "updated_at", "comment": null}, "zip": {"type": "STRING", "index": 18, "name": "zip", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 19, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 926.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.fulfillment_event"}, "source.klaviyo_source.klaviyo.flow": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "flow", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 3, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "customer_filter": {"type": "STRING", "index": 6, "name": "customer_filter", "comment": null}, "trigger": {"type": "STRING", "index": 7, "name": "trigger", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 8, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 606.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.flow"}, "source.shopify_source.shopify.shop": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "shop", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "STRING", "index": 5, "name": "address_2", "comment": null}, "auto_configure_tax_inclusivity": {"type": "INT64", "index": 6, "name": "auto_configure_tax_inclusivity", "comment": null}, "checkout_api_supported": {"type": "BOOL", "index": 7, "name": "checkout_api_supported", "comment": null}, "city": {"type": "STRING", "index": 8, "name": "city", "comment": null}, "cookie_consent_level": {"type": "STRING", "index": 9, "name": "cookie_consent_level", "comment": null}, "country": {"type": "STRING", "index": 10, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 11, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 12, "name": "country_name", "comment": null}, "county_taxes": {"type": "BOOL", "index": 13, "name": "county_taxes", "comment": null}, "created_at": {"type": "STRING", "index": 14, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 15, "name": "currency", "comment": null}, "customer_email": {"type": "STRING", "index": 16, "name": "customer_email", "comment": null}, "domain": {"type": "STRING", "index": 17, "name": "domain", "comment": null}, "eligible_for_card_reader_giveaway": {"type": "BOOL", "index": 18, "name": "eligible_for_card_reader_giveaway", "comment": null}, "eligible_for_payments": {"type": "BOOL", "index": 19, "name": "eligible_for_payments", "comment": null}, "email": {"type": "STRING", "index": 20, "name": "email", "comment": null}, "enabled_presentment_currencies": {"type": "STRING", "index": 21, "name": "enabled_presentment_currencies", "comment": null}, "force_ssl": {"type": "BOOL", "index": 22, "name": "force_ssl", "comment": null}, "google_apps_domain": {"type": "INT64", "index": 23, "name": "google_apps_domain", "comment": null}, "google_apps_login_enabled": {"type": "BOOL", "index": 24, "name": "google_apps_login_enabled", "comment": null}, "has_discounts": {"type": "BOOL", "index": 25, "name": "has_discounts", "comment": null}, "has_gift_cards": {"type": "BOOL", "index": 26, "name": "has_gift_cards", "comment": null}, "has_storefront": {"type": "BOOL", "index": 27, "name": "has_storefront", "comment": null}, "iana_timezone": {"type": "STRING", "index": 28, "name": "iana_timezone", "comment": null}, "latitude": {"type": "FLOAT64", "index": 29, "name": "latitude", "comment": null}, "longitude": {"type": "FLOAT64", "index": 30, "name": "longitude", "comment": null}, "money_format": {"type": "STRING", "index": 31, "name": "money_format", "comment": null}, "money_in_emails_format": {"type": "STRING", "index": 32, "name": "money_in_emails_format", "comment": null}, "money_with_currency_format": {"type": "STRING", "index": 33, "name": "money_with_currency_format", "comment": null}, "money_with_currency_in_emails_format": {"type": "STRING", "index": 34, "name": "money_with_currency_in_emails_format", "comment": null}, "multi_location_enabled": {"type": "BOOL", "index": 35, "name": "multi_location_enabled", "comment": null}, "myshopify_domain": {"type": "STRING", "index": 36, "name": "myshopify_domain", "comment": null}, "name": {"type": "STRING", "index": 37, "name": "name", "comment": null}, "password_enabled": {"type": "BOOL", "index": 38, "name": "password_enabled", "comment": null}, "phone": {"type": "INT64", "index": 39, "name": "phone", "comment": null}, "plan_display_name": {"type": "STRING", "index": 40, "name": "plan_display_name", "comment": null}, "plan_name": {"type": "STRING", "index": 41, "name": "plan_name", "comment": null}, "pre_launch_enabled": {"type": "BOOL", "index": 42, "name": "pre_launch_enabled", "comment": null}, "primary_locale": {"type": "STRING", "index": 43, "name": "primary_locale", "comment": null}, "primary_location_id": {"type": "INT64", "index": 44, "name": "primary_location_id", "comment": null}, "province": {"type": "STRING", "index": 45, "name": "province", "comment": null}, "province_code": {"type": "STRING", "index": 46, "name": "province_code", "comment": null}, "requires_extra_payments_agreement": {"type": "BOOL", "index": 47, "name": "requires_extra_payments_agreement", "comment": null}, "setup_required": {"type": "BOOL", "index": 48, "name": "setup_required", "comment": null}, "shop_owner": {"type": "STRING", "index": 49, "name": "shop_owner", "comment": null}, "source": {"type": "INT64", "index": 50, "name": "source", "comment": null}, "tax_shipping": {"type": "INT64", "index": 51, "name": "tax_shipping", "comment": null}, "taxes_included": {"type": "BOOL", "index": 52, "name": "taxes_included", "comment": null}, "timezone": {"type": "STRING", "index": 53, "name": "timezone", "comment": null}, "updated_at": {"type": "STRING", "index": 54, "name": "updated_at", "comment": null}, "visitor_tracking_consent_preference": {"type": "STRING", "index": 55, "name": "visitor_tracking_consent_preference", "comment": null}, "weight_unit": {"type": "STRING", "index": 56, "name": "weight_unit", "comment": null}, "zip": {"type": "INT64", "index": 57, "name": "zip", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 493.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.shop"}, "source.shopify_source.shopify.transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "authorization": {"type": "STRING", "index": 5, "name": "authorization", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 7, "name": "processed_at", "comment": null}, "device_id": {"type": "INT64", "index": 8, "name": "device_id", "comment": null}, "gateway": {"type": "STRING", "index": 9, "name": "gateway", "comment": null}, "source_name": {"type": "STRING", "index": 10, "name": "source_name", "comment": null}, "message": {"type": "STRING", "index": 11, "name": "message", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "location_id": {"type": "INT64", "index": 13, "name": "location_id", "comment": null}, "parent_id": {"type": "INT64", "index": 14, "name": "parent_id", "comment": null}, "payment_avs_result_code": {"type": "STRING", "index": 15, "name": "payment_avs_result_code", "comment": null}, "kind": {"type": "STRING", "index": 16, "name": "kind", "comment": null}, "currency_exchange_id": {"type": "INT64", "index": 17, "name": "currency_exchange_id", "comment": null}, "currency_exchange_adjustment": {"type": "INT64", "index": 18, "name": "currency_exchange_adjustment", "comment": null}, "currency_exchange_original_amount": {"type": "INT64", "index": 19, "name": "currency_exchange_original_amount", "comment": null}, "currency_exchange_final_amount": {"type": "INT64", "index": 20, "name": "currency_exchange_final_amount", "comment": null}, "currency_exchange_currency": {"type": "INT64", "index": 21, "name": "currency_exchange_currency", "comment": null}, "error_code": {"type": "INT64", "index": 22, "name": "error_code", "comment": null}, "status": {"type": "STRING", "index": 23, "name": "status", "comment": null}, "test": {"type": "BOOL", "index": 24, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 25, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 26, "name": "_fivetran_synced", "comment": null}, "payment_credit_card_bin": {"type": "INT64", "index": 27, "name": "payment_credit_card_bin", "comment": null}, "payment_cvv_result_code": {"type": "INT64", "index": 28, "name": "payment_cvv_result_code", "comment": null}, "payment_credit_card_number": {"type": "INT64", "index": 29, "name": "payment_credit_card_number", "comment": null}, "payment_credit_card_company": {"type": "INT64", "index": 30, "name": "payment_credit_card_company", "comment": null}, "receipt": {"type": "STRING", "index": 31, "name": "receipt", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1045.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.transaction"}, "source.shopify_source.shopify.location": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "location", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "active": {"type": "BOOL", "index": 3, "name": "active", "comment": null}, "address_1": {"type": "STRING", "index": 4, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 5, "name": "address_2", "comment": null}, "city": {"type": "STRING", "index": 6, "name": "city", "comment": null}, "country": {"type": "STRING", "index": 7, "name": "country", "comment": null}, "created_at": {"type": "STRING", "index": 8, "name": "created_at", "comment": null}, "legacy": {"type": "BOOL", "index": 9, "name": "legacy", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "phone": {"type": "INT64", "index": 11, "name": "phone", "comment": null}, "province": {"type": "STRING", "index": 12, "name": "province", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "zip": {"type": "INT64", "index": 14, "name": "zip", "comment": null}, "country_code": {"type": "STRING", "index": 15, "name": "country_code", "comment": null}, "country_name": {"type": "STRING", "index": 16, "name": "country_name", "comment": null}, "localized_country_name": {"type": "STRING", "index": 17, "name": "localized_country_name", "comment": null}, "localized_province_name": {"type": "STRING", "index": 18, "name": "localized_province_name", "comment": null}, "province_code": {"type": "STRING", "index": 19, "name": "province_code", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 20, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 293.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.location"}, "source.shopify_source.shopify.product_variant": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_variant", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "inventory_item_id": {"type": "INT64", "index": 3, "name": "inventory_item_id", "comment": null}, "title": {"type": "STRING", "index": 4, "name": "title", "comment": null}, "price": {"type": "INT64", "index": 5, "name": "price", "comment": null}, "sku": {"type": "INT64", "index": 6, "name": "sku", "comment": null}, "position": {"type": "INT64", "index": 7, "name": "position", "comment": null}, "inventory_policy": {"type": "STRING", "index": 8, "name": "inventory_policy", "comment": null}, "compare_at_price": {"type": "INT64", "index": 9, "name": "compare_at_price", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 10, "name": "fulfillment_service", "comment": null}, "inventory_management": {"type": "STRING", "index": 11, "name": "inventory_management", "comment": null}, "created_at": {"type": "STRING", "index": 12, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}, "taxable": {"type": "BOOL", "index": 14, "name": "taxable", "comment": null}, "barcode": {"type": "INT64", "index": 15, "name": "barcode", "comment": null}, "grams": {"type": "INT64", "index": 16, "name": "grams", "comment": null}, "image_id": {"type": "INT64", "index": 17, "name": "image_id", "comment": null}, "inventory_quantity": {"type": "INT64", "index": 18, "name": "inventory_quantity", "comment": null}, "weight": {"type": "INT64", "index": 19, "name": "weight", "comment": null}, "weight_unit": {"type": "STRING", "index": 20, "name": "weight_unit", "comment": null}, "old_inventory_quantity": {"type": "INT64", "index": 21, "name": "old_inventory_quantity", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 22, "name": "requires_shipping", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 23, "name": "_fivetran_synced", "comment": null}, "option_2": {"type": "INT64", "index": 24, "name": "option_2", "comment": null}, "tax_code": {"type": "STRING", "index": 25, "name": "tax_code", "comment": null}, "option_3": {"type": "INT64", "index": 26, "name": "option_3", "comment": null}, "option_1": {"type": "STRING", "index": 27, "name": "option_1", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 948.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.product_variant"}, "source.shopify_source.shopify.order_line_refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_line_refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "restock_type": {"type": "INT64", "index": 4, "name": "restock_type", "comment": null}, "quantity": {"type": "INT64", "index": 5, "name": "quantity", "comment": null}, "order_line_id": {"type": "INT64", "index": 6, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_line_refund"}, "source.shopify_source.shopify.order_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 164.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_discount_code"}, "source.shopify_source.shopify.inventory_level": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "inventory_level", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"inventory_item_id": {"type": "INT64", "index": 1, "name": "inventory_item_id", "comment": null}, "location_id": {"type": "INT64", "index": 2, "name": "location_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "available": {"type": "INT64", "index": 4, "name": "available", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 5, "name": "updated_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.inventory_level"}, "source.shopify_source.shopify.product_image": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "product_image", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 3, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "alt": {"type": "INT64", "index": 5, "name": "alt", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "height": {"type": "INT64", "index": 7, "name": "height", "comment": null}, "position": {"type": "INT64", "index": 8, "name": "position", "comment": null}, "src": {"type": "STRING", "index": 9, "name": "src", "comment": null}, "updated_at": {"type": "STRING", "index": 10, "name": "updated_at", "comment": null}, "width": {"type": "INT64", "index": 11, "name": "width", "comment": null}, "is_default": {"type": "BOOL", "index": 12, "name": "is_default", "comment": null}, "variant_ids": {"type": "STRING", "index": 13, "name": "variant_ids", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 586.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.product_image"}, "source.shopify_source.shopify.collection_product": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "collection_product", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"collection_id": {"type": "INT64", "index": 1, "name": "collection_id", "comment": null}, "product_id": {"type": "INT64", "index": 2, "name": "product_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 72.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.collection_product"}, "source.shopify_source.shopify.order_note_attribute": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_note_attribute", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"name": {"type": "STRING", "index": 1, "name": "name", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 264.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_note_attribute"}, "source.shopify_source.shopify.price_rule": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "price_rule", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "allocation_limit": {"type": "INT64", "index": 3, "name": "allocation_limit", "comment": null}, "allocation_method": {"type": "STRING", "index": 4, "name": "allocation_method", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "customer_selection": {"type": "STRING", "index": 6, "name": "customer_selection", "comment": null}, "ends_at": {"type": "STRING", "index": 7, "name": "ends_at", "comment": null}, "once_per_customer": {"type": "BOOL", "index": 8, "name": "once_per_customer", "comment": null}, "prerequisite_quantity_range": {"type": "INT64", "index": 9, "name": "prerequisite_quantity_range", "comment": null}, "prerequisite_shipping_price_range": {"type": "INT64", "index": 10, "name": "prerequisite_shipping_price_range", "comment": null}, "prerequisite_subtotal_range": {"type": "FLOAT64", "index": 11, "name": "prerequisite_subtotal_range", "comment": null}, "quantity_ratio_entitled_quantity": {"type": "INT64", "index": 12, "name": "quantity_ratio_entitled_quantity", "comment": null}, "quantity_ratio_prerequisite_quantity": {"type": "INT64", "index": 13, "name": "quantity_ratio_prerequisite_quantity", "comment": null}, "starts_at": {"type": "STRING", "index": 14, "name": "starts_at", "comment": null}, "target_selection": {"type": "STRING", "index": 15, "name": "target_selection", "comment": null}, "target_type": {"type": "STRING", "index": 16, "name": "target_type", "comment": null}, "title": {"type": "STRING", "index": 17, "name": "title", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}, "usage_limit": {"type": "INT64", "index": 19, "name": "usage_limit", "comment": null}, "value": {"type": "FLOAT64", "index": 20, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 21, "name": "value_type", "comment": null}, "prerequisite_to_entitlement_purchase_prerequisite_amount": {"type": "INT64", "index": 22, "name": "prerequisite_to_entitlement_purchase_prerequisite_amount", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 573.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.price_rule"}, "source.shopify_source.shopify.tender_transaction": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "tender_transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "payment_details_credit_card_company": {"type": "INT64", "index": 6, "name": "payment_details_credit_card_company", "comment": null}, "payment_details_credit_card_number": {"type": "INT64", "index": 7, "name": "payment_details_credit_card_number", "comment": null}, "payment_method": {"type": "STRING", "index": 8, "name": "payment_method", "comment": null}, "processed_at": {"type": "STRING", "index": 9, "name": "processed_at", "comment": null}, "remote_reference": {"type": "INT64", "index": 10, "name": "remote_reference", "comment": null}, "test": {"type": "BOOL", "index": 11, "name": "test", "comment": null}, "user_id": {"type": "INT64", "index": 12, "name": "user_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 365.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.tender_transaction"}, "source.klaviyo_source.klaviyo.campaign": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "from_name": {"type": "STRING", "index": 2, "name": "from_name", "comment": null}, "status_id": {"type": "INT64", "index": 3, "name": "status_id", "comment": null}, "is_segmented": {"type": "BOOL", "index": 4, "name": "is_segmented", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "status_label": {"type": "STRING", "index": 6, "name": "status_label", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "subject": {"type": "STRING", "index": 8, "name": "subject", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "created": {"type": "STRING", "index": 11, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 12, "name": "updated", "comment": null}, "send_time": {"type": "STRING", "index": 13, "name": "send_time", "comment": null}, "sent_at": {"type": "STRING", "index": 14, "name": "sent_at", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 15, "name": "_fivetran_deleted", "comment": null}, "email_template_id": {"type": "STRING", "index": 16, "name": "email_template_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 17, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 362.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.campaign"}, "source.shopify_source.shopify.abandoned_checkout_discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "abandoned_checkout_discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"checkout_id": {"type": "INT64", "index": 1, "name": "checkout_id", "comment": null}, "index": {"type": "INT64", "index": 2, "name": "index", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "discount_id": {"type": "INT64", "index": 5, "name": "discount_id", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "type": {"type": "STRING", "index": 8, "name": "type", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 9, "name": "updated_at", "comment": null}, "usage_count": {"type": "INT64", "index": 10, "name": "usage_count", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 157.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.abandoned_checkout_discount_code"}, "source.klaviyo_source.klaviyo.metric": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "metric", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "integration_id": {"type": "STRING", "index": 3, "name": "integration_id", "comment": null}, "created": {"type": "STRING", "index": 4, "name": "created", "comment": null}, "updated": {"type": "STRING", "index": 5, "name": "updated", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 6, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 181.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.metric"}, "source.shopify_source.shopify.tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_line_id": {"type": "INT64", "index": 2, "name": "order_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 805.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.tax_line"}, "source.shopify_source.shopify.refund": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "refund", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "processed_at": {"type": "STRING", "index": 3, "name": "processed_at", "comment": null}, "note": {"type": "STRING", "index": 4, "name": "note", "comment": null}, "restock": {"type": "BOOL", "index": 5, "name": "restock", "comment": null}, "user_id": {"type": "INT64", "index": 6, "name": "user_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "total_duties_set": {"type": "INT64", "index": 8, "name": "total_duties_set", "comment": null}, "order_id": {"type": "INT64", "index": 9, "name": "order_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 431.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.refund"}, "source.shopify_source.shopify.order_shipping_tax_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_shipping_tax_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "order_shipping_line_id": {"type": "INT64", "index": 2, "name": "order_shipping_line_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "price": {"type": "FLOAT64", "index": 4, "name": "price", "comment": null}, "rate": {"type": "FLOAT64", "index": 5, "name": "rate", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "price_set": {"type": "STRING", "index": 7, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 494.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_shipping_tax_line"}, "source.shopify_source.shopify.order_shipping_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_shipping_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "carrier_identifier": {"type": "INT64", "index": 4, "name": "carrier_identifier", "comment": null}, "code": {"type": "STRING", "index": 5, "name": "code", "comment": null}, "delivery_category": {"type": "INT64", "index": 6, "name": "delivery_category", "comment": null}, "discounted_price": {"type": "FLOAT64", "index": 7, "name": "discounted_price", "comment": null}, "phone": {"type": "INT64", "index": 8, "name": "phone", "comment": null}, "price": {"type": "FLOAT64", "index": 9, "name": "price", "comment": null}, "requested_fulfillment_service_id": {"type": "INT64", "index": 10, "name": "requested_fulfillment_service_id", "comment": null}, "source": {"type": "STRING", "index": 11, "name": "source", "comment": null}, "title": {"type": "STRING", "index": 12, "name": "title", "comment": null}, "discounted_price_set": {"type": "STRING", "index": 13, "name": "discounted_price_set", "comment": null}, "price_set": {"type": "STRING", "index": 14, "name": "price_set", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 903.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_shipping_line"}, "source.shopify_source.shopify.order_adjustment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_adjustment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "order_id": {"type": "INT64", "index": 2, "name": "order_id", "comment": null}, "refund_id": {"type": "INT64", "index": 3, "name": "refund_id", "comment": null}, "amount": {"type": "INT64", "index": 4, "name": "amount", "comment": null}, "tax_amount": {"type": "FLOAT64", "index": 5, "name": "tax_amount", "comment": null}, "kind": {"type": "STRING", "index": 6, "name": "kind", "comment": null}, "reason": {"type": "STRING", "index": 7, "name": "reason", "comment": null}, "amount_set": {"type": "INT64", "index": 8, "name": "amount_set", "comment": null}, "tax_amount_set": {"type": "INT64", "index": 9, "name": "tax_amount_set", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 416.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_adjustment"}, "source.shopify_source.shopify.fulfillment": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "fulfillment", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "location_id": {"type": "INT64", "index": 4, "name": "location_id", "comment": null}, "order_id": {"type": "INT64", "index": 5, "name": "order_id", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "tracking_company": {"type": "INT64", "index": 7, "name": "tracking_company", "comment": null}, "tracking_number": {"type": "INT64", "index": 8, "name": "tracking_number", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "tracking_numbers": {"type": "STRING", "index": 10, "name": "tracking_numbers", "comment": null}, "tracking_urls": {"type": "STRING", "index": 11, "name": "tracking_urls", "comment": null}, "shipment_status": {"type": "INT64", "index": 12, "name": "shipment_status", "comment": null}, "service": {"type": "STRING", "index": 13, "name": "service", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "receipt_authorization": {"type": "INT64", "index": 15, "name": "receipt_authorization", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 373.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.fulfillment"}, "source.shopify_source.shopify.order_line": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "order_line", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"order_id": {"type": "INT64", "index": 1, "name": "order_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "product_id": {"type": "INT64", "index": 3, "name": "product_id", "comment": null}, "variant_id": {"type": "INT64", "index": 4, "name": "variant_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "title": {"type": "STRING", "index": 6, "name": "title", "comment": null}, "vendor": {"type": "STRING", "index": 7, "name": "vendor", "comment": null}, "price": {"type": "FLOAT64", "index": 8, "name": "price", "comment": null}, "quantity": {"type": "INT64", "index": 9, "name": "quantity", "comment": null}, "grams": {"type": "INT64", "index": 10, "name": "grams", "comment": null}, "sku": {"type": "STRING", "index": 11, "name": "sku", "comment": null}, "fulfillable_quantity": {"type": "INT64", "index": 12, "name": "fulfillable_quantity", "comment": null}, "fulfillment_service": {"type": "STRING", "index": 13, "name": "fulfillment_service", "comment": null}, "gift_card": {"type": "BOOL", "index": 14, "name": "gift_card", "comment": null}, "requires_shipping": {"type": "BOOL", "index": 15, "name": "requires_shipping", "comment": null}, "taxable": {"type": "BOOL", "index": 16, "name": "taxable", "comment": null}, "index": {"type": "INT64", "index": 17, "name": "index", "comment": null}, "total_discount": {"type": "INT64", "index": 18, "name": "total_discount", "comment": null}, "pre_tax_price": {"type": "INT64", "index": 19, "name": "pre_tax_price", "comment": null}, "fulfillment_status": {"type": "STRING", "index": 20, "name": "fulfillment_status", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 21, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 727.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.order_line"}, "source.shopify_source.shopify.discount_code": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "discount_code", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "code": {"type": "STRING", "index": 3, "name": "code", "comment": null}, "created_at": {"type": "STRING", "index": 4, "name": "created_at", "comment": null}, "price_rule_id": {"type": "INT64", "index": 5, "name": "price_rule_id", "comment": null}, "updated_at": {"type": "STRING", "index": 6, "name": "updated_at", "comment": null}, "usage_count": {"type": "FLOAT64", "index": 7, "name": "usage_count", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 317.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.discount_code"}, "source.klaviyo_source.klaviyo.person": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "person", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated": {"type": "STRING", "index": 2, "name": "updated", "comment": null}, "created": {"type": "STRING", "index": 3, "name": "created", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 4, "name": "_fivetran_deleted", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "address_1": {"type": "STRING", "index": 7, "name": "address_1", "comment": null}, "address_2": {"type": "INT64", "index": 8, "name": "address_2", "comment": null}, "title": {"type": "INT64", "index": 9, "name": "title", "comment": null}, "timezone": {"type": "STRING", "index": 10, "name": "timezone", "comment": null}, "organization": {"type": "INT64", "index": 11, "name": "organization", "comment": null}, "region": {"type": "STRING", "index": 12, "name": "region", "comment": null}, "longitude": {"type": "FLOAT64", "index": 13, "name": "longitude", "comment": null}, "latitude": {"type": "FLOAT64", "index": 14, "name": "latitude", "comment": null}, "phone_number": {"type": "STRING", "index": 15, "name": "phone_number", "comment": null}, "country": {"type": "STRING", "index": 16, "name": "country", "comment": null}, "zip": {"type": "INT64", "index": 17, "name": "zip", "comment": null}, "city": {"type": "STRING", "index": 18, "name": "city", "comment": null}, "email": {"type": "STRING", "index": 19, "name": "email", "comment": null}, "custom_object": {"type": "STRING", "index": 20, "name": "custom_object", "comment": null}, "custom_email": {"type": "STRING", "index": 21, "name": "custom_email", "comment": null}, "custom_accepts_marketing": {"type": "BOOL", "index": 22, "name": "custom_accepts_marketing", "comment": null}, "custom_shopify_tags": {"type": "STRING", "index": 23, "name": "custom_shopify_tags", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 24, "name": "_fivetran_synced", "comment": null}, "custom_consent_form_id": {"type": "STRING", "index": 25, "name": "custom_consent_form_id", "comment": null}, "custom_source": {"type": "STRING", "index": 26, "name": "custom_source", "comment": null}, "custom_consent_method": {"type": "STRING", "index": 27, "name": "custom_consent_method", "comment": null}, "custom_consent": {"type": "INT64", "index": 28, "name": "custom_consent", "comment": null}, "custom_gift_giver_name": {"type": "INT64", "index": 29, "name": "custom_gift_giver_name", "comment": null}, "custom_state": {"type": "INT64", "index": 30, "name": "custom_state", "comment": null}, "custom_flow": {"type": "INT64", "index": 31, "name": "custom_flow", "comment": null}, "custom_gift_recipient_name": {"type": "INT64", "index": 32, "name": "custom_gift_recipient_name", "comment": null}, "custom_last_sign_in": {"type": "INT64", "index": 33, "name": "custom_last_sign_in", "comment": null}, "custom_consent_form_version": {"type": "INT64", "index": 34, "name": "custom_consent_form_version", "comment": null}, "custom_consent_timestamp": {"type": "INT64", "index": 35, "name": "custom_consent_timestamp", "comment": null}, "custom_mail_chimp_rating": {"type": "INT64", "index": 36, "name": "custom_mail_chimp_rating", "comment": null}, "custom_gift_recipient_email": {"type": "INT64", "index": 37, "name": "custom_gift_recipient_email", "comment": null}, "custom_gift_options": {"type": "INT64", "index": 38, "name": "custom_gift_options", "comment": null}, "custom_address": {"type": "INT64", "index": 39, "name": "custom_address", "comment": null}, "custom_subscription_expiration": {"type": "INT64", "index": 40, "name": "custom_subscription_expiration", "comment": null}, "custom_city": {"type": "INT64", "index": 41, "name": "custom_city", "comment": null}, "custom_address_line_2": {"type": "INT64", "index": 42, "name": "custom_address_line_2", "comment": null}, "custom_zipcode": {"type": "INT64", "index": 43, "name": "custom_zipcode", "comment": null}, "custom_expected_date_of_next_order": {"type": "STRING", "index": 44, "name": "custom_expected_date_of_next_order", "comment": null}, "custom_sms_attentive_signup": {"type": "INT64", "index": 45, "name": "custom_sms_attentive_signup", "comment": null}, "custom_phone": {"type": "INT64", "index": 46, "name": "custom_phone", "comment": null}, "custom_afterpay_order": {"type": "INT64", "index": 47, "name": "custom_afterpay_order", "comment": null}, "custom_phone_number_region": {"type": "STRING", "index": 48, "name": "custom_phone_number_region", "comment": null}, "custom_name": {"type": "INT64", "index": 49, "name": "custom_name", "comment": null}, "custom_referrer_name": {"type": "INT64", "index": 50, "name": "custom_referrer_name", "comment": null}, "custom_referrer_email": {"type": "INT64", "index": 51, "name": "custom_referrer_email", "comment": null}, "custom_birthday": {"type": "INT64", "index": 52, "name": "custom_birthday", "comment": null}, "custom_first_purchase_date_": {"type": "DATE", "index": 53, "name": "custom_first_purchase_date_", "comment": null}, "custom_unengaged": {"type": "INT64", "index": 54, "name": "custom_unengaged", "comment": null}, "custom_landing_page_tag": {"type": "INT64", "index": 55, "name": "custom_landing_page_tag", "comment": null}, "custom_fitness_goal": {"type": "INT64", "index": 56, "name": "custom_fitness_goal", "comment": null}, "custom_age": {"type": "INT64", "index": 57, "name": "custom_age", "comment": null}, "custom_workout": {"type": "INT64", "index": 58, "name": "custom_workout", "comment": null}, "custom_quiz": {"type": "INT64", "index": 59, "name": "custom_quiz", "comment": null}, "custom_breakfast": {"type": "INT64", "index": 60, "name": "custom_breakfast", "comment": null}, "custom_quiz_data": {"type": "INT64", "index": 61, "name": "custom_quiz_data", "comment": null}, "custom_raf_subscribe": {"type": "INT64", "index": 62, "name": "custom_raf_subscribe", "comment": null}, "custom_suppress": {"type": "INT64", "index": 63, "name": "custom_suppress", "comment": null}, "custom_sms_consent": {"type": "INT64", "index": 64, "name": "custom_sms_consent", "comment": null}, "custom_gift_option_dreambelt": {"type": "INT64", "index": 65, "name": "custom_gift_option_dreambelt", "comment": null}, "custom_gift_option_starter": {"type": "INT64", "index": 66, "name": "custom_gift_option_starter", "comment": null}, "custom_gift_option_machine": {"type": "INT64", "index": 67, "name": "custom_gift_option_machine", "comment": null}, "custom_landingpage_tag": {"type": "INT64", "index": 68, "name": "custom_landingpage_tag", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 546.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.klaviyo_source.klaviyo.person"}, "source.shopify_source.shopify.metafield": {"metadata": {"type": "table", "schema": "shopify_holistic_reporting_integration_tests_1", "name": "metafield", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "INT64", "index": 4, "name": "description", "comment": null}, "key": {"type": "STRING", "index": 5, "name": "key", "comment": null}, "namespace": {"type": "STRING", "index": 6, "name": "namespace", "comment": null}, "owner_id": {"type": "INT64", "index": 7, "name": "owner_id", "comment": null}, "owner_resource": {"type": "STRING", "index": 8, "name": "owner_resource", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}, "value": {"type": "STRING", "index": 10, "name": "value", "comment": null}, "value_type": {"type": "STRING", "index": 11, "name": "value_type", "comment": null}, "type": {"type": "STRING", "index": 12, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2206.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.shopify_source.shopify.metafield"}}, "errors": null}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 182b6b4..0807e63 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -90,13 +90,13 @@
https://github.com/jquery/jquery/blob/master/src/event.js
*/var r=function(e,t){this.recycle(e,t)};function i(){return!1}function o(){return!0}r.prototype={instanceString:function(){return"event"},recycle:function(e,t){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=i,null!=e&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?o:i):null!=e&&e.type?t=e:this.type=e,null!=t&&(this.originalEvent=t.originalEvent,this.type=null!=t.type?t.type:this.type,this.cy=t.cy,this.target=t.target,this.position=t.position,this.renderedPosition=t.renderedPosition,this.namespace=t.namespace,this.layout=t.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,r=this.cy.zoom(),a=this.cy.pan();this.renderedPosition={x:n.x*r+a.x,y:n.y*r+a.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=o;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=o;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},isDefaultPrevented:i,isPropagationStopped:i,isImmediatePropagationStopped:i},e.exports=r},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){var n=e.cy().hasCompoundNodes();function i(e){var t=e.pstyle("z-compound-depth");return"auto"===t.value?n?e.zDepth():0:"bottom"===t.value?-1:"top"===t.value?r.MAX_INT:0}var o=i(e)-i(t);if(0!==o)return o;function a(e){return"auto"===e.pstyle("z-index-compare").value&&e.isNode()?1:0}var s=a(e)-a(t);if(0!==s)return s;var l=e.pstyle("z-index").value-t.pstyle("z-index").value;return 0!==l?l:e.poolIndex()-t.poolIndex()}},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(6),a=function e(t){if(!(this instanceof e))return new e(t);r.core(t)?(this._private={cy:t,coreStyle:{}},this.length=0,this.resetToDefault()):i.error("A style must have a core reference")},s=a.prototype;s.instanceString=function(){return"style"},s.clear=function(){for(var e=0;e=e.deqFastCost*m)break}else if(o){if(h>=e.deqCost*c||h>=e.deqAvgCost*l)break}else if(g>=e.deqNoDrawCost*(1e3/60))break;var v=e.deq(t,f,d);if(!(v.length>0))break;for(var b=0;b0&&(e.onDeqd(t,u),!o&&e.shouldRedraw(t,u,f,d)&&i())}),o(t))}}}}},function(e,t,n){"use strict";var r=n(0),i=n(12),o=n(94),a=n(136),s=function(e){return void 0===e&&(e={}),r.plainObject(e)?new i(e):r.string(e)?o.apply(o,arguments):void 0};s.use=function(e){var t=Array.prototype.slice.call(arguments,1);return t.unshift(s),e.apply(null,t),this},s.version=n(137),s.stylesheet=s.Stylesheet=a,e.exports=s},function(e,t,n){"use strict";var r=n(0);e.exports={hex2tuple:function(e){if((4===e.length||7===e.length)&&"#"===e[0]){var t=void 0,n=void 0,r=void 0;return 4===e.length?(t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16),r=parseInt(e[3]+e[3],16)):(t=parseInt(e[1]+e[2],16),n=parseInt(e[3]+e[4],16),r=parseInt(e[5]+e[6],16)),[t,n,r]}},hsl2tuple:function(e){var t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var u=new RegExp("^"+this.regex.hsla+"$").exec(e);if(u){if((n=parseInt(u[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(u[2]))<0||r>100)return;if(r/=100,(i=parseFloat(u[3]))<0||i>100)return;if(i/=100,void 0!==(o=u[4])&&((o=parseFloat(o))<0||o>1))return;if(0===r)a=s=l=Math.round(255*i);else{var d=i<.5?i*(1+r):i+r-i*r,f=2*i-d;a=Math.round(255*c(f,d,n+1/3)),s=Math.round(255*c(f,d,n)),l=Math.round(255*c(f,d,n-1/3))}t=[a,s,l,o]}return t},rgb2tuple:function(e){var t=void 0,n=new RegExp("^"+this.regex.rgba+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var o=n[i];if("%"===o[o.length-1]&&(r[i]=!0),o=parseFloat(o),r[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var a=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(a&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},colorname2tuple:function(e){return this.colors[e.toLowerCase()]},color2tuple:function(e){return(r.array(e)?e:null)||this.colorname2tuple(e)||this.hex2tuple(e)||this.rgb2tuple(e)||this.hsl2tuple(e)},colors:{transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}},function(e,t,n){"use strict";var r=n(0);e.exports={mapEmpty:function(e){return null==e||0===Object.keys(e).length},pushMap:function(e){var t=this.getMap(e);null==t?this.setMap(this.extend({},e,{value:[e.value]})):t.push(e.value)},setMap:function(e){for(var t=e.map,n=e.keys,i=n.length,o=0;ot?1:0}e.exports={sort:{ascending:r,descending:function(e,t){return-1*r(e,t)}}}},function(e,t,n){"use strict";function r(){this._obj={}}var i=r.prototype;i.set=function(e,t){this._obj[e]=t},i.delete=function(e){this._obj[e]=null},i.has=function(e){return null!=this._obj[e]},i.get=function(e){return this._obj[e]},e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};[n(30),n(31),n(33),n(34),n(35),n(36),n(37),n(38),n(39),n(40),n(41)].forEach((function(e){r.extend(i,e)})),e.exports=i},function(e,t,n){"use strict";var r=n(0),i=function(e){return e={bfs:e.bfs||!e.dfs,dfs:e.dfs||!e.bfs},function(t,n,i){var o;r.plainObject(t)&&!r.elementOrCollection(t)&&(t=(o=t).roots||o.root,n=o.visit,i=o.directed),i=2!==arguments.length||r.fn(n)?i:n,n=r.fn(n)?n:function(){};for(var a,s=this._private.cy,l=t=r.string(t)?this.filter(t):t,c=[],u=[],d={},f={},p={},h=0,g=this.nodes(),m=this.edges(),v=0;v0;){var y=g.pop(),x=p(y),w=y.id();if(u[w]=x,x!==1/0){var k=y.neighborhood().intersect(f);for(m=0;m0)for(n.unshift(t);c[i.id()];){var o=c[i.id()];n.unshift(o.edge),n.unshift(o.node),i=o.node}return a.collection(n)}}}};e.exports=o},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(0),i={kruskal:function(e){var t=this.cy();function n(e){for(var t=0;t0;){var y=n(p,v),x=i.getElementById(p[y]),w=x.id();if(b++,w==d){var k=t(u,d,h,[]);return{found:!0,distance:m[w],path:this.spawn(k),steps:b}}f.push(w),p.splice(y,1);for(var A=x._private.edges,E=0;Eb&&(u[m][v]=b,p[m][v]=v,h[m][v]=o[c])}if(!i)for(c=0;cb&&(u[m][v]=b,p[m][v]=v,h[m][v]=o[c]);for(var y=0;yu&&(u=t)},f=function(e){return c[e]},p=0;p0?S.edgesTo(E)[0]:E.edgesTo(S)[0]);E=E.id(),y[E]>y[k]+$&&(y[E]=y[k]+$,x.nodes.indexOf(E)<0?x.push(E):x.updateItem(E),b[E]=0,v[E]=[]),y[E]==y[k]+$&&(b[E]=b[E]+b[k],v[E].push(k))}else for(A=0;A0;)for(E=m.pop(),A=0;A0:void 0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){for(var n=e.match(/\S+/g)||[],r=[],i=0,o=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};e.exports=i},function(e,t,n){"use strict";n(0);var r=n(6),i={allAre:function(e){var t=new r(e);return this.every((function(e){return t.matches(e)}))},is:function(e){var t=new r(e);return this.some((function(e){return t.matches(e)}))},some:function(e,t){for(var n=0;n\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:n(1).regex.number,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};r.variable="(?:[\\w-]|(?:\\\\"+r.metaChar+"))+",r.value=r.string+"|"+r.number,r.className=r.variable,r.id=r.variable,function(){var e=void 0,t=void 0,n=void 0;for(e=r.comparatorOp.split("|"),n=0;n=0||"="!==t&&(r.comparatorOp+="|\\!"+t)}(),e.exports=r},function(e,t,n){"use strict";var r=n(15).stateSelectorMatches,i=n(0),o=function(e,t){for(var n=!0,r=0;r=0&&(d=d.toLowerCase(),f=f.toLowerCase(),a=a.replace("@",""),p=!0);var h=!1;a.indexOf("!")>=0&&(a=a.replace("!",""),h=!0),p&&(s=f.toLowerCase(),u=d.toLowerCase());var g=!1;switch(a){case"*=":c=d.indexOf(f)>=0;break;case"$=":c=d.indexOf(f,d.length-f.length)>=0;break;case"^=":c=0===d.indexOf(f);break;case"=":c=u===s;break;case">":g=!0,c=u>s;break;case">=":g=!0,c=u>=s;break;case"<":g=!0,c=u0;){var u=o.shift();t(u),a.add(u.id()),s&&i(o,a,u)}return e}function a(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1];return o(this,e,t,a)},i.forEachUp=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(this,e,t,s)},i.forEachUpAndDown=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return o(this,e,t,l)},i.ancestors=i.parents,e.exports=i},function(e,t,n){"use strict";var r,i=n(4),o=void 0;(o=r={data:i.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:i.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:i.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:i.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:i.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:i.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=o.data,o.removeAttr=o.removeData,e.exports=r},function(e,t,n){"use strict";var r=n(1),i={};function o(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&this.isNode()&&!this.removed()){for(var n=0,r=this[0],i=r._private.edges,o=0;ot})),minIndegree:a("indegree",(function(e,t){return et})),minOutdegree:a("outdegree",(function(e,t){return et}))}),r.extend(i,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,d=u;u&&(c=c[0]);var f=d?c.position():{x:0,y:0};return i={x:l.x-f.x,y:l.y-f.y},void 0===e?i:i[e]}for(var p=0;p0,v=m;m&&(g=g[0]);var b=v?g.position():{x:0,y:0};void 0!==t?h.position(e,t+b[e]):void 0!==i&&h.position({x:i.x+b.x,y:i.y+b.y})}}else if(!a)return;return this}}).modelPosition=s.point=s.position,s.modelPositions=s.points=s.positions,s.renderedPoint=s.renderedPosition,s.relativePoint=s.relativePosition,e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(2),a=void 0,s=void 0;a=s={},s.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),o=t.x1*r+i.x,a=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:o,x2:a,y1:s,y2:l,w:a-o,h:l-s}},s.dirtyCompoundBoundsCache=function(){var e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){e._private.compoundBoundsClean=!1,e.isParent()&&e.emit("bounds")})),this):this},s.updateCompoundBounds=function(){var e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(e.batching())return this;var t=[];function n(e){if(e.isParent()){var n=e._private,r=e.children(),i="include"===e.pstyle("compound-sizing-wrt-labels").value,o={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=r.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),s=n.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=s.x-a.w/2,a.x2=s.x+a.w/2,a.y1=s.y-a.h/2,a.y2=s.y+a.h/2);var l=o.width.left.value;"px"===o.width.left.units&&o.width.val>0&&(l=100*l/o.width.val);var c=o.width.right.value;"px"===o.width.right.units&&o.width.val>0&&(c=100*c/o.width.val);var u=o.height.top.value;"px"===o.height.top.units&&o.height.val>0&&(u=100*u/o.height.val);var d=o.height.bottom.value;"px"===o.height.bottom.units&&o.height.val>0&&(d=100*d/o.height.val);var f=b(o.width.val-a.w,l,c),p=f.biasDiff,h=f.biasComplementDiff,g=b(o.height.val-a.h,u,d),m=g.biasDiff,v=g.biasComplementDiff;n.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),n.autoWidth=Math.max(a.w,o.width.val),s.x=(-p+a.x1+a.x2+h)/2,n.autoHeight=Math.max(a.h,o.height.val),s.y=(-m+a.y1+a.y2+v)/2,t.push(e)}function b(e,t,n){var r=0,i=0,o=t+n;return e>0&&o>0&&(r=t/o*e,i=n/o*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2)},u=function(e,t,n){return i.getPrefixedProperty(e,t,n)},d=function(e,t,n){if(!t.cy().headless()){var r=t._private.rstyle,i=r.arrowWidth/2,o=void 0,a=void 0;"none"!==t.pstyle(n+"-arrow-shape").value&&("source"===n?(o=r.srcX,a=r.srcY):"target"===n?(o=r.tgtX,a=r.tgtY):(o=r.midX,a=r.midY),c(e,o-i,a-i,o+i,a+i))}},f=function(e,t,n){if(!t.cy().headless()){var r=void 0;r=n?n+"-":"";var i=t._private,o=i.rstyle;if(t.pstyle(r+"label").strValue){var a=t.pstyle("text-halign"),s=t.pstyle("text-valign"),l=u(o,"labelWidth",n),d=u(o,"labelHeight",n),f=u(o,"labelX",n),p=u(o,"labelY",n),h=t.pstyle(r+"text-margin-x").pfValue,g=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),v=t.pstyle(r+"text-rotation"),b=t.pstyle("text-outline-width").pfValue,y=t.pstyle("text-border-width").pfValue/2,x=t.pstyle("text-background-padding").pfValue,w=d+2*x,k=l+2*x,A=k/2,E=w/2,S=void 0,$=void 0,C=void 0,_=void 0;if(m)S=f-A,$=f+A,C=p-E,_=p+E;else{switch(a.value){case"left":S=f-k,$=f;break;case"center":S=f-A,$=f+A;break;case"right":S=f,$=f+k}switch(s.value){case"top":C=p-w,_=p;break;case"center":C=p-E,_=p+E;break;case"bottom":C=p,_=p+w}}var O=m&&"autorotate"===v.strValue,j=null!=v.pfValue&&0!==v.pfValue;if(O||j){var T=O?u(i.rstyle,"labelAngle",n):v.pfValue,P=Math.cos(T),D=Math.sin(T),R=function(e,t){return{x:(e-=f)*P-(t-=p)*D+f,y:e*D+t*P+p}},I=R(S,C),N=R(S,_),M=R($,C),z=R($,_);S=Math.min(I.x,N.x,M.x,z.x),$=Math.max(I.x,N.x,M.x,z.x),C=Math.min(I.y,N.y,M.y,z.y),_=Math.max(I.y,N.y,M.y,z.y)}S+=h-Math.max(b,y),$+=h+Math.max(b,y),C+=g-Math.max(b,y),_+=g+Math.max(b,y),c(e,S,C,$,_)}return e}},p=function(e){return e?"t":"f"},h=function(e){var t="";return t+=p(e.incudeNodes),t+=p(e.includeEdges),t+=p(e.includeLabels),t+=p(e.includeOverlays)},g=function(e,t){var n=e._private,r=void 0,i=e.cy().headless(),a=t===m?v:h(t);return t.useCache&&!i&&n.bbCache&&n.bbCache[a]?r=n.bbCache[a]:(r=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},s=e._private,u=r?e.pstyle("display").value:"element",p=e.isNode(),h=e.isEdge(),g=void 0,m=void 0,v=void 0,b=void 0,y=void 0,x=void 0,w="none"!==u;if(w){var k=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(k=e.pstyle("overlay-padding").value);var A=0;if(r&&(A=e.pstyle("width").pfValue/2),p&&t.includeNodes){var E=e.position();y=E.x,x=E.y;var S=e.outerWidth()/2,$=e.outerHeight()/2;c(a,g=y-S-k,v=x-$-k,m=y+S+k,b=x+$+k)}else if(h&&t.includeEdges){var C=s.rstyle||{};if(r&&!i&&(g=Math.min(C.srcX,C.midX,C.tgtX),m=Math.max(C.srcX,C.midX,C.tgtX),v=Math.min(C.srcY,C.midY,C.tgtY),b=Math.max(C.srcY,C.midY,C.tgtY),c(a,g-=A,v-=A,m+=A,b+=A)),r&&!i&&"haystack"===e.pstyle("curve-style").strValue){var _=C.haystackPts||[];if(g=_[0].x,v=_[0].y,g>(m=_[1].x)){var O=g;g=m,m=O}if(v>(b=_[1].y)){var j=v;v=b,b=j}c(a,g-A,v-A,m+A,b+A)}else{for(var T=C.bezierPts||C.linePts||[],P=0;P(m=I.x)){var N=g;g=m,m=N}if((v=R.y)>(b=I.y)){var M=v;v=b,b=M}c(a,g-=A,v-=A,m+=A,b+=A)}}}if(r&&t.includeEdges&&h&&(d(a,e,"mid-source"),d(a,e,"mid-target"),d(a,e,"source"),d(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var z=e.pstyle("ghost-offset-x").pfValue,L=e.pstyle("ghost-offset-y").pfValue;c(a,a.x1+z,a.y1+L,a.x2+z,a.y2+L)}r&&(g=a.x1,m=a.x2,v=a.y1,b=a.y2,c(a,g-k,v-k,m+k,b+k)),r&&t.includeLabels&&(f(a,e,null),h&&(f(a,e,"source"),f(a,e,"target")))}return a.x1=l(a.x1),a.y1=l(a.y1),a.x2=l(a.x2),a.y2=l(a.y2),a.w=l(a.x2-a.x1),a.h=l(a.y2-a.y1),a.w>0&&a.h>0&&w&&o.expandBoundingBox(a,1),a}(e,t),i||(n.bbCache=n.bbCache||{},n.bbCache[a]=r)),r},m={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeOverlays:!0,useCache:!0},v=h(m);function b(e){return{includeNodes:i.default(e.includeNodes,m.includeNodes),includeEdges:i.default(e.includeEdges,m.includeEdges),includeLabels:i.default(e.includeLabels,m.includeLabels),includeOverlays:i.default(e.includeOverlays,m.includeOverlays),useCache:i.default(e.useCache,m.useCache)}}s.boundingBox=function(e){if(1===this.length&&this[0]._private.bbCache&&(void 0===e||void 0===e.useCache||!0===e.useCache))return e=void 0===e?m:b(e),g(this[0],e);var t={x1:1/0,y1:1/0,x2:-1/0,y2:-1/0},n=b(e=e||i.staticEmptyObject()),r=this.cy().styleEnabled();r&&this.recalculateRenderedStyle(n.useCache),this.updateCompoundBounds();for(var o,a,s={},u=0;u1&&!a){var s=this.length-1,l=this[s],c=l._private.data.id;this[s]=void 0,this[o]=l,r.set(c,{ele:l,index:o})}return this.length--,this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&r.string(e)){var n=e;e=t.mutableElements().filter(n)}for(var i=0;in&&(n=a,r=o)}return{value:n,ele:r}},min:function(e,t){for(var n=1/0,r=void 0,i=0;i=0&&i0&&t.push(u[0]),t.push(s[0])}return this.spawn(t,{unique:!0}).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),o.neighbourhood=o.neighborhood,o.closedNeighbourhood=o.closedNeighborhood,o.openNeighbourhood=o.openNeighborhood,r.extend(o,{source:a((function(e){var t=this[0],n=void 0;return t&&(n=t._private.source||t.cy().collection()),n&&e?n.filter(e):n}),"source"),target:a((function(e){var t=this[0],n=void 0;return t&&(n=t._private.target||t.cy().collection()),n&&e?n.filter(e):n}),"target"),sources:u({attr:"source"}),targets:u({attr:"target"})}),r.extend(o,{edgesWith:a(d(),"edgesWith"),edgesTo:a(d({thisIsSrc:!0}),"edgesTo")}),r.extend(o,{connectedEdges:a((function(e){for(var t=[],n=0;n0);return i.map((function(e){var t=e.connectedEdges().stdFilter((function(t){return e.anySame(t.source())&&e.anySame(t.target())}));return e.union(t)}))}}),e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(7),a=n(14),s={add:function(e){var t=void 0,n=this;if(r.elementOrCollection(e)){var s=e;if(s._private.cy===n)t=s.restore();else{for(var l=[],c=0;c=0;t--)(0,e[t])();e.splice(0,e.length)},p=s.length-1;p>=0;p--){var h=s[p],g=h._private;g.stopped?(s.splice(p,1),g.hooked=!1,g.playing=!1,g.started=!1,f(g.frames)):(g.playing||g.applying)&&(g.playing&&g.applying&&(g.applying=!1),g.started||i(t,h,e,n),r(t,h,e,n),g.applying&&(g.applying=!1),f(g.frames),h.completed()&&(s.splice(p,1),g.hooked=!1,g.playing=!1,g.started=!1,f(g.completes)),c=!0)}return n||0!==s.length||0!==l.length||o.push(t),c}for(var s=!1,l=0;l0?(n.dirtyCompoundBoundsCache(),t.notify({type:"draw",eles:n})):t.notify({type:"draw"})),n.unmerge(o),t.emit("step")}},function(e,t,n){"use strict";var r=n(73),i=n(76),o=n(0);function a(e,t){return!!(null!=e&&null!=t&&(o.number(e)&&o.number(t)||e&&t))}e.exports=function(e,t,n,s){var l=!s,c=e._private,u=t._private,d=u.easing,f=u.startTime,p=(s?e:e.cy()).style();if(!u.easingImpl)if(null==d)u.easingImpl=r.linear;else{var h=void 0;h=o.string(d)?p.parse("transition-timing-function",d).value:d;var g=void 0,m=void 0;o.string(h)?(g=h,m=[]):(g=h[1],m=h.slice(2).map((function(e){return+e}))),m.length>0?("spring"===g&&m.push(u.duration),u.easingImpl=r[g].apply(null,m)):u.easingImpl=r[g]}var v=u.easingImpl,b=void 0;if(b=0===u.duration?1:(n-f)/u.duration,u.applying&&(b=u.progress),b<0?b=0:b>1&&(b=1),null==u.delay){var y=u.startPosition,x=u.position;if(x&&l&&!e.locked()){var w=e.position();a(y.x,x.x)&&(w.x=i(y.x,x.x,b,v)),a(y.y,x.y)&&(w.y=i(y.y,x.y,b,v)),e.emit("position")}var k=u.startPan,A=u.pan,E=c.pan,S=null!=A&&s;S&&(a(k.x,A.x)&&(E.x=i(k.x,A.x,b,v)),a(k.y,A.y)&&(E.y=i(k.y,A.y,b,v)),e.emit("pan"));var $=u.startZoom,C=u.zoom,_=null!=C&&s;_&&(a($,C)&&(c.zoom=i($,C,b,v)),e.emit("zoom")),(S||_)&&e.emit("viewport");var O=u.style;if(O&&O.length>0&&l){for(var j=0;j0?i=l:r=l}while(Math.abs(o)>a&&++c=o?b(t,s):0===u?s:x(t,r,r+c)}var k=!1;function A(){k=!0,e===t&&n===r||y()}var E=function(i){return k||A(),e===t&&n===r?i:0===i?0:1===i?1:m(w(i),t,r)};E.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var S="generateBezier("+[e,t,n,r]+")";return E.toString=function(){return S},E}},function(e,t,n){"use strict";
-/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var r=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},o=t(n,.5*r,i),a=t(n,.5*r,o),s=t(n,r,a),l=1/6*(i.dx+2*(o.dx+a.dx)+s.dx),c=1/6*(i.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+c*r,n}return function e(t,r,i){var o,a={x:-1,v:0,tension:null,friction:null},s=[0],l=0,c=void 0,u=void 0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,a.tension=t,a.friction=r,c=(o=null!==i)?(l=e(t,r))/i*.016:.016;u=n(u||a,c),s.push(1+u.x),l+=16,Math.abs(u.x)>1e-4&&Math.abs(u.v)>1e-4;);return o?function(e){return s[e*(s.length-1)|0]}:l}}();e.exports=r},function(e,t,n){"use strict";var r=n(0);function i(e,t,n,r,i){if(1===r)return n;var o=i(t,n,r);return null==e||((e.roundValue||e.color)&&(o=Math.round(o)),void 0!==e.min&&(o=Math.max(o,e.min)),void 0!==e.max&&(o=Math.min(o,e.max))),o}function o(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}e.exports=function(e,t,n,a,s){var l=null!=s?s.type:null;n<0?n=0:n>1&&(n=1);var c=o(e,s),u=o(t,s);if(r.number(c)&&r.number(u))return i(l,c,u,n,a);if(r.array(c)&&r.array(u)){for(var d=[],f=0;f0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchingStyle=e.batchingNotify=!0,e.batchStyleEles=this.collection(),e.batchNotifyEles=this.collection(),e.batchNotifyTypes=[],e.batchNotifyTypes.ids={}),e.batchCount++,this},endBatch:function(){var e=this._private;return e.batchCount--,0===e.batchCount&&(e.batchingStyle=!1,e.batchStyleEles.updateStyle(),e.batchingNotify=!1,this.notify({type:e.batchNotifyTypes,eles:e.batchNotifyEles})),this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)e.removeChild(e.childNodes[0]);this._private.renderer=null},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};i.invalidateDimensions=i.resize,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(7),o={collection:function(e,t){return r.string(e)?this.$(e):r.elementOrCollection(e)?e.collection():r.array(e)?new i(this,e,t):new i(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};o.elements=o.filter=o.$,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(18),o={style:function(e){return e&&this.setStyle(e).update(),this._private.style},setStyle:function(e){var t=this._private;return r.stylesheet(e)?t.style=e.generateStyle(this):r.array(e)?t.style=i.fromJson(this,e):r.string(e)?t.style=i.fromString(this,e):t.style=i(this),t.style}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a={apply:function(e){var t=this._private,n=t.cy.collection();t.newStyle&&(t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0));for(var r=0;r0;if(c||u){var d=void 0;c&&u||c?d=l.properties:u&&(d=l.mappedProperties);for(var f=0;f0){n=!0;break}t.hasPie=n;var i=e.pstyle("text-transform").strValue,o=e.pstyle("label").strValue,a=e.pstyle("source-label").strValue,s=e.pstyle("target-label").strValue,l=e.pstyle("font-style").strValue,c=e.pstyle("font-size").pfValue+"px",u=e.pstyle("font-family").strValue,d=e.pstyle("font-weight").strValue,f=l+"$"+c+"$"+u+"$"+d+"$"+i+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-outline-width").pfValue+"$"+e.pstyle("text-wrap").strValue+"$"+e.pstyle("text-max-width").pfValue;t.labelStyleKey=f,t.sourceLabelKey=f+"$"+a,t.targetLabelKey=f+"$"+s,t.labelKey=f+"$"+o,t.fontKey=l+"$"+d+"$"+c+"$"+u,t.styleKey=Date.now()}},applyParsedProperty:function(e,t){var n=this,o=t,a=e._private.style,s=void 0,l=n.types,c=n.properties[o.name].type,u=o.bypass,d=a[o.name],f=d&&d.bypass,p=e._private,h=function(){n.checkZOrderTrigger(e,o.name,d?d.value:null,o.value)};if("curve-style"===t.name&&"haystack"===t.value&&e.isEdge()&&(e.isLoop()||e.source().isParent()||e.target().isParent())&&(o=t=this.parse(t.name,"bezier",u)),o.delete)return a[o.name]=void 0,h(),!0;if(o.deleteBypassed)return d?!!d.bypass&&(d.bypassed=void 0,h(),!0):(h(),!0);if(o.deleteBypass)return d?!!d.bypass&&(a[o.name]=d.bypassed,h(),!0):(h(),!0);var g=function(){r.error("Do not assign mappings to elements without corresponding data (e.g. ele `"+e.id()+"` for property `"+o.name+"` with data field `"+o.field+"`); try a `["+o.field+"]` selector to limit scope to elements with `"+o.field+"` defined")};switch(o.mapped){case l.mapData:for(var m=o.field.split("."),v=p.data,b=0;b1&&(y=1),c.color){var x=o.valueMin[0],w=o.valueMax[0],k=o.valueMin[1],A=o.valueMax[1],E=o.valueMin[2],S=o.valueMax[2],$=null==o.valueMin[3]?1:o.valueMin[3],C=null==o.valueMax[3]?1:o.valueMax[3],_=[Math.round(x+(w-x)*y),Math.round(k+(A-k)*y),Math.round(E+(S-E)*y),Math.round($+(C-$)*y)];s={bypass:o.bypass,name:o.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!c.number)return!1;var O=o.valueMin+(o.valueMax-o.valueMin)*y;s=this.parse(o.name,O,o.bypass,"mapping")}s||(s=this.parse(o.name,d.strValue,o.bypass,"mapping")),s||g(),s.mapping=o,o=s;break;case l.data:var j=o.field.split("."),T=p.data;if(T)for(var P=0;P0&&l>0){for(var u={},d=!1,f=0;f0?e.delayAnimation(c).play().promise().then(t):t()})).then((function(){return e.animation({style:u,duration:l,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){r.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1}))}else a.transitioning&&(this.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1)},checkZOrderTrigger:function(e,t,n,r){var i=this.properties[t];null==i.triggersZOrder||null!=n&&!i.triggersZOrder(n,r)||this._private.cy.notify({type:"zorder",eles:e})}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o={applyBypass:function(e,t,n,o){var a=[];if("*"===t||"**"===t){if(void 0!==n)for(var s=0;sn.length?t.substr(n.length):""}function l(){o=o.length>a.length?o.substr(a.length):""}for(t=t.replace(/[/][*](\s|.)+?[*][/]/g,"");!t.match(/^\s*$/);){var c=t.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){r.error("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+t);break}n=c[0];var u=c[1];if("core"!==u&&new i(u)._private.invalid)r.error("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),s();else{var d=c[2],f=!1;o=d;for(var p=[];!o.match(/^\s*$/);){var h=o.match(/^\s*(.+?)\s*:\s*(.+?)\s*;/);if(!h){r.error("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+d),f=!0;break}a=h[0];var g=h[1],m=h[2];this.properties[g]?this.parse(g,m)?(p.push({name:g,val:m}),l()):(r.error("Skipping property: Invalid property definition in: "+a),l()):(r.error("Skipping property: Invalid property name in: "+a),l())}if(f){s();break}this.selector(u);for(var v=0;v node").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3,"curve-style":"haystack"}).selector(":parent <-> node").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector("node:parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}).selector("core").css({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125}),this.defaultLength=this.length},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(2),a={parse:function(e,t,n,o){if(i.fn(t))return this.parseImplWarn(e,t,n,o);var a=[e,t,n,"mapping"===o||!0===o||!1===o||null==o?"dontcare":o].join("$"),s=this.propCache=this.propCache||{},l=void 0;return(l=s[a])||(l=s[a]=this.parseImplWarn(e,t,n,o)),(n||"mapping"===o)&&(l=r.copy(l))&&(l.value=r.copy(l.value)),l},parseImplWarn:function(e,t,n,i){var o=this.parseImpl(e,t,n,i);return o||null==t||r.error("The style property `%s: %s` is invalid",e,t),o},parseImpl:function(e,t,n,a){e=r.camel2dash(e);var s=this.properties[e],l=t,c=this.types;if(!s)return null;if(void 0===t)return null;s.alias&&(s=s.pointsTo,e=s.name);var u=i.string(t);u&&(t=t.trim());var d=s.type;if(!d)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(i.fn(t))return{name:e,value:t,strValue:"fn",mapped:c.fn,bypass:n};var f=void 0,p=void 0;if(!u||a);else{if(f=new RegExp(c.data.regex).exec(t)){if(n)return!1;var h=c.data;return{name:e,value:f,strValue:""+t,mapped:h,field:f[1],bypass:n}}if(p=new RegExp(c.mapData.regex).exec(t)){if(n)return!1;if(d.multiple)return!1;var g=c.mapData;if(!d.color&&!d.number)return!1;var m=this.parse(e,p[4]);if(!m||m.mapped)return!1;var v=this.parse(e,p[5]);if(!v||v.mapped)return!1;if(m.value===v.value)return!1;if(d.color){var b=m.value,y=v.value;if(!(b[0]!==y[0]||b[1]!==y[1]||b[2]!==y[2]||b[3]!==y[3]&&(null!=b[3]&&1!==b[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:p,strValue:""+t,mapped:g,field:p[1],fieldMin:parseFloat(p[2]),fieldMax:parseFloat(p[3]),valueMin:m.value,valueMax:v.value,bypass:n}}}if(d.multiple&&"multiple"!==a){var x=void 0;if(x=u?t.split(/\s+/):i.array(t)?t:[t],d.evenMultiple&&x.length%2!=0)return null;for(var w=[],k=[],A=[],E=!1,S=0;Sd.max||d.strictMax&&t===d.max))return null;var P={name:e,value:t,strValue:""+t+(_||""),units:_,bypass:n};return d.unitless||"px"!==_&&"em"!==_?P.pfValue=t:P.pfValue="px"!==_&&_?this.getEmSizeInPixels()*t:t,"ms"!==_&&"s"!==_||(P.pfValue="ms"===_?t:1e3*t),"deg"!==_&&"rad"!==_||(P.pfValue="rad"===_?t:o.deg2rad(t)),"%"===_&&(P.pfValue=t/100),P}if(d.propList){var D=[],R=""+t;if("none"===R);else{for(var I=R.split(","),N=0;N0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:l=(l=(l=Math.min((a-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:l)t.maxZoom?t.maxZoom:s)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=l,o.push("zoom"))}if(i&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var c=e.pan;r.number(c.x)&&(t.pan.x=c.x,s=!1),r.number(c.y)&&(t.pan.y=c.y,s=!1),s||o.push("pan")}return o.length>0&&(o.push("viewport"),this.emit(o.join(" ")),this.notify({type:"viewport"})),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify({type:"viewport"})),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(r.string(e)){var n=e;e=this.mutableElements().filter(n)}else r.elementOrCollection(e)||(e=this.mutableElements());if(0!==e.length){var i=e.boundingBox(),o=this.width(),a=this.height();return{x:(o-(t=void 0===t?this._private.zoom:t)*(i.x1+i.x2))/2,y:(a-t*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=i.getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}}};a.centre=a.center,a.autolockNodes=a.autolock,a.autoungrabifyNodes=a.autoungrabify,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(7),a=n(12),s=n(95),l=n(0),c=n(11),u={},d={};function f(e,t,n){var s=n,d=function(n){r.error("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(a.prototype[t])return d(t);a.prototype[t]=n}else if("collection"===e){if(o.prototype[t])return d(t);o.prototype[t]=n}else if("layout"===e){for(var f=function(e){this.options=e,n.call(this,e),l.plainObject(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},h=f.prototype=Object.create(n.prototype),g=[],m=0;m0;)m();c=n.collection();for(var v=function(e){var t=h[e],n=t.maxDegree(!1),r=t.filter((function(e){return e.degree(!1)===n}));c=c.add(r)},b=0;by.length-1;)y.push([]);y[J].push(X),Z.depth=J,Z.index=y[J].length-1}N()}var K=0;if(t.avoidOverlap)for(var ee=0;eec||0===t)&&(r+=l/u,i++)}return r/=i=Math.max(1,i),0===i&&(r=void 0),ie[e.id()]=r,r},ae=function(e,t){return oe(e)-oe(t)},se=0;se<3;se++){for(var le=0;le0&&y[0].length<=3?u/2:0),f=2*Math.PI/y[i].length*o;return 0===i&&1===y[0].length&&(d=1),{x:de+d*Math.cos(f),y:fe+d*Math.sin(f)}}return{x:de+(o+1-(a+1)/2)*s,y:(i+1)*c}}var p={x:de+(o+1-(a+1)/2)*s,y:(i+1)*c};return p},he={},ge=y.length-1;ge>=0;ge--)for(var me=y[ge],ve=0;ve1&&t.avoidOverlap){p*=1.75;var b=Math.cos(d)-Math.cos(0),y=Math.sin(d)-Math.sin(0),x=Math.sqrt(p*p/(b*b+y*y));f=Math.max(x,f)}return s.layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*d*(a?1:-1),i=f*Math.cos(r),o=f*Math.sin(r);return{x:c+i,y:u+o}})),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,o=t.eles.nodes().not(":parent"),a=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=a.x1+a.w/2,l=a.y1+a.h/2,c=[],u=(t.startAngle,0),d=0;d0&&Math.abs(b[0].value-x.value)>=m&&(b=[],v.push(b)),b.push(x)}var w=u+t.minNodeSpacing;if(!t.avoidOverlap){var k=v.length>0&&v[0].length>1,A=(Math.min(a.w,a.h)/2-w)/(v.length+k?1:0);w=Math.min(w,A)}for(var E=0,S=0;S1&&t.avoidOverlap){var O=Math.cos(_)-Math.cos(0),j=Math.sin(_)-Math.sin(0),T=Math.sqrt(w*w/(O*O+j*j));E=Math.max(T,E)}$.r=E,E+=w}if(t.equidistant){for(var P=0,D=0,R=0;R0)var c=(f=r.nodeOverlap*s)*i/(b=Math.sqrt(i*i+o*o)),d=f*o/b;else{var f,p=u(e,i,o),h=u(t,-1*i,-1*o),g=h.x-p.x,m=h.y-p.y,v=g*g+m*m,b=Math.sqrt(v);c=(f=(e.nodeRepulsion+t.nodeRepulsion)/v)*g/b,d=f*m/b}e.isLocked||(e.offsetX-=c,e.offsetY-=d),t.isLocked||(t.offsetX+=c,t.offsetY+=d)}},l=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var o=e.maxY-t.minY;else o=t.maxY-e.minY;return i>=0&&o>=0?Math.sqrt(i*i+o*o):0},u=function(e,t,n){var r=e.positionX,i=e.positionY,o=e.height||1,a=e.width||1,s=n/t,l=o/a,c={};return 0===t&&0n?(c.x=r,c.y=i+o/2,c):0t&&-1*l<=s&&s<=l?(c.x=r-a/2,c.y=i-a*n/2/t,c):0=l)?(c.x=r+o*t/2/n,c.y=i+o/2,c):0>n&&(s<=-1*l||s>=l)?(c.x=r-o*t/2/n,c.y=i-o/2,c):c},d=function(e,t){for(var n=0;n1){var h=t.gravity*d/p,g=t.gravity*f/p;u.offsetX+=h,u.offsetY+=g}}}}},p=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var o=n[r++],a=e.idToIndex[o],s=e.layoutNodes[a],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},m=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],o=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,o=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,o=!0),(null==i.minY||t.minY-i.padTopg&&(f+=h+t.componentSpacing,d=0,p=0,h=0)}}}(0,i),r})).then((function(e){d.layoutNodes=e.layoutNodes,o.stop(),b()}));var b=function(){!0===e.animate||!1===e.animate?v({force:!0,next:function(){n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n})}}):e.eles.nodes().layoutPositions(n,e,(function(e){var t=d.layoutNodes[d.idToIndex[e.data("id")]];return{x:t.positionX,y:t.positionY}}))};return this},c.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},c.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var u=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:o.makeBoundingBox(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},l=n.eles.components(),c={},u=0;u0)for(s.graphSet.push(A),u=0;ur.count?0:r.graph},f=function e(t,n,r,i){var o=i.graphSet[r];if(-1a){var h=u(),g=d();(h-1)*g>=a?u(h-1):(g-1)*h>=a&&d(g-1)}else for(;c*l=a?d(v+1):u(m+1)}var b=o.w/c,y=o.h/l;if(t.condense&&(b=0,y=0),t.avoidOverlap)for(var x=0;x=c&&(T=0,j++)},D={},R=0;R(r=i.sqdistToFiniteLine(e,t,w[k],w[k+1],w[k+2],w[k+3])))return b(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(w=a.allpts,k=0;k+5(r=i.sqdistToQuadraticBezier(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5])))return b(n,r),!0;v=v||o.source,x=x||o.target;var A=l.getArrowWidth(s,u),E=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(k=0;k0&&(y(v),y(x))}function w(e,t,n){return o.getPrefixedProperty(e,t,n)}function k(n,r){var o,a=n._private,s=m;o=r?r+"-":"";var l=n.pstyle(o+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var c=a.rstyle,u=n.pstyle("text-border-width").pfValue,d=n.pstyle("text-background-padding").pfValue,f=w(c,"labelWidth",r)+u+2*s+2*d,p=w(c,"labelHeight",r)+u+2*s+2*d,h=w(c,"labelX",r),g=w(c,"labelY",r),v=w(a.rscratch,"labelAngle",r),y=h-f/2,x=h+f/2,k=g-p/2,A=g+p/2;if(v){var E=Math.cos(v),S=Math.sin(v),$=function(e,t){return{x:(e-=h)*E-(t-=g)*S+h,y:e*S+t*E+g}},C=$(y,k),_=$(y,A),O=$(x,k),j=$(x,A),T=[C.x,C.y,O.x,O.y,j.x,j.y,_.x,_.y];if(i.pointInsidePolygonPoints(e,t,T))return b(n),!0}else{var P={w:f,h:p,x1:y,x2:x,y1:k,y2:A};if(i.inBoundingBox(P,e,t))return b(n),!0}}}n&&(u=u.interactive);for(var A=u.length-1;A>=0;A--){var E=u[A];E.isNode()?y(E)||k(E):x(E)||k(E)||k(E,"source")||k(E,"target")}return d},getAllInBox:function(e,t,n,r){var o=this.getCachedZSortedEles().interactive,a=[],s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r);e=s,n=l,t=c,r=u;for(var d=i.makeBoundingBox({x1:e,y1:t,x2:n,y2:r}),f=0;fb?b+"$-$"+v:v+"$-$"+b,g&&(t="unbundled$-$"+h.id);var y=u[t];null==y&&(y=u[t]=[],d.push(t)),y.push(Bt),g&&(y.hasUnbundled=!0),m&&(y.hasBezier=!0)}else f.push(Bt)}for(var x=0;xGt.id()){var k=Ht;Ht=Gt,Gt=k}Wt=Ht.position(),Yt=Gt.position(),Xt=Ht.outerWidth(),Qt=Ht.outerHeight(),Zt=Gt.outerWidth(),Jt=Gt.outerHeight(),n=l.nodeShapes[this.getNodeShape(Ht)],o=l.nodeShapes[this.getNodeShape(Gt)],s=!1;var A={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0},E=Wt.x,S=Wt.y,$=Xt,C=Qt,_=Yt.x,O=Yt.y,j=Zt,T=Jt,P=w.length;for(p=0;p=d||w){p={cp:b,segment:x};break}}if(p)break}b=p.cp;var k=(d-g)/(x=p.segment).length,A=x.t1-x.t0,E=u?x.t0+A*k:x.t1-A*k;E=r.bound(0,E,1),t=r.qbezierPtAt(b.p0,b.p1,b.p2,E),c=function(e,t,n,i){var o=r.bound(0,i-.001,1),a=r.bound(0,i+.001,1),s=r.qbezierPtAt(e,t,n,o),l=r.qbezierPtAt(e,t,n,a);return f(s,l)}(b.p0,b.p1,b.p2,E);break;case"straight":case"segments":case"haystack":var S,$,C,_,O=0,j=i.allpts.length;for(v=0;v+3=d));v+=2);E=(d-$)/S,E=r.bound(0,E,1),t=r.lineAt(C,_,E),c=f(C,_)}l("labelX",o,t.x),l("labelY",o,t.y),l("labelAutoAngle",o,c)}};c("source"),c("target"),this.applyLabelDimensions(e)}},applyLabelDimensions:function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},applyPrefixedLabelDimensions:function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r);o.setPrefixedProperty(n.rstyle,"labelWidth",t,i.width),o.setPrefixedProperty(n.rscratch,"labelWidth",t,i.width),o.setPrefixedProperty(n.rstyle,"labelHeight",t,i.height),o.setPrefixedProperty(n.rscratch,"labelHeight",t,i.height)},getLabelText:function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,s=function(e,r){return r?(o.setPrefixedProperty(n.rscratch,e,t,r),r):o.getPrefixedProperty(n.rscratch,e,t)};"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var l=e.pstyle("text-wrap").value;if("wrap"===l){var c=s("labelKey");if(c&&s("labelWrapKey")===c)return s("labelWrapCachedText");for(var u=i.split("\n"),d=e.pstyle("text-max-width").pfValue,f=[],p=0;pd){for(var g=h.split(/\s+/),m="",v=0;vd);k++)x+=i[k],k===i.length-1&&(w=!0);return w||(x+="…"),x}return i},calculateLabelDimensions:function(e,t,n){var r=e._private.labelStyleKey+"$@$"+t;n&&(r+="$@$"+n);var i=this.labelDimCache||(this.labelDimCache={});if(i[r])return i[r];var o=e.pstyle("font-style").strValue,a=1*e.pstyle("font-size").pfValue+"px",s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,c=this.labelCalcDiv;c||(c=this.labelCalcDiv=document.createElement("div"),document.body.appendChild(c));var u=c.style;return u.fontFamily=s,u.fontStyle=o,u.fontSize=a,u.fontWeight=l,u.position="absolute",u.left="-9999px",u.top="-9999px",u.zIndex="-1",u.visibility="hidden",u.pointerEvents="none",u.padding="0",u.lineHeight="1","wrap"===e.pstyle("text-wrap").value?u.whiteSpace="pre":u.whiteSpace="normal",c.textContent=t,i[r]={width:Math.ceil(c.clientWidth/1),height:Math.ceil(c.clientHeight/1)},i[r]},calculateLabelAngles:function(e){var t=e._private.rscratch,n=e.isEdge(),r=e.pstyle("text-rotation"),i=r.strValue;"none"===i?t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle=0:n&&"autorotate"===i?(t.labelAngle=Math.atan(t.midDispY/t.midDispX),t.sourceLabelAngle=t.sourceLabelAutoAngle,t.targetLabelAngle=t.targetLabelAutoAngle):t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle="autorotate"===i?0:r.pfValue}};e.exports=a},function(e,t,n){"use strict";var r={getNodeShape:function(e){var t=e.pstyle("shape").value;if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"cutrectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t}};e.exports=r},function(e,t,n){"use strict";var r={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,r=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t.merge(e);for(var i=0;i=e.desktopTapThreshold2}var C=n(i);b&&(e.hoverData.tapholdCancelled=!0),s=!0,t(v,["mousemove","vmousemove","tapdrag"],i,{position:{x:p[0],y:p[1]}});var _=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||l.emit("boxstart"),m[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(b){var O={originalEvent:i,type:"cxtdrag",position:{x:p[0],y:p[1]}};x?x.emit(O):l.emit(O),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&v===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:i,type:"cxtdragout",position:{x:p[0],y:p[1]}}),e.hoverData.cxtOver=v,v&&v.emit({originalEvent:i,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}}else if(e.hoverData.dragging){if(s=!0,l.panningEnabled()&&l.userPanningEnabled()){var T;if(e.hoverData.justStartedPan){var P=e.hoverData.mdownPos;T={x:(p[0]-P[0])*c,y:(p[1]-P[1])*c},e.hoverData.justStartedPan=!1}else T={x:w[0]*c,y:w[1]*c};l.panBy(T),e.hoverData.dragged=!0}p=e.projectIntoViewport(i.clientX,i.clientY)}else if(1!=m[4]||null!=x&&!x.isEdge()){if(x&&x.isEdge()&&x.active()&&x.unactivate(),x&&x.grabbed()||v==y||(y&&t(y,["mouseout","tapdragout"],i,{position:{x:p[0],y:p[1]}}),v&&t(v,["mouseover","tapdragover"],i,{position:{x:p[0],y:p[1]}}),e.hoverData.last=v),x)if(b){if(l.boxSelectionEnabled()&&C)x&&x.grabbed()&&(f(k),x.emit("free")),_();else if(x&&x.grabbed()&&e.nodeIsDraggable(x)){var D=!e.dragData.didDrag;D&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var R=[];e.hoverData.draggingEles||u(l.collection(k),{inDragLayer:!0});for(var I=0;I0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=l=[]),t(s,["mouseup","tapend","vmouseup"],r,{position:{x:o[0],y:o[1]}}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||t(c,["click","tap","vclick"],r,{position:{x:o[0],y:o[1]}}),s!=c||e.dragData.didDrag||e.hoverData.selecting||null!=s&&s._private.selectable&&(e.hoverData.dragging||("additive"===i.selectionType()||u?s.selected()?s.unselect():s.select():u||(i.$(":selected").unmerge(s).unselect(),s.select())),e.redrawHint("eles",!0)),e.hoverData.selecting){var h=i.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));e.redrawHint("select",!0),h.length>0&&e.redrawHint("eles",!0),i.emit("boxend");var g=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||u||i.$(":selected").unmerge(h).unselect(),h.emit("box").stdFilter(g).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!a[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var m=c&&c.grabbed();f(l),m&&c.emit("free")}}a[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1),e.registerBinding(e.container,"wheel",(function(t){if(!e.scrollingPage){var n,r=e.cy,i=e.projectIntoViewport(t.clientX,t.clientY),o=[i[0]*r.zoom()+r.pan().x,i[1]*r.zoom()+r.pan().y];e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4]?t.preventDefault():r.panningEnabled()&&r.userPanningEnabled()&&r.zoomingEnabled()&&r.userZoomingEnabled()&&(t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),n=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,n*=e.wheelSensitivity,1===t.deltaMode&&(n*=33),r.zoom({level:r.zoom()*Math.pow(10,n),renderedPosition:{x:o[0],y:o[1]}}))}}),!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var T,P,D,R,I=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},N=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",T=function(n){if(j(n)){e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,o=e.touchData.earlier;if(n.touches[0]){var a=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);i[0]=a[0],i[1]=a[1]}if(n.touches[1]&&(a=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY),i[2]=a[0],i[3]=a[1]),n.touches[2]&&(a=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY),i[4]=a[0],i[5]=a[1]),n.touches[1]){f(e.dragData.touchDragEles);var s=e.findContainerClientCoords();S=s[0],$=s[1],C=s[2],_=s[3],v=n.touches[0].clientX-S,b=n.touches[0].clientY-$,y=n.touches[1].clientX-S,x=n.touches[1].clientY-$,O=0<=v&&v<=C&&0<=y&&y<=C&&0<=b&&b<=_&&0<=x&&x<=_;var c=r.pan(),p=r.zoom();if(w=I(v,b,y,x),k=N(v,b,y,x),E=[((A=[(v+y)/2,(b+x)/2])[0]-c.x)/p,(A[1]-c.y)/p],k<4e4&&!n.touches[2]){var h=e.findNearestElement(i[0],i[1],!0,!0),g=e.findNearestElement(i[2],i[3],!0,!0);return h&&h.isNode()?(h.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=h):g&&g.isNode()?(g.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=g):r.emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(n.touches[2]);else if(n.touches[1]);else if(n.touches[0]){var m=e.findNearestElements(i[0],i[1],!0,!0),T=m[0];if(null!=T&&(T.activate(),e.touchData.start=T,e.touchData.starts=m,e.nodeIsGrabbable(T))){var P=e.dragData.touchDragEles=[],D=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),T.selected()?(D=r.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(D,{addToList:P})):d(T,{addToList:P}),l(T);var R=function(e){return{originalEvent:n,type:e,position:{x:i[0],y:i[1]}}};T.emit(R("grabon")),D?D.forEach((function(e){e.emit(R("grab"))})):T.emit(R("grab"))}t(T,["touchstart","tapstart","vmousedown"],n,{position:{x:i[0],y:i[1]}}),null==T&&(e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||(t(e.touchData.start,["taphold"],n,{position:{x:i[0],y:i[1]}}),e.touchData.start||r.$(":selected").unselect())}),e.tapholdDuration)}if(n.touches.length>=1){for(var M=e.touchData.startPosition=[],z=0;z=e.touchTapThreshold2}if(i&&e.touchData.cxt){n.preventDefault();var D=n.touches[0].clientX-S,R=n.touches[0].clientY-$,M=n.touches[1].clientX-S,z=n.touches[1].clientY-$,L=N(D,R,M,z);if(L/k>=2.25||L>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:n,type:"cxttapend",position:{x:c[0],y:c[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):l.emit(B)}}if(i&&e.touchData.cxt){B={originalEvent:n,type:"cxtdrag",position:{x:c[0],y:c[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):l.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(c[0],c[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:n,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:n,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}else if(i&&n.touches[2]&&l.boxSelectionEnabled())n.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||l.emit("boxstart"),e.touchData.selecting=!0,e.redrawHint("select",!0),s&&0!==s.length&&void 0!==s[0]?(s[2]=(c[0]+c[2]+c[4])/3,s[3]=(c[1]+c[3]+c[5])/3):(s[0]=(c[0]+c[2]+c[4])/3,s[1]=(c[1]+c[3]+c[5])/3,s[2]=(c[0]+c[2]+c[4])/3+1,s[3]=(c[1]+c[3]+c[5])/3+1),s[4]=1,e.touchData.selecting=!0,e.redraw();else if(i&&n.touches[1]&&l.zoomingEnabled()&&l.panningEnabled()&&l.userZoomingEnabled()&&l.userPanningEnabled()){if(n.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var q=0;q0)return h[0]}return null},p=Object.keys(d),h=0;h0?f:r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n))return!0;var u=i/2+2*n,d=o/2+2*n,f=[a-u,s-d,a-u,s,a+u,s,a+u,s-d];return!!r.pointInsidePolygonPoints(e,t,f)||!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",r.generateUnitNgonPointsFitToSquare(3,0)),this.generatePolygon("rectangle",r.generateUnitNgonPointsFitToSquare(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle(),this.generatePolygon("diamond",[0,1,1,0,0,-1,-1,0]),this.generatePolygon("pentagon",r.generateUnitNgonPointsFitToSquare(5,0)),this.generatePolygon("hexagon",r.generateUnitNgonPointsFitToSquare(6,0)),this.generatePolygon("heptagon",r.generateUnitNgonPointsFitToSquare(7,0)),this.generatePolygon("octagon",r.generateUnitNgonPointsFitToSquare(8,0));var n=new Array(20),i=r.generateUnitNgonPoints(5,0),o=r.generateUnitNgonPoints(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var s=0;s0&&t.data.lyrTxrCache.invalidateElements(n)}))}l.CANVAS_LAYERS=3,l.SELECT_BOX=0,l.DRAG=1,l.NODE=2,l.BUFFER_COUNT=3,l.TEXTURE_BUFFER=0,l.MOTIONBLUR_BUFFER_NODE=1,l.MOTIONBLUR_BUFFER_DRAG=2,l.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[l.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[l.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[l.SELECT_BOX]=t}};var u="undefined"!=typeof Path2D;l.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},l.usePaths=function(){return u&&this.pathsEnabled},[n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135)].forEach((function(e){r.extend(l,e)})),e.exports=s},function(e,t,n){"use strict";var r=n(2),i=n(1),o=n(9),a=n(19),s={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},l=function(e){this.renderer=e,this.onDequeues=[],this.setupDequeueing()},c=l.prototype;c.reasons=s,c.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},c.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},c.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new o((function(e,t){return t.reqs-e.reqs}))},c.getElementIdToQueue=function(){return this.eleIdToCacheQueue=this.eleIdToCacheQueue||{}},c.getElement=function(e,t,n,i,o){var a=this,l=this.renderer,c=e._private.rscratch,u=l.cy.zoom();if(0===t.w||0===t.h||!e.visible())return null;if(null==i&&(i=Math.ceil(r.log2(u*n))),i<-4)i=-4;else if(u>=3.99||i>2)return null;var d,f=Math.pow(2,i),p=t.h*f,h=t.w*f,g=c.imgCaches=c.imgCaches||{},m=g[i];if(m)return m;if(d=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||h>1024||e.isEdge()||e.isParent())return null;var v=a.getTextureQueue(d),b=v[v.length-2],y=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=v[v.length-1]),b||(b=y()),b.width-b.usedWidthi;$--)C=a.getElement(e,t,n,$,s.downscale);_()}else{var O;if(!A&&!E&&!S)for($=i-1;$>=-4;$--){var j;if(j=g[$]){O=j;break}}if(k(O))return a.queueElement(e,i),O;b.context.translate(b.usedWidth,0),b.context.scale(f,f),l.drawElement(b.context,e,t,w),b.context.scale(1/f,1/f),b.context.translate(-b.usedWidth,0)}return m=g[i]={ele:e,x:b.usedWidth,texture:b,level:i,scale:f,width:h,height:p,scaledLabelShown:w},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(m),a.checkTextureFullness(b),m},c.invalidateElement=function(e){var t=e._private.rscratch.imgCaches;if(t)for(var n=-4;n<=2;n++){var r=t[n];if(r){var o=r.texture;o.invalidatedWidth+=r.width,t[n]=null,i.removeFromArray(o.eleCaches,r),this.removeFromQueue(e),this.checkTextureUtility(o)}}},c.checkTextureUtility=function(e){e.invalidatedWidth>=.5*e.width&&this.retireTexture(e)},c.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?i.removeFromArray(t,e):e.fullnessChecks++},c.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t);i.removeFromArray(n,e),e.retired=!0;for(var r=e.eleCaches,o=0;o=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,i.clearArray(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),i.removeFromArray(r,a),n.push(a),a}},c.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementIdToQueue(),i=e.id(),o=r[i];if(o)o.level=Math.max(o.level,t),o.reqs++,n.updateItem(o);else{var a={ele:e,level:t,reqs:1};n.push(a),r[i]=a}},c.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=[],i=0;i<1&&t.size()>0;i++){var o=t.pop(),a=o.ele;if(null==a._private.rscratch.imgCaches[o.level]){n[a.id()]=null,r.push(o);var l=a.boundingBox();this.getElement(a,l,e,o.level,s.dequeue)}}return r},c.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=n[e.id()];null!=r&&(r.reqs=i.MAX_INT,t.updateItem(r),t.pop(),n[e.id()]=null)},c.onDequeue=function(e){this.onDequeues.push(e)},c.offDequeue=function(e){i.removeFromArray(this.onDequeues,e)},c.setupDequeueing=a.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;o.validateLayersElesOrdering(n,e);var l,c,u=o.layersByLevel,d=Math.pow(2,n),f=u[n]=u[n]||[];if(o.levelIsComplete(n,e))return f;!function(){var t=function(t){if(o.validateLayersElesOrdering(t,e),o.levelIsComplete(t,e))return c=u[t],!0},i=function(e){if(!c)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=f.length-1;a>=0;a--){var s=f[a];s.invalid&&r.removeFromArray(f,s)}}();var p=function(t){var r=(t=t||{}).after;if(function(){if(!l){l=i.makeBoundingBox();for(var t=0;t16e6)return null;var a=o.makeLayer(l,n);if(null!=r){var s=f.indexOf(r)+1;f.splice(s,0,a)}else(void 0===t.insert||t.insert)&&f.unshift(a);return a};if(o.skipping&&!s)return null;for(var h=null,g=e.length/1,m=!s,v=0;v=g||!i.boundingBoxInBoundingBox(h.bb,b.boundingBox()))&&!(h=p({insert:!0,after:h})))return null;c||m?o.queueLayer(h,b):o.drawEleInLayer(h,b,n,t),h.eles.push(b),x[n]=h}}return c||(m?null:f)},c.getEleLevelForLayerLevel=function(e,t){return e},c.drawEleInLayer=function(e,t,n,r){var i=this.renderer,o=e.context,a=t.boundingBox();if(0!==a.w&&0!==a.h&&t.visible()){var s=this.eleTxrCache,l=s.reasons.highQuality;n=this.getEleLevelForLayerLevel(n,r);var c=s.getElement(t,a,null,n,l);c?(f(o,!1),o.drawImage(c.texture.canvas,c.x,0,c.width,c.height,a.x1,a.y1,a.w,a.h),f(o,!0)):i.drawElement(o,t)}},c.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(o.invalid)return!1;r+=o.eles.length}return r===t.length},c.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},c.invalidateElements=function(e){var t=this;t.lastInvalidationTime=r.performanceNow(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)}))},c.invalidateLayer=function(e){if(this.lastInvalidationTime=r.performanceNow(),!e.invalid){var t=e.level,n=e.eles,i=this.layersByLevel[t];r.removeFromArray(i,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:f;e.lineWidth=h,e.lineCap="butt",i.strokeStyle(e,d[0],d[1],d[2],n),i.drawEdgePath(t,e,o.allpts,p)},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;i.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var v=t.pstyle("ghost-offset-x").pfValue,b=t.pstyle("ghost-offset-y").pfValue,y=t.pstyle("ghost-opacity").value,x=f*y;e.translate(v,b),g(x),m(x),e.translate(-v,-b)}g(),m(),function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.lineWidth=l,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",i.strokeStyle(e,u[0],u[1],u[2],n),i.drawEdgePath(t,e,o.allpts,"solid")}(),i.drawElementText(e,t,r),n&&e.translate(s.x1,s.y1)}},drawEdgePath:function(e,t,n,r){var i=e._private.rscratch,o=t,a=void 0,s=!1,l=this.usePaths();if(l){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(a=t=i.pathCache,s=!0):(a=t=new Path2D,i.pathCacheKey=c,i.pathCache=a)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash([6,3]);break;case"solid":o.setLineDash([])}if(!s&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":if(e.hasClass("horizontal")){var u=n[4],d=n[5],f=(n[0]+n[4])/2;t.lineTo(n[0]+10,n[1]),t.bezierCurveTo(f,n[1],f,n[5],n[4]-10,n[5]),t.lineTo(u,d)}else if(e.hasClass("vertical")){var p=n[4],h=n[5],g=(n[1]+n[5])/2;t.bezierCurveTo(n[0],g,n[4],g,n[4],n[5]-10),t.lineTo(p,h)}else for(var m=2;m+30||j>0&&O>0){var P=f-T;switch(k){case"left":P-=m;break;case"center":P-=m/2}var D=p-v-T,R=m+2*T,I=v+2*T;if(_>0){var N=e.fillStyle,M=t.pstyle("text-background-color").value;e.fillStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+_*o+")","roundrectangle"==t.pstyle("text-background-shape").strValue?(s=P,l=D,c=R,u=I,d=(d=2)||5,(a=e).beginPath(),a.moveTo(s+d,l),a.lineTo(s+c-d,l),a.quadraticCurveTo(s+c,l,s+c,l+d),a.lineTo(s+c,l+u-d),a.quadraticCurveTo(s+c,l+u,s+c-d,l+u),a.lineTo(s+d,l+u),a.quadraticCurveTo(s,l+u,s,l+u-d),a.lineTo(s,l+d),a.quadraticCurveTo(s,l,s+d,l),a.closePath(),a.fill()):e.fillRect(P,D,R,I),e.fillStyle=N}if(j>0&&O>0){var z=e.strokeStyle,L=e.lineWidth,B=t.pstyle("text-border-color").value,F=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+O*o+")",e.lineWidth=j,e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=j/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(P,D,R,I),"double"===F){var q=j/2;e.strokeRect(P+q,D+q,R-2*q,I-2*q)}e.setLineDash&&e.setLineDash([]),e.lineWidth=L,e.strokeStyle=z}}var V=2*t.pstyle("text-outline-width").pfValue;if(V>0&&(e.lineWidth=V),"wrap"===t.pstyle("text-wrap").value){var U=r.getPrefixedProperty(i,"labelWrapCachedLines",n),H=v/U.length;switch(A){case"top":p-=(U.length-1)*H;break;case"center":case"bottom":p-=(U.length-1)*H}for(var G=0;G0&&e.strokeText(U[G],f,p),e.fillText(U[G],f,p),p+=H}else V>0&&e.strokeText(h,f,p),e.fillText(h,f,p);0!==E&&(e.rotate(-E),e.translate(-$,-C))}}},e.exports=o},function(e,t,n){"use strict";var r=n(0),i={drawNode:function(e,t,n,i){var o,a,s=this,l=t._private,c=l.rscratch,u=t.position();if(r.number(u.x)&&r.number(u.y)&&t.visible()){var d=t.effectiveOpacity(),f=s.usePaths(),p=void 0,h=!1,g=t.padding();o=t.width()+2*g,a=t.height()+2*g;var m=void 0;n&&(m=n,e.translate(-m.x1,-m.y1));for(var v=t.pstyle("background-image").value,b=new Array(v.length),y=new Array(v.length),x=0,w=0;w0&&void 0!==arguments[0]?arguments[0]:C;s.fillStyle(e,$[0],$[1],$[2],t)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;s.strokeStyle(e,_[0],_[1],_[2],t)},D=t.pstyle("shape").strValue,R=t.pstyle("shape-polygon-points").pfValue;if(f){var I=D+"$"+o+"$"+a+("polygon"===D?"$"+R.join("$"):"");e.translate(u.x,u.y),c.pathCacheKey===I?(p=c.pathCache,h=!0):(p=new Path2D,c.pathCacheKey=I,c.pathCache=p)}var N,M,z,L=function(){if(!h){var n=u;f&&(n={x:0,y:0}),s.nodeShapes[s.getNodeShape(t)].draw(p||e,n.x,n.y,o,a)}f?e.fill(p):e.fill()},B=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,r=l.backgrounding,i=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;s.hasPie(t)&&(s.drawPie(e,t,r),n&&(f||s.nodeShapes[s.getNodeShape(t)].draw(e,u.x,u.y,o,a)))},q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,n=(E>0?E:-E)*t,r=E>0?0:255;0!==E&&(s.fillStyle(e,r,r,r,n),f?e.fill(p):e.fill())},V=function(){if(S>0){if(e.lineWidth=S,e.lineCap="butt",e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(p):e.stroke(),"double"===O){e.lineWidth=S/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(p):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,H=t.pstyle("ghost-offset-y").pfValue,G=t.pstyle("ghost-opacity").value,W=G*d;e.translate(U,H),T(G*C),L(),B(W),F(0!==E||0!==S),q(W),P(G*j),V(),e.translate(-U,-H)}T(),L(),B(),F(0!==E||0!==S),q(),P(),V(),f&&e.translate(-u.x,-u.y),s.drawElementText(e,t,i),N=t.pstyle("overlay-padding").pfValue,M=t.pstyle("overlay-opacity").value,z=t.pstyle("overlay-color").value,M>0&&(s.fillStyle(e,z[0],z[1],z[2],M),s.nodeShapes.roundrectangle.draw(e,u.x,u.y,o+2*N,a+2*N),e.fill()),n&&e.translate(m.x1,m.y1)}},hasPie:function(e){return(e=e[0])._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),o=t.pstyle("pie-size"),a=r.x,s=r.y,l=t.width(),c=t.height(),u=Math.min(l,c)/2,d=0;this.usePaths()&&(a=0,s=0),"%"===o.units?u*=o.pfValue:void 0!==o.pfValue&&(u=o.pfValue/2);for(var f=1;f<=i.pieBackgroundN;f++){var p=t.pstyle("pie-"+f+"-background-size").value,h=t.pstyle("pie-"+f+"-background-color").value,g=t.pstyle("pie-"+f+"-background-opacity").value*n,m=p/100;m+d>1&&(m=1-d);var v=1.5*Math.PI+2*Math.PI*d,b=v+2*Math.PI*m;0===p||d>=1||d+m>1||(e.beginPath(),e.moveTo(a,s),e.arc(a,s,u,v,b),e.closePath(),this.fillStyle(e,h[0],h[1],h[2],g),e.fill(),d+=m)}}};e.exports=i},function(e,t,n){"use strict";var r={},i=n(1);r.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;is.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!f&&(d[s.NODE]=!0,d[s.SELECT_BOX]=!0);var y=c.style()._private.coreStyle,x=c.zoom(),w=void 0!==o?o:x,k=c.pan(),A={x:k.x,y:k.y},E={zoom:x,pan:{x:k.x,y:k.y}},S=s.prevViewport;void 0===S||E.zoom!==S.zoom||E.pan.x!==S.pan.x||E.pan.y!==S.pan.y||m&&!g||(s.motionBlurPxRatio=1),a&&(A=a),w*=l,A.x*=l,A.y*=l;var $=s.getCachedZSortedEles();function C(e,t,n,r,i){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",s.fillStyle(e,255,255,255,s.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=o}function _(e,r){var i,l,c,d;s.clearingMotionBlur||e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(i=A,l=w,c=s.canvasWidth,d=s.canvasHeight):(i={x:k.x*h,y:k.y*h},l=x*h,c=s.canvasWidth*h,d=s.canvasHeight*h),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(i.x,i.y),e.scale(l,l)),a&&e.translate(a.x,a.y),o&&e.scale(o,o)}if(f||(s.textureDrawLastFrame=!1),f){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=c.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var O=s.data.bufferContexts[s.TEXTURE_BUFFER];O.setTransform(1,0,0,1,0,0),O.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:O,drawOnlyNodeLayer:!0,forcedPxRatio:l*s.textureMult}),(E=s.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-E.pan.x)/E.zoom,y:(0-E.pan.y)/E.zoom}}d[s.DRAG]=!1,d[s.NODE]=!1;var j=u.contexts[s.NODE],T=s.textureCache.texture;E=s.textureCache.viewport,s.textureCache.bb,j.setTransform(1,0,0,1,0,0),p?C(j,0,0,E.width,E.height):j.clearRect(0,0,E.width,E.height);var P=y["outside-texture-bg-color"].value,D=y["outside-texture-bg-opacity"].value;s.fillStyle(j,P[0],P[1],P[2],D),j.fillRect(0,0,E.width,E.height),x=c.zoom(),_(j,!1),j.clearRect(E.mpan.x,E.mpan.y,E.width/E.zoom/l,E.height/E.zoom/l),j.drawImage(T,E.mpan.x,E.mpan.y,E.width/E.zoom/l,E.height/E.zoom/l)}else s.textureOnViewport&&!t&&(s.textureCache=null);var R=c.extent(),I=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles,N=s.hideEdgesOnViewport&&I,M=[];if(M[s.NODE]=!d[s.NODE]&&p&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,M[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),M[s.DRAG]=!d[s.DRAG]&&p&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,M[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),d[s.NODE]||n||r||M[s.NODE]){var z=p&&!M[s.NODE]&&1!==h;_(j=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),p&&!z?"motionBlur":void 0),N?s.drawCachedNodes(j,$.nondrag,l,R):s.drawLayeredElements(j,$.nondrag,l,R),s.debug&&s.drawDebugPoints(j,$.nondrag),n||p||(d[s.NODE]=!1)}if(!r&&(d[s.DRAG]||n||M[s.DRAG])&&(z=p&&!M[s.DRAG]&&1!==h,_(j=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),p&&!z?"motionBlur":void 0),N?s.drawCachedNodes(j,$.drag,l,R):s.drawCachedElements(j,$.drag,l,R),s.debug&&s.drawDebugPoints(j,$.drag),n||p||(d[s.DRAG]=!1)),s.showFps||!r&&d[s.SELECT_BOX]&&!n){if(_(j=t||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){x=s.cy.zoom();var L=y["selection-box-border-width"].value/x;j.lineWidth=L,j.fillStyle="rgba("+y["selection-box-color"].value[0]+","+y["selection-box-color"].value[1]+","+y["selection-box-color"].value[2]+","+y["selection-box-opacity"].value+")",j.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),L>0&&(j.strokeStyle="rgba("+y["selection-box-border-color"].value[0]+","+y["selection-box-border-color"].value[1]+","+y["selection-box-border-color"].value[2]+","+y["selection-box-opacity"].value+")",j.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){x=s.cy.zoom();var B=u.bgActivePosistion;j.fillStyle="rgba("+y["active-bg-color"].value[0]+","+y["active-bg-color"].value[1]+","+y["active-bg-color"].value[2]+","+y["active-bg-opacity"].value+")",j.beginPath(),j.arc(B.x,B.y,y["active-bg-size"].pfValue/x,0,2*Math.PI),j.fill()}var F=s.lastRedrawTime;if(s.showFps&&F){F=Math.round(F);var q=Math.round(1e3/F);j.setTransform(1,0,0,1,0,0),j.fillStyle="rgba(255, 0, 0, 0.75)",j.strokeStyle="rgba(255, 0, 0, 0.75)",j.lineWidth=1,j.fillText("1 frame = "+F+" ms = "+q+" fps",0,20),j.strokeRect(0,30,250,20),j.fillRect(0,30,250*Math.min(q/60,1),20)}n||(d[s.SELECT_BOX]=!1)}if(p&&1!==h){var V=u.contexts[s.NODE],U=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],H=u.contexts[s.DRAG],G=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],W=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!b?e.clearRect(0,0,s.canvasWidth,s.canvasHeight):C(e,0,0,s.canvasWidth,s.canvasHeight);var r=h;e.drawImage(t,0,0,s.canvasWidth*r,s.canvasHeight*r,0,0,s.canvasWidth,s.canvasHeight)};(d[s.NODE]||M[s.NODE])&&(W(V,U,M[s.NODE]),d[s.NODE]=!1),(d[s.DRAG]||M[s.DRAG])&&(W(H,G,M[s.DRAG]),d[s.DRAG]=!1)}s.prevViewport=E,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),p&&(s.motionBlurTimeout=setTimeout((function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!f,s.mbFrames=0,d[s.NODE]=!0,d[s.DRAG]=!0,s.redraw()}),100)),t||c.emit("render")},e.exports=r},function(e,t,n){"use strict";for(var r=n(2),i={drawPolygonPath:function(e,t,n,r,i,o){var a=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+a*o[0],n+s*o[1]);for(var l=1;l0&&a>0){p.clearRect(0,0,o,a),p.globalCompositeOperation="source-over";var h=this.getCachedZSortedEles();if(e.full)p.translate(-n.x1*c,-n.y1*c),p.scale(c,c),this.drawElements(p,h),p.scale(1/c,1/c),p.translate(n.x1*c,n.y1*c);else{var g=t.pan(),m={x:g.x*c,y:g.y*c};c*=t.zoom(),p.translate(m.x,m.y),p.scale(c,c),this.drawElements(p,h),p.scale(1/c,1/c),p.translate(-m.x,-m.y)}e.bg&&(p.globalCompositeOperation="destination-over",p.fillStyle=e.bg,p.rect(0,0,o,a),p.fill())}return f},i.png=function(e){return a(e,this.bufferCanvasImage(e),"image/png")},i.jpg=function(e){return a(e,this.bufferCanvasImage(e),"image/jpeg")},e.exports=i},function(e,t,n){"use strict";var r={nodeShapeImpl:function(e,t,n,r,i,o,a){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,o);case"polygon":return this.drawPolygonPath(t,n,r,i,o,a);case"roundrectangle":return this.drawRoundRectanglePath(t,n,r,i,o);case"cutrectangle":return this.drawCutRectanglePath(t,n,r,i,o);case"bottomroundrectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,o);case"barrel":return this.drawBarrelPath(t,n,r,i,o)}}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(18),a=function e(){if(!(this instanceof e))return new e;this.length=0},s=a.prototype;s.instanceString=function(){return"stylesheet"},s.selector=function(e){return this[this.length++]={selector:e,properties:[]},this},s.css=function(e,t){var n=this.length-1;if(r.string(e))this[n].properties.push({name:e,value:t});else if(r.plainObject(e))for(var a=e,s=0;s=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(239),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(35))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=t||n<0||m&&e-c>=o}function w(){var e=p();if(x(e))return k(e);s=setTimeout(w,function(e){var n=t-(e-l);return m?f(n,o-(e-c)):n}(e))}function k(e){return s=void 0,v&&r?b(e):(r=i=void 0,a)}function A(){var e=p(),n=x(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return y(l);if(m)return s=setTimeout(w,t),b(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=g(t)||0,h(n)&&(u=!!n.leading,o=(m="maxWait"in n)?d(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),A.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},A.flush=function(){return void 0===s?a:k(p())},A}}).call(this,n(35))},function(e,t,n){e.exports=n(243)},function(e,t,n){var r,i,o;(function(){var n,a,s,l,c,u,d,f,p,h,g,m,v,b,y;s=Math.floor,h=Math.min,a=function(e,t){return et?1:0},p=function(e,t,n,r,i){var o;if(null==n&&(n=0),null==i&&(i=a),n<0)throw new Error("lo must be non-negative");for(null==r&&(r=e.length);nn;0<=n?t++:t--)c.push(t);return c}.apply(this).reverse()).length;rg;0<=g?++u:--u)m.push(c(e,n));return m},b=function(e,t,n,r){var i,o,s;for(null==r&&(r=a),i=e[n];n>t&&r(i,o=e[s=n-1>>1])<0;)e[n]=o,n=s;return e[n]=i},y=function(e,t,n){var r,i,o,s,l;for(null==n&&(n=a),i=e.length,l=t,o=e[t],r=2*t+1;r
'+e.content+"":s+=">"+e.content+"";var l=t(s);return l.data("selector",e.selector),l.data("on-click-function",e.onClickFunction),l.data("show",void 0===e.show||e.show),l}function y(){var e;l("active")&&(e=s.children(),t(e).each((function(){x(t(this))})),i.off("tapstart",n),s.remove(),c(s=void 0,void 0),c("active",!1),c("anyVisibleChild",!1))}function x(e){var n="string"==typeof e?t("#"+e):e,r=n.data("cy-context-menus-cxtfcn"),o=n.data("selector"),a=n.data("call-on-click-function"),s=n.data("cy-context-menus-cxtcorefcn");r&&i.off("cxttap",o,r),s&&i.off("cxttap",s),a&&n.off("click",a),n.remove()}"get"!==e&&(c("options",a=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}(r,e)),l("active")&&y(),c("active",!0),o=u(a.contextMenuClasses),(s=t("")).addClass("cy-context-menus-cxt-menu"),c("cxtMenu",s),t("body").append(s),s=s,g(a.menuItems),i.on("tapstart",n=function(){f(s),c("cxtMenuPosition",void 0),c("currentCyEvent",void 0)}),t(".cy-context-menus-cxt-menu").contextmenu((function(){return!1})));return function(e){return{isActive:function(){return l("active")},appendMenuItem:function(t){return m(t),e},appendMenuItems:function(t){return g(t),e},removeMenuItem:function(t){return x(t),e},setTrailingDivider:function(n,r){return function(e,n){var r=t("#"+e);n?r.addClass("cy-context-menus-divider"):r.removeClass("cy-context-menus-divider")}(n,r),e},insertBeforeMenuItem:function(t,n){return v(t,n),e},moveBeforeOtherMenuItem:function(n,r){return function(e,n){if(e!==n){var r=t("#"+e).detach(),i=t("#"+n);r.insertBefore(i)}}(n,r),e},disableMenuItem:function(n){return t("#"+n).attr("disabled",!0),e},enableMenuItem:function(n){return t("#"+n).attr("disabled",!1),e},hideMenuItem:function(n){return t("#"+n).data("show",!1),f(t("#"+n)),e},showMenuItem:function(n){return t("#"+n).data("show",!0),d(t("#"+n)),e},destroy:function(){return y(),e}}}(this)}))}};e.exports&&(e.exports=o),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r),"undefined"!=typeof cytoscape&&i&&o(cytoscape,i)}()},function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){var r=n(1),i=function(e){e&&e("layout","dagre",r)};"undefined"!=typeof cytoscape&&i(cytoscape),e.exports=i},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(2),o=n(3),a=n(4);function s(e){this.options=o({},i,e)}s.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,i=function(e,t){return"function"==typeof t?t.apply(e,[e]):t},o=e.boundingBox||{x1:0,y1:0,w:t.width(),h:t.height()};void 0===o.x2&&(o.x2=o.x1+o.w),void 0===o.w&&(o.w=o.x2-o.x1),void 0===o.y2&&(o.y2=o.y1+o.h),void 0===o.h&&(o.h=o.y2-o.y1);var s=new a.graphlib.Graph({multigraph:!0,compound:!0}),l={},c=function(e,t){null!=t&&(l[e]=t)};c("nodesep",e.nodeSep),c("edgesep",e.edgeSep),c("ranksep",e.rankSep),c("rankdir",e.rankDir),c("ranker",e.ranker),s.setGraph(l),s.setDefaultEdgeLabel((function(){return{}})),s.setDefaultNodeLabel((function(){return{}}));for(var u=n.nodes(),d=0;d1?t-1:0),r=1;r-1}},function(e,t,n){var r=n(75);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(74);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(74),i=n(117),o=n(118);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(64),i=n(262),o=n(23),a=n(151),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r=n(58),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(263),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(29)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(266),i=n(74),o=n(117);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(267),i=n(268),o=n(269),a=n(270),s=n(271);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(173),i=n(340),o=n(344),a=n(174),s=n(345),l=n(129);e.exports=function(e,t,n){var c=-1,u=i,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=o;else if(d>=200){var g=t?null:s(e);if(g)return l(g);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c-1}},function(e,t,n){var r=n(188),i=n(342),o=n(343);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r1||1===t.length&&e.hasEdge(t[0],t[0])}))}},function(e,t,n){var r=n(22);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0},i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(c)}return a}},function(e,t,n){"use strict";var r=n(11),i=n(399),o=n(402),a=n(403),s=n(20).normalizeRanks,l=n(405),c=n(20).removeEmptyRanks,u=n(406),d=n(407),f=n(408),p=n(409),h=n(418),g=n(20),m=n(28).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=$(e.graph());return t.setGraph(r.merge({},b,S(n,v),r.pick(n,y))),r.forEach(e.nodes(),(function(n){var i=$(e.node(n));t.setNode(n,r.defaults(S(i,x),w)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var i=$(e.edge(n));t.setEdge(n,r.merge({},A,S(i,k),r.pick(i,E)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){i.run(e)})),t(" nestingGraph.run",(function(){u.run(e)})),t(" rank",(function(){a(g.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",i,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){c(e)})),t(" nestingGraph.cleanup",(function(){u.cleanup(e)})),t(" normalizeRanks",(function(){s(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;r.forEach(e.nodes(),(function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){o.run(e)})),t(" parentDummyChains",(function(){l(e)})),t(" addBorderSegments",(function(){d(e)})),t(" order",(function(){p(e)})),t(" insertSelfEdges",(function(){!function(e){var t=g.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,i){var o=e.node(t);o.order=i+n,r.forEach(o.selfEdges,(function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){f.adjust(e)})),t(" position",(function(){h(e)})),t(" positionSelfEdges",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){o.undo(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){f.undo(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,l=a.marginy||0;function c(e){var r=e.x,a=e.y,s=e.width,l=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-l/2),o=Math.max(o,a+l/2)}r.forEach(e.nodes(),(function(t){c(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&c(n)})),t-=s,i-=l,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=i})),r.forEach(e.edges(),(function(n){var o=e.edge(n);r.forEach(o.points,(function(e){e.x-=t,e.y-=i})),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)})),a.width=n-t+s,a.height=o-i+l}(e)})),t(" assignNodeIntersects",(function(){!function(e){r.forEach(e.edges(),(function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))}))}(e)})),t(" reversePoints",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){i.undo(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(e.edges(),(function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))};var v=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],x=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],A={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function S(e,t){return r.mapValues(r.pick(e,t),Number)}function $(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},function(e,t,n){var r=n(149);e.exports=function(e){return r(e,5)}},function(e,t,n){var r=n(89),i=n(57),o=n(90),a=n(48),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&o(t[0],t[1],c)&&(r=1);++n-1?s[l?t[c]:c]:void 0}}},function(e,t,n){var r=n(188),i=n(37),o=n(365),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(e,i(t,3),l)}},function(e,t,n){var r=n(196);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(367),i=n(23),o=n(61),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(368),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(128),i=n(169),o=n(48);e.exports=function(e,t){return null==e?e:r(e,i(t),o)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(79),i=n(127),o=n(37);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}},function(e,t,n){var r=n(132),i=n(373),o=n(49);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(375),i=n(379)((function(e,t,n){r(e,t,n)}));e.exports=i},function(e,t,n){var r=n(73),i=n(198),o=n(128),a=n(376),s=n(23),l=n(48),c=n(199);e.exports=function e(t,n,u,d,f){t!==n&&o(n,(function(o,l){if(f||(f=new r),s(o))a(t,n,l,u,e,d,f);else{var p=d?d(c(t,l),o,l+"",t,n,f):void 0;void 0===p&&(p=o),i(t,l,p)}}),l)}},function(e,t,n){var r=n(198),i=n(155),o=n(164),a=n(156),s=n(165),l=n(66),c=n(13),u=n(189),d=n(59),f=n(64),p=n(23),h=n(377),g=n(67),m=n(199),v=n(378);e.exports=function(e,t,n,b,y,x,w){var k=m(e,n),A=m(t,n),E=w.get(A);if(E)r(e,n,E);else{var S=x?x(k,A,n+"",e,t,w):void 0,$=void 0===S;if($){var C=c(A),_=!C&&d(A),O=!C&&!_&&g(A);S=A,C||_||O?c(k)?S=k:u(k)?S=a(k):_?($=!1,S=i(A,!0)):O?($=!1,S=o(A,!0)):S=[]:h(A)||l(A)?(S=k,l(k)?S=v(k):p(k)&&!f(k)||(S=s(A))):$=!1}$&&(w.set(A,S),y(S,A,b,x,w),w.delete(A)),r(e,n,S)}}},function(e,t,n){var r=n(47),i=n(84),o=n(32),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t,n){var r=n(65),i=n(48);e.exports=function(e){return r(e,i(e))}},function(e,t,n){var r=n(89),i=n(90);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=s},function(e,t,n){var r=n(88),i=n(86),o=n(37),a=n(184),s=n(393),l=n(82),c=n(394),u=n(49),d=n(13);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,l(o));var p=a(e,(function(e,n,i){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return s(p,(function(e,t){return c(e,t,n)}))}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(395);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i=l?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}},function(e,t,n){var r=n(61);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!u&&e0;--l)if(r=t[l].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,(function(t){return e.outEdges(t.v,t.w)})),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.forEach(e.inEdges(i.v),(function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(t,n,s)})),r.forEach(e.outEdges(i.v),(function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,l(t,n,a)})),e.removeNode(i.v),a}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function r(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function i(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return r(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&r(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,i)),n=n._prev;return"["+e.join(", ")+"]"}},function(e,t,n){"use strict";var r=n(11),i=n(20);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,l=t.w,c=e.node(l).rank,u=t.name,d=e.edge(t),f=d.labelRank;if(c===s+1)return;for(e.removeEdge(t),o=0,++s;sl.lim&&(c=l,u=!0);var d=r.filter(t.edges(),(function(t){return u===b(e,e.node(t.v),c)&&u!==b(e,e.node(t.w),c)}));return r.minBy(d,(function(e){return o(t,e)}))}function v(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),p(e),d(e,t),function(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),i=s(e,n);i=i.slice(1),r.forEach(i,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function b(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=p,u.initCutValues=d,u.calcCutValue=f,u.leaveEdge=g,u.enterEdge=m,u.exchangeEdges=v},function(e,t,n){var r=n(11);e.exports=function(e){var t=function(e){var t={},n=0;function i(o){var a=n;r.forEach(e.children(o),i),t[o]={low:a,lim:n++}}return r.forEach(e.children(),i),t}(e);r.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],l=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>l||c>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,l=0,c=a[l],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(c=a[l])!==s&&e.node(c).maxRank=2),s=u.buildLayerMatrix(e);var m=o(e,s);m0;)t%2&&(n+=l[t+1]),l[t=t-1>>1]+=e.weight;c+=e.weight*n}))),c}e.exports=function(e,t){for(var n=0,r=1;r=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(e){return!e.indegree})))}},function(e,t,n){var r=n(11),i=n(20);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,(function(e){return r.has(e,"barycenter")})),a=n.lhs,s=r.sortBy(n.rhs,(function(e){return-e.i})),l=[],c=0,u=0,d=0;a.sort((f=!!t,function(e,t){return e.barycentert.barycenter?1:f?t.i-e.i:e.i-t.i})),d=o(l,s,d),r.forEach(a,(function(e){d+=e.vs.length,l.push(e.vs),c+=e.barycenter*e.weight,u+=e.weight,d=o(l,s,d)}));var f;var p={vs:r.flatten(l,!0)};u&&(p.barycenter=c/u,p.weight=u);return p}},function(e,t,n){var r=n(11),i=n(28).Graph;e.exports=function(e,t,n){var o=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(t){return e.node(t)}));return r.forEach(e.nodes(),(function(i){var s=e.node(i),l=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.forEach(e[n](i),(function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))})),a}},function(e,t,n){var r=n(11);e.exports=function(e,t,n){var i,o={};r.forEach(n,(function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}}))}},function(e,t,n){"use strict";var r=n(11),i=n(20),o=n(419).positionX;e.exports=function(e){(function(e){var t=i.buildLayerMatrix(e),n=e.graph().ranksep,o=0;r.forEach(t,(function(t){var i=r.max(r.map(t,(function(t){return e.node(t).height})));r.forEach(t,(function(t){e.node(t).y=o+i/2})),o+=i+n}))})(e=i.asNonCompoundGraph(e)),r.forEach(o(e),(function(t,n){e.node(n).x=t}))}},function(e,t,n){"use strict";var r=n(11),i=n(28).Graph,o=n(20);function a(e,t){var n={};return r.reduce(t,(function(t,i){var o=0,a=0,s=t.length,c=r.last(i);return r.forEach(i,(function(t,u){var d=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),f=d?e.node(d).order:s;(d||t===c)&&(r.forEach(i.slice(a,u+1),(function(t){r.forEach(e.predecessors(t),(function(r){var i=e.node(r),a=i.order;!(as)&&l(n,t,c)}))}))}return r.reduce(t,(function(t,n){var o,a=-1,s=0;return r.forEach(n,(function(r,l){if("border"===e.node(r).dummy){var c=e.predecessors(r);c.length&&(o=e.node(c[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,t.length)})),n})),n}function l(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function c(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function u(e,t,n,i){var o={},a={},s={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){o[e]=e,a[e]=e,s[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var l=i(e);if(l.length)for(var u=((l=r.sortBy(l,(function(e){return s[e]}))).length-1)/2,d=Math.floor(u),f=Math.ceil(u);d<=f;++d){var p=l[d];a[e]===e&&t\n.menu ul ul {\n margin-left: 12px;\n}\n\n\n\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(425),i=n(21);n(426),angular.module("dbt").directive("modelTreeLine",["$state",function(e){return{scope:{item:"=",depth:"<",resourceType:"@"},replace:!0,templateUrl:r,link:function(t,n,r,o){t.depth||(t.depth=0);var a=t.item.name;if(a){var s=i.last(a,15).join(""),l=i.initial(a,s.length).join("");t.name={name:a,start:l,end:s},t.name_start=l,t.name_end=s,t.onFolderClick=function(n){if(n.active=!n.active,"source"==t.resourceType){var r=n.name;e.go("dbt.source_list",{source:r})}else 0===t.depth&&"database"!==n.type&&e.go("dbt.project_overview",{project_name:n.name})},t.activate=function(n){t.$emit("clearSearch"),n.active=!0;var r="dbt."+n.node.resource_type;e.go(r,{unique_id:n.unique_id})},t.getIcon=function(e,t){return"#"+{header:{on:"icn-down",off:"icn-right"},database:{on:"icn-db-on",off:"icn-db"},schema:{on:"icn-tree-on",off:"icn-tree"},table:{on:"icn-doc-on",off:"icn-doc"},folder:{on:"icn-dir-on",off:"icn-dir"},file:{on:"icn-doc-on",off:"icn-doc"}}[e][t]},t.getClass=function(e){return{active:e.active,"menu-tree":"header"==e.type||"schema"==e.type||"folder"==e.type,"menu-main":"header"==e.type,"menu-node":"file"==e.type||"table"==e.type}}}}}}])},function(e,t){var n="/components/model_tree/model_tree_line.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n \n \n \n \n \n \n {{name.start}}\n {{name.end}}\n \n \n\n \n \n \n \n \n \n {{name.start}}\n {{name.end}}\n \n \n\n \n\n')}]),e.exports=n},function(e,t,n){var r=n(427);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n.unselectable{\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n",""])},function(e,t,n){"use strict";const r=n(9),i=n(429);n(31);n(206),r.module("dbt").directive("docsSearch",["$sce","project",function(e,t){return{scope:{query:"=",results:"=",onSelect:"&"},replace:!0,templateUrl:i,link:function(n){n.max_results=20,n.show_all=!1,n.max_results_columns=3,n.limit_columns={},n.checkboxStatus={show_names:!1,show_descriptions:!1,show_columns:!1,show_code:!1,show_tags:!1},n.limit_search=function(e,t,r){return t0&&null!=n.query&&n.query.trim().length>0){let t=e.replace(/\s+/g," "),o=r(i(n.query)[0]),a=t.search(new RegExp(o)),s=a-75<0?0:a-75,l=a+75>t.length?t.length:a+75;return"..."+t.substring(s,l)+"..."}return e},n.highlight=function(t){if(!n.query||!t)return e.trustAsHtml(t);let o="("+i(n.query).map(e=>r(e)).join(")|(")+")";return e.trustAsHtml(t.replace(new RegExp(o,"gi"),'$&'))},n.$watch("query",(function(e,t){0==e.length&&(n.show_all=!1,n.limit_columns={})})),n.columnFilter=function(e){var t=[];let r=i(n.query);for(var o in e)r.every(e=>-1!=o.toLowerCase().indexOf(e))&&t.push(o);return t},n.limitColumns=function(e){return void 0!==n.limit_columns[e]?n.limit_columns[e]:3}}}}])},function(e,t){var n="/components/search/search.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(431);n(432);const i=n(21);angular.module("dbt").directive("tableDetails",["$sce","$filter",function(e,t){return{scope:{model:"=",extras:"=",exclude:"<"},templateUrl:r,link:function(e){function n(e,t){if(0==e)return"0 bytes";if(e<1&&(e*=1e6),isNaN(parseFloat(e))||!isFinite(e))return"-";void 0===t&&(t=0);var n=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(n))).toFixed(t)+" "+["bytes","KB","MB","GB","TB","PB"][n]}function r(e,n){return void 0===n&&(n=2),t("number")(100*e,n)+"%"}function o(e,n){return void 0===n&&(n=0),t("number")(e,n)}e.details=[],e.extended=[],e.exclude=e.exclude||[],e.meta=null,e._show_expanded=!1,e.show_expanded=function(t){return void 0!==t&&(e._show_expanded=t),e._show_expanded},e.hasData=function(e){return!(!e||i.isEmpty(e))&&(1!=e.length||0!=e[0].include)},e.$watch("model",(function(t,a){i.property(["metadata","type"])(t);var s,l,c,u=t.hasOwnProperty("sources")&&null!=t.sources[0]?t.sources[0].source_meta:null;if(e.meta=t.meta||u,e.details=function(e){var t,n,r=!e.metadata,o=e.metadata||{};t=e.database?e.database+".":"",n=r?void 0:"source"==e.resource_type?t+e.schema+"."+e.identifier:t+e.schema+"."+e.alias;var a,s=[{name:"Owner",value:o.owner},{name:"Type",value:r?void 0:(a=o.type,"BASE TABLE"==a?{type:"table",name:"table"}:"LATE BINDING VIEW"==a?{type:"view",name:"late binding view"}:{type:a.toLowerCase(),name:a.toLowerCase()}).name},{name:"Package",value:e.package_name},{name:"Language",value:e.language},{name:"Relation",value:n}];return i.filter(s,(function(e){return void 0!==e.value}))}(t),e.extended=(s=t.stats,l={rows:o,row_count:o,num_rows:o,max_varchar:o,pct_used:r,size:n,bytes:n,num_bytes:n},c=i.sortBy(i.values(s),"label"),i.map(c,(function(e){var t=i.clone(e),n=l[e.id];return n&&(t.value=n(e.value),t.label=e.label.replace("Approximate","~"),t.label=e.label.replace("Utilization","Used")),t}))),e.extras){var d=i.filter(e.extras,(function(e){return void 0!==e.value&&null!==e.value}));e.details=e.details.concat(d)}e.show_extended=i.where(e.extended,{include:!0}).length>0})),e.queryTag=function(t){e.$emit("query",t)}}}}])},function(e,t){var n="/components/table_details/table_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
Details
\n
\n
\n
\n
\n
\n
\n
\n - {{ k }}
\n - {{ v }}
\n
\n
\n
\n
\n
\n
\n - Tags
\n - \n
{{ tag }}
\n \n - untagged
\n
\n
\n - {{ item.name }}
\n - {{ item.value }}
\n
\n
\n
\n
\n
\n
\n - {{ item.label }}
\n - {{ item.value }}
\n
\n
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){var r=n(433);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n\n.details-content {\n table-layout: fixed;\n}\n\n.detail-body {\n white-space: nowrap;\n overflow-x: scroll;\n}\n",""])},function(e,t,n){"use strict";const r=n(435),i=n(21);angular.module("dbt").directive("columnDetails",["project",function(e){return{scope:{model:"="},templateUrl:r,link:function(t){t.has_test=function(e,t){return-1!=i.pluck(e.tests,"short").indexOf(t)},t.has_more_info=function(e){var t=e.tests||[],n=e.description||"",r=e.meta||{};return t.length||n.length||!i.isEmpty(r)},t.toggle_column_expanded=function(e){t.has_more_info(e)&&(e.expanded=!e.expanded)},t.getState=function(e){return"dbt."+e.resource_type},t.get_col_name=function(t){return e.caseColumn(t)},t.get_columns=function(e){var t=i.chain(e.columns).values().sortBy("index").value();return i.each(t,(function(e,t){e.index=t})),t}}}}])},function(e,t){var n="/components/column_details/column_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
\n
\n Column information is not available for this seed\n
\n
\n
\n \n \n Column | \n Type | \n Description | \n Tests | \n More? | \n
\n \n \n \n \n \n {{ get_col_name(column.name) }}\n \n | \n \n {{ column.type }}\n | \n \n {{ column.description }}\n | \n \n \n U\n N\n F\n A\n +\n \n | \n \n \n \n \n \n \n \n \n \n | \n
\n \n \n \n \n Details\n \n \n \n - {{ k }}
\n - {{ v }}
\n \n \n \n \n\n \n Description\n \n \n\n \n \n | \n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(437);n(31),n(438);function i(e){return"python"===e?"language-python":"language-sql"}angular.module("dbt").directive("codeBlock",["code","$timeout",function(e,t){return{scope:{versions:"=",default:"<",language:"="},restrict:"E",templateUrl:r,link:function(n,r){n.selected_version=n.default,n.language_class=i(n.language),n.source=null,n.setSelected=function(r){n.selected_version=r,n.source=n.versions[r]||"";const i=n.source.trim();n.highlighted=e.highlight(i,n.language),t((function(){Prism.highlightAll()}))},n.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},n.copied=!1,n.copy_to_clipboard=function(){e.copy_to_clipboard(n.source),n.copied=!0,setTimeout((function(){n.$apply((function(){n.copied=!1}))}),1e3)},n.$watch("language",(function(e,t){e&&e!=t&&(n.language_class=i(e))}),!0),n.$watch("versions",(function(e,t){if(e)if(n.default)n.setSelected(n.default);else{var r=Object.keys(n.versions);r.length>0&&n.setSelected(r[0])}}),!0)}}}])},function(e,t){var n="/components/code_block/code_block.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'Code
\n\n')}]),e.exports=n},function(e,t,n){var r=n(439);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"pre.code {\n border: none !important;\n overflow-y: visible !important;\n overflow-x: scroll !important;\n padding-bottom: 10px;\n}\n\npre.code code {\n font-family: Monaco, monospace !important;\n font-weight: 400 !important;\n}\n\n.line-numbers-rows {\n border: none !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(441);angular.module("dbt").directive("macroArguments",[function(){return{scope:{macro:"="},templateUrl:r,link:function(e){_.each(e.macro.arguments,(function(e){e.expanded=!1}))}}}])},function(e,t){var n="/components/macro_arguments/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n\n
\n
\n Details are not available for this macro\n
\n
\n
\n \n \n \n \n \n More? | \n
\n \n \n \n \n \n {{ arg.name }}\n \n | \n \n {{ arg.type }}\n | \n \n {{ arg.description }}\n | \n \n \n \n \n \n \n \n \n \n | \n
\n \n \n \n \n Description\n \n \n \n | \n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(443);angular.module("dbt").directive("referenceList",["$state",function(e){return{scope:{references:"=",node:"="},restrict:"E",templateUrl:r,link:function(t){t.selected_type=null,t.setType=function(e){t.selected_type=e,t.nodes=t.references[t.selected_type]},t.getNodeUrl=function(t){var n="dbt."+t.resource_type;return e.href(n,{unique_id:t.unique_id,"#":null})},t.mapResourceType=function(e){return"model"==e?"Models":"seed"==e?"Seeds":"test"==e?"Tests":"snapshot"==e?"Snapshots":"analysis"==e?"Analyses":"macro"==e?"Macros":"exposure"==e?"Exposures":"metric"==e?"Metrics":"operation"==e?"Operations":"Nodes"},t.$watch("references",(function(e){e&&_.size(e)>0?(t.selected_type=_.keys(e)[0],t.has_references=!0,t.nodes=t.references[t.selected_type]):t.has_references=!1}))}}}])},function(e,t){var n="/components/references/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
\n No resources reference this {{ node.resource_type }}\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){n(445),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455)},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("ModelCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout((function(){e.$apply((function(){e.copied=!1}))}),1e3)},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n.nav-tabs li.nav-pull-right {\n flex: 1 0 auto;\n text-align: right;\n}\n\ntr.column-row-selected {\n\n}\n\ntd.column-expanded{\n padding: 0px !important;\n}\n\ntd.column-expanded > div {\n padding: 5px 10px;\n margin-left: 20px;\n height: 100%;\n\n border-left: 1px solid #ccc !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SourceCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.versions={"Sample SQL":r.generateSourceSQL(e.model)},e.extra_table_fields=[{name:"Loader",value:e.model.loader},{name:"Source",value:e.model.source_name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SeedCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,o,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.versions={"Example SQL":r.generateSourceSQL(e.model)}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SnapshotCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"Compiled SQL is not available for this snapshot"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("TestCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";const r=n(9),i=n(21),o=n(33);n(34),r.module("dbt").controller("MacroCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,a,s,l){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.macro={},n.ready((function(t){let n=t.macros[e.model_uid];if(e.macro=n,e.references=o.getMacroReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=o.getMacroParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.macro.is_adapter_macro){var r=t.metadata.adapter_type;e.versions=n.impls,n.impls[r]?e.default_version=r:n.impls.default?e.default_version="default":e.default_version=i.keys(n.impls)[0]}else e.default_version="Source",e.versions={Source:e.macro.macro_sql}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("AnalysisCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,o,a,s){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.default_version="Source",e.versions={Source:"",Compiled:""},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language,e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("ExposureCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.exposure={},n.ready((function(t){let n=t.nodes[e.model_uid];e.exposure=n,e.parents=i.getParents(t,n),e.parentsLength=e.parents.length,e.language=n.language,e.extra_table_fields=[{name:"Maturity",value:e.exposure.maturity},{name:"Owner",value:e.exposure.owner.name},{name:"Owner email",value:e.exposure.owner.email},{name:"Exposure name",value:e.exposure.name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("MetricCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.metric={},n.ready((function(t){let n=t.nodes[e.model_uid];e.metric=n,e.parents=i.getParents(t,n),e.parentsLength=e.parents.length,e.versions={Definition:r.generateMetricSQL(e.metric)};const o="expression"===e.metric.type?"Expression metric":"Aggregate metric";e.extra_table_fields=[{name:"Metric Type",value:o},{name:"Metric name",value:e.metric.name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("OperationCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";n(9).module("dbt").controller("GraphCtrl",["$scope","$state","$window","graph","project","selectorService",function(e,t,n,r,i,o){function a(e){return e&&"source"==e.resource_type?"source:"+e.source_name+"."+e.name:e&&"exposure"==e.resource_type?"exposure:"+e.name:e&&"metric"==e.resource_type?"metric:"+e.name:e.name?e.name:"*"}e.graph=r.graph,e.graphService=r,e.graphRendered=function(e){r.setGraphReady(e)},e.$watch((function(){return t.params.unique_id}),(function(e,t){e&&e!=t&&i.find_by_id(e,(function(e){e&&("sidebar"==r.orientation?r.showVerticalGraph(a(e),!1):r.showFullGraph(a(e)))})),e||o.clearViewNode()}))}])},function(e,t,n){"use strict";const r=n(9),i=n(21),o=n(31),a=n(458);n(459),n(206),n(467),n(469),n(472),n(476),r.module("dbt").controller("MainController",["$scope","$route","$state","project","graph","selectorService","trackingService","locationService","$transitions",function(e,t,n,r,s,l,c,u,d){function f(t){e.model_uid=t;var n=r.node(t);n&&l.resetSelection(n)}function p(e){e&&setTimeout((function(){var t=o("*[data-nav-unique-id='"+e+"']");t.length&&t[0].scrollIntoView&&t[0].scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}),1)}e.tree={database:{},project:{},sources:{}},e.search={query:"",results:[],is_focused:!1},e.logo=a,e.model_uid=null,e.project={},o("body").bind("keydown",(function(e){"t"==event.key&&"INPUT"!=event.target.tagName&&(console.log("Opening search"),o("#search").focus(),event.preventDefault())})),e.onSearchFocus=function(t,n){e.search.is_focused=n},e.clearSearch=function(){e.search.is_focused=!1,e.search.query="",e.search.results=[],o("#search").blur()},e.$on("clearSearch",(function(){e.clearSearch()})),e.$on("query",(function(t,n){e.search.is_focused=!0,e.search.query=n})),e.onSearchKeypress=function(t){"Escape"==t.key&&(e.clearSearch(),t.preventDefault())},r.getModelTree(n.params.unique_id,(function(t){e.tree.database=t.database,e.tree.project=t.project,e.tree.sources=t.sources,e.tree.exposures=t.exposures,e.tree.metrics=t.metrics,setTimeout((function(){p(e.model_uid)}))})),d.onSuccess({},(function(t,n){var i=t.router.globals.params,o=l.getViewNode(),a=o?o.unique_id:null,s=i.unique_id,u=!0;if(t.from().name==t.to().name&&a==s&&(u=!1),u&&i.unique_id){var d=r.updateSelected(i.unique_id);e.tree.database=d.database,e.tree.project=d.project,e.tree.sources=d.sources,e.search.query="",console.log("updating selected model to: ",i),f(i.unique_id),setTimeout((function(){p(i.unique_id)}))}u&&c.track_pageview()})),e.$watch("search.query",(function(t){e.search.results=function(t){if(""===e.search.query)return t;let n={name:10,tags:5,description:3,raw_code:2,columns:1};return i.each(t,(function(t){t.overallWeight=0,i.each(Object.keys(n),(function(r){if(null!=t.model[r]){let o=0,a=t.model[r],s=e.search.query.toLowerCase();if("columns"===r)i.each(a,(function(e){if(e.name){let t=e.name.toLowerCase(),n=0;for(;-1!=n;)n=t.indexOf(s,n),-1!=n&&(o++,n++)}}));else if("tags"===r)i.each(a,(function(e){let t=e.toLowerCase(),n=0;for(;-1!=n;)n=t.indexOf(s,n),-1!=n&&(o++,n++)}));else{a=a.toLowerCase();let e=0;for(;-1!=e;)e=a.indexOf(s,e),-1!=e&&(o++,e++)}t.overallWeight+=o*n[r]}}))})),t}(r.search(t))})),r.init(),r.ready((function(t){e.project=t,e.search.results=r.search("");var o=i.unique(i.pluck(i.values(t.nodes),"package_name")).sort(),a=[null];i.each(t.nodes,(function(e){var t=e.tags;a=i.union(a,t).sort()})),l.init({packages:o,tags:a}),f(n.params.unique_id);var d=u.parseState(n.params);d.show_graph&&s.ready((function(){i.assign(l.selection.dirty,d.selected);var e=l.updateSelection();s.updateGraph(e)}));var p=t.metadata||{};c.init({track:p.send_anonymous_usage_stats,project_id:p.project_id})}))}])},function(e,t){e.exports="data:image/svg+xml,%3Csvg width='242' height='90' viewBox='0 0 242 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M240.384 74.5122L239.905 75.8589H239.728L239.249 74.5156V75.8589H238.941V74.0234H239.324L239.816 75.3872L240.309 74.0234H240.691V75.8589H240.384V74.5122ZM238.671 74.3003H238.169V75.8589H237.858V74.3003H237.352V74.0234H238.671V74.3003Z' fill='%23262A38'/%3E %3Cpath d='M154.123 13.915V75.3527H141.672V69.0868C140.37 71.2839 138.499 73.0742 136.22 74.2134C133.779 75.434 131.012 76.085 128.246 76.085C124.828 76.1664 121.41 75.1899 118.562 73.2369C115.633 71.2839 113.354 68.5986 111.889 65.425C110.262 61.7631 109.448 57.8572 109.529 53.8698C109.448 49.8825 110.262 45.9765 111.889 42.3961C113.354 39.3038 115.633 36.6185 118.481 34.7469C121.41 32.8753 124.828 31.9801 128.246 32.0615C130.931 32.0615 133.616 32.6311 135.976 33.8517C138.255 34.991 140.126 36.6999 141.428 38.8156V18.0651L154.123 13.915ZM139.15 63.2279C140.777 61.1121 141.672 58.0199 141.672 54.0326C141.672 50.0452 140.859 47.0344 139.15 44.9187C137.441 42.8029 134.755 41.5823 131.989 41.6637C129.222 41.5009 126.537 42.7215 124.746 44.8373C123.038 46.953 122.142 49.9639 122.142 53.8698C122.142 57.8572 123.038 60.9494 124.746 63.1465C126.455 65.3436 129.222 66.5642 131.989 66.4828C135.081 66.4828 137.522 65.3436 139.15 63.2279Z' fill='%23262A38'/%3E %3Cpath d='M198.635 34.6655C201.564 36.5371 203.843 39.2225 205.226 42.3147C206.853 45.8952 207.667 49.8011 207.586 53.7885C207.667 57.7758 206.853 61.7632 205.226 65.3436C203.761 68.5172 201.483 71.2026 198.553 73.1556C195.705 75.0272 192.287 76.0037 188.87 75.9223C186.103 76.0037 183.336 75.3527 180.895 74.0507C178.617 72.9114 176.745 71.1212 175.524 68.9241V75.2713H162.993V18.0651L175.606 13.915V38.9783C176.826 36.7812 178.698 34.991 180.976 33.8517C183.418 32.5498 186.103 31.8988 188.87 31.9801C192.287 31.8988 195.705 32.8753 198.635 34.6655ZM192.45 63.1465C194.159 60.9494 194.973 57.8572 194.973 53.7885C194.973 49.8825 194.159 46.8716 192.45 44.7559C190.741 42.6402 188.381 41.5823 185.289 41.5823C182.523 41.4196 179.837 42.6402 178.047 44.8373C176.338 47.0344 175.524 50.0452 175.524 53.9512C175.524 57.9386 176.338 61.0308 178.047 63.1465C179.756 65.3436 182.441 66.5642 185.289 66.4015C188.056 66.5642 190.741 65.3436 192.45 63.1465Z' fill='%23262A38'/%3E %3Cpath d='M225 42.4774V58.915C225 61.2749 225.651 62.9838 226.791 64.0416C228.093 65.1809 229.801 65.7505 231.592 65.6691C232.975 65.6691 234.44 65.425 235.742 65.0995V74.8644C233.382 75.6782 230.941 76.085 228.499 76.0037C223.292 76.0037 219.304 74.5389 216.537 71.6094C213.771 68.68 212.387 64.5299 212.387 59.1592V23.1103L225 19.0416V33.038H235.742V42.4774H225Z' fill='%23262A38'/%3E %3Cpath d='M86.1754 3.74322C88.2911 5.77758 89.6745 8.46293 90 11.3924C90 12.613 89.6745 13.4268 88.9421 14.9729C88.2098 16.519 79.1772 32.1429 76.4919 36.4557C74.9458 38.9783 74.132 41.9892 74.132 44.9186C74.132 47.9295 74.9458 50.859 76.4919 53.3816C79.1772 57.6944 88.2098 73.3996 88.9421 74.9457C89.6745 76.4919 90 77.2242 90 78.4448C89.6745 81.3743 88.3725 84.0597 86.2568 86.0127C84.2224 88.1284 81.5371 89.5118 78.689 89.7559C77.4684 89.7559 76.6546 89.4304 75.1899 88.698C73.7251 87.9656 57.7758 79.1772 53.4629 76.4919C53.1374 76.3291 52.8119 76.085 52.4051 75.9222L31.085 63.3092C31.5732 67.3779 33.3635 71.2839 36.2929 74.132C36.8626 74.7016 37.4322 75.1899 38.0832 75.6781C37.5949 75.9222 37.0253 76.1664 36.5371 76.4919C32.2242 79.1772 16.519 88.2098 14.9729 88.9421C13.4268 89.6745 12.6944 90 11.3924 90C8.46293 89.6745 5.77758 88.3725 3.82459 86.2568C1.70886 84.2224 0.325497 81.5371 0 78.6076C0.0813743 77.387 0.406872 76.1664 1.05787 75.1085C1.79024 73.5624 10.8228 57.8571 13.5081 53.5443C15.0542 51.0217 15.868 48.0922 15.868 45.0814C15.868 42.0705 15.0542 39.141 13.5081 36.6184C10.8228 32.1429 1.70886 16.4376 1.05787 14.8915C0.406872 13.8336 0.0813743 12.613 0 11.3924C0.325497 8.46293 1.62749 5.77758 3.74322 3.74322C5.77758 1.62749 8.46293 0.325497 11.3924 0C12.613 0.0813743 13.8336 0.406872 14.9729 1.05787C16.2749 1.62749 27.7486 8.30018 33.8517 11.8807L35.2351 12.6944C35.7233 13.0199 36.1302 13.264 36.4557 13.4268L37.1067 13.8336L58.8336 26.6908C58.3454 21.8083 55.8228 17.3327 51.9168 14.3219C52.4051 14.0778 52.9747 13.8336 53.4629 13.5081C57.7758 10.8228 73.481 1.70886 75.0271 1.05787C76.085 0.406872 77.3056 0.0813743 78.6076 0C81.4557 0.325497 84.1411 1.62749 86.1754 3.74322ZM46.1392 50.7776L50.7776 46.1392C51.4286 45.4882 51.4286 44.5118 50.7776 43.8608L46.1392 39.2224C45.4882 38.5714 44.5118 38.5714 43.8608 39.2224L39.2224 43.8608C38.5714 44.5118 38.5714 45.4882 39.2224 46.1392L43.8608 50.7776C44.4304 51.3472 45.4882 51.3472 46.1392 50.7776Z' fill='%23FF694A'/%3E %3C/svg%3E"},function(e,t,n){"use strict";n.r(t);var r=n(63),i=n.n(r);n(460),n(461),n(462),n(463),n(465);const o=n(9),a=(n(31),n(21));window.Prism=i.a,o.module("dbt").factory("code",["$sce",function(e){var t={copied:!1,highlight:function(t,n="sql"){if("sql"==n)var r=i.a.highlight(t,i.a.languages.sql,"sql");else if("python"==n)r=i.a.highlight(t,i.a.languages.python,"python");return e.trustAsHtml(r)},copy_to_clipboard:function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},generateSourceSQL:function(e){var t=["select"],n=a.size(e.columns),r=a.keys(e.columns);a.each(r,(function(e,r){var i=" "+e;r+1!=n&&(i+=","),t.push(i)}));const i=(e.database?e.database+".":"")+e.schema+"."+e.identifier;return t.push("from "+i),t.join("\n")},generateMetricSQL:function(e){if("expression"==e.type)return e.sql;const t=[`select ${e.type}(${e.sql})`,`from {{ ${e.model} }}`];if(e.filters.length>0){const n=e.filters.map(e=>`${e.field} ${e.operator} ${e.value}`).join(" AND ");t.push("where "+n)}return t.join("\n")}};return t}])},function(e,t){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains("line-numbers")){var n=e.querySelector(".line-numbers-rows");if(n){var r=parseInt(e.getAttribute("data-start"),10)||1,i=r+(n.children.length-1);t
i&&(t=i);var o=t-r;return n.children[o]}}},resize:function(e){r([e])},assumeViewportIndependence:!0},n=void 0;window.addEventListener("resize",(function(){t.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,r(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(t){if(t.code){var n=t.element,i=n.parentNode;if(i&&/pre/i.test(i.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),i.classList.add("line-numbers");var o,a=t.code.match(e),s=a?a.length+1:1,l=new Array(s+1).join("");(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=l,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(o),r([i]),Prism.hooks.run("line-numbers",t)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function r(t){if(0!=(t=t.filter((function(e){var t=function(e){if(!e)return null;return window.getComputedStyle?getComputedStyle(e):e.currentStyle||null}(e)["white-space"];return"pre-wrap"===t||"pre-line"===t}))).length){var n=t.map((function(t){var n=t.querySelector("code"),r=t.querySelector(".line-numbers-rows");if(n&&r){var i=t.querySelector(".line-numbers-sizer"),o=n.textContent.split(e);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var a=i.getBoundingClientRect().height;return i.innerHTML="",{element:t,lines:o,lineHeights:[],oneLinerHeight:a,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i code {\n\tposition: relative;\n\twhite-space: inherit;\n}\n\n.line-numbers .line-numbers-rows {\n\tposition: absolute;\n\tpointer-events: none;\n\ttop: 0;\n\tfont-size: 100%;\n\tleft: -3.8em;\n\twidth: 3em; /* works for line-numbers below 1000 lines */\n\tletter-spacing: -1px;\n\tborder-right: 1px solid #999;\n\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\n}\n\n\t.line-numbers-rows > span {\n\t\tdisplay: block;\n\t\tcounter-increment: linenumber;\n\t}\n\n\t\t.line-numbers-rows > span:before {\n\t\t\tcontent: counter(linenumber);\n\t\t\tcolor: #999;\n\t\t\tdisplay: block;\n\t\t\tpadding-right: 0.8em;\n\t\t\ttext-align: right;\n\t\t}\n',""])},function(e,t,n){var r=n(466);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,'/**\n * GHColors theme by Avi Aryan (http://aviaryan.in)\n * Inspired by Github syntax coloring\n */\n\ncode[class*="language-"],\npre[class*="language-"] {\n\tcolor: #393A34;\n\tfont-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;\n\tdirection: ltr;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tfont-size: .9em;\n\tline-height: 1.2em;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\npre > code[class*="language-"] {\n\tfont-size: 1em;\n}\n\npre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,\ncode[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {\n\tbackground: #b3d4fc;\n}\n\npre[class*="language-"]::selection, pre[class*="language-"] ::selection,\ncode[class*="language-"]::selection, code[class*="language-"] ::selection {\n\tbackground: #b3d4fc;\n}\n\n/* Code blocks */\npre[class*="language-"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tborder: 1px solid #dddddd;\n\tbackground-color: white;\n}\n\n/* Inline code */\n:not(pre) > code[class*="language-"] {\n\tpadding: .2em;\n\tpadding-top: 1px;\n\tpadding-bottom: 1px;\n\tbackground: #f8f8f8;\n\tborder: 1px solid #dddddd;\n}\n\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #999988;\n\tfont-style: italic;\n}\n\n.token.namespace {\n\topacity: .7;\n}\n\n.token.string,\n.token.attr-value {\n\tcolor: #e3116c;\n}\n\n.token.punctuation,\n.token.operator {\n\tcolor: #393A34; /* no highlight */\n}\n\n.token.entity,\n.token.url,\n.token.symbol,\n.token.number,\n.token.boolean,\n.token.variable,\n.token.constant,\n.token.property,\n.token.regex,\n.token.inserted {\n\tcolor: #36acaa;\n}\n\n.token.atrule,\n.token.keyword,\n.token.attr-name,\n.language-autohotkey .token.selector {\n\tcolor: #00a4db;\n}\n\n.token.function,\n.token.deleted,\n.language-autohotkey .token.tag {\n\tcolor: #9a050f;\n}\n\n.token.tag,\n.token.selector,\n.language-autohotkey .token.keyword {\n\tcolor: #00009f;\n}\n\n.token.important,\n.token.function,\n.token.bold {\n\tfont-weight: bold;\n}\n\n.token.italic {\n\tfont-style: italic;\n}\n',""])},function(e,t,n){n(31);const r=n(21),i=n(148),o=n(203),a=n(468);angular.module("dbt").factory("graph",["$state","$window","$q","selectorService","project","locationService",function(e,t,n,s,l,c){var u={vertical:{userPanningEnabled:!1,boxSelectionEnabled:!1,maxZoom:1.5},horizontal:{userPanningEnabled:!0,boxSelectionEnabled:!1,maxZoom:1,minZoom:.05}},d={none:{name:"null"},left_right:{name:"dagre",rankDir:"LR",rankSep:200,edgeSep:30,nodeSep:50},top_down:{name:"preset",positions:function(t){var n=e.params.unique_id;if(!n)return{x:0,y:0};var a=f.graph.pristine.dag,s=r.sortBy(o.ancestorNodes(a,n,1)),l=r.sortBy(o.descendentNodes(a,n,1)),c=r.partial(r.includes,s),u=r.partial(r.includes,l),d=a.filterNodes(c),p=a.filterNodes(u);return function(e,t,n,i){console.log("Getting position for ",i,". Primary: ",e);var o,a=100/(1+Math.max(t.length,n.length));if(e==i)return{x:0,y:0};if(r.includes(t,i))o={set:t,index:r.indexOf(t,i),factor:-1,type:"parent"};else{if(!r.includes(n,i))return{x:0,y:0};o={set:n,index:r.indexOf(n,i),factor:1,type:"child"}}var s=o.set.length;if("parent"==o.type)var l={x:(0+o.index)*a,y:-200-100*(s-o.index-1)};else l={x:(0+o.index)*a,y:200+100*(s-o.index-1)};return l}(n,i.alg.topsort(d),i.alg.topsort(p).reverse(),t.data("id"))}}},f={loading:!0,loaded:n.defer(),graph_element:null,orientation:"sidebar",expanded:!1,graph:{options:u.vertical,pristine:{nodes:{},edges:{},dag:null},elements:[],layout:d.none,style:[{selector:"edge.vertical",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#027599","arrow-scale":1.5,"line-color":"#027599",width:3,"target-distance-from-node":"5px","source-endpoint":"0% 50%","target-endpoint":"0deg"}},{selector:"edge.horizontal",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#006f8a","arrow-scale":1.5,"target-distance-from-node":"10px","source-distance-from-node":"5px","line-color":"#006f8a",width:3,"source-endpoint":"50% 0%","target-endpoint":"270deg"}},{selector:"edge[selected=1]",style:{"line-color":"#bd6bb6","target-arrow-color":"#bd6bb6","z-index":1}},{selector:'node[display="none"]',style:{display:"none"}},{selector:"node.vertical",style:{"text-margin-x":"5px","background-color":"#0094b3","font-size":"16px",shape:"ellipse",color:"#fff",width:"5px",height:"5px",padding:"5px",content:"data(label)","font-weight":300,"text-valign":"center","text-halign":"right"}},{selector:"node.horizontal",style:{"background-color":"#0094b3","font-size":"24px",shape:"roundrectangle",color:"#fff",width:"label",height:"label",padding:"12px",content:"data(label)","font-weight":300,"font-family":'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',"text-valign":"center","text-halign":"center",ghost:"yes","ghost-offset-x":"2px","ghost-offset-y":"4px","ghost-opacity":.5,"text-outline-color":"#000","text-outline-width":"1px","text-outline-opacity":.2}},{selector:'node[resource_type="source"]',style:{"background-color":"#5fb825"}},{selector:'node[resource_type="exposure"]',style:{"background-color":"#ff694b"}},{selector:'node[resource_type="metric"]',style:{"background-color":"#ff5688"}},{selector:"node[node_color]",style:{"background-color":"data(node_color)"}},{selector:"node[selected=1]",style:{"background-color":"#bd6bb6"}},{selector:"node.horizontal[selected=1]",style:{"background-color":"#88447d"}},{selector:"node.horizontal.dirty",style:{"background-color":"#919599"}},{selector:"node[hidden=1]",style:{"background-color":"#919599","background-opacity":.5}}],ready:function(e){console.log("graph ready")}}};function p(e,t,n){var i=r.map(e,(function(e){return f.graph.pristine.nodes[e]})),o=[];r.flatten(r.each(e,(function(t){var n=f.graph.pristine.edges[t];r.each(n,(function(t){r.includes(e,t.data.target)&&r.includes(e,t.data.source)&&o.push(t)}))})));var s=r.compact(i).concat(r.compact(o));return r.each(f.graph.elements,(function(e){e.data.display="none",e.data.selected=0,e.data.hidden=0,e.classes=n})),r.each(s,(function(e){e.data.display="element",e.classes=n,t&&r.includes(t,e.data.unique_id)&&(e.data.selected=1),r.get(e,["data","docs","show"],!0)||(e.data.hidden=1);var i=r.get(e,["data","docs","node_color"]);i&&a.isValidColor(i)&&(e.data.node_color=i)})),f.graph.elements=r.filter(s,(function(e){return"element"==e.data.display})),e}function h(e,t,n){var r=f.graph.pristine.dag;if(r){var i=f.graph.pristine.nodes,o=s.selectNodes(r,i,e),a=n?o.matched:[];return p(o.selected,a,t)}}return f.setGraphReady=function(e){f.loading=!1,f.loaded.resolve(),f.graph_element=e},f.ready=function(e){f.loaded.promise.then((function(){e(f)}))},f.manifest={},f.packages=[],f.selected_node=null,f.getCanvasHeight=function(){return.8*t.innerHeight+"px"},l.ready((function(e){f.manifest=e,f.packages=r.uniq(r.map(f.manifest.nodes,"package_name")),r.each(r.filter(f.manifest.nodes,(function(e){var t=r.includes(["model","seed","source","snapshot","analysis","exposure","metric","operation"],e.resource_type),n="test"==e.resource_type&&!e.hasOwnProperty("test_metadata");return t||n})),(function(e){var t={group:"nodes",data:r.assign(e,{parent:e.package_name,id:e.unique_id,is_group:"false"})};f.graph.pristine.nodes[e.unique_id]=t})),r.each(f.manifest.parent_map,(function(e,t){r.each(e,(function(e){var n=f.manifest.nodes[e],i=f.manifest.nodes[t];if(r.includes(["model","source","seed","snapshot","metric"],n.resource_type)&&("test"!=i.resource_type||!i.hasOwnProperty("test_metadata"))){var o=n.unique_id+"|"+i.unique_id,a={group:"edges",data:{source:n.unique_id,target:i.unique_id,unique_id:o}},s=i.unique_id;f.graph.pristine.edges[s]||(f.graph.pristine.edges[s]=[]),f.graph.pristine.edges[s].push(a)}}))}));var t=new i.Graph({directed:!0});r.each(f.graph.pristine.nodes,(function(e){t.setNode(e.data.unique_id,e.data.name)})),r.each(f.graph.pristine.edges,(function(e){r.each(e,(function(e){t.setEdge(e.data.source,e.data.target)}))})),f.graph.pristine.dag=t,f.graph.elements=r.flatten(r.values(f.graph.pristine.nodes).concat(r.values(f.graph.pristine.edges))),p(t.nodes())})),f.hideGraph=function(){f.orientation="sidebar",f.expanded=!1},f.showVerticalGraph=function(e,t){f.orientation="sidebar",t&&(f.expanded=!0);var n=h(r.assign({},s.options,{include:"+"+e+"+",exclude:"",hops:1}),"vertical",!0);return f.graph.layout=d.top_down,f.graph.options=u.vertical,n},f.showFullGraph=function(e){f.orientation="fullscreen",f.expanded=!0;var t=r.assign({},s.options);e?(t.include="+"+e+"+",t.exclude=""):(t.include="",t.exclude="");var n=h(t,"horizontal",!0);return f.graph.layout=d.left_right,f.graph.options=u.horizontal,c.setState(t),n},f.updateGraph=function(e){f.orientation="fullscreen",f.expanded=!0;var t=h(e,"horizontal",!1);return f.graph.layout=d.left_right,f.graph.options=u.horizontal,c.setState(e),t},f.deselectNodes=function(){"fullscreen"==f.orientation&&f.graph_element.elements().data("selected",0)},f.selectNode=function(e){if("fullscreen"==f.orientation){f.graph.pristine.nodes[e];var t=f.graph.pristine.dag,n=r.indexBy(o.ancestorNodes(t,e)),i=r.indexBy(o.descendentNodes(t,e));n[e]=e,i[e]=e;var a=f.graph_element;r.each(f.graph.elements,(function(t){var r=a.$id(t.data.id);n[t.data.source]&&n[t.data.target]||i[t.data.source]&&i[t.data.target]||t.data.unique_id==e?r.data("selected",1):r.data("selected",0)}))}},f.markDirty=function(e){f.markAllClean(),r.each(e,(function(e){f.graph_element.$id(e).addClass("dirty")}))},f.markAllClean=function(){f.graph_element&&f.graph_element.elements().removeClass("dirty")},f}])},function(e,t,n){"use strict";n.r(t),n.d(t,"isValidColor",(function(){return i}));const r=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","ghostwhite","gold","goldenrod","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]);function i(e){if(!e)return!1;const t=e.trim().toLowerCase();if(""===t)return!1;const n=t.match(/^#([A-Fa-f0-9]{3}){1,2}$/),i=r.has(t);return Boolean(n)||i}},function(e,t,n){n(31);const r=n(21),i=n(470);angular.module("dbt").factory("selectorService",["$state",function(e){var t={include:"",exclude:"",packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis","exposure","metric"],depth:1},n={view_node:null,selection:{clean:r.clone(t),dirty:r.clone(t)},options:{packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis","exposure","metric"]},init:function(e){r.each(e,(function(e,r){n.options[r]=e,t[r]=e,n.selection.clean[r]=e,n.selection.dirty[r]=e}))},resetSelection:function(e){var i={include:e&&r.includes(["model","seed","snapshot"],e.resource_type)?"+"+e.name+"+":e&&"source"==e.resource_type?"+source:"+e.source_name+"."+e.name+"+":e&&"exposure"==e.resource_type?"+exposure:"+e.name:e&&"metric"==e.resource_type?"+metric:"+e.name:e&&r.includes(["analysis","test"],e.resource_type)?"+"+e.name:""},o=r.assign({},t,i);n.selection.clean=r.clone(o),n.selection.dirty=r.clone(o),n.view_node=e},getViewNode:function(){return n.view_node},excludeNode:function(e,t){var r,i=n.selection.dirty.exclude,o=t.parents?"+":"",a=t.children?"+":"",s=i.length>0?" ":"";"source"==e.resource_type?(o+="source:",r=e.source_name+"."+e.name):["exposure","metric"].indexOf(e.resource_type)>-1?(o+=e.resource_type+":",r=e.name):r=e.name;var l=i+s+o+r+a;return n.selection.dirty.exclude=l,n.updateSelection()},selectSource:function(e,t){var r="source:"+e+(t.children?"+":"");return n.selection.dirty.include=r,n.updateSelection()},clearViewNode:function(){n.view_node=null},isDirty:function(){return!r.isEqual(n.selection.clean,n.selection.dirty)},updateSelection:function(){return n.selection.clean=r.clone(n.selection.dirty),n.selection.clean},selectNodes:function(e,t,n){return i.selectNodes(e,t,n)}};return n}])},function(e,t,n){const r=n(21),i=n(471);function o(e,t){return t||(t=" "),r.filter(r.uniq(e.split(t)),(function(e){return e.length>0}))}function a(e){var t={raw:e,select_at:!1,select_children:!1,children_depth:null,select_parents:!1,parents_depth:null};const n=new RegExp(""+/^/.source+/(?(\@))?/.source+/(?((?(\d*))\+))?/.source+/((?([\w.]+)):)?/.source+/(?(.*?))/.source+/(?(\+(?(\d*))))?/.source+/$/.source).exec(e).groups;t.select_at="@"==n.childs_parents,t.select_parents=!!n.parents,t.select_children=!!n.children,n.parents_depth&&(t.parents_depth=parseInt(n.parents_depth)),n.children_depth&&(t.children_depth=parseInt(n.children_depth));var r=n.method,i=n.value;return r?-1!=r.indexOf(".")&&([r,selector_modifier]=r.split(".",2),i={config:selector_modifier,value:i}):r="implicit",t.selector_type=r,t.selector_value=i,t}function s(e){var t=o(e," ");return r.map(t,(function(e){var t=o(e,",");return t.length>1?{method:"intersect",selectors:r.map(t,a)}:{method:"none",selectors:r.map([e],a)}}))}function l(e,t){var n=s(e),i=null,o=null;return r.each(n,(function(e){var n="intersect"==e.method?r.intersection:r.union;r.each(e.selectors,(function(e){var r=t(e);null===i?(i=r.matched,o=r.selected):(i=n(i,r.matched),o=n(o,r.selected))}))})),{matched:i||[],selected:o||[]}}e.exports={splitSpecs:o,parseSpec:a,parseSpecs:s,buildSpec:function(e,t,n){return{include:s(e),exclude:s(t),hops:n}},applySpec:l,selectNodes:function(e,t,n){n.include,n.exclude;var o,a=r.partial(i.getNodesFromSpec,e,t,n.hops);r.values(t),o=0==n.include.trim().length?{selected:e.nodes(),matched:[]}:l(n.include,a);var s=l(n.exclude,a),c=o.selected,u=o.matched;c=r.difference(c,s.selected),u=r.difference(u,s.matched);var d=[];return r.each(c,(function(e){var i=t[e];i.data.tags||(i.data.tags=[]);var o=r.includes(n.packages,i.data.package_name),a=r.intersection(n.tags,i.data.tags).length>0,s=r.includes(n.tags,null)&&0==i.data.tags.length,l=r.includes(n.resource_types,i.data.resource_type);o&&(a||s)&&l||d.push(i.data.unique_id)})),{selected:r.difference(c,d),matched:r.difference(u,d)}}}},function(e,t,n){const r=n(21),i=n(203);var o="fqn",a="tag",s="source",l="exposure",c="metric",u="path",d="file",f="package",p="config",h="test_name",g="test_type",m={};function v(e,t){if(t===r.last(e))return!0;var n=e.reduce((e,t)=>e.concat(t.split(".")),[]),i=t.split(".");if(n.length-1||!r.hasOwnProperty("test_metadata")&&["data","singular"].indexOf(t)>-1)&&n.push(r)})),n}function $(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("source"==r.resource_type){var i,o,a=r.source_name,s=r.name;-1!=t.indexOf(".")?[i,o]=t.split(".",2):(i=t,o=null),("*"==i||i==a&&"*"===o||i==a&&o===s||i==a&&null===o)&&n.push(e.data)}})),n}m["implicit"]=function(e,t){var n=b(e,t),i=y(e,t),o=[];t.toLowerCase().endsWith(".sql")&&(o=x(e,t));var a=r.uniq([].concat(r.map(n,"unique_id"),r.map(i,"unique_id"),r.map(o,"unique_id")));return r.map(a,t=>e[t].data)},m[o]=b,m[a]=w,m[s]=$,m[l]=function(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("exposure"==r.resource_type){var i=r.name;("*"==t||t==i)&&n.push(e.data)}})),n},m[c]=function(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("metric"==r.resource_type){var i=r.name;("*"==t||t==i)&&n.push(e.data)}})),n},m[u]=y,m[d]=x,m[f]=k,m[p]=A,m[h]=E,m[g]=S,e.exports={isFQNMatch:v,getNodesByFQN:b,getNodesByTag:w,getNodesBySource:$,getNodesByPath:y,getNodesByPackage:k,getNodesByConfig:A,getNodesByTestName:E,getNodesByTestType:S,getNodesFromSpec:function(e,t,n,o){const a=m[o.selector_type];if(!a)return console.log("Node matcher for selector",o.selector_type,"is invalid"),{selected:[],matched:[]};var s=a(t,o.selector_value),l=[],c=[];return r.each(s,(function(t){var a=t.unique_id;c.push(t.unique_id);var s=[],u=[],d=[];if(o.select_at&&(d=r.union(i.selectAt(e,a))),o.select_parents){var f=n||o.parents_depth;s=i.ancestorNodes(e,a,f)}if(o.select_children){f=n||o.children_depth;u=i.descendentNodes(e,a,f)}l=r.union([a],l,u,s,d)})),{selected:l,matched:c}}}},function(e,t,n){const r=n(9);n(473);r.module("dbt").factory("trackingService",["$location","selectorService","$rootScope",function(e,t,n){var r={initialized:!1,snowplow:null,project_id:null,init:function(e){r.initialized||(r.initialized=!0,r.project_id=e.project_id,!0===e.track&&r.turn_on_tracking())},isHosted:function(){return window.location.hostname.indexOf(".getdbt.com")>-1},turn_on_tracking:function(){var e,t,n,i,o,a;e=window,t=document,n="script",e[i="snowplow"]||(e.GlobalSnowplowNamespace=e.GlobalSnowplowNamespace||[],e.GlobalSnowplowNamespace.push(i),e[i]=function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].q=e[i].q||[],o=t.createElement(n),a=t.getElementsByTagName(n)[0],o.async=1,o.src="//d1fc8wv8zag5ca.cloudfront.net/2.9.0/sp.js",a.parentNode.insertBefore(o,a));var s={appId:"dbt-docs",forceSecureTracker:!0,respectDoNotTrack:!0,userFingerprint:!1,contexts:{webPage:!0}};r.isHosted()&&(s.cookieDomain=".getdbt.com"),r.snowplow=window.snowplow,r.snowplow("newTracker","sp","fishtownanalytics.sinter-collect.com",s),r.snowplow("enableActivityTracking",30,30),r.track_pageview()},fuzzUrls:function(){r.isHosted()||(r.snowplow("setCustomUrl","https://fuzzed.getdbt.com/"),r.snowplow("setReferrerUrl","https://fuzzed.getdbt.com/"))},getContext:function(){return[{schema:"iglu:com.dbt/dbt_docs/jsonschema/1-0-0",data:{is_cloud_hosted:r.isHosted(),core_project_id:r.project_id}}]},track_pageview:function(){if(r.snowplow){r.fuzzUrls();r.snowplow("trackPageView",null,r.getContext())}},track_event:function(e,t,n,i){r.snowplow&&(r.fuzzUrls(),r.snowplow("trackStructEvent","dbt-docs",e,t,n,i,r.getContext()))},track_graph_interaction:function(e,t){r.snowplow&&(r.fuzzUrls(),r.track_event("graph","interact",e,t))}};return r}])},function(e,t,n){var r,i,o,a,s;r=n(474),i=n(204).utf8,o=n(475),a=n(204).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<>>9<<4)]=l;var h=s._ff,g=s._gg,m=s._hh,v=s._ii;for(p=0;p>>0,u=u+y>>>0,d=d+x>>>0,f=f+w>>>0}return r.endian([c,u,d,f])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,i=0;r>>6-2*i);return t}},e.exports=r},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
+/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */var r=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},o=t(n,.5*r,i),a=t(n,.5*r,o),s=t(n,r,a),l=1/6*(i.dx+2*(o.dx+a.dx)+s.dx),c=1/6*(i.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+c*r,n}return function e(t,r,i){var o,a={x:-1,v:0,tension:null,friction:null},s=[0],l=0,c=void 0,u=void 0;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,a.tension=t,a.friction=r,c=(o=null!==i)?(l=e(t,r))/i*.016:.016;u=n(u||a,c),s.push(1+u.x),l+=16,Math.abs(u.x)>1e-4&&Math.abs(u.v)>1e-4;);return o?function(e){return s[e*(s.length-1)|0]}:l}}();e.exports=r},function(e,t,n){"use strict";var r=n(0);function i(e,t,n,r,i){if(1===r)return n;var o=i(t,n,r);return null==e||((e.roundValue||e.color)&&(o=Math.round(o)),void 0!==e.min&&(o=Math.max(o,e.min)),void 0!==e.max&&(o=Math.min(o,e.max))),o}function o(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}e.exports=function(e,t,n,a,s){var l=null!=s?s.type:null;n<0?n=0:n>1&&(n=1);var c=o(e,s),u=o(t,s);if(r.number(c)&&r.number(u))return i(l,c,u,n,a);if(r.array(c)&&r.array(u)){for(var d=[],f=0;f0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchingStyle=e.batchingNotify=!0,e.batchStyleEles=this.collection(),e.batchNotifyEles=this.collection(),e.batchNotifyTypes=[],e.batchNotifyTypes.ids={}),e.batchCount++,this},endBatch:function(){var e=this._private;return e.batchCount--,0===e.batchCount&&(e.batchingStyle=!1,e.batchStyleEles.updateStyle(),e.batchingNotify=!1,this.notify({type:e.batchNotifyTypes,eles:e.batchNotifyEles})),this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)e.removeChild(e.childNodes[0]);this._private.renderer=null},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};i.invalidateDimensions=i.resize,e.exports=i},function(e,t,n){"use strict";var r=n(0),i=n(7),o={collection:function(e,t){return r.string(e)?this.$(e):r.elementOrCollection(e)?e.collection():r.array(e)?new i(this,e,t):new i(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};o.elements=o.filter=o.$,e.exports=o},function(e,t,n){"use strict";var r=n(0),i=n(18),o={style:function(e){return e&&this.setStyle(e).update(),this._private.style},setStyle:function(e){var t=this._private;return r.stylesheet(e)?t.style=e.generateStyle(this):r.array(e)?t.style=i.fromJson(this,e):r.string(e)?t.style=i.fromString(this,e):t.style=i(this),t.style}};e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(5),a={apply:function(e){var t=this._private,n=t.cy.collection();t.newStyle&&(t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0));for(var r=0;r0;if(c||u){var d=void 0;c&&u||c?d=l.properties:u&&(d=l.mappedProperties);for(var f=0;f0){n=!0;break}t.hasPie=n;var i=e.pstyle("text-transform").strValue,o=e.pstyle("label").strValue,a=e.pstyle("source-label").strValue,s=e.pstyle("target-label").strValue,l=e.pstyle("font-style").strValue,c=e.pstyle("font-size").pfValue+"px",u=e.pstyle("font-family").strValue,d=e.pstyle("font-weight").strValue,f=l+"$"+c+"$"+u+"$"+d+"$"+i+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-valign").strValue+"$"+e.pstyle("text-outline-width").pfValue+"$"+e.pstyle("text-wrap").strValue+"$"+e.pstyle("text-max-width").pfValue;t.labelStyleKey=f,t.sourceLabelKey=f+"$"+a,t.targetLabelKey=f+"$"+s,t.labelKey=f+"$"+o,t.fontKey=l+"$"+d+"$"+c+"$"+u,t.styleKey=Date.now()}},applyParsedProperty:function(e,t){var n=this,o=t,a=e._private.style,s=void 0,l=n.types,c=n.properties[o.name].type,u=o.bypass,d=a[o.name],f=d&&d.bypass,p=e._private,h=function(){n.checkZOrderTrigger(e,o.name,d?d.value:null,o.value)};if("curve-style"===t.name&&"haystack"===t.value&&e.isEdge()&&(e.isLoop()||e.source().isParent()||e.target().isParent())&&(o=t=this.parse(t.name,"bezier",u)),o.delete)return a[o.name]=void 0,h(),!0;if(o.deleteBypassed)return d?!!d.bypass&&(d.bypassed=void 0,h(),!0):(h(),!0);if(o.deleteBypass)return d?!!d.bypass&&(a[o.name]=d.bypassed,h(),!0):(h(),!0);var g=function(){r.error("Do not assign mappings to elements without corresponding data (e.g. ele `"+e.id()+"` for property `"+o.name+"` with data field `"+o.field+"`); try a `["+o.field+"]` selector to limit scope to elements with `"+o.field+"` defined")};switch(o.mapped){case l.mapData:for(var m=o.field.split("."),v=p.data,b=0;b1&&(y=1),c.color){var x=o.valueMin[0],w=o.valueMax[0],k=o.valueMin[1],A=o.valueMax[1],E=o.valueMin[2],S=o.valueMax[2],$=null==o.valueMin[3]?1:o.valueMin[3],C=null==o.valueMax[3]?1:o.valueMax[3],_=[Math.round(x+(w-x)*y),Math.round(k+(A-k)*y),Math.round(E+(S-E)*y),Math.round($+(C-$)*y)];s={bypass:o.bypass,name:o.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!c.number)return!1;var O=o.valueMin+(o.valueMax-o.valueMin)*y;s=this.parse(o.name,O,o.bypass,"mapping")}s||(s=this.parse(o.name,d.strValue,o.bypass,"mapping")),s||g(),s.mapping=o,o=s;break;case l.data:var j=o.field.split("."),T=p.data;if(T)for(var P=0;P0&&l>0){for(var u={},d=!1,f=0;f0?e.delayAnimation(c).play().promise().then(t):t()})).then((function(){return e.animation({style:u,duration:l,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){r.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1}))}else a.transitioning&&(this.removeBypasses(e,s),e.emitAndNotify("style"),a.transitioning=!1)},checkZOrderTrigger:function(e,t,n,r){var i=this.properties[t];null==i.triggersZOrder||null!=n&&!i.triggersZOrder(n,r)||this._private.cy.notify({type:"zorder",eles:e})}};e.exports=a},function(e,t,n){"use strict";var r=n(0),i=n(1),o={applyBypass:function(e,t,n,o){var a=[];if("*"===t||"**"===t){if(void 0!==n)for(var s=0;sn.length?t.substr(n.length):""}function l(){o=o.length>a.length?o.substr(a.length):""}for(t=t.replace(/[/][*](\s|.)+?[*][/]/g,"");!t.match(/^\s*$/);){var c=t.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){r.error("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+t);break}n=c[0];var u=c[1];if("core"!==u&&new i(u)._private.invalid)r.error("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),s();else{var d=c[2],f=!1;o=d;for(var p=[];!o.match(/^\s*$/);){var h=o.match(/^\s*(.+?)\s*:\s*(.+?)\s*;/);if(!h){r.error("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+d),f=!0;break}a=h[0];var g=h[1],m=h[2];this.properties[g]?this.parse(g,m)?(p.push({name:g,val:m}),l()):(r.error("Skipping property: Invalid property definition in: "+a),l()):(r.error("Skipping property: Invalid property name in: "+a),l())}if(f){s();break}this.selector(u);for(var v=0;v node").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3,"curve-style":"haystack"}).selector(":parent <-> node").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector("node:parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}).selector("core").css({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125}),this.defaultLength=this.length},e.exports=o},function(e,t,n){"use strict";var r=n(1),i=n(0),o=n(2),a={parse:function(e,t,n,o){if(i.fn(t))return this.parseImplWarn(e,t,n,o);var a=[e,t,n,"mapping"===o||!0===o||!1===o||null==o?"dontcare":o].join("$"),s=this.propCache=this.propCache||{},l=void 0;return(l=s[a])||(l=s[a]=this.parseImplWarn(e,t,n,o)),(n||"mapping"===o)&&(l=r.copy(l))&&(l.value=r.copy(l.value)),l},parseImplWarn:function(e,t,n,i){var o=this.parseImpl(e,t,n,i);return o||null==t||r.error("The style property `%s: %s` is invalid",e,t),o},parseImpl:function(e,t,n,a){e=r.camel2dash(e);var s=this.properties[e],l=t,c=this.types;if(!s)return null;if(void 0===t)return null;s.alias&&(s=s.pointsTo,e=s.name);var u=i.string(t);u&&(t=t.trim());var d=s.type;if(!d)return null;if(n&&(""===t||null===t))return{name:e,value:t,bypass:!0,deleteBypass:!0};if(i.fn(t))return{name:e,value:t,strValue:"fn",mapped:c.fn,bypass:n};var f=void 0,p=void 0;if(!u||a);else{if(f=new RegExp(c.data.regex).exec(t)){if(n)return!1;var h=c.data;return{name:e,value:f,strValue:""+t,mapped:h,field:f[1],bypass:n}}if(p=new RegExp(c.mapData.regex).exec(t)){if(n)return!1;if(d.multiple)return!1;var g=c.mapData;if(!d.color&&!d.number)return!1;var m=this.parse(e,p[4]);if(!m||m.mapped)return!1;var v=this.parse(e,p[5]);if(!v||v.mapped)return!1;if(m.value===v.value)return!1;if(d.color){var b=m.value,y=v.value;if(!(b[0]!==y[0]||b[1]!==y[1]||b[2]!==y[2]||b[3]!==y[3]&&(null!=b[3]&&1!==b[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:p,strValue:""+t,mapped:g,field:p[1],fieldMin:parseFloat(p[2]),fieldMax:parseFloat(p[3]),valueMin:m.value,valueMax:v.value,bypass:n}}}if(d.multiple&&"multiple"!==a){var x=void 0;if(x=u?t.split(/\s+/):i.array(t)?t:[t],d.evenMultiple&&x.length%2!=0)return null;for(var w=[],k=[],A=[],E=!1,S=0;Sd.max||d.strictMax&&t===d.max))return null;var P={name:e,value:t,strValue:""+t+(_||""),units:_,bypass:n};return d.unitless||"px"!==_&&"em"!==_?P.pfValue=t:P.pfValue="px"!==_&&_?this.getEmSizeInPixels()*t:t,"ms"!==_&&"s"!==_||(P.pfValue="ms"===_?t:1e3*t),"deg"!==_&&"rad"!==_||(P.pfValue="rad"===_?t:o.deg2rad(t)),"%"===_&&(P.pfValue=t/100),P}if(d.propList){var D=[],R=""+t;if("none"===R);else{for(var I=R.split(","),N=0;N0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:l=(l=(l=Math.min((a-2*t)/n.w,(s-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:l)t.maxZoom?t.maxZoom:s)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=l,o.push("zoom"))}if(i&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var c=e.pan;r.number(c.x)&&(t.pan.x=c.x,s=!1),r.number(c.y)&&(t.pan.y=c.y,s=!1),s||o.push("pan")}return o.length>0&&(o.push("viewport"),this.emit(o.join(" ")),this.notify({type:"viewport"})),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify({type:"viewport"})),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(r.string(e)){var n=e;e=this.mutableElements().filter(n)}else r.elementOrCollection(e)||(e=this.mutableElements());if(0!==e.length){var i=e.boundingBox(),o=this.width(),a=this.height();return{x:(o-(t=void 0===t?this._private.zoom:t)*(i.x1+i.x2))/2,y:(a-t*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=i.getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}}};a.centre=a.center,a.autolockNodes=a.autolock,a.autoungrabifyNodes=a.autoungrabify,e.exports=a},function(e,t,n){"use strict";var r=n(1),i=n(4),o=n(7),a=n(12),s=n(95),l=n(0),c=n(11),u={},d={};function f(e,t,n){var s=n,d=function(n){r.error("Can not register `"+t+"` for `"+e+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===e){if(a.prototype[t])return d(t);a.prototype[t]=n}else if("collection"===e){if(o.prototype[t])return d(t);o.prototype[t]=n}else if("layout"===e){for(var f=function(e){this.options=e,n.call(this,e),l.plainObject(this._private)||(this._private={}),this._private.cy=e.cy,this._private.listeners=[],this.createEmitter()},h=f.prototype=Object.create(n.prototype),g=[],m=0;m0;)m();c=n.collection();for(var v=function(e){var t=h[e],n=t.maxDegree(!1),r=t.filter((function(e){return e.degree(!1)===n}));c=c.add(r)},b=0;by.length-1;)y.push([]);y[J].push(X),Z.depth=J,Z.index=y[J].length-1}N()}var K=0;if(t.avoidOverlap)for(var ee=0;eec||0===t)&&(r+=l/u,i++)}return r/=i=Math.max(1,i),0===i&&(r=void 0),ie[e.id()]=r,r},ae=function(e,t){return oe(e)-oe(t)},se=0;se<3;se++){for(var le=0;le0&&y[0].length<=3?u/2:0),f=2*Math.PI/y[i].length*o;return 0===i&&1===y[0].length&&(d=1),{x:de+d*Math.cos(f),y:fe+d*Math.sin(f)}}return{x:de+(o+1-(a+1)/2)*s,y:(i+1)*c}}var p={x:de+(o+1-(a+1)/2)*s,y:(i+1)*c};return p},he={},ge=y.length-1;ge>=0;ge--)for(var me=y[ge],ve=0;ve1&&t.avoidOverlap){p*=1.75;var b=Math.cos(d)-Math.cos(0),y=Math.sin(d)-Math.sin(0),x=Math.sqrt(p*p/(b*b+y*y));f=Math.max(x,f)}return s.layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*d*(a?1:-1),i=f*Math.cos(r),o=f*Math.sin(r);return{x:c+i,y:u+o}})),this},e.exports=s},function(e,t,n){"use strict";var r=n(1),i=n(2),o={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function a(e){this.options=r.extend({},o,e)}a.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,o=t.eles.nodes().not(":parent"),a=i.makeBoundingBox(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=a.x1+a.w/2,l=a.y1+a.h/2,c=[],u=(t.startAngle,0),d=0;d0&&Math.abs(b[0].value-x.value)>=m&&(b=[],v.push(b)),b.push(x)}var w=u+t.minNodeSpacing;if(!t.avoidOverlap){var k=v.length>0&&v[0].length>1,A=(Math.min(a.w,a.h)/2-w)/(v.length+k?1:0);w=Math.min(w,A)}for(var E=0,S=0;S1&&t.avoidOverlap){var O=Math.cos(_)-Math.cos(0),j=Math.sin(_)-Math.sin(0),T=Math.sqrt(w*w/(O*O+j*j));E=Math.max(T,E)}$.r=E,E+=w}if(t.equidistant){for(var P=0,D=0,R=0;R0)var c=(f=r.nodeOverlap*s)*i/(b=Math.sqrt(i*i+o*o)),d=f*o/b;else{var f,p=u(e,i,o),h=u(t,-1*i,-1*o),g=h.x-p.x,m=h.y-p.y,v=g*g+m*m,b=Math.sqrt(v);c=(f=(e.nodeRepulsion+t.nodeRepulsion)/v)*g/b,d=f*m/b}e.isLocked||(e.offsetX-=c,e.offsetY-=d),t.isLocked||(t.offsetX+=c,t.offsetY+=d)}},l=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var o=e.maxY-t.minY;else o=t.maxY-e.minY;return i>=0&&o>=0?Math.sqrt(i*i+o*o):0},u=function(e,t,n){var r=e.positionX,i=e.positionY,o=e.height||1,a=e.width||1,s=n/t,l=o/a,c={};return 0===t&&0n?(c.x=r,c.y=i+o/2,c):0t&&-1*l<=s&&s<=l?(c.x=r-a/2,c.y=i-a*n/2/t,c):0=l)?(c.x=r+o*t/2/n,c.y=i+o/2,c):0>n&&(s<=-1*l||s>=l)?(c.x=r-o*t/2/n,c.y=i-o/2,c):c},d=function(e,t){for(var n=0;n1){var h=t.gravity*d/p,g=t.gravity*f/p;u.offsetX+=h,u.offsetY+=g}}}}},p=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var o=n[r++],a=e.idToIndex[o],s=e.layoutNodes[a],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},m=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],o=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,o=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,o=!0),(null==i.minY||t.minY-i.padTopg&&(f+=h+t.componentSpacing,d=0,p=0,h=0)}}}(0,i),r})).then((function(e){d.layoutNodes=e.layoutNodes,o.stop(),b()}));var b=function(){!0===e.animate||!1===e.animate?v({force:!0,next:function(){n.one("layoutstop",e.stop),n.emit({type:"layoutstop",layout:n})}}):e.eles.nodes().layoutPositions(n,e,(function(e){var t=d.layoutNodes[d.idToIndex[e.data("id")]];return{x:t.positionX,y:t.positionY}}))};return this},c.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},c.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var u=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),s={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:e.width(),clientHeight:e.width(),boundingBox:o.makeBoundingBox(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()})},l=n.eles.components(),c={},u=0;u0)for(s.graphSet.push(A),u=0;ur.count?0:r.graph},f=function e(t,n,r,i){var o=i.graphSet[r];if(-1a){var h=u(),g=d();(h-1)*g>=a?u(h-1):(g-1)*h>=a&&d(g-1)}else for(;c*l=a?d(v+1):u(m+1)}var b=o.w/c,y=o.h/l;if(t.condense&&(b=0,y=0),t.avoidOverlap)for(var x=0;x=c&&(T=0,j++)},D={},R=0;R(r=i.sqdistToFiniteLine(e,t,w[k],w[k+1],w[k+2],w[k+3])))return b(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(w=a.allpts,k=0;k+5(r=i.sqdistToQuadraticBezier(e,t,w[k],w[k+1],w[k+2],w[k+3],w[k+4],w[k+5])))return b(n,r),!0;v=v||o.source,x=x||o.target;var A=l.getArrowWidth(s,u),E=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(k=0;k0&&(y(v),y(x))}function w(e,t,n){return o.getPrefixedProperty(e,t,n)}function k(n,r){var o,a=n._private,s=m;o=r?r+"-":"";var l=n.pstyle(o+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var c=a.rstyle,u=n.pstyle("text-border-width").pfValue,d=n.pstyle("text-background-padding").pfValue,f=w(c,"labelWidth",r)+u+2*s+2*d,p=w(c,"labelHeight",r)+u+2*s+2*d,h=w(c,"labelX",r),g=w(c,"labelY",r),v=w(a.rscratch,"labelAngle",r),y=h-f/2,x=h+f/2,k=g-p/2,A=g+p/2;if(v){var E=Math.cos(v),S=Math.sin(v),$=function(e,t){return{x:(e-=h)*E-(t-=g)*S+h,y:e*S+t*E+g}},C=$(y,k),_=$(y,A),O=$(x,k),j=$(x,A),T=[C.x,C.y,O.x,O.y,j.x,j.y,_.x,_.y];if(i.pointInsidePolygonPoints(e,t,T))return b(n),!0}else{var P={w:f,h:p,x1:y,x2:x,y1:k,y2:A};if(i.inBoundingBox(P,e,t))return b(n),!0}}}n&&(u=u.interactive);for(var A=u.length-1;A>=0;A--){var E=u[A];E.isNode()?y(E)||k(E):x(E)||k(E)||k(E,"source")||k(E,"target")}return d},getAllInBox:function(e,t,n,r){var o=this.getCachedZSortedEles().interactive,a=[],s=Math.min(e,n),l=Math.max(e,n),c=Math.min(t,r),u=Math.max(t,r);e=s,n=l,t=c,r=u;for(var d=i.makeBoundingBox({x1:e,y1:t,x2:n,y2:r}),f=0;fb?b+"$-$"+v:v+"$-$"+b,g&&(t="unbundled$-$"+h.id);var y=u[t];null==y&&(y=u[t]=[],d.push(t)),y.push(Bt),g&&(y.hasUnbundled=!0),m&&(y.hasBezier=!0)}else f.push(Bt)}for(var x=0;xGt.id()){var k=Ht;Ht=Gt,Gt=k}Wt=Ht.position(),Yt=Gt.position(),Xt=Ht.outerWidth(),Qt=Ht.outerHeight(),Zt=Gt.outerWidth(),Jt=Gt.outerHeight(),n=l.nodeShapes[this.getNodeShape(Ht)],o=l.nodeShapes[this.getNodeShape(Gt)],s=!1;var A={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0},E=Wt.x,S=Wt.y,$=Xt,C=Qt,_=Yt.x,O=Yt.y,j=Zt,T=Jt,P=w.length;for(p=0;p=d||w){p={cp:b,segment:x};break}}if(p)break}b=p.cp;var k=(d-g)/(x=p.segment).length,A=x.t1-x.t0,E=u?x.t0+A*k:x.t1-A*k;E=r.bound(0,E,1),t=r.qbezierPtAt(b.p0,b.p1,b.p2,E),c=function(e,t,n,i){var o=r.bound(0,i-.001,1),a=r.bound(0,i+.001,1),s=r.qbezierPtAt(e,t,n,o),l=r.qbezierPtAt(e,t,n,a);return f(s,l)}(b.p0,b.p1,b.p2,E);break;case"straight":case"segments":case"haystack":var S,$,C,_,O=0,j=i.allpts.length;for(v=0;v+3=d));v+=2);E=(d-$)/S,E=r.bound(0,E,1),t=r.lineAt(C,_,E),c=f(C,_)}l("labelX",o,t.x),l("labelY",o,t.y),l("labelAutoAngle",o,c)}};c("source"),c("target"),this.applyLabelDimensions(e)}},applyLabelDimensions:function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},applyPrefixedLabelDimensions:function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r);o.setPrefixedProperty(n.rstyle,"labelWidth",t,i.width),o.setPrefixedProperty(n.rscratch,"labelWidth",t,i.width),o.setPrefixedProperty(n.rstyle,"labelHeight",t,i.height),o.setPrefixedProperty(n.rscratch,"labelHeight",t,i.height)},getLabelText:function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,s=function(e,r){return r?(o.setPrefixedProperty(n.rscratch,e,t,r),r):o.getPrefixedProperty(n.rscratch,e,t)};"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var l=e.pstyle("text-wrap").value;if("wrap"===l){var c=s("labelKey");if(c&&s("labelWrapKey")===c)return s("labelWrapCachedText");for(var u=i.split("\n"),d=e.pstyle("text-max-width").pfValue,f=[],p=0;pd){for(var g=h.split(/\s+/),m="",v=0;vd);k++)x+=i[k],k===i.length-1&&(w=!0);return w||(x+="…"),x}return i},calculateLabelDimensions:function(e,t,n){var r=e._private.labelStyleKey+"$@$"+t;n&&(r+="$@$"+n);var i=this.labelDimCache||(this.labelDimCache={});if(i[r])return i[r];var o=e.pstyle("font-style").strValue,a=1*e.pstyle("font-size").pfValue+"px",s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,c=this.labelCalcDiv;c||(c=this.labelCalcDiv=document.createElement("div"),document.body.appendChild(c));var u=c.style;return u.fontFamily=s,u.fontStyle=o,u.fontSize=a,u.fontWeight=l,u.position="absolute",u.left="-9999px",u.top="-9999px",u.zIndex="-1",u.visibility="hidden",u.pointerEvents="none",u.padding="0",u.lineHeight="1","wrap"===e.pstyle("text-wrap").value?u.whiteSpace="pre":u.whiteSpace="normal",c.textContent=t,i[r]={width:Math.ceil(c.clientWidth/1),height:Math.ceil(c.clientHeight/1)},i[r]},calculateLabelAngles:function(e){var t=e._private.rscratch,n=e.isEdge(),r=e.pstyle("text-rotation"),i=r.strValue;"none"===i?t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle=0:n&&"autorotate"===i?(t.labelAngle=Math.atan(t.midDispY/t.midDispX),t.sourceLabelAngle=t.sourceLabelAutoAngle,t.targetLabelAngle=t.targetLabelAutoAngle):t.labelAngle=t.sourceLabelAngle=t.targetLabelAngle="autorotate"===i?0:r.pfValue}};e.exports=a},function(e,t,n){"use strict";var r={getNodeShape:function(e){var t=e.pstyle("shape").value;if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"cutrectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t}};e.exports=r},function(e,t,n){"use strict";var r={registerCalculationListeners:function(){var e=this.cy,t=e.collection(),n=this,r=function(e,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t.merge(e);for(var i=0;i=e.desktopTapThreshold2}var C=n(i);b&&(e.hoverData.tapholdCancelled=!0),s=!0,t(v,["mousemove","vmousemove","tapdrag"],i,{position:{x:p[0],y:p[1]}});var _=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||l.emit("boxstart"),m[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(b){var O={originalEvent:i,type:"cxtdrag",position:{x:p[0],y:p[1]}};x?x.emit(O):l.emit(O),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&v===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:i,type:"cxtdragout",position:{x:p[0],y:p[1]}}),e.hoverData.cxtOver=v,v&&v.emit({originalEvent:i,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}}else if(e.hoverData.dragging){if(s=!0,l.panningEnabled()&&l.userPanningEnabled()){var T;if(e.hoverData.justStartedPan){var P=e.hoverData.mdownPos;T={x:(p[0]-P[0])*c,y:(p[1]-P[1])*c},e.hoverData.justStartedPan=!1}else T={x:w[0]*c,y:w[1]*c};l.panBy(T),e.hoverData.dragged=!0}p=e.projectIntoViewport(i.clientX,i.clientY)}else if(1!=m[4]||null!=x&&!x.isEdge()){if(x&&x.isEdge()&&x.active()&&x.unactivate(),x&&x.grabbed()||v==y||(y&&t(y,["mouseout","tapdragout"],i,{position:{x:p[0],y:p[1]}}),v&&t(v,["mouseover","tapdragover"],i,{position:{x:p[0],y:p[1]}}),e.hoverData.last=v),x)if(b){if(l.boxSelectionEnabled()&&C)x&&x.grabbed()&&(f(k),x.emit("free")),_();else if(x&&x.grabbed()&&e.nodeIsDraggable(x)){var D=!e.dragData.didDrag;D&&e.redrawHint("eles",!0),e.dragData.didDrag=!0;var R=[];e.hoverData.draggingEles||u(l.collection(k),{inDragLayer:!0});for(var I=0;I0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=l=[]),t(s,["mouseup","tapend","vmouseup"],r,{position:{x:o[0],y:o[1]}}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||t(c,["click","tap","vclick"],r,{position:{x:o[0],y:o[1]}}),s!=c||e.dragData.didDrag||e.hoverData.selecting||null!=s&&s._private.selectable&&(e.hoverData.dragging||("additive"===i.selectionType()||u?s.selected()?s.unselect():s.select():u||(i.$(":selected").unmerge(s).unselect(),s.select())),e.redrawHint("eles",!0)),e.hoverData.selecting){var h=i.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));e.redrawHint("select",!0),h.length>0&&e.redrawHint("eles",!0),i.emit("boxend");var g=function(e){return e.selectable()&&!e.selected()};"additive"===i.selectionType()||u||i.$(":selected").unmerge(h).unselect(),h.emit("box").stdFilter(g).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!a[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var m=c&&c.grabbed();f(l),m&&c.emit("free")}}a[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1),e.registerBinding(e.container,"wheel",(function(t){if(!e.scrollingPage){var n,r=e.cy,i=e.projectIntoViewport(t.clientX,t.clientY),o=[i[0]*r.zoom()+r.pan().x,i[1]*r.zoom()+r.pan().y];e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4]?t.preventDefault():r.panningEnabled()&&r.userPanningEnabled()&&r.zoomingEnabled()&&r.userZoomingEnabled()&&(t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),n=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,n*=e.wheelSensitivity,1===t.deltaMode&&(n*=33),r.zoom({level:r.zoom()*Math.pow(10,n),renderedPosition:{x:o[0],y:o[1]}}))}}),!0),e.registerBinding(window,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var T,P,D,R,I=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},N=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",T=function(n){if(j(n)){e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var r=e.cy,i=e.touchData.now,o=e.touchData.earlier;if(n.touches[0]){var a=e.projectIntoViewport(n.touches[0].clientX,n.touches[0].clientY);i[0]=a[0],i[1]=a[1]}if(n.touches[1]&&(a=e.projectIntoViewport(n.touches[1].clientX,n.touches[1].clientY),i[2]=a[0],i[3]=a[1]),n.touches[2]&&(a=e.projectIntoViewport(n.touches[2].clientX,n.touches[2].clientY),i[4]=a[0],i[5]=a[1]),n.touches[1]){f(e.dragData.touchDragEles);var s=e.findContainerClientCoords();S=s[0],$=s[1],C=s[2],_=s[3],v=n.touches[0].clientX-S,b=n.touches[0].clientY-$,y=n.touches[1].clientX-S,x=n.touches[1].clientY-$,O=0<=v&&v<=C&&0<=y&&y<=C&&0<=b&&b<=_&&0<=x&&x<=_;var c=r.pan(),p=r.zoom();if(w=I(v,b,y,x),k=N(v,b,y,x),E=[((A=[(v+y)/2,(b+x)/2])[0]-c.x)/p,(A[1]-c.y)/p],k<4e4&&!n.touches[2]){var h=e.findNearestElement(i[0],i[1],!0,!0),g=e.findNearestElement(i[2],i[3],!0,!0);return h&&h.isNode()?(h.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=h):g&&g.isNode()?(g.activate().emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=g):r.emit({originalEvent:n,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(n.touches[2]);else if(n.touches[1]);else if(n.touches[0]){var m=e.findNearestElements(i[0],i[1],!0,!0),T=m[0];if(null!=T&&(T.activate(),e.touchData.start=T,e.touchData.starts=m,e.nodeIsGrabbable(T))){var P=e.dragData.touchDragEles=[],D=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),T.selected()?(D=r.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(D,{addToList:P})):d(T,{addToList:P}),l(T);var R=function(e){return{originalEvent:n,type:e,position:{x:i[0],y:i[1]}}};T.emit(R("grabon")),D?D.forEach((function(e){e.emit(R("grab"))})):T.emit(R("grab"))}t(T,["touchstart","tapstart","vmousedown"],n,{position:{x:i[0],y:i[1]}}),null==T&&(e.data.bgActivePosistion={x:a[0],y:a[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||(t(e.touchData.start,["taphold"],n,{position:{x:i[0],y:i[1]}}),e.touchData.start||r.$(":selected").unselect())}),e.tapholdDuration)}if(n.touches.length>=1){for(var M=e.touchData.startPosition=[],z=0;z=e.touchTapThreshold2}if(i&&e.touchData.cxt){n.preventDefault();var D=n.touches[0].clientX-S,R=n.touches[0].clientY-$,M=n.touches[1].clientX-S,z=n.touches[1].clientY-$,L=N(D,R,M,z);if(L/k>=2.25||L>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:n,type:"cxttapend",position:{x:c[0],y:c[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):l.emit(B)}}if(i&&e.touchData.cxt){B={originalEvent:n,type:"cxtdrag",position:{x:c[0],y:c[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):l.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(c[0],c[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:n,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:n,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}else if(i&&n.touches[2]&&l.boxSelectionEnabled())n.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||l.emit("boxstart"),e.touchData.selecting=!0,e.redrawHint("select",!0),s&&0!==s.length&&void 0!==s[0]?(s[2]=(c[0]+c[2]+c[4])/3,s[3]=(c[1]+c[3]+c[5])/3):(s[0]=(c[0]+c[2]+c[4])/3,s[1]=(c[1]+c[3]+c[5])/3,s[2]=(c[0]+c[2]+c[4])/3+1,s[3]=(c[1]+c[3]+c[5])/3+1),s[4]=1,e.touchData.selecting=!0,e.redraw();else if(i&&n.touches[1]&&l.zoomingEnabled()&&l.panningEnabled()&&l.userZoomingEnabled()&&l.userPanningEnabled()){if(n.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var q=0;q0)return h[0]}return null},p=Object.keys(d),h=0;h0?f:r.roundRectangleIntersectLine(o,a,e,t,n,i,s)},checkPoint:function(e,t,n,i,o,a,s){var l=r.getRoundRectangleRadius(i,o),c=2*l;if(r.pointInsidePolygon(e,t,this.points,a,s,i,o-c,[0,-1],n))return!0;if(r.pointInsidePolygon(e,t,this.points,a,s,i-c,o,[0,-1],n))return!0;var u=i/2+2*n,d=o/2+2*n,f=[a-u,s-d,a-u,s,a+u,s,a+u,s-d];return!!r.pointInsidePolygonPoints(e,t,f)||!!r.checkInEllipse(e,t,c,c,a+i/2-l,s+o/2-l,n)||!!r.checkInEllipse(e,t,c,c,a-i/2+l,s+o/2-l,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",r.generateUnitNgonPointsFitToSquare(3,0)),this.generatePolygon("rectangle",r.generateUnitNgonPointsFitToSquare(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle(),this.generatePolygon("diamond",[0,1,1,0,0,-1,-1,0]),this.generatePolygon("pentagon",r.generateUnitNgonPointsFitToSquare(5,0)),this.generatePolygon("hexagon",r.generateUnitNgonPointsFitToSquare(6,0)),this.generatePolygon("heptagon",r.generateUnitNgonPointsFitToSquare(7,0)),this.generatePolygon("octagon",r.generateUnitNgonPointsFitToSquare(8,0));var n=new Array(20),i=r.generateUnitNgonPoints(5,0),o=r.generateUnitNgonPoints(5,Math.PI/5),a=.5*(3-Math.sqrt(5));a*=1.57;for(var s=0;s0&&t.data.lyrTxrCache.invalidateElements(n)}))}l.CANVAS_LAYERS=3,l.SELECT_BOX=0,l.DRAG=1,l.NODE=2,l.BUFFER_COUNT=3,l.TEXTURE_BUFFER=0,l.MOTIONBLUR_BUFFER_NODE=1,l.MOTIONBLUR_BUFFER_DRAG=2,l.redrawHint=function(e,t){var n=this;switch(e){case"eles":n.data.canvasNeedsRedraw[l.NODE]=t;break;case"drag":n.data.canvasNeedsRedraw[l.DRAG]=t;break;case"select":n.data.canvasNeedsRedraw[l.SELECT_BOX]=t}};var u="undefined"!=typeof Path2D;l.path2dEnabled=function(e){if(void 0===e)return this.pathsEnabled;this.pathsEnabled=!!e},l.usePaths=function(){return u&&this.pathsEnabled},[n(126),n(127),n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135)].forEach((function(e){r.extend(l,e)})),e.exports=s},function(e,t,n){"use strict";var r=n(2),i=n(1),o=n(9),a=n(19),s={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},l=function(e){this.renderer=e,this.onDequeues=[],this.setupDequeueing()},c=l.prototype;c.reasons=s,c.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},c.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},c.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new o((function(e,t){return t.reqs-e.reqs}))},c.getElementIdToQueue=function(){return this.eleIdToCacheQueue=this.eleIdToCacheQueue||{}},c.getElement=function(e,t,n,i,o){var a=this,l=this.renderer,c=e._private.rscratch,u=l.cy.zoom();if(0===t.w||0===t.h||!e.visible())return null;if(null==i&&(i=Math.ceil(r.log2(u*n))),i<-4)i=-4;else if(u>=3.99||i>2)return null;var d,f=Math.pow(2,i),p=t.h*f,h=t.w*f,g=c.imgCaches=c.imgCaches||{},m=g[i];if(m)return m;if(d=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||h>1024||e.isEdge()||e.isParent())return null;var v=a.getTextureQueue(d),b=v[v.length-2],y=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=v[v.length-1]),b||(b=y()),b.width-b.usedWidthi;$--)C=a.getElement(e,t,n,$,s.downscale);_()}else{var O;if(!A&&!E&&!S)for($=i-1;$>=-4;$--){var j;if(j=g[$]){O=j;break}}if(k(O))return a.queueElement(e,i),O;b.context.translate(b.usedWidth,0),b.context.scale(f,f),l.drawElement(b.context,e,t,w),b.context.scale(1/f,1/f),b.context.translate(-b.usedWidth,0)}return m=g[i]={ele:e,x:b.usedWidth,texture:b,level:i,scale:f,width:h,height:p,scaledLabelShown:w},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(m),a.checkTextureFullness(b),m},c.invalidateElement=function(e){var t=e._private.rscratch.imgCaches;if(t)for(var n=-4;n<=2;n++){var r=t[n];if(r){var o=r.texture;o.invalidatedWidth+=r.width,t[n]=null,i.removeFromArray(o.eleCaches,r),this.removeFromQueue(e),this.checkTextureUtility(o)}}},c.checkTextureUtility=function(e){e.invalidatedWidth>=.5*e.width&&this.retireTexture(e)},c.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?i.removeFromArray(t,e):e.fullnessChecks++},c.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t);i.removeFromArray(n,e),e.retired=!0;for(var r=e.eleCaches,o=0;o=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,i.clearArray(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),i.removeFromArray(r,a),n.push(a),a}},c.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementIdToQueue(),i=e.id(),o=r[i];if(o)o.level=Math.max(o.level,t),o.reqs++,n.updateItem(o);else{var a={ele:e,level:t,reqs:1};n.push(a),r[i]=a}},c.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=[],i=0;i<1&&t.size()>0;i++){var o=t.pop(),a=o.ele;if(null==a._private.rscratch.imgCaches[o.level]){n[a.id()]=null,r.push(o);var l=a.boundingBox();this.getElement(a,l,e,o.level,s.dequeue)}}return r},c.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementIdToQueue(),r=n[e.id()];null!=r&&(r.reqs=i.MAX_INT,t.updateItem(r),t.pop(),n[e.id()]=null)},c.onDequeue=function(e){this.onDequeues.push(e)},c.offDequeue=function(e){i.removeFromArray(this.onDequeues,e)},c.setupDequeueing=a.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;o.validateLayersElesOrdering(n,e);var l,c,u=o.layersByLevel,d=Math.pow(2,n),f=u[n]=u[n]||[];if(o.levelIsComplete(n,e))return f;!function(){var t=function(t){if(o.validateLayersElesOrdering(t,e),o.levelIsComplete(t,e))return c=u[t],!0},i=function(e){if(!c)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=f.length-1;a>=0;a--){var s=f[a];s.invalid&&r.removeFromArray(f,s)}}();var p=function(t){var r=(t=t||{}).after;if(function(){if(!l){l=i.makeBoundingBox();for(var t=0;t16e6)return null;var a=o.makeLayer(l,n);if(null!=r){var s=f.indexOf(r)+1;f.splice(s,0,a)}else(void 0===t.insert||t.insert)&&f.unshift(a);return a};if(o.skipping&&!s)return null;for(var h=null,g=e.length/1,m=!s,v=0;v=g||!i.boundingBoxInBoundingBox(h.bb,b.boundingBox()))&&!(h=p({insert:!0,after:h})))return null;c||m?o.queueLayer(h,b):o.drawEleInLayer(h,b,n,t),h.eles.push(b),x[n]=h}}return c||(m?null:f)},c.getEleLevelForLayerLevel=function(e,t){return e},c.drawEleInLayer=function(e,t,n,r){var i=this.renderer,o=e.context,a=t.boundingBox();if(0!==a.w&&0!==a.h&&t.visible()){var s=this.eleTxrCache,l=s.reasons.highQuality;n=this.getEleLevelForLayerLevel(n,r);var c=s.getElement(t,a,null,n,l);c?(f(o,!1),o.drawImage(c.texture.canvas,c.x,0,c.width,c.height,a.x1,a.y1,a.w,a.h),f(o,!0)):i.drawElement(o,t)}},c.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(o.invalid)return!1;r+=o.eles.length}return r===t.length},c.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},c.invalidateElements=function(e){var t=this;t.lastInvalidationTime=r.performanceNow(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)}))},c.invalidateLayer=function(e){if(this.lastInvalidationTime=r.performanceNow(),!e.invalid){var t=e.level,n=e.eles,i=this.layersByLevel[t];r.removeFromArray(i,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:f;e.lineWidth=h,e.lineCap="butt",i.strokeStyle(e,d[0],d[1],d[2],n),i.drawEdgePath(t,e,o.allpts,p)},m=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;i.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var v=t.pstyle("ghost-offset-x").pfValue,b=t.pstyle("ghost-offset-y").pfValue,y=t.pstyle("ghost-opacity").value,x=f*y;e.translate(v,b),g(x),m(x),e.translate(-v,-b)}g(),m(),function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;e.lineWidth=l,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",i.strokeStyle(e,u[0],u[1],u[2],n),i.drawEdgePath(t,e,o.allpts,"solid")}(),i.drawElementText(e,t,r),n&&e.translate(s.x1,s.y1)}},drawEdgePath:function(e,t,n,r){var i=e._private.rscratch,o=t,a=void 0,s=!1,l=this.usePaths();if(l){var c=n.join("$");i.pathCacheKey&&i.pathCacheKey===c?(a=t=i.pathCache,s=!0):(a=t=new Path2D,i.pathCacheKey=c,i.pathCache=a)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash([6,3]);break;case"solid":o.setLineDash([])}if(!s&&!i.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),i.edgeType){case"bezier":case"self":case"compound":case"multibezier":if(e.hasClass("horizontal")){var u=n[4],d=n[5],f=(n[0]+n[4])/2;t.lineTo(n[0]+10,n[1]),t.bezierCurveTo(f,n[1],f,n[5],n[4]-10,n[5]),t.lineTo(u,d)}else if(e.hasClass("vertical")){var p=n[4],h=n[5],g=(n[1]+n[5])/2;t.bezierCurveTo(n[0],g,n[4],g,n[4],n[5]-10),t.lineTo(p,h)}else for(var m=2;m+30||j>0&&O>0){var P=f-T;switch(k){case"left":P-=m;break;case"center":P-=m/2}var D=p-v-T,R=m+2*T,I=v+2*T;if(_>0){var N=e.fillStyle,M=t.pstyle("text-background-color").value;e.fillStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+_*o+")","roundrectangle"==t.pstyle("text-background-shape").strValue?(s=P,l=D,c=R,u=I,d=(d=2)||5,(a=e).beginPath(),a.moveTo(s+d,l),a.lineTo(s+c-d,l),a.quadraticCurveTo(s+c,l,s+c,l+d),a.lineTo(s+c,l+u-d),a.quadraticCurveTo(s+c,l+u,s+c-d,l+u),a.lineTo(s+d,l+u),a.quadraticCurveTo(s,l+u,s,l+u-d),a.lineTo(s,l+d),a.quadraticCurveTo(s,l,s+d,l),a.closePath(),a.fill()):e.fillRect(P,D,R,I),e.fillStyle=N}if(j>0&&O>0){var z=e.strokeStyle,L=e.lineWidth,B=t.pstyle("text-border-color").value,F=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+O*o+")",e.lineWidth=j,e.setLineDash)switch(F){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=j/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(P,D,R,I),"double"===F){var q=j/2;e.strokeRect(P+q,D+q,R-2*q,I-2*q)}e.setLineDash&&e.setLineDash([]),e.lineWidth=L,e.strokeStyle=z}}var V=2*t.pstyle("text-outline-width").pfValue;if(V>0&&(e.lineWidth=V),"wrap"===t.pstyle("text-wrap").value){var U=r.getPrefixedProperty(i,"labelWrapCachedLines",n),H=v/U.length;switch(A){case"top":p-=(U.length-1)*H;break;case"center":case"bottom":p-=(U.length-1)*H}for(var G=0;G0&&e.strokeText(U[G],f,p),e.fillText(U[G],f,p),p+=H}else V>0&&e.strokeText(h,f,p),e.fillText(h,f,p);0!==E&&(e.rotate(-E),e.translate(-$,-C))}}},e.exports=o},function(e,t,n){"use strict";var r=n(0),i={drawNode:function(e,t,n,i){var o,a,s=this,l=t._private,c=l.rscratch,u=t.position();if(r.number(u.x)&&r.number(u.y)&&t.visible()){var d=t.effectiveOpacity(),f=s.usePaths(),p=void 0,h=!1,g=t.padding();o=t.width()+2*g,a=t.height()+2*g;var m=void 0;n&&(m=n,e.translate(-m.x1,-m.y1));for(var v=t.pstyle("background-image").value,b=new Array(v.length),y=new Array(v.length),x=0,w=0;w0&&void 0!==arguments[0]?arguments[0]:C;s.fillStyle(e,$[0],$[1],$[2],t)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;s.strokeStyle(e,_[0],_[1],_[2],t)},D=t.pstyle("shape").strValue,R=t.pstyle("shape-polygon-points").pfValue;if(f){var I=D+"$"+o+"$"+a+("polygon"===D?"$"+R.join("$"):"");e.translate(u.x,u.y),c.pathCacheKey===I?(p=c.pathCache,h=!0):(p=new Path2D,c.pathCacheKey=I,c.pathCache=p)}var N,M,z,L=function(){if(!h){var n=u;f&&(n={x:0,y:0}),s.nodeShapes[s.getNodeShape(t)].draw(p||e,n.x,n.y,o,a)}f?e.fill(p):e.fill()},B=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,r=l.backgrounding,i=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;s.hasPie(t)&&(s.drawPie(e,t,r),n&&(f||s.nodeShapes[s.getNodeShape(t)].draw(e,u.x,u.y,o,a)))},q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,n=(E>0?E:-E)*t,r=E>0?0:255;0!==E&&(s.fillStyle(e,r,r,r,n),f?e.fill(p):e.fill())},V=function(){if(S>0){if(e.lineWidth=S,e.lineCap="butt",e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(f?e.stroke(p):e.stroke(),"double"===O){e.lineWidth=S/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(p):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var U=t.pstyle("ghost-offset-x").pfValue,H=t.pstyle("ghost-offset-y").pfValue,G=t.pstyle("ghost-opacity").value,W=G*d;e.translate(U,H),T(G*C),L(),B(W),F(0!==E||0!==S),q(W),P(G*j),V(),e.translate(-U,-H)}T(),L(),B(),F(0!==E||0!==S),q(),P(),V(),f&&e.translate(-u.x,-u.y),s.drawElementText(e,t,i),N=t.pstyle("overlay-padding").pfValue,M=t.pstyle("overlay-opacity").value,z=t.pstyle("overlay-color").value,M>0&&(s.fillStyle(e,z[0],z[1],z[2],M),s.nodeShapes.roundrectangle.draw(e,u.x,u.y,o+2*N,a+2*N),e.fill()),n&&e.translate(m.x1,m.y1)}},hasPie:function(e){return(e=e[0])._private.hasPie},drawPie:function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),o=t.pstyle("pie-size"),a=r.x,s=r.y,l=t.width(),c=t.height(),u=Math.min(l,c)/2,d=0;this.usePaths()&&(a=0,s=0),"%"===o.units?u*=o.pfValue:void 0!==o.pfValue&&(u=o.pfValue/2);for(var f=1;f<=i.pieBackgroundN;f++){var p=t.pstyle("pie-"+f+"-background-size").value,h=t.pstyle("pie-"+f+"-background-color").value,g=t.pstyle("pie-"+f+"-background-opacity").value*n,m=p/100;m+d>1&&(m=1-d);var v=1.5*Math.PI+2*Math.PI*d,b=v+2*Math.PI*m;0===p||d>=1||d+m>1||(e.beginPath(),e.moveTo(a,s),e.arc(a,s,u,v,b),e.closePath(),this.fillStyle(e,h[0],h[1],h[2],g),e.fill(),d+=m)}}};e.exports=i},function(e,t,n){"use strict";var r={},i=n(1);r.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},r.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;is.minMbLowQualFrames&&(s.motionBlurPxRatio=s.mbPxRBlurry)),s.clearingMotionBlur&&(s.motionBlurPxRatio=1),s.textureDrawLastFrame&&!f&&(d[s.NODE]=!0,d[s.SELECT_BOX]=!0);var y=c.style()._private.coreStyle,x=c.zoom(),w=void 0!==o?o:x,k=c.pan(),A={x:k.x,y:k.y},E={zoom:x,pan:{x:k.x,y:k.y}},S=s.prevViewport;void 0===S||E.zoom!==S.zoom||E.pan.x!==S.pan.x||E.pan.y!==S.pan.y||m&&!g||(s.motionBlurPxRatio=1),a&&(A=a),w*=l,A.x*=l,A.y*=l;var $=s.getCachedZSortedEles();function C(e,t,n,r,i){var o=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",s.fillStyle(e,255,255,255,s.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=o}function _(e,r){var i,l,c,d;s.clearingMotionBlur||e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]?(i=A,l=w,c=s.canvasWidth,d=s.canvasHeight):(i={x:k.x*h,y:k.y*h},l=x*h,c=s.canvasWidth*h,d=s.canvasHeight*h),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,d):t||void 0!==r&&!r||e.clearRect(0,0,c,d),n||(e.translate(i.x,i.y),e.scale(l,l)),a&&e.translate(a.x,a.y),o&&e.scale(o,o)}if(f||(s.textureDrawLastFrame=!1),f){if(s.textureDrawLastFrame=!0,!s.textureCache){s.textureCache={},s.textureCache.bb=c.mutableElements().boundingBox(),s.textureCache.texture=s.data.bufferCanvases[s.TEXTURE_BUFFER];var O=s.data.bufferContexts[s.TEXTURE_BUFFER];O.setTransform(1,0,0,1,0,0),O.clearRect(0,0,s.canvasWidth*s.textureMult,s.canvasHeight*s.textureMult),s.render({forcedContext:O,drawOnlyNodeLayer:!0,forcedPxRatio:l*s.textureMult}),(E=s.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:s.canvasWidth,height:s.canvasHeight}).mpan={x:(0-E.pan.x)/E.zoom,y:(0-E.pan.y)/E.zoom}}d[s.DRAG]=!1,d[s.NODE]=!1;var j=u.contexts[s.NODE],T=s.textureCache.texture;E=s.textureCache.viewport,s.textureCache.bb,j.setTransform(1,0,0,1,0,0),p?C(j,0,0,E.width,E.height):j.clearRect(0,0,E.width,E.height);var P=y["outside-texture-bg-color"].value,D=y["outside-texture-bg-opacity"].value;s.fillStyle(j,P[0],P[1],P[2],D),j.fillRect(0,0,E.width,E.height),x=c.zoom(),_(j,!1),j.clearRect(E.mpan.x,E.mpan.y,E.width/E.zoom/l,E.height/E.zoom/l),j.drawImage(T,E.mpan.x,E.mpan.y,E.width/E.zoom/l,E.height/E.zoom/l)}else s.textureOnViewport&&!t&&(s.textureCache=null);var R=c.extent(),I=s.pinching||s.hoverData.dragging||s.swipePanning||s.data.wheelZooming||s.hoverData.draggingEles,N=s.hideEdgesOnViewport&&I,M=[];if(M[s.NODE]=!d[s.NODE]&&p&&!s.clearedForMotionBlur[s.NODE]||s.clearingMotionBlur,M[s.NODE]&&(s.clearedForMotionBlur[s.NODE]=!0),M[s.DRAG]=!d[s.DRAG]&&p&&!s.clearedForMotionBlur[s.DRAG]||s.clearingMotionBlur,M[s.DRAG]&&(s.clearedForMotionBlur[s.DRAG]=!0),d[s.NODE]||n||r||M[s.NODE]){var z=p&&!M[s.NODE]&&1!==h;_(j=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_NODE]:u.contexts[s.NODE]),p&&!z?"motionBlur":void 0),N?s.drawCachedNodes(j,$.nondrag,l,R):s.drawLayeredElements(j,$.nondrag,l,R),s.debug&&s.drawDebugPoints(j,$.nondrag),n||p||(d[s.NODE]=!1)}if(!r&&(d[s.DRAG]||n||M[s.DRAG])&&(z=p&&!M[s.DRAG]&&1!==h,_(j=t||(z?s.data.bufferContexts[s.MOTIONBLUR_BUFFER_DRAG]:u.contexts[s.DRAG]),p&&!z?"motionBlur":void 0),N?s.drawCachedNodes(j,$.drag,l,R):s.drawCachedElements(j,$.drag,l,R),s.debug&&s.drawDebugPoints(j,$.drag),n||p||(d[s.DRAG]=!1)),s.showFps||!r&&d[s.SELECT_BOX]&&!n){if(_(j=t||u.contexts[s.SELECT_BOX]),1==s.selection[4]&&(s.hoverData.selecting||s.touchData.selecting)){x=s.cy.zoom();var L=y["selection-box-border-width"].value/x;j.lineWidth=L,j.fillStyle="rgba("+y["selection-box-color"].value[0]+","+y["selection-box-color"].value[1]+","+y["selection-box-color"].value[2]+","+y["selection-box-opacity"].value+")",j.fillRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]),L>0&&(j.strokeStyle="rgba("+y["selection-box-border-color"].value[0]+","+y["selection-box-border-color"].value[1]+","+y["selection-box-border-color"].value[2]+","+y["selection-box-opacity"].value+")",j.strokeRect(s.selection[0],s.selection[1],s.selection[2]-s.selection[0],s.selection[3]-s.selection[1]))}if(u.bgActivePosistion&&!s.hoverData.selecting){x=s.cy.zoom();var B=u.bgActivePosistion;j.fillStyle="rgba("+y["active-bg-color"].value[0]+","+y["active-bg-color"].value[1]+","+y["active-bg-color"].value[2]+","+y["active-bg-opacity"].value+")",j.beginPath(),j.arc(B.x,B.y,y["active-bg-size"].pfValue/x,0,2*Math.PI),j.fill()}var F=s.lastRedrawTime;if(s.showFps&&F){F=Math.round(F);var q=Math.round(1e3/F);j.setTransform(1,0,0,1,0,0),j.fillStyle="rgba(255, 0, 0, 0.75)",j.strokeStyle="rgba(255, 0, 0, 0.75)",j.lineWidth=1,j.fillText("1 frame = "+F+" ms = "+q+" fps",0,20),j.strokeRect(0,30,250,20),j.fillRect(0,30,250*Math.min(q/60,1),20)}n||(d[s.SELECT_BOX]=!1)}if(p&&1!==h){var V=u.contexts[s.NODE],U=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_NODE],H=u.contexts[s.DRAG],G=s.data.bufferCanvases[s.MOTIONBLUR_BUFFER_DRAG],W=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!b?e.clearRect(0,0,s.canvasWidth,s.canvasHeight):C(e,0,0,s.canvasWidth,s.canvasHeight);var r=h;e.drawImage(t,0,0,s.canvasWidth*r,s.canvasHeight*r,0,0,s.canvasWidth,s.canvasHeight)};(d[s.NODE]||M[s.NODE])&&(W(V,U,M[s.NODE]),d[s.NODE]=!1),(d[s.DRAG]||M[s.DRAG])&&(W(H,G,M[s.DRAG]),d[s.DRAG]=!1)}s.prevViewport=E,s.clearingMotionBlur&&(s.clearingMotionBlur=!1,s.motionBlurCleared=!0,s.motionBlur=!0),p&&(s.motionBlurTimeout=setTimeout((function(){s.motionBlurTimeout=null,s.clearedForMotionBlur[s.NODE]=!1,s.clearedForMotionBlur[s.DRAG]=!1,s.motionBlur=!1,s.clearingMotionBlur=!f,s.mbFrames=0,d[s.NODE]=!0,d[s.DRAG]=!0,s.redraw()}),100)),t||c.emit("render")},e.exports=r},function(e,t,n){"use strict";for(var r=n(2),i={drawPolygonPath:function(e,t,n,r,i,o){var a=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+a*o[0],n+s*o[1]);for(var l=1;l0&&a>0){p.clearRect(0,0,o,a),p.globalCompositeOperation="source-over";var h=this.getCachedZSortedEles();if(e.full)p.translate(-n.x1*c,-n.y1*c),p.scale(c,c),this.drawElements(p,h),p.scale(1/c,1/c),p.translate(n.x1*c,n.y1*c);else{var g=t.pan(),m={x:g.x*c,y:g.y*c};c*=t.zoom(),p.translate(m.x,m.y),p.scale(c,c),this.drawElements(p,h),p.scale(1/c,1/c),p.translate(-m.x,-m.y)}e.bg&&(p.globalCompositeOperation="destination-over",p.fillStyle=e.bg,p.rect(0,0,o,a),p.fill())}return f},i.png=function(e){return a(e,this.bufferCanvasImage(e),"image/png")},i.jpg=function(e){return a(e,this.bufferCanvasImage(e),"image/jpeg")},e.exports=i},function(e,t,n){"use strict";var r={nodeShapeImpl:function(e,t,n,r,i,o,a){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,o);case"polygon":return this.drawPolygonPath(t,n,r,i,o,a);case"roundrectangle":return this.drawRoundRectanglePath(t,n,r,i,o);case"cutrectangle":return this.drawCutRectanglePath(t,n,r,i,o);case"bottomroundrectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,o);case"barrel":return this.drawBarrelPath(t,n,r,i,o)}}};e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(18),a=function e(){if(!(this instanceof e))return new e;this.length=0},s=a.prototype;s.instanceString=function(){return"stylesheet"},s.selector=function(e){return this[this.length++]={selector:e,properties:[]},this},s.css=function(e,t){var n=this.length-1;if(r.string(e))this[n].properties.push({name:e,value:t});else if(r.plainObject(e))for(var a=e,s=0;s=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(239),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(35))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,l=1,c={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=t||n<0||m&&e-c>=o}function w(){var e=p();if(x(e))return k(e);s=setTimeout(w,function(e){var n=t-(e-l);return m?f(n,o-(e-c)):n}(e))}function k(e){return s=void 0,v&&r?b(e):(r=i=void 0,a)}function A(){var e=p(),n=x(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return y(l);if(m)return s=setTimeout(w,t),b(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=g(t)||0,h(n)&&(u=!!n.leading,o=(m="maxWait"in n)?d(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),A.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},A.flush=function(){return void 0===s?a:k(p())},A}}).call(this,n(35))},function(e,t,n){e.exports=n(243)},function(e,t,n){var r,i,o;(function(){var n,a,s,l,c,u,d,f,p,h,g,m,v,b,y;s=Math.floor,h=Math.min,a=function(e,t){return et?1:0},p=function(e,t,n,r,i){var o;if(null==n&&(n=0),null==i&&(i=a),n<0)throw new Error("lo must be non-negative");for(null==r&&(r=e.length);nn;0<=n?t++:t--)c.push(t);return c}.apply(this).reverse()).length;rg;0<=g?++u:--u)m.push(c(e,n));return m},b=function(e,t,n,r){var i,o,s;for(null==r&&(r=a),i=e[n];n>t&&r(i,o=e[s=n-1>>1])<0;)e[n]=o,n=s;return e[n]=i},y=function(e,t,n){var r,i,o,s,l;for(null==n&&(n=a),i=e.length,l=t,o=e[t],r=2*t+1;r
'+e.content+"":s+=">"+e.content+"";var l=t(s);return l.data("selector",e.selector),l.data("on-click-function",e.onClickFunction),l.data("show",void 0===e.show||e.show),l}function y(){var e;l("active")&&(e=s.children(),t(e).each((function(){x(t(this))})),i.off("tapstart",n),s.remove(),c(s=void 0,void 0),c("active",!1),c("anyVisibleChild",!1))}function x(e){var n="string"==typeof e?t("#"+e):e,r=n.data("cy-context-menus-cxtfcn"),o=n.data("selector"),a=n.data("call-on-click-function"),s=n.data("cy-context-menus-cxtcorefcn");r&&i.off("cxttap",o,r),s&&i.off("cxttap",s),a&&n.off("click",a),n.remove()}"get"!==e&&(c("options",a=function(e,t){var n={};for(var r in e)n[r]=e[r];for(var r in t)n[r]=t[r];return n}(r,e)),l("active")&&y(),c("active",!0),o=u(a.contextMenuClasses),(s=t("")).addClass("cy-context-menus-cxt-menu"),c("cxtMenu",s),t("body").append(s),s=s,g(a.menuItems),i.on("tapstart",n=function(){f(s),c("cxtMenuPosition",void 0),c("currentCyEvent",void 0)}),t(".cy-context-menus-cxt-menu").contextmenu((function(){return!1})));return function(e){return{isActive:function(){return l("active")},appendMenuItem:function(t){return m(t),e},appendMenuItems:function(t){return g(t),e},removeMenuItem:function(t){return x(t),e},setTrailingDivider:function(n,r){return function(e,n){var r=t("#"+e);n?r.addClass("cy-context-menus-divider"):r.removeClass("cy-context-menus-divider")}(n,r),e},insertBeforeMenuItem:function(t,n){return v(t,n),e},moveBeforeOtherMenuItem:function(n,r){return function(e,n){if(e!==n){var r=t("#"+e).detach(),i=t("#"+n);r.insertBefore(i)}}(n,r),e},disableMenuItem:function(n){return t("#"+n).attr("disabled",!0),e},enableMenuItem:function(n){return t("#"+n).attr("disabled",!1),e},hideMenuItem:function(n){return t("#"+n).data("show",!1),f(t("#"+n)),e},showMenuItem:function(n){return t("#"+n).data("show",!0),d(t("#"+n)),e},destroy:function(){return y(),e}}}(this)}))}};e.exports&&(e.exports=o),void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r),"undefined"!=typeof cytoscape&&i&&o(cytoscape,i)}()},function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){var r=n(1),i=function(e){e&&e("layout","dagre",r)};"undefined"!=typeof cytoscape&&i(cytoscape),e.exports=i},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=n(2),o=n(3),a=n(4);function s(e){this.options=o({},i,e)}s.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,i=function(e,t){return"function"==typeof t?t.apply(e,[e]):t},o=e.boundingBox||{x1:0,y1:0,w:t.width(),h:t.height()};void 0===o.x2&&(o.x2=o.x1+o.w),void 0===o.w&&(o.w=o.x2-o.x1),void 0===o.y2&&(o.y2=o.y1+o.h),void 0===o.h&&(o.h=o.y2-o.y1);var s=new a.graphlib.Graph({multigraph:!0,compound:!0}),l={},c=function(e,t){null!=t&&(l[e]=t)};c("nodesep",e.nodeSep),c("edgesep",e.edgeSep),c("ranksep",e.rankSep),c("rankdir",e.rankDir),c("ranker",e.ranker),s.setGraph(l),s.setDefaultEdgeLabel((function(){return{}})),s.setDefaultNodeLabel((function(){return{}}));for(var u=n.nodes(),d=0;d1?t-1:0),r=1;r-1}},function(e,t,n){var r=n(75);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(74);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(74),i=n(117),o=n(118);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(64),i=n(262),o=n(23),a=n(151),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r=n(58),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,i=n(263),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},function(e,t,n){var r=n(29)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(266),i=n(74),o=n(117);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(e,t,n){var r=n(267),i=n(268),o=n(269),a=n(270),s=n(271);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(173),i=n(340),o=n(344),a=n(174),s=n(345),l=n(129);e.exports=function(e,t,n){var c=-1,u=i,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=o;else if(d>=200){var g=t?null:s(e);if(g)return l(g);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c-1}},function(e,t,n){var r=n(188),i=n(342),o=n(343);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r1||1===t.length&&e.hasEdge(t[0],t[0])}))}},function(e,t,n){var r=n(22);e.exports=function(e,t,n){return function(e,t,n){var r={},i=e.nodes();return i.forEach((function(e){r[e]={},r[e][e]={distance:0},i.forEach((function(t){e!==t&&(r[e][t]={distance:Number.POSITIVE_INFINITY})})),n(e).forEach((function(n){var i=n.v===e?n.w:n.v,o=t(n);r[e][i]={distance:o,predecessor:e}}))})),i.forEach((function(e){var t=r[e];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=o[e],i=t[n],a=o[n],s=r.distance+i.distance;s0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+e);u=!0}e.nodeEdges(n).forEach(c)}return a}},function(e,t,n){"use strict";var r=n(11),i=n(399),o=n(402),a=n(403),s=n(20).normalizeRanks,l=n(405),c=n(20).removeEmptyRanks,u=n(406),d=n(407),f=n(408),p=n(409),h=n(418),g=n(20),m=n(28).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",(function(){var t=n(" buildLayoutGraph",(function(){return function(e){var t=new m({multigraph:!0,compound:!0}),n=$(e.graph());return t.setGraph(r.merge({},b,S(n,v),r.pick(n,y))),r.forEach(e.nodes(),(function(n){var i=$(e.node(n));t.setNode(n,r.defaults(S(i,x),w)),t.setParent(n,e.parent(n))})),r.forEach(e.edges(),(function(n){var i=$(e.edge(n));t.setEdge(n,r.merge({},A,S(i,k),r.pick(i,E)))})),t}(e)}));n(" runLayout",(function(){!function(e,t){t(" makeSpaceForEdgeLabels",(function(){!function(e){var t=e.graph();t.ranksep/=2,r.forEach(e.edges(),(function(n){var r=e.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===t.rankdir||"BT"===t.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}(e)})),t(" removeSelfEdges",(function(){!function(e){r.forEach(e.edges(),(function(t){if(t.v===t.w){var n=e.node(t.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:t,label:e.edge(t)}),e.removeEdge(t)}}))}(e)})),t(" acyclic",(function(){i.run(e)})),t(" nestingGraph.run",(function(){u.run(e)})),t(" rank",(function(){a(g.asNonCompoundGraph(e))})),t(" injectEdgeLabelProxies",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(n.width&&n.height){var r=e.node(t.v),i={rank:(e.node(t.w).rank-r.rank)/2+r.rank,e:t};g.addDummyNode(e,"edge-proxy",i,"_ep")}}))}(e)})),t(" removeEmptyRanks",(function(){c(e)})),t(" nestingGraph.cleanup",(function(){u.cleanup(e)})),t(" normalizeRanks",(function(){s(e)})),t(" assignRankMinMax",(function(){!function(e){var t=0;r.forEach(e.nodes(),(function(n){var i=e.node(n);i.borderTop&&(i.minRank=e.node(i.borderTop).rank,i.maxRank=e.node(i.borderBottom).rank,t=r.max(t,i.maxRank))})),e.graph().maxRank=t}(e)})),t(" removeEdgeLabelProxies",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);"edge-proxy"===n.dummy&&(e.edge(n.e).labelRank=n.rank,e.removeNode(t))}))}(e)})),t(" normalize.run",(function(){o.run(e)})),t(" parentDummyChains",(function(){l(e)})),t(" addBorderSegments",(function(){d(e)})),t(" order",(function(){p(e)})),t(" insertSelfEdges",(function(){!function(e){var t=g.buildLayerMatrix(e);r.forEach(t,(function(t){var n=0;r.forEach(t,(function(t,i){var o=e.node(t);o.order=i+n,r.forEach(o.selfEdges,(function(t){g.addDummyNode(e,"selfedge",{width:t.label.width,height:t.label.height,rank:o.rank,order:i+ ++n,e:t.e,label:t.label},"_se")})),delete o.selfEdges}))}))}(e)})),t(" adjustCoordinateSystem",(function(){f.adjust(e)})),t(" position",(function(){h(e)})),t(" positionSelfEdges",(function(){!function(e){r.forEach(e.nodes(),(function(t){var n=e.node(t);if("selfedge"===n.dummy){var r=e.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;e.setEdge(n.e,n.label),e.removeNode(t),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}}))}(e)})),t(" removeBorderNodes",(function(){!function(e){r.forEach(e.nodes(),(function(t){if(e.children(t).length){var n=e.node(t),i=e.node(n.borderTop),o=e.node(n.borderBottom),a=e.node(r.last(n.borderLeft)),s=e.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),r.forEach(e.nodes(),(function(t){"border"===e.node(t).dummy&&e.removeNode(t)}))}(e)})),t(" normalize.undo",(function(){o.undo(e)})),t(" fixupEdgeLabelCoords",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(e)})),t(" undoCoordinateSystem",(function(){f.undo(e)})),t(" translateGraph",(function(){!function(e){var t=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,o=0,a=e.graph(),s=a.marginx||0,l=a.marginy||0;function c(e){var r=e.x,a=e.y,s=e.width,l=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-l/2),o=Math.max(o,a+l/2)}r.forEach(e.nodes(),(function(t){c(e.node(t))})),r.forEach(e.edges(),(function(t){var n=e.edge(t);r.has(n,"x")&&c(n)})),t-=s,i-=l,r.forEach(e.nodes(),(function(n){var r=e.node(n);r.x-=t,r.y-=i})),r.forEach(e.edges(),(function(n){var o=e.edge(n);r.forEach(o.points,(function(e){e.x-=t,e.y-=i})),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)})),a.width=n-t+s,a.height=o-i+l}(e)})),t(" assignNodeIntersects",(function(){!function(e){r.forEach(e.edges(),(function(t){var n,r,i=e.edge(t),o=e.node(t.v),a=e.node(t.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))}))}(e)})),t(" reversePoints",(function(){!function(e){r.forEach(e.edges(),(function(t){var n=e.edge(t);n.reversed&&n.points.reverse()}))}(e)})),t(" acyclic.undo",(function(){i.undo(e)}))}(t,n)})),n(" updateInputGraph",(function(){!function(e,t){r.forEach(e.nodes(),(function(n){var r=e.node(n),i=t.node(n);r&&(r.x=i.x,r.y=i.y,t.children(n).length&&(r.width=i.width,r.height=i.height))})),r.forEach(e.edges(),(function(n){var i=e.edge(n),o=t.edge(n);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),e.graph().width=t.graph().width,e.graph().height=t.graph().height}(e,t)}))}))};var v=["nodesep","edgesep","ranksep","marginx","marginy"],b={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],x=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],A={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function S(e,t){return r.mapValues(r.pick(e,t),Number)}function $(e){var t={};return r.forEach(e,(function(e,n){t[n.toLowerCase()]=e})),t}},function(e,t,n){var r=n(149);e.exports=function(e){return r(e,5)}},function(e,t,n){var r=n(89),i=n(57),o=n(90),a=n(48),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&o(t[0],t[1],c)&&(r=1);++n-1?s[l?t[c]:c]:void 0}}},function(e,t,n){var r=n(188),i=n(37),o=n(365),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(e,i(t,3),l)}},function(e,t,n){var r=n(196);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},function(e,t,n){var r=n(367),i=n(23),o=n(61),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},function(e,t,n){var r=n(368),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r=n(128),i=n(169),o=n(48);e.exports=function(e,t){return null==e?e:r(e,i(t),o)}},function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,n){var r=n(79),i=n(127),o=n(37);e.exports=function(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}},function(e,t,n){var r=n(132),i=n(373),o=n(49);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t,n){var r=n(375),i=n(379)((function(e,t,n){r(e,t,n)}));e.exports=i},function(e,t,n){var r=n(73),i=n(198),o=n(128),a=n(376),s=n(23),l=n(48),c=n(199);e.exports=function e(t,n,u,d,f){t!==n&&o(n,(function(o,l){if(f||(f=new r),s(o))a(t,n,l,u,e,d,f);else{var p=d?d(c(t,l),o,l+"",t,n,f):void 0;void 0===p&&(p=o),i(t,l,p)}}),l)}},function(e,t,n){var r=n(198),i=n(155),o=n(164),a=n(156),s=n(165),l=n(66),c=n(13),u=n(189),d=n(59),f=n(64),p=n(23),h=n(377),g=n(67),m=n(199),v=n(378);e.exports=function(e,t,n,b,y,x,w){var k=m(e,n),A=m(t,n),E=w.get(A);if(E)r(e,n,E);else{var S=x?x(k,A,n+"",e,t,w):void 0,$=void 0===S;if($){var C=c(A),_=!C&&d(A),O=!C&&!_&&g(A);S=A,C||_||O?c(k)?S=k:u(k)?S=a(k):_?($=!1,S=i(A,!0)):O?($=!1,S=o(A,!0)):S=[]:h(A)||l(A)?(S=k,l(k)?S=v(k):p(k)&&!f(k)||(S=s(A))):$=!1}$&&(w.set(A,S),y(S,A,b,x,w),w.delete(A)),r(e,n,S)}}},function(e,t,n){var r=n(47),i=n(84),o=n(32),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t,n){var r=n(65),i=n(48);e.exports=function(e){return r(e,i(e))}},function(e,t,n){var r=n(89),i=n(90);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])}));e.exports=s},function(e,t,n){var r=n(88),i=n(86),o=n(37),a=n(184),s=n(393),l=n(82),c=n(394),u=n(49),d=n(13);e.exports=function(e,t,n){t=t.length?r(t,(function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e})):[u];var f=-1;t=r(t,l(o));var p=a(e,(function(e,n,i){return{criteria:r(t,(function(t){return t(e)})),index:++f,value:e}}));return s(p,(function(e,t){return c(e,t,n)}))}},function(e,t){e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},function(e,t,n){var r=n(395);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i=l?c:c*("desc"==n[i]?-1:1)}return e.index-t.index}},function(e,t,n){var r=n(61);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,l=null===t,c=t==t,u=r(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!u&&e0;--l)if(r=t[l].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,(function(t){return e.outEdges(t.v,t.w)})),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.forEach(e.inEdges(i.v),(function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(t,n,s)})),r.forEach(e.outEdges(i.v),(function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,l(t,n,a)})),e.removeNode(i.v),a}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},function(e,t){function n(){var e={};e._next=e._prev=e,this._sentinel=e}function r(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function i(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=n,n.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return r(t),t},n.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&r(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},n.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,i)),n=n._prev;return"["+e.join(", ")+"]"}},function(e,t,n){"use strict";var r=n(11),i=n(20);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),(function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,l=t.w,c=e.node(l).rank,u=t.name,d=e.edge(t),f=d.labelRank;if(c===s+1)return;for(e.removeEdge(t),o=0,++s;sl.lim&&(c=l,u=!0);var d=r.filter(t.edges(),(function(t){return u===b(e,e.node(t.v),c)&&u!==b(e,e.node(t.w),c)}));return r.minBy(d,(function(e){return o(t,e)}))}function v(e,t,n,i){var o=n.v,a=n.w;e.removeEdge(o,a),e.setEdge(i.v,i.w,{}),p(e),d(e,t),function(e,t){var n=r.find(e.nodes(),(function(e){return!t.node(e).parent})),i=s(e,n);i=i.slice(1),r.forEach(i,(function(n){var r=e.node(n).parent,i=t.edge(n,r),o=!1;i||(i=t.edge(r,n),o=!0),t.node(n).rank=t.node(r).rank+(o?i.minlen:-i.minlen)}))}(e,t)}function b(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=u,u.initLowLimValues=p,u.initCutValues=d,u.calcCutValue=f,u.leaveEdge=g,u.enterEdge=m,u.exchangeEdges=v},function(e,t,n){var r=n(11);e.exports=function(e){var t=function(e){var t={},n=0;function i(o){var a=n;r.forEach(e.children(o),i),t[o]={low:a,lim:n++}}return r.forEach(e.children(),i),t}(e);r.forEach(e.graph().dummyChains,(function(n){for(var r=e.node(n),i=r.edgeObj,o=function(e,t,n,r){var i,o,a=[],s=[],l=Math.min(t[n].low,t[r].low),c=Math.max(t[n].lim,t[r].lim);i=n;do{i=e.parent(i),a.push(i)}while(i&&(t[i].low>l||c>t[i].lim));o=i,i=r;for(;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,t,i.v,i.w),a=o.path,s=o.lca,l=0,c=a[l],u=!0;n!==i.w;){if(r=e.node(n),u){for(;(c=a[l])!==s&&e.node(c).maxRank=2),s=u.buildLayerMatrix(e);var m=o(e,s);m0;)t%2&&(n+=l[t+1]),l[t=t-1>>1]+=e.weight;c+=e.weight*n}))),c}e.exports=function(e,t){for(var n=0,r=1;r=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight);t.weight&&(n+=t.barycenter*t.weight,r+=t.weight);e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}function i(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}for(;e.length;){var o=e.pop();t.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(t,(function(e){return!e.merged})),(function(e){return r.pick(e,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(e){return!e.indegree})))}},function(e,t,n){var r=n(11),i=n(20);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n=i.partition(e,(function(e){return r.has(e,"barycenter")})),a=n.lhs,s=r.sortBy(n.rhs,(function(e){return-e.i})),l=[],c=0,u=0,d=0;a.sort((f=!!t,function(e,t){return e.barycentert.barycenter?1:f?t.i-e.i:e.i-t.i})),d=o(l,s,d),r.forEach(a,(function(e){d+=e.vs.length,l.push(e.vs),c+=e.barycenter*e.weight,u+=e.weight,d=o(l,s,d)}));var f;var p={vs:r.flatten(l,!0)};u&&(p.barycenter=c/u,p.weight=u);return p}},function(e,t,n){var r=n(11),i=n(28).Graph;e.exports=function(e,t,n){var o=function(e){var t;for(;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(t){return e.node(t)}));return r.forEach(e.nodes(),(function(i){var s=e.node(i),l=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.forEach(e[n](i),(function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))})),a}},function(e,t,n){var r=n(11);e.exports=function(e,t,n){var i,o={};r.forEach(n,(function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}}))}},function(e,t,n){"use strict";var r=n(11),i=n(20),o=n(419).positionX;e.exports=function(e){(function(e){var t=i.buildLayerMatrix(e),n=e.graph().ranksep,o=0;r.forEach(t,(function(t){var i=r.max(r.map(t,(function(t){return e.node(t).height})));r.forEach(t,(function(t){e.node(t).y=o+i/2})),o+=i+n}))})(e=i.asNonCompoundGraph(e)),r.forEach(o(e),(function(t,n){e.node(n).x=t}))}},function(e,t,n){"use strict";var r=n(11),i=n(28).Graph,o=n(20);function a(e,t){var n={};return r.reduce(t,(function(t,i){var o=0,a=0,s=t.length,c=r.last(i);return r.forEach(i,(function(t,u){var d=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),(function(t){return e.node(t).dummy}))}(e,t),f=d?e.node(d).order:s;(d||t===c)&&(r.forEach(i.slice(a,u+1),(function(t){r.forEach(e.predecessors(t),(function(r){var i=e.node(r),a=i.order;!(as)&&l(n,t,c)}))}))}return r.reduce(t,(function(t,n){var o,a=-1,s=0;return r.forEach(n,(function(r,l){if("border"===e.node(r).dummy){var c=e.predecessors(r);c.length&&(o=e.node(c[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,t.length)})),n})),n}function l(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function c(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function u(e,t,n,i){var o={},a={},s={};return r.forEach(t,(function(e){r.forEach(e,(function(e,t){o[e]=e,a[e]=e,s[e]=t}))})),r.forEach(t,(function(e){var t=-1;r.forEach(e,(function(e){var l=i(e);if(l.length)for(var u=((l=r.sortBy(l,(function(e){return s[e]}))).length-1)/2,d=Math.floor(u),f=Math.ceil(u);d<=f;++d){var p=l[d];a[e]===e&&t\n.menu ul ul {\n margin-left: 12px;\n}\n\n\n\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(425),i=n(21);n(426),angular.module("dbt").directive("modelTreeLine",["$state",function(e){return{scope:{item:"=",depth:"<",resourceType:"@"},replace:!0,templateUrl:r,link:function(t,n,r,o){t.depth||(t.depth=0);var a=t.item.name;if(a){var s=i.last(a,15).join(""),l=i.initial(a,s.length).join("");t.name={name:a,start:l,end:s},t.name_start=l,t.name_end=s,t.onFolderClick=function(n){if(n.active=!n.active,"source"==t.resourceType){var r=n.name;e.go("dbt.source_list",{source:r})}else 0===t.depth&&"database"!==n.type&&e.go("dbt.project_overview",{project_name:n.name})},t.activate=function(n){t.$emit("clearSearch"),n.active=!0;var r="dbt."+n.node.resource_type;e.go(r,{unique_id:n.unique_id})},t.getIcon=function(e,t){return"#"+{header:{on:"icn-down",off:"icn-right"},database:{on:"icn-db-on",off:"icn-db"},schema:{on:"icn-tree-on",off:"icn-tree"},table:{on:"icn-doc-on",off:"icn-doc"},folder:{on:"icn-dir-on",off:"icn-dir"},file:{on:"icn-doc-on",off:"icn-doc"}}[e][t]},t.getClass=function(e){return{active:e.active,"menu-tree":"header"==e.type||"schema"==e.type||"folder"==e.type,"menu-main":"header"==e.type,"menu-node":"file"==e.type||"table"==e.type}}}}}}])},function(e,t){var n="/components/model_tree/model_tree_line.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n \n \n \n \n \n \n {{name.start}}\n {{name.end}}\n \n \n\n \n \n \n \n \n \n {{name.start}}\n {{name.end}}\n \n \n\n \n\n')}]),e.exports=n},function(e,t,n){var r=n(427);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n.unselectable{\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n",""])},function(e,t,n){"use strict";const r=n(9),i=n(429);n(31);n(206),r.module("dbt").directive("docsSearch",["$sce","project",function(e,t){return{scope:{query:"=",results:"=",onSelect:"&"},replace:!0,templateUrl:i,link:function(n){n.max_results=20,n.show_all=!1,n.max_results_columns=3,n.limit_columns={},n.checkboxStatus={show_names:!1,show_descriptions:!1,show_columns:!1,show_code:!1,show_tags:!1},n.limit_search=function(e,t,r){return t0&&null!=n.query&&n.query.trim().length>0){let t=e.replace(/\s+/g," "),o=r(i(n.query)[0]),a=t.search(new RegExp(o)),s=a-75<0?0:a-75,l=a+75>t.length?t.length:a+75;return"..."+t.substring(s,l)+"..."}return e},n.highlight=function(t){if(!n.query||!t)return e.trustAsHtml(t);let o="("+i(n.query).map(e=>r(e)).join(")|(")+")";return e.trustAsHtml(t.replace(new RegExp(o,"gi"),'$&'))},n.$watch("query",(function(e,t){0==e.length&&(n.show_all=!1,n.limit_columns={})})),n.columnFilter=function(e){var t=[];let r=i(n.query);for(var o in e)r.every(e=>-1!=o.toLowerCase().indexOf(e))&&t.push(o);return t},n.limitColumns=function(e){return void 0!==n.limit_columns[e]?n.limit_columns[e]:3}}}}])},function(e,t){var n="/components/search/search.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(431);n(432);const i=n(21);angular.module("dbt").directive("tableDetails",["$sce","$filter",function(e,t){return{scope:{model:"=",extras:"=",exclude:"<"},templateUrl:r,link:function(e){function n(e,t){if(0==e)return"0 bytes";if(e<1&&(e*=1e6),isNaN(parseFloat(e))||!isFinite(e))return"-";void 0===t&&(t=0);var n=Math.floor(Math.log(e)/Math.log(1024));return(e/Math.pow(1024,Math.floor(n))).toFixed(t)+" "+["bytes","KB","MB","GB","TB","PB"][n]}function r(e,n){return void 0===n&&(n=2),t("number")(100*e,n)+"%"}function o(e,n){return void 0===n&&(n=0),t("number")(e,n)}e.details=[],e.extended=[],e.exclude=e.exclude||[],e.meta=null,e._show_expanded=!1,e.show_expanded=function(t){return void 0!==t&&(e._show_expanded=t),e._show_expanded},e.hasData=function(e){return!(!e||i.isEmpty(e))&&(1!=e.length||0!=e[0].include)},e.$watch("model",(function(t,a){i.property(["metadata","type"])(t);var s,l,c,u=t.hasOwnProperty("sources")&&null!=t.sources[0]?t.sources[0].source_meta:null;if(e.meta=t.meta||u,e.details=function(e){var t,n,r=!e.metadata,o=e.metadata||{};t=e.database?e.database+".":"",n=r?void 0:"source"==e.resource_type?t+e.schema+"."+e.identifier:t+e.schema+"."+e.alias;var a,s=[{name:"Owner",value:o.owner},{name:"Type",value:r?void 0:(a=o.type,"BASE TABLE"==a?{type:"table",name:"table"}:"LATE BINDING VIEW"==a?{type:"view",name:"late binding view"}:{type:a.toLowerCase(),name:a.toLowerCase()}).name},{name:"Package",value:e.package_name},{name:"Language",value:e.language},{name:"Relation",value:n}];return i.filter(s,(function(e){return void 0!==e.value}))}(t),e.extended=(s=t.stats,l={rows:o,row_count:o,num_rows:o,max_varchar:o,pct_used:r,size:n,bytes:n,num_bytes:n},c=i.sortBy(i.values(s),"label"),i.map(c,(function(e){var t=i.clone(e),n=l[e.id];return n&&(t.value=n(e.value),t.label=e.label.replace("Approximate","~"),t.label=e.label.replace("Utilization","Used")),t}))),e.extras){var d=i.filter(e.extras,(function(e){return void 0!==e.value&&null!==e.value}));e.details=e.details.concat(d)}e.show_extended=i.where(e.extended,{include:!0}).length>0})),e.queryTag=function(t){e.$emit("query",t)}}}}])},function(e,t){var n="/components/table_details/table_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
Details
\n
\n
\n
\n
\n
\n
\n
\n - {{ k }}
\n - {{ v }}
\n
\n
\n
\n
\n
\n
\n - Tags
\n - \n
{{ tag }}
\n \n - untagged
\n
\n
\n - {{ item.name }}
\n - {{ item.value }}
\n
\n
\n
\n
\n
\n
\n - {{ item.label }}
\n - {{ item.value }}
\n
\n
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){var r=n(433);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n\n.details-content {\n table-layout: fixed;\n}\n\n.detail-body {\n white-space: nowrap;\n overflow-x: scroll;\n}\n",""])},function(e,t,n){"use strict";const r=n(435),i=n(21);angular.module("dbt").directive("columnDetails",["project",function(e){return{scope:{model:"="},templateUrl:r,link:function(t){t.has_test=function(e,t){return-1!=i.pluck(e.tests,"short").indexOf(t)},t.has_more_info=function(e){var t=e.tests||[],n=e.description||"",r=e.meta||{};return t.length||n.length||!i.isEmpty(r)},t.toggle_column_expanded=function(e){t.has_more_info(e)&&(e.expanded=!e.expanded)},t.getState=function(e){return"dbt."+e.resource_type},t.get_col_name=function(t){return e.caseColumn(t)},t.get_columns=function(e){var t=i.chain(e.columns).values().sortBy("index").value();return i.each(t,(function(e,t){e.index=t})),t}}}}])},function(e,t){var n="/components/column_details/column_details.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
\n
\n Column information is not available for this seed\n
\n
\n
\n \n \n Column | \n Type | \n Description | \n Tests | \n More? | \n
\n \n \n \n \n \n {{ get_col_name(column.name) }}\n \n | \n \n {{ column.type }}\n | \n \n {{ column.description }}\n | \n \n \n U\n N\n F\n A\n +\n \n | \n \n \n \n \n \n \n \n \n \n | \n
\n \n \n \n \n Details\n \n \n \n - {{ k }}
\n - {{ v }}
\n \n \n \n \n\n \n Description\n \n \n\n \n \n | \n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(437);n(31),n(438);function i(e){return"python"===e?"language-python":"language-sql"}angular.module("dbt").directive("codeBlock",["code","$timeout",function(e,t){return{scope:{versions:"=",default:"<",language:"="},restrict:"E",templateUrl:r,link:function(n,r){n.selected_version=n.default,n.language_class=i(n.language),n.source=null,n.setSelected=function(r){n.selected_version=r,n.source=n.versions[r]||"";const i=n.source.trim();n.highlighted=e.highlight(i,n.language),t((function(){Prism.highlightAll()}))},n.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},n.copied=!1,n.copy_to_clipboard=function(){e.copy_to_clipboard(n.source),n.copied=!0,setTimeout((function(){n.$apply((function(){n.copied=!1}))}),1e3)},n.$watch("language",(function(e,t){e&&e!=t&&(n.language_class=i(e))}),!0),n.$watch("versions",(function(e,t){if(e)if(n.default)n.setSelected(n.default);else{var r=Object.keys(n.versions);r.length>0&&n.setSelected(r[0])}}),!0)}}}])},function(e,t){var n="/components/code_block/code_block.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'Code
\n\n')}]),e.exports=n},function(e,t,n){var r=n(439);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"pre.code {\n border: none !important;\n overflow-y: visible !important;\n overflow-x: scroll !important;\n padding-bottom: 10px;\n}\n\npre.code code {\n font-family: Monaco, monospace !important;\n font-weight: 400 !important;\n}\n\n.line-numbers-rows {\n border: none !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(441);angular.module("dbt").directive("macroArguments",[function(){return{scope:{macro:"="},templateUrl:r,link:function(e){_.each(e.macro.arguments,(function(e){e.expanded=!1}))}}}])},function(e,t){var n="/components/macro_arguments/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n\n
\n
\n Details are not available for this macro\n
\n
\n
\n \n \n \n \n \n More? | \n
\n \n \n \n \n \n {{ arg.name }}\n \n | \n \n {{ arg.type }}\n | \n \n {{ arg.description }}\n | \n \n \n \n \n \n \n \n \n \n | \n
\n \n \n \n \n Description\n \n \n \n | \n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){"use strict";const r=n(443);angular.module("dbt").directive("referenceList",["$state",function(e){return{scope:{references:"=",node:"="},restrict:"E",templateUrl:r,link:function(t){t.selected_type=null,t.setType=function(e){t.selected_type=e,t.nodes=t.references[t.selected_type]},t.getNodeUrl=function(t){var n="dbt."+t.resource_type;return e.href(n,{unique_id:t.unique_id,"#":null})},t.mapResourceType=function(e){return"model"==e?"Models":"seed"==e?"Seeds":"test"==e?"Tests":"snapshot"==e?"Snapshots":"analysis"==e?"Analyses":"macro"==e?"Macros":"exposure"==e?"Exposures":"metric"==e?"Metrics":"operation"==e?"Operations":"Nodes"},t.$watch("references",(function(e){e&&_.size(e)>0?(t.selected_type=_.keys(e)[0],t.has_references=!0,t.nodes=t.references[t.selected_type]):t.has_references=!1}))}}}])},function(e,t){var n="/components/references/index.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n
\n No resources reference this {{ node.resource_type }}\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t,n){n(445),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455)},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("ModelCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.copied=!1,e.copy_to_clipboard=function(t){r.copy_to_clipboard(t),e.copied=!0,setTimeout((function(){e.$apply((function(){e.copied=!1}))}),1e3)},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,"\n.nav-tabs li.nav-pull-right {\n flex: 1 0 auto;\n text-align: right;\n}\n\ntr.column-row-selected {\n\n}\n\ntd.column-expanded{\n padding: 0px !important;\n}\n\ntd.column-expanded > div {\n padding: 5px 10px;\n margin-left: 20px;\n height: 100%;\n\n border-left: 1px solid #ccc !important;\n}\n",""])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SourceCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.versions={"Sample SQL":r.generateSourceSQL(e.model)},e.extra_table_fields=[{name:"Loader",value:e.model.loader},{name:"Source",value:e.model.source_name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SeedCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,o,a,s){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.versions={"Example SQL":r.generateSourceSQL(e.model)}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("SnapshotCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"Compiled SQL is not available for this snapshot"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("TestCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";const r=n(9),i=n(21),o=n(33);n(34),r.module("dbt").controller("MacroCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,a,s,l){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.macro={},n.ready((function(t){let n=t.macros[e.model_uid];if(e.macro=n,e.references=o.getMacroReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=o.getMacroParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.macro.is_adapter_macro){var r=t.metadata.adapter_type;e.versions=n.impls,n.impls[r]?e.default_version=r:n.impls.default?e.default_version="default":e.default_version=i.keys(n.impls)[0]}else e.default_version="Source",e.versions={Source:e.macro.macro_sql}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("AnalysisCtrl",["$scope","$state","project","code","$transitions","$anchorScroll","$location",function(e,t,n,r,o,a,s){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.default_version="Source",e.versions={Source:"",Compiled:""},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language,e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code}}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("ExposureCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.exposure={},n.ready((function(t){let n=t.nodes[e.model_uid];e.exposure=n,e.parents=i.getParents(t,n),e.parentsLength=e.parents.length,e.language=n.language,e.extra_table_fields=[{name:"Maturity",value:e.exposure.maturity},{name:"Owner",value:e.exposure.owner.name},{name:"Owner email",value:e.exposure.owner.email},{name:"Exposure name",value:e.exposure.name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("MetricCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.project=n,e.codeService=r,e.extra_table_fields=[],e.versions={},e.metric={},n.ready((function(t){let n=t.nodes[e.model_uid];e.metric=n,e.parents=i.getParents(t,n),e.parentsLength=e.parents.length,e.versions={Definition:r.generateMetricSQL(e.metric)};const o="expression"===e.metric.type?"Expression metric":"Aggregate metric";e.extra_table_fields=[{name:"Metric Type",value:o},{name:"Metric name",value:e.metric.name}]}))}])},function(e,t,n){"use strict";const r=n(9),i=n(33);n(34),r.module("dbt").controller("OperationCtrl",["$scope","$state","project","code","$anchorScroll","$location",function(e,t,n,r,o,a){e.model_uid=t.params.unique_id,e.tab=t.params.tab,e.project=n,e.codeService=r,e.versions={},e.model={},n.ready((function(t){let n=t.nodes[e.model_uid];e.model=n,e.references=i.getReferences(t,n),e.referencesLength=Object.keys(e.references).length,e.parents=i.getParents(t,n),e.parentsLength=Object.keys(e.parents).length,e.language=n.language;e.versions={Source:e.model.raw_code,Compiled:e.model.compiled_code||"\n-- compiled code not found for this model\n"},setTimeout((function(){o()}),0)}))}])},function(e,t,n){"use strict";n(9).module("dbt").controller("GraphCtrl",["$scope","$state","$window","graph","project","selectorService",function(e,t,n,r,i,o){function a(e){return e&&"source"==e.resource_type?"source:"+e.source_name+"."+e.name:e&&"exposure"==e.resource_type?"exposure:"+e.name:e&&"metric"==e.resource_type?"metric:"+e.name:e.name?e.name:"*"}e.graph=r.graph,e.graphService=r,e.graphRendered=function(e){r.setGraphReady(e)},e.$watch((function(){return t.params.unique_id}),(function(e,t){e&&e!=t&&i.find_by_id(e,(function(e){e&&("sidebar"==r.orientation?r.showVerticalGraph(a(e),!1):r.showFullGraph(a(e)))})),e||o.clearViewNode()}))}])},function(e,t,n){"use strict";const r=n(9),i=n(21),o=n(31),a=n(458);n(459),n(206),n(467),n(469),n(472),n(476),r.module("dbt").controller("MainController",["$scope","$route","$state","project","graph","selectorService","trackingService","locationService","$transitions",function(e,t,n,r,s,l,c,u,d){function f(t){e.model_uid=t;var n=r.node(t);n&&l.resetSelection(n)}function p(e){e&&setTimeout((function(){var t=o("*[data-nav-unique-id='"+e+"']");t.length&&t[0].scrollIntoView&&t[0].scrollIntoView({behavior:"smooth",block:"center",inline:"center"})}),1)}e.tree={database:{},project:{},sources:{}},e.search={query:"",results:[],is_focused:!1},e.logo=a,e.model_uid=null,e.project={},o("body").bind("keydown",(function(e){"t"==event.key&&"INPUT"!=event.target.tagName&&(console.log("Opening search"),o("#search").focus(),event.preventDefault())})),e.onSearchFocus=function(t,n){e.search.is_focused=n},e.clearSearch=function(){e.search.is_focused=!1,e.search.query="",e.search.results=[],o("#search").blur()},e.$on("clearSearch",(function(){e.clearSearch()})),e.$on("query",(function(t,n){e.search.is_focused=!0,e.search.query=n})),e.onSearchKeypress=function(t){"Escape"==t.key&&(e.clearSearch(),t.preventDefault())},r.getModelTree(n.params.unique_id,(function(t){e.tree.database=t.database,e.tree.project=t.project,e.tree.sources=t.sources,e.tree.exposures=t.exposures,e.tree.metrics=t.metrics,setTimeout((function(){p(e.model_uid)}))})),d.onSuccess({},(function(t,n){var i=t.router.globals.params,o=l.getViewNode(),a=o?o.unique_id:null,s=i.unique_id,u=!0;if(t.from().name==t.to().name&&a==s&&(u=!1),u&&i.unique_id){var d=r.updateSelected(i.unique_id);e.tree.database=d.database,e.tree.project=d.project,e.tree.sources=d.sources,e.search.query="",console.log("updating selected model to: ",i),f(i.unique_id),setTimeout((function(){p(i.unique_id)}))}u&&c.track_pageview()})),e.$watch("search.query",(function(t){e.search.results=function(t){if(""===e.search.query)return t;let n={name:10,tags:5,description:3,raw_code:2,columns:1};return i.each(t,(function(t){t.overallWeight=0,i.each(Object.keys(n),(function(r){if(null!=t.model[r]){let o=0,a=t.model[r],s=e.search.query.toLowerCase();if("columns"===r)i.each(a,(function(e){if(e.name){let t=e.name.toLowerCase(),n=0;for(;-1!=n;)n=t.indexOf(s,n),-1!=n&&(o++,n++)}}));else if("tags"===r)i.each(a,(function(e){let t=e.toLowerCase(),n=0;for(;-1!=n;)n=t.indexOf(s,n),-1!=n&&(o++,n++)}));else{a=a.toLowerCase();let e=0;for(;-1!=e;)e=a.indexOf(s,e),-1!=e&&(o++,e++)}t.overallWeight+=o*n[r]}}))})),t}(r.search(t))})),r.init(),r.ready((function(t){e.project=t,e.search.results=r.search("");var o=i.unique(i.pluck(i.values(t.nodes),"package_name")).sort(),a=[null];i.each(t.nodes,(function(e){var t=e.tags;a=i.union(a,t).sort()})),l.init({packages:o,tags:a}),f(n.params.unique_id);var d=u.parseState(n.params);d.show_graph&&s.ready((function(){i.assign(l.selection.dirty,d.selected);var e=l.updateSelection();s.updateGraph(e)}));var p=t.metadata||{};c.init({track:p.send_anonymous_usage_stats,project_id:p.project_id})}))}])},function(e,t){e.exports="data:image/svg+xml,%3Csvg width='242' height='90' viewBox='0 0 242 90' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M240.384 74.5122L239.905 75.8589H239.728L239.249 74.5156V75.8589H238.941V74.0234H239.324L239.816 75.3872L240.309 74.0234H240.691V75.8589H240.384V74.5122ZM238.671 74.3003H238.169V75.8589H237.858V74.3003H237.352V74.0234H238.671V74.3003Z' fill='%23262A38'/%3E %3Cpath d='M154.123 13.915V75.3527H141.672V69.0868C140.37 71.2839 138.499 73.0742 136.22 74.2134C133.779 75.434 131.012 76.085 128.246 76.085C124.828 76.1664 121.41 75.1899 118.562 73.2369C115.633 71.2839 113.354 68.5986 111.889 65.425C110.262 61.7631 109.448 57.8572 109.529 53.8698C109.448 49.8825 110.262 45.9765 111.889 42.3961C113.354 39.3038 115.633 36.6185 118.481 34.7469C121.41 32.8753 124.828 31.9801 128.246 32.0615C130.931 32.0615 133.616 32.6311 135.976 33.8517C138.255 34.991 140.126 36.6999 141.428 38.8156V18.0651L154.123 13.915ZM139.15 63.2279C140.777 61.1121 141.672 58.0199 141.672 54.0326C141.672 50.0452 140.859 47.0344 139.15 44.9187C137.441 42.8029 134.755 41.5823 131.989 41.6637C129.222 41.5009 126.537 42.7215 124.746 44.8373C123.038 46.953 122.142 49.9639 122.142 53.8698C122.142 57.8572 123.038 60.9494 124.746 63.1465C126.455 65.3436 129.222 66.5642 131.989 66.4828C135.081 66.4828 137.522 65.3436 139.15 63.2279Z' fill='%23262A38'/%3E %3Cpath d='M198.635 34.6655C201.564 36.5371 203.843 39.2225 205.226 42.3147C206.853 45.8952 207.667 49.8011 207.586 53.7885C207.667 57.7758 206.853 61.7632 205.226 65.3436C203.761 68.5172 201.483 71.2026 198.553 73.1556C195.705 75.0272 192.287 76.0037 188.87 75.9223C186.103 76.0037 183.336 75.3527 180.895 74.0507C178.617 72.9114 176.745 71.1212 175.524 68.9241V75.2713H162.993V18.0651L175.606 13.915V38.9783C176.826 36.7812 178.698 34.991 180.976 33.8517C183.418 32.5498 186.103 31.8988 188.87 31.9801C192.287 31.8988 195.705 32.8753 198.635 34.6655ZM192.45 63.1465C194.159 60.9494 194.973 57.8572 194.973 53.7885C194.973 49.8825 194.159 46.8716 192.45 44.7559C190.741 42.6402 188.381 41.5823 185.289 41.5823C182.523 41.4196 179.837 42.6402 178.047 44.8373C176.338 47.0344 175.524 50.0452 175.524 53.9512C175.524 57.9386 176.338 61.0308 178.047 63.1465C179.756 65.3436 182.441 66.5642 185.289 66.4015C188.056 66.5642 190.741 65.3436 192.45 63.1465Z' fill='%23262A38'/%3E %3Cpath d='M225 42.4774V58.915C225 61.2749 225.651 62.9838 226.791 64.0416C228.093 65.1809 229.801 65.7505 231.592 65.6691C232.975 65.6691 234.44 65.425 235.742 65.0995V74.8644C233.382 75.6782 230.941 76.085 228.499 76.0037C223.292 76.0037 219.304 74.5389 216.537 71.6094C213.771 68.68 212.387 64.5299 212.387 59.1592V23.1103L225 19.0416V33.038H235.742V42.4774H225Z' fill='%23262A38'/%3E %3Cpath d='M86.1754 3.74322C88.2911 5.77758 89.6745 8.46293 90 11.3924C90 12.613 89.6745 13.4268 88.9421 14.9729C88.2098 16.519 79.1772 32.1429 76.4919 36.4557C74.9458 38.9783 74.132 41.9892 74.132 44.9186C74.132 47.9295 74.9458 50.859 76.4919 53.3816C79.1772 57.6944 88.2098 73.3996 88.9421 74.9457C89.6745 76.4919 90 77.2242 90 78.4448C89.6745 81.3743 88.3725 84.0597 86.2568 86.0127C84.2224 88.1284 81.5371 89.5118 78.689 89.7559C77.4684 89.7559 76.6546 89.4304 75.1899 88.698C73.7251 87.9656 57.7758 79.1772 53.4629 76.4919C53.1374 76.3291 52.8119 76.085 52.4051 75.9222L31.085 63.3092C31.5732 67.3779 33.3635 71.2839 36.2929 74.132C36.8626 74.7016 37.4322 75.1899 38.0832 75.6781C37.5949 75.9222 37.0253 76.1664 36.5371 76.4919C32.2242 79.1772 16.519 88.2098 14.9729 88.9421C13.4268 89.6745 12.6944 90 11.3924 90C8.46293 89.6745 5.77758 88.3725 3.82459 86.2568C1.70886 84.2224 0.325497 81.5371 0 78.6076C0.0813743 77.387 0.406872 76.1664 1.05787 75.1085C1.79024 73.5624 10.8228 57.8571 13.5081 53.5443C15.0542 51.0217 15.868 48.0922 15.868 45.0814C15.868 42.0705 15.0542 39.141 13.5081 36.6184C10.8228 32.1429 1.70886 16.4376 1.05787 14.8915C0.406872 13.8336 0.0813743 12.613 0 11.3924C0.325497 8.46293 1.62749 5.77758 3.74322 3.74322C5.77758 1.62749 8.46293 0.325497 11.3924 0C12.613 0.0813743 13.8336 0.406872 14.9729 1.05787C16.2749 1.62749 27.7486 8.30018 33.8517 11.8807L35.2351 12.6944C35.7233 13.0199 36.1302 13.264 36.4557 13.4268L37.1067 13.8336L58.8336 26.6908C58.3454 21.8083 55.8228 17.3327 51.9168 14.3219C52.4051 14.0778 52.9747 13.8336 53.4629 13.5081C57.7758 10.8228 73.481 1.70886 75.0271 1.05787C76.085 0.406872 77.3056 0.0813743 78.6076 0C81.4557 0.325497 84.1411 1.62749 86.1754 3.74322ZM46.1392 50.7776L50.7776 46.1392C51.4286 45.4882 51.4286 44.5118 50.7776 43.8608L46.1392 39.2224C45.4882 38.5714 44.5118 38.5714 43.8608 39.2224L39.2224 43.8608C38.5714 44.5118 38.5714 45.4882 39.2224 46.1392L43.8608 50.7776C44.4304 51.3472 45.4882 51.3472 46.1392 50.7776Z' fill='%23FF694A'/%3E %3C/svg%3E"},function(e,t,n){"use strict";n.r(t);var r=n(63),i=n.n(r);n(460),n(461),n(462),n(463),n(465);const o=n(9),a=(n(31),n(21));window.Prism=i.a,o.module("dbt").factory("code",["$sce",function(e){var t={copied:!1,highlight:function(t,n="sql"){if("sql"==n)var r=i.a.highlight(t,i.a.languages.sql,"sql");else if("python"==n)r=i.a.highlight(t,i.a.languages.python,"python");return e.trustAsHtml(r)},copy_to_clipboard:function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)},generateSourceSQL:function(e){var t=["select"],n=a.size(e.columns),r=a.keys(e.columns);a.each(r,(function(e,r){var i=" "+e;r+1!=n&&(i+=","),t.push(i)}));const i=(e.database?e.database+".":"")+e.schema+"."+e.identifier;return t.push("from "+i),t.join("\n")},generateMetricSQL:function(e){if("derived"==e.calculation_method)return"-- derived\n"+e.expression;const t=[`select ${e.calculation_method}(${e.expression})`,`from {{ ${e.model} }}`];if(e.filters.length>0){const n=e.filters.map(e=>`${e.field} ${e.operator} ${e.value}`).join(" AND ");t.push("where "+n)}return t.join("\n")}};return t}])},function(e,t){Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},function(e,t){Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},function(e,t){!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e=/\n(?!$)/g,t=Prism.plugins.lineNumbers={getLine:function(e,t){if("PRE"===e.tagName&&e.classList.contains("line-numbers")){var n=e.querySelector(".line-numbers-rows");if(n){var r=parseInt(e.getAttribute("data-start"),10)||1,i=r+(n.children.length-1);t
i&&(t=i);var o=t-r;return n.children[o]}}},resize:function(e){r([e])},assumeViewportIndependence:!0},n=void 0;window.addEventListener("resize",(function(){t.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,r(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))})),Prism.hooks.add("complete",(function(t){if(t.code){var n=t.element,i=n.parentNode;if(i&&/pre/i.test(i.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,"line-numbers")){n.classList.remove("line-numbers"),i.classList.add("line-numbers");var o,a=t.code.match(e),s=a?a.length+1:1,l=new Array(s+1).join("");(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=l,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(o),r([i]),Prism.hooks.run("line-numbers",t)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function r(t){if(0!=(t=t.filter((function(e){var t=function(e){if(!e)return null;return window.getComputedStyle?getComputedStyle(e):e.currentStyle||null}(e)["white-space"];return"pre-wrap"===t||"pre-line"===t}))).length){var n=t.map((function(t){var n=t.querySelector("code"),r=t.querySelector(".line-numbers-rows");if(n&&r){var i=t.querySelector(".line-numbers-sizer"),o=n.textContent.split(e);i||((i=document.createElement("span")).className="line-numbers-sizer",n.appendChild(i)),i.innerHTML="0",i.style.display="block";var a=i.getBoundingClientRect().height;return i.innerHTML="",{element:t,lines:o,lineHeights:[],oneLinerHeight:a,sizer:i}}})).filter(Boolean);n.forEach((function(e){var t=e.sizer,n=e.lines,r=e.lineHeights,i=e.oneLinerHeight;r[n.length-1]=void 0,n.forEach((function(e,n){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else r[n]=i}))})),n.forEach((function(e){for(var t=e.sizer,n=e.lineHeights,r=0,i=0;i code {\n\tposition: relative;\n\twhite-space: inherit;\n}\n\n.line-numbers .line-numbers-rows {\n\tposition: absolute;\n\tpointer-events: none;\n\ttop: 0;\n\tfont-size: 100%;\n\tleft: -3.8em;\n\twidth: 3em; /* works for line-numbers below 1000 lines */\n\tletter-spacing: -1px;\n\tborder-right: 1px solid #999;\n\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\n}\n\n\t.line-numbers-rows > span {\n\t\tdisplay: block;\n\t\tcounter-increment: linenumber;\n\t}\n\n\t\t.line-numbers-rows > span:before {\n\t\t\tcontent: counter(linenumber);\n\t\t\tcolor: #999;\n\t\t\tdisplay: block;\n\t\t\tpadding-right: 0.8em;\n\t\t\ttext-align: right;\n\t\t}\n',""])},function(e,t,n){var r=n(466);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(40)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(39)(!1)).push([e.i,'/**\n * GHColors theme by Avi Aryan (http://aviaryan.in)\n * Inspired by Github syntax coloring\n */\n\ncode[class*="language-"],\npre[class*="language-"] {\n\tcolor: #393A34;\n\tfont-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;\n\tdirection: ltr;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tfont-size: .9em;\n\tline-height: 1.2em;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\npre > code[class*="language-"] {\n\tfont-size: 1em;\n}\n\npre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,\ncode[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {\n\tbackground: #b3d4fc;\n}\n\npre[class*="language-"]::selection, pre[class*="language-"] ::selection,\ncode[class*="language-"]::selection, code[class*="language-"] ::selection {\n\tbackground: #b3d4fc;\n}\n\n/* Code blocks */\npre[class*="language-"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tborder: 1px solid #dddddd;\n\tbackground-color: white;\n}\n\n/* Inline code */\n:not(pre) > code[class*="language-"] {\n\tpadding: .2em;\n\tpadding-top: 1px;\n\tpadding-bottom: 1px;\n\tbackground: #f8f8f8;\n\tborder: 1px solid #dddddd;\n}\n\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #999988;\n\tfont-style: italic;\n}\n\n.token.namespace {\n\topacity: .7;\n}\n\n.token.string,\n.token.attr-value {\n\tcolor: #e3116c;\n}\n\n.token.punctuation,\n.token.operator {\n\tcolor: #393A34; /* no highlight */\n}\n\n.token.entity,\n.token.url,\n.token.symbol,\n.token.number,\n.token.boolean,\n.token.variable,\n.token.constant,\n.token.property,\n.token.regex,\n.token.inserted {\n\tcolor: #36acaa;\n}\n\n.token.atrule,\n.token.keyword,\n.token.attr-name,\n.language-autohotkey .token.selector {\n\tcolor: #00a4db;\n}\n\n.token.function,\n.token.deleted,\n.language-autohotkey .token.tag {\n\tcolor: #9a050f;\n}\n\n.token.tag,\n.token.selector,\n.language-autohotkey .token.keyword {\n\tcolor: #00009f;\n}\n\n.token.important,\n.token.function,\n.token.bold {\n\tfont-weight: bold;\n}\n\n.token.italic {\n\tfont-style: italic;\n}\n',""])},function(e,t,n){n(31);const r=n(21),i=n(148),o=n(203),a=n(468);angular.module("dbt").factory("graph",["$state","$window","$q","selectorService","project","locationService",function(e,t,n,s,l,c){var u={vertical:{userPanningEnabled:!1,boxSelectionEnabled:!1,maxZoom:1.5},horizontal:{userPanningEnabled:!0,boxSelectionEnabled:!1,maxZoom:1,minZoom:.05}},d={none:{name:"null"},left_right:{name:"dagre",rankDir:"LR",rankSep:200,edgeSep:30,nodeSep:50},top_down:{name:"preset",positions:function(t){var n=e.params.unique_id;if(!n)return{x:0,y:0};var a=f.graph.pristine.dag,s=r.sortBy(o.ancestorNodes(a,n,1)),l=r.sortBy(o.descendentNodes(a,n,1)),c=r.partial(r.includes,s),u=r.partial(r.includes,l),d=a.filterNodes(c),p=a.filterNodes(u);return function(e,t,n,i){console.log("Getting position for ",i,". Primary: ",e);var o,a=100/(1+Math.max(t.length,n.length));if(e==i)return{x:0,y:0};if(r.includes(t,i))o={set:t,index:r.indexOf(t,i),factor:-1,type:"parent"};else{if(!r.includes(n,i))return{x:0,y:0};o={set:n,index:r.indexOf(n,i),factor:1,type:"child"}}var s=o.set.length;if("parent"==o.type)var l={x:(0+o.index)*a,y:-200-100*(s-o.index-1)};else l={x:(0+o.index)*a,y:200+100*(s-o.index-1)};return l}(n,i.alg.topsort(d),i.alg.topsort(p).reverse(),t.data("id"))}}},f={loading:!0,loaded:n.defer(),graph_element:null,orientation:"sidebar",expanded:!1,graph:{options:u.vertical,pristine:{nodes:{},edges:{},dag:null},elements:[],layout:d.none,style:[{selector:"edge.vertical",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#027599","arrow-scale":1.5,"line-color":"#027599",width:3,"target-distance-from-node":"5px","source-endpoint":"0% 50%","target-endpoint":"0deg"}},{selector:"edge.horizontal",style:{"curve-style":"unbundled-bezier","target-arrow-shape":"triangle-backcurve","target-arrow-color":"#006f8a","arrow-scale":1.5,"target-distance-from-node":"10px","source-distance-from-node":"5px","line-color":"#006f8a",width:3,"source-endpoint":"50% 0%","target-endpoint":"270deg"}},{selector:"edge[selected=1]",style:{"line-color":"#bd6bb6","target-arrow-color":"#bd6bb6","z-index":1}},{selector:'node[display="none"]',style:{display:"none"}},{selector:"node.vertical",style:{"text-margin-x":"5px","background-color":"#0094b3","font-size":"16px",shape:"ellipse",color:"#fff",width:"5px",height:"5px",padding:"5px",content:"data(label)","font-weight":300,"text-valign":"center","text-halign":"right"}},{selector:"node.horizontal",style:{"background-color":"#0094b3","font-size":"24px",shape:"roundrectangle",color:"#fff",width:"label",height:"label",padding:"12px",content:"data(label)","font-weight":300,"font-family":'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',"text-valign":"center","text-halign":"center",ghost:"yes","ghost-offset-x":"2px","ghost-offset-y":"4px","ghost-opacity":.5,"text-outline-color":"#000","text-outline-width":"1px","text-outline-opacity":.2}},{selector:'node[resource_type="source"]',style:{"background-color":"#5fb825"}},{selector:'node[resource_type="exposure"]',style:{"background-color":"#ff694b"}},{selector:'node[resource_type="metric"]',style:{"background-color":"#ff5688"}},{selector:'node[language="python"]',style:{"background-color":"#6a5acd"}},{selector:"node[node_color]",style:{"background-color":"data(node_color)"}},{selector:"node[selected=1]",style:{"background-color":"#bd6bb6"}},{selector:"node.horizontal[selected=1]",style:{"background-color":"#88447d"}},{selector:"node.horizontal.dirty",style:{"background-color":"#919599"}},{selector:"node[hidden=1]",style:{"background-color":"#919599","background-opacity":.5}}],ready:function(e){console.log("graph ready")}}};function p(e,t,n){var i=r.map(e,(function(e){return f.graph.pristine.nodes[e]})),o=[];r.flatten(r.each(e,(function(t){var n=f.graph.pristine.edges[t];r.each(n,(function(t){r.includes(e,t.data.target)&&r.includes(e,t.data.source)&&o.push(t)}))})));var s=r.compact(i).concat(r.compact(o));return r.each(f.graph.elements,(function(e){e.data.display="none",e.data.selected=0,e.data.hidden=0,e.classes=n})),r.each(s,(function(e){e.data.display="element",e.classes=n,t&&r.includes(t,e.data.unique_id)&&(e.data.selected=1),r.get(e,["data","docs","show"],!0)||(e.data.hidden=1);var i=r.get(e,["data","docs","node_color"]);i&&a.isValidColor(i)&&(e.data.node_color=i)})),f.graph.elements=r.filter(s,(function(e){return"element"==e.data.display})),e}function h(e,t,n){var r=f.graph.pristine.dag;if(r){var i=f.graph.pristine.nodes,o=s.selectNodes(r,i,e),a=n?o.matched:[];return p(o.selected,a,t)}}return f.setGraphReady=function(e){f.loading=!1,f.loaded.resolve(),f.graph_element=e},f.ready=function(e){f.loaded.promise.then((function(){e(f)}))},f.manifest={},f.packages=[],f.selected_node=null,f.getCanvasHeight=function(){return.8*t.innerHeight+"px"},l.ready((function(e){f.manifest=e,f.packages=r.uniq(r.map(f.manifest.nodes,"package_name")),r.each(r.filter(f.manifest.nodes,(function(e){var t=r.includes(["model","seed","source","snapshot","analysis","exposure","metric","operation"],e.resource_type),n="test"==e.resource_type&&!e.hasOwnProperty("test_metadata");return t||n})),(function(e){var t={group:"nodes",data:r.assign(e,{parent:e.package_name,id:e.unique_id,is_group:"false"})};f.graph.pristine.nodes[e.unique_id]=t})),r.each(f.manifest.parent_map,(function(e,t){r.each(e,(function(e){var n=f.manifest.nodes[e],i=f.manifest.nodes[t];if(r.includes(["model","source","seed","snapshot","metric"],n.resource_type)&&("test"!=i.resource_type||!i.hasOwnProperty("test_metadata"))){var o=n.unique_id+"|"+i.unique_id,a={group:"edges",data:{source:n.unique_id,target:i.unique_id,unique_id:o}},s=i.unique_id;f.graph.pristine.edges[s]||(f.graph.pristine.edges[s]=[]),f.graph.pristine.edges[s].push(a)}}))}));var t=new i.Graph({directed:!0});r.each(f.graph.pristine.nodes,(function(e){t.setNode(e.data.unique_id,e.data.name)})),r.each(f.graph.pristine.edges,(function(e){r.each(e,(function(e){t.setEdge(e.data.source,e.data.target)}))})),f.graph.pristine.dag=t,f.graph.elements=r.flatten(r.values(f.graph.pristine.nodes).concat(r.values(f.graph.pristine.edges))),p(t.nodes())})),f.hideGraph=function(){f.orientation="sidebar",f.expanded=!1},f.showVerticalGraph=function(e,t){f.orientation="sidebar",t&&(f.expanded=!0);var n=h(r.assign({},s.options,{include:"+"+e+"+",exclude:"",hops:1}),"vertical",!0);return f.graph.layout=d.top_down,f.graph.options=u.vertical,n},f.showFullGraph=function(e){f.orientation="fullscreen",f.expanded=!0;var t=r.assign({},s.options);e?(t.include="+"+e+"+",t.exclude=""):(t.include="",t.exclude="");var n=h(t,"horizontal",!0);return f.graph.layout=d.left_right,f.graph.options=u.horizontal,c.setState(t),n},f.updateGraph=function(e){f.orientation="fullscreen",f.expanded=!0;var t=h(e,"horizontal",!1);return f.graph.layout=d.left_right,f.graph.options=u.horizontal,c.setState(e),t},f.deselectNodes=function(){"fullscreen"==f.orientation&&f.graph_element.elements().data("selected",0)},f.selectNode=function(e){if("fullscreen"==f.orientation){f.graph.pristine.nodes[e];var t=f.graph.pristine.dag,n=r.indexBy(o.ancestorNodes(t,e)),i=r.indexBy(o.descendentNodes(t,e));n[e]=e,i[e]=e;var a=f.graph_element;r.each(f.graph.elements,(function(t){var r=a.$id(t.data.id);n[t.data.source]&&n[t.data.target]||i[t.data.source]&&i[t.data.target]||t.data.unique_id==e?r.data("selected",1):r.data("selected",0)}))}},f.markDirty=function(e){f.markAllClean(),r.each(e,(function(e){f.graph_element.$id(e).addClass("dirty")}))},f.markAllClean=function(){f.graph_element&&f.graph_element.elements().removeClass("dirty")},f}])},function(e,t,n){"use strict";n.r(t),n.d(t,"isValidColor",(function(){return i}));const r=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","ghostwhite","gold","goldenrod","gray","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"]);function i(e){if(!e)return!1;const t=e.trim().toLowerCase();if(""===t)return!1;const n=t.match(/^#([A-Fa-f0-9]{3}){1,2}$/),i=r.has(t);return Boolean(n)||i}},function(e,t,n){n(31);const r=n(21),i=n(470);angular.module("dbt").factory("selectorService",["$state",function(e){var t={include:"",exclude:"",packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis","exposure","metric"],depth:1},n={view_node:null,selection:{clean:r.clone(t),dirty:r.clone(t)},options:{packages:[],tags:[null],resource_types:["model","seed","snapshot","source","test","analysis","exposure","metric"]},init:function(e){r.each(e,(function(e,r){n.options[r]=e,t[r]=e,n.selection.clean[r]=e,n.selection.dirty[r]=e}))},resetSelection:function(e){var i={include:e&&r.includes(["model","seed","snapshot"],e.resource_type)?"+"+e.name+"+":e&&"source"==e.resource_type?"+source:"+e.source_name+"."+e.name+"+":e&&"exposure"==e.resource_type?"+exposure:"+e.name:e&&"metric"==e.resource_type?"+metric:"+e.name:e&&r.includes(["analysis","test"],e.resource_type)?"+"+e.name:""},o=r.assign({},t,i);n.selection.clean=r.clone(o),n.selection.dirty=r.clone(o),n.view_node=e},getViewNode:function(){return n.view_node},excludeNode:function(e,t){var r,i=n.selection.dirty.exclude,o=t.parents?"+":"",a=t.children?"+":"",s=i.length>0?" ":"";"source"==e.resource_type?(o+="source:",r=e.source_name+"."+e.name):["exposure","metric"].indexOf(e.resource_type)>-1?(o+=e.resource_type+":",r=e.name):r=e.name;var l=i+s+o+r+a;return n.selection.dirty.exclude=l,n.updateSelection()},selectSource:function(e,t){var r="source:"+e+(t.children?"+":"");return n.selection.dirty.include=r,n.updateSelection()},clearViewNode:function(){n.view_node=null},isDirty:function(){return!r.isEqual(n.selection.clean,n.selection.dirty)},updateSelection:function(){return n.selection.clean=r.clone(n.selection.dirty),n.selection.clean},selectNodes:function(e,t,n){return i.selectNodes(e,t,n)}};return n}])},function(e,t,n){const r=n(21),i=n(471);function o(e,t){return t||(t=" "),r.filter(r.uniq(e.split(t)),(function(e){return e.length>0}))}function a(e){var t={raw:e,select_at:!1,select_children:!1,children_depth:null,select_parents:!1,parents_depth:null};const n=new RegExp(""+/^/.source+/(?(\@))?/.source+/(?((?(\d*))\+))?/.source+/((?([\w.]+)):)?/.source+/(?(.*?))/.source+/(?(\+(?(\d*))))?/.source+/$/.source).exec(e).groups;t.select_at="@"==n.childs_parents,t.select_parents=!!n.parents,t.select_children=!!n.children,n.parents_depth&&(t.parents_depth=parseInt(n.parents_depth)),n.children_depth&&(t.children_depth=parseInt(n.children_depth));var r=n.method,i=n.value;return r?-1!=r.indexOf(".")&&([r,selector_modifier]=r.split(".",2),i={config:selector_modifier,value:i}):r="implicit",t.selector_type=r,t.selector_value=i,t}function s(e){var t=o(e," ");return r.map(t,(function(e){var t=o(e,",");return t.length>1?{method:"intersect",selectors:r.map(t,a)}:{method:"none",selectors:r.map([e],a)}}))}function l(e,t){var n=s(e),i=null,o=null;return r.each(n,(function(e){var n="intersect"==e.method?r.intersection:r.union;r.each(e.selectors,(function(e){var r=t(e);null===i?(i=r.matched,o=r.selected):(i=n(i,r.matched),o=n(o,r.selected))}))})),{matched:i||[],selected:o||[]}}e.exports={splitSpecs:o,parseSpec:a,parseSpecs:s,buildSpec:function(e,t,n){return{include:s(e),exclude:s(t),hops:n}},applySpec:l,selectNodes:function(e,t,n){n.include,n.exclude;var o,a=r.partial(i.getNodesFromSpec,e,t,n.hops);r.values(t),o=0==n.include.trim().length?{selected:e.nodes(),matched:[]}:l(n.include,a);var s=l(n.exclude,a),c=o.selected,u=o.matched;c=r.difference(c,s.selected),u=r.difference(u,s.matched);var d=[];return r.each(c,(function(e){var i=t[e];i.data.tags||(i.data.tags=[]);var o=r.includes(n.packages,i.data.package_name),a=r.intersection(n.tags,i.data.tags).length>0,s=r.includes(n.tags,null)&&0==i.data.tags.length,l=r.includes(n.resource_types,i.data.resource_type);o&&(a||s)&&l||d.push(i.data.unique_id)})),{selected:r.difference(c,d),matched:r.difference(u,d)}}}},function(e,t,n){const r=n(21),i=n(203);var o="fqn",a="tag",s="source",l="exposure",c="metric",u="path",d="file",f="package",p="config",h="test_name",g="test_type",m={};function v(e,t){if(t===r.last(e))return!0;var n=e.reduce((e,t)=>e.concat(t.split(".")),[]),i=t.split(".");if(n.length-1||!r.hasOwnProperty("test_metadata")&&["data","singular"].indexOf(t)>-1)&&n.push(r)})),n}function $(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("source"==r.resource_type){var i,o,a=r.source_name,s=r.name;-1!=t.indexOf(".")?[i,o]=t.split(".",2):(i=t,o=null),("*"==i||i==a&&"*"===o||i==a&&o===s||i==a&&null===o)&&n.push(e.data)}})),n}m["implicit"]=function(e,t){var n=b(e,t),i=y(e,t),o=[];t.toLowerCase().endsWith(".sql")&&(o=x(e,t));var a=r.uniq([].concat(r.map(n,"unique_id"),r.map(i,"unique_id"),r.map(o,"unique_id")));return r.map(a,t=>e[t].data)},m[o]=b,m[a]=w,m[s]=$,m[l]=function(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("exposure"==r.resource_type){var i=r.name;("*"==t||t==i)&&n.push(e.data)}})),n},m[c]=function(e,t){var n=[];return r.each(e,(function(e){var r=e.data;if("metric"==r.resource_type){var i=r.name;("*"==t||t==i)&&n.push(e.data)}})),n},m[u]=y,m[d]=x,m[f]=k,m[p]=A,m[h]=E,m[g]=S,e.exports={isFQNMatch:v,getNodesByFQN:b,getNodesByTag:w,getNodesBySource:$,getNodesByPath:y,getNodesByPackage:k,getNodesByConfig:A,getNodesByTestName:E,getNodesByTestType:S,getNodesFromSpec:function(e,t,n,o){const a=m[o.selector_type];if(!a)return console.log("Node matcher for selector",o.selector_type,"is invalid"),{selected:[],matched:[]};var s=a(t,o.selector_value),l=[],c=[];return r.each(s,(function(t){var a=t.unique_id;c.push(t.unique_id);var s=[],u=[],d=[];if(o.select_at&&(d=r.union(i.selectAt(e,a))),o.select_parents){var f=n||o.parents_depth;s=i.ancestorNodes(e,a,f)}if(o.select_children){f=n||o.children_depth;u=i.descendentNodes(e,a,f)}l=r.union([a],l,u,s,d)})),{selected:l,matched:c}}}},function(e,t,n){const r=n(9);n(473);r.module("dbt").factory("trackingService",["$location","selectorService","$rootScope",function(e,t,n){var r={initialized:!1,snowplow:null,project_id:null,init:function(e){r.initialized||(r.initialized=!0,r.project_id=e.project_id,!0===e.track&&r.turn_on_tracking())},isHosted:function(){return window.location.hostname.indexOf(".getdbt.com")>-1},turn_on_tracking:function(){var e,t,n,i,o,a;e=window,t=document,n="script",e[i="snowplow"]||(e.GlobalSnowplowNamespace=e.GlobalSnowplowNamespace||[],e.GlobalSnowplowNamespace.push(i),e[i]=function(){(e[i].q=e[i].q||[]).push(arguments)},e[i].q=e[i].q||[],o=t.createElement(n),a=t.getElementsByTagName(n)[0],o.async=1,o.src="//d1fc8wv8zag5ca.cloudfront.net/2.9.0/sp.js",a.parentNode.insertBefore(o,a));var s={appId:"dbt-docs",forceSecureTracker:!0,respectDoNotTrack:!0,userFingerprint:!1,contexts:{webPage:!0}};r.isHosted()&&(s.cookieDomain=".getdbt.com"),r.snowplow=window.snowplow,r.snowplow("newTracker","sp","fishtownanalytics.sinter-collect.com",s),r.snowplow("enableActivityTracking",30,30),r.track_pageview()},fuzzUrls:function(){r.isHosted()||(r.snowplow("setCustomUrl","https://fuzzed.getdbt.com/"),r.snowplow("setReferrerUrl","https://fuzzed.getdbt.com/"))},getContext:function(){return[{schema:"iglu:com.dbt/dbt_docs/jsonschema/1-0-0",data:{is_cloud_hosted:r.isHosted(),core_project_id:r.project_id}}]},track_pageview:function(){if(r.snowplow){r.fuzzUrls();r.snowplow("trackPageView",null,r.getContext())}},track_event:function(e,t,n,i){r.snowplow&&(r.fuzzUrls(),r.snowplow("trackStructEvent","dbt-docs",e,t,n,i,r.getContext()))},track_graph_interaction:function(e,t){r.snowplow&&(r.fuzzUrls(),r.track_event("graph","interact",e,t))}};return r}])},function(e,t,n){var r,i,o,a,s;r=n(474),i=n(204).utf8,o=n(475),a=n(204).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?a.stringToBytes(e):i.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<>>9<<4)]=l;var h=s._ff,g=s._gg,m=s._hh,v=s._ii;for(p=0;p>>0,u=u+y>>>0,d=d+x>>>0,f=f+w>>>0}return r.endian([c,u,d,f])})._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<>>32-o)+t},s._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<>>32-o)+t},s._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<>>32-o)+t},s._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?a.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t