diff --git a/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
index 768ac3f..1e22b09 100644
--- a/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
+++ b/.github/PULL_REQUEST_TEMPLATE/maintainer_pull_request_template.md
@@ -4,48 +4,27 @@
**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:**
+**Please provide the finalized CHANGELOG entry which details the relevant changes included in 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)
+- [ ] dbt run –full-refresh && dbt test
+- [ ] dbt run (if incremental models are present) && dbt test
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
+- [ ] The appropriate issue has been linked, tagged, and properly assigned
+- [ ] All necessary documentation and version upgrades have been applied
+
+- [ ] docs were regenerated (unless this PR does not include any code or yml updates)
- [ ] BuildKite integration tests are passing
+- [ ] Detailed validation steps have been provided below
### 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.
+Please share any and all of your validation steps:
-### 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:
+:dancer:
\ No newline at end of file
diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml
new file mode 100644
index 0000000..8ed5853
--- /dev/null
+++ b/.github/workflows/auto-release.yml
@@ -0,0 +1,13 @@
+name: 'auto release'
+on:
+ pull_request:
+ types:
+ - closed
+ branches:
+ - main
+
+jobs:
+ call-workflow-passing-data:
+ if: github.event.pull_request.merged
+ uses: fivetran/dbt_package_automations/.github/workflows/auto-release.yml@main
+ secrets: inherit
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 4d4c63b..6464775 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,8 @@ target/
dbt_modules/
logs/
dbt_packages/
+env/
+package-lock.yml
### MacOS ###
.DS_Store
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34c986a..869bbf2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,16 @@
-# dbt_recurly v0.UPDATE.UPDATE
+# dbt_recurly v0.4.0
- ## Under the Hood:
+[PR #26](https://github.com/fivetran/dbt_recurly/pull/26) includes the following breaking changes:
+## Feature Updates
+- Addition of the `recurly__line_item_enhanced` model. This model constructs a comprehensive, denormalized analytical table that enables reporting on key revenue, subscription, customer, and product metrics from your billing platform. It’s designed to align with the schema of the `*__line_item_enhanced` model found in Recurly, Recharge, Stripe, Shopify, and Zuora, offering standardized reporting across various billing platforms. To see the kinds of insights this model can generate, explore example visualizations in the [Fivetran Billing Model Streamlit App](https://fivetran-billing-model.streamlit.app/). Visit the app for more details.
+ - This model is currently disabled by default. You may enable it by setting the `recurly__standardized_billing_model_enabled` as `true` in your `dbt_project.yml`.
+
+## Under the Hood:
+- Added consistency test within integration_tests for the `recurly__line_item_enhanced` model.
+- Included auto-releaser GitHub Actions workflow to automate future releases.
- Incorporated the new `fivetran_utils.drop_schemas_automation` macro into the end of each Buildkite integration test job.
-- Updated the pull request [templates](/.github).
+- Updated the pull request templates.
# dbt_recurly v0.3.2
## 🪲 Bug Fixes 🔧
diff --git a/README.md b/README.md
index f95376b..68d2eb4 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@
- Generate a metrics tables allow you to better understand your account activity over time or at a customer level. These time-based metrics are available on a daily level.
- Generates a comprehensive data dictionary of your source and modeled Recurly data through the [dbt docs site](https://fivetran.github.io/dbt_recurly/).
+
The following table provides a detailed list of all models materialized within this package by default.
> TIP: See more details about these models in the package's [dbt docs site](https://fivetran.github.io/dbt_recurly/#!/overview?g_v=1).
@@ -33,6 +34,18 @@ The following table provides a detailed list of all models materialized within t
| [recurly__churn_analysis](https://fivetran.github.io/dbt_recurly/#!/model/model.recurly.recurly__churn_analysis) | Each record represents a subscription and their churn status and details. |
| [recurly__monthly_recurring_revenue](https://fivetran.github.io/dbt_recurly/#!/model/model.recurly.recurly__monthly_recurring_revenue) | Each record represents an account and MRR generated on a monthly basis. |
| [recurly__subscription_overview](https://fivetran.github.io/dbt_recurly/#!/model/model.recurly.recurly__subscription_overview) | Each record represents a subscription, enriched with metrics about time, revenue, state, and period. |
+| [recurly__line_item_enhanced](https://fivetran.github.io/dbt_recurly/#!/model/model.recurly.recurly__line_item_enhanced) | This model constructs a comprehensive, denormalized analytical table that enables reporting on key revenue, subscription, customer, and product metrics from your billing platform. It’s designed to align with the schema of the `*__line_item_enhanced` model found in Recurly, Recharge, Stripe, Shopify, and Zuora, offering standardized reporting across various billing platforms. To see the kinds of insights this model can generate, explore example visualizations in the [Fivetran Billing Model Streamlit App](https://fivetran-billing-model.streamlit.app/). Visit the app for more details. |
+
+## Example Visualizations
+Curious what these models can do? Check out example visualizations from the [recurly__line_item_enhanced](https://fivetran.github.io/dbt_recurly/#!/model/model.recurly.recurly__line_item_enhanced) model in the [Fivetran Billing Model Streamlit App](https://fivetran-billing-model.streamlit.app/), and see how you can use these models in your own reporting. Below is a screenshot of an example report—explore the app for more.
+
+
+
+
+
+
+
+
# 🎯 How do I use the dbt package?
## Step 1: Prerequisites
@@ -54,7 +67,7 @@ Include the following recurly_source package version in your `packages.yml` file
```yaml
packages:
- package: fivetran/recurly
- version: [">=0.3.0", "<0.4.0"] # we recommend using ranges to capture non-breaking changes automatically
+ version: [">=0.4.0", "<0.5.0"]
```
Do NOT include the `recurly_source` package in this file. The transformation package itself has a dependency on it and will install the source package as well.
@@ -80,7 +93,15 @@ vars:
```
## (Optional) Step 5: Additional configurations
-Expand to view configurations
+Expand to view configurations
+
+### Enabling Standardized Billing Model
+This package contains the `recurly__line_item_enhanced` model which constructs a comprehensive, denormalized analytical table that enables reporting on key revenue, subscription, customer, and product metrics from your billing platform. It’s designed to align with the schema of the `*__line_item_enhanced` model found in Recurly, Recharge, Stripe, Shopify, and Zuora, offering standardized reporting across various billing platforms. To see the kinds of insights this model can generate, explore example visualizations in the [Fivetran Billing Model Streamlit App](https://fivetran-billing-model.streamlit.app/). For the time being, this model is disabled by default. If you would like to enable this model you will need to adjust the `recurly__standardized_billing_model_enabled` variable to be `true` within your `dbt_project.yml`:
+
+```yml
+vars:
+ recurly__standardized_billing_model_enabled: true # false by default.
+```
### Passing Through Additional Fields
This package includes all source columns defined in the macros folder. You can add more columns using our pass-through column variables. These variables allow for the pass-through fields to be aliased (`alias`) and casted (`transform_sql`) if desired, but not required. Datatype casting is configured via a sql snippet within the `transform_sql` key. You may add the desired sql while omitting the `as field_name` at the end and your custom pass-though fields will be casted accordingly. Use the below format for declaring the respective pass-through variables:
diff --git a/dbt_project.yml b/dbt_project.yml
index 11a2271..05755f4 100644
--- a/dbt_project.yml
+++ b/dbt_project.yml
@@ -1,5 +1,5 @@
name: 'recurly'
-version: '0.3.2'
+version: '0.4.0'
config-version: 2
require-dbt-version: [">=1.3.0", "<2.0.0"]
diff --git a/docs/catalog.json b/docs/catalog.json
index 3038525..a154804 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": "2023-03-10T22:01:56.917487Z", "invocation_id": "e6fe132e-fe4e-4144-801d-5f24713ce2f7", "env": {}}, "nodes": {"seed.recurly_integration_tests.account_balance_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_balance_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "text", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "boolean", "index": 6, "name": "past_due", "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.recurly_integration_tests.account_balance_history_data"}, "seed.recurly_integration_tests.account_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "text", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "text", "index": 8, "name": "state", "comment": null}, "username": {"type": "text", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "integer", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "integer", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "text", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "text", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "text", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "text", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "text", "index": 17, "name": "account_country", "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.recurly_integration_tests.account_history_data"}, "seed.recurly_integration_tests.account_note_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_note_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "text", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "text", "index": 6, "name": "message", "comment": null}, "object": {"type": "text", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "text", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "text", "index": 9, "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": "seed.recurly_integration_tests.account_note_history_data"}, "seed.recurly_integration_tests.billing_info_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "billing_info_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "text", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "text", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "boolean", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "text", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "text", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "text", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "text", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "text", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "text", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "integer", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "integer", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "integer", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "integer", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "integer", "index": 27, "name": "updated_by_country", "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.recurly_integration_tests.billing_info_history_data"}, "seed.recurly_integration_tests.coupon_discount_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "coupon_discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_id": {"type": "text", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "text", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "text", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "integer", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "integer", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "integer", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "text", "index": 9, "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": "seed.recurly_integration_tests.coupon_discount_data"}, "seed.recurly_integration_tests.coupon_redemption_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "coupon_redemption_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "text", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "double precision", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "timestamp without time zone", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "text", "index": 10, "name": "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": "seed.recurly_integration_tests.coupon_redemption_history_data"}, "seed.recurly_integration_tests.credit_payment_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "credit_payment_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "character varying", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "character varying", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "character varying", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "character varying", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "character varying", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "character varying", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "text", "index": 10, "name": "action", "comment": null}, "currency": {"type": "text", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 14, "name": "voided_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": "seed.recurly_integration_tests.credit_payment_history_data"}, "seed.recurly_integration_tests.invoice_coupon_redemption_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_coupon_redemption_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_redemption_id": {"type": "text", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "text", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recurly_integration_tests.invoice_coupon_redemption_history_data"}, "seed.recurly_integration_tests.invoice_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "timestamp without time zone", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "timestamp without time zone", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "integer", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "text", "index": 9, "name": "type", "comment": null}, "origin": {"type": "text", "index": 10, "name": "origin", "comment": null}, "state": {"type": "text", "index": 11, "name": "state", "comment": null}, "number": {"type": "integer", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "text", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "integer", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "integer", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "text", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "double precision", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "double precision", "index": 18, "name": "paid", "comment": null}, "total": {"type": "double precision", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "double precision", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "double precision", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "double precision", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "integer", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 26, "name": "tax_rate", "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.recurly_integration_tests.invoice_history_data"}, "seed.recurly_integration_tests.invoice_subscription_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"invoice_id": {"type": "text", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "text", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recurly_integration_tests.invoice_subscription_history_data"}, "seed.recurly_integration_tests.line_item_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "line_item_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "integer", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "integer", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "integer", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "integer", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "integer", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "text", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 13, "name": "type", "comment": null}, "state": {"type": "text", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "integer", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "integer", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "integer", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "text", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "integer", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "text", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 21, "name": "amount", "comment": null}, "description": {"type": "text", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "integer", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "double precision", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "double precision", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "double precision", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "boolean", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "boolean", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "integer", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "integer", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "integer", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "boolean", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "integer", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "double precision", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "timestamp without time zone", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "timestamp without time zone", "index": 39, "name": "end_date", "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.recurly_integration_tests.line_item_history_data"}, "seed.recurly_integration_tests.plan_currency_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "plan_currency_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "text", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "text", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "double precision", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "double precision", "index": 6, "name": "unit_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": "seed.recurly_integration_tests.plan_currency_history_data"}, "seed.recurly_integration_tests.plan_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "plan_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "state": {"type": "text", "index": 7, "name": "state", "comment": null}, "name": {"type": "text", "index": 8, "name": "name", "comment": null}, "description": {"type": "integer", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "text", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "integer", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "text", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "integer", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "text", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "text", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "integer", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "boolean", "index": 19, "name": "tax_exempt", "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.recurly_integration_tests.plan_history_data"}, "seed.recurly_integration_tests.subscription_add_on_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_add_on_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "timestamp without time zone", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "text", "index": 4, "name": "id", "comment": null}, "object": {"type": "text", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "text", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "integer", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "text", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "double precision", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "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": "seed.recurly_integration_tests.subscription_add_on_history_data"}, "seed.recurly_integration_tests.subscription_change_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_change_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "character varying", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "character varying", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "character varying", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "double precision", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "bigint", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "timestamp without time zone", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "boolean", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 12, "name": "deleted_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": "seed.recurly_integration_tests.subscription_change_history_data"}, "seed.recurly_integration_tests.subscription_history_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "text", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "text", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "text", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "text", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "timestamp without time zone", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "timestamp without time zone", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "timestamp without time zone", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "timestamp without time zone", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "timestamp without time zone", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "integer", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "integer", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "timestamp without time zone", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "integer", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "double precision", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "integer", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "double precision", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "double precision", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "text", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "text", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "boolean", "index": 32, "name": "started_with_gift", "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.recurly_integration_tests.subscription_history_data"}, "seed.recurly_integration_tests.transaction_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "transaction_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "timestamp without time zone", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "integer", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "text", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "text", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "origin": {"type": "text", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "text", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 14, "name": "amount", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "success": {"type": "boolean", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "boolean", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "text", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "text", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "text", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "text", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "text", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "text", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "text", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "text", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "text", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "text", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "integer", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "integer", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "integer", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "double precision", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "integer", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "text", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "text", "index": 40, "name": "gateway_response_values", "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.recurly_integration_tests.transaction_data"}, "seed.recurly_integration_tests.transaction_subscription_data": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "transaction_subscription_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "text", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "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": "seed.recurly_integration_tests.transaction_subscription_data"}, "model.recurly.recurly__account_daily_overview": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__account_daily_overview", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "timestamp without time zone", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "text", "index": 3, "name": "account_city", "comment": null}, "account_company": {"type": "text", "index": 4, "name": "account_company", "comment": null}, "account_country": {"type": "text", "index": 5, "name": "account_country", "comment": null}, "account_code": {"type": "text", "index": 6, "name": "account_code", "comment": null}, "account_email": {"type": "text", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "text", "index": 8, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "text", "index": 9, "name": "account_last_name", "comment": null}, "account_is_tax_exempt": {"type": "boolean", "index": 10, "name": "account_is_tax_exempt", "comment": null}, "account_postal_code": {"type": "text", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "text", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "text", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "text", "index": 14, "name": "account_username", "comment": null}, "account_daily_id": {"type": "text", "index": 15, "name": "account_daily_id", "comment": null}, "date_day": {"type": "date", "index": 16, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 17, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 18, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 19, "name": "date_year", "comment": null}, "date_index": {"type": "bigint", "index": 20, "name": "date_index", "comment": null}, "daily_transaction_count": {"type": "bigint", "index": 21, "name": "daily_transaction_count", "comment": null}, "daily_net_change": {"type": "double precision", "index": 22, "name": "daily_net_change", "comment": null}, "daily_invoice_count": {"type": "bigint", "index": 23, "name": "daily_invoice_count", "comment": null}, "daily_charges": {"type": "double precision", "index": 24, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "double precision", "index": 25, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "double precision", "index": 26, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "double precision", "index": 27, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "bigint", "index": 28, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "bigint", "index": 29, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "double precision", "index": 30, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "numeric", "index": 31, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "numeric", "index": 32, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "double precision", "index": 33, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "double precision", "index": 34, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "double precision", "index": 35, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "double precision", "index": 36, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "numeric", "index": 37, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "numeric", "index": 38, "name": "rolling_credits", "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.recurly.recurly__account_daily_overview"}, "model.recurly.recurly__account_overview": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__account_overview", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "timestamp without time zone", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "text", "index": 3, "name": "account_city", "comment": null}, "account_code": {"type": "text", "index": 4, "name": "account_code", "comment": null}, "account_company": {"type": "text", "index": 5, "name": "account_company", "comment": null}, "account_country": {"type": "text", "index": 6, "name": "account_country", "comment": null}, "account_email": {"type": "text", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "text", "index": 8, "name": "account_first_name", "comment": null}, "account_is_tax_exempt": {"type": "boolean", "index": 9, "name": "account_is_tax_exempt", "comment": null}, "account_last_name": {"type": "text", "index": 10, "name": "account_last_name", "comment": null}, "account_postal_code": {"type": "text", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "text", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "text", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "text", "index": 14, "name": "account_username", "comment": null}, "total_transactions": {"type": "numeric", "index": 15, "name": "total_transactions", "comment": null}, "total_invoices": {"type": "numeric", "index": 16, "name": "total_invoices", "comment": null}, "total_charges": {"type": "double precision", "index": 17, "name": "total_charges", "comment": null}, "total_credits": {"type": "double precision", "index": 18, "name": "total_credits", "comment": null}, "total_balance": {"type": "double precision", "index": 19, "name": "total_balance", "comment": null}, "total_discounts": {"type": "double precision", "index": 20, "name": "total_discounts", "comment": null}, "total_taxes": {"type": "double precision", "index": 21, "name": "total_taxes", "comment": null}, "total_charge_count": {"type": "numeric", "index": 22, "name": "total_charge_count", "comment": null}, "total_credit_count": {"type": "numeric", "index": 23, "name": "total_credit_count", "comment": null}, "transactions_this_month": {"type": "numeric", "index": 24, "name": "transactions_this_month", "comment": null}, "invoices_this_month": {"type": "numeric", "index": 25, "name": "invoices_this_month", "comment": null}, "charges_this_month": {"type": "double precision", "index": 26, "name": "charges_this_month", "comment": null}, "credits_this_month": {"type": "double precision", "index": 27, "name": "credits_this_month", "comment": null}, "balance_this_month": {"type": "double precision", "index": 28, "name": "balance_this_month", "comment": null}, "discounts_this_month": {"type": "double precision", "index": 29, "name": "discounts_this_month", "comment": null}, "taxes_this_month": {"type": "double precision", "index": 30, "name": "taxes_this_month", "comment": null}, "first_charge_date": {"type": "timestamp without time zone", "index": 31, "name": "first_charge_date", "comment": null}, "most_recent_charge_date": {"type": "timestamp without time zone", "index": 32, "name": "most_recent_charge_date", "comment": null}, "first_invoice_date": {"type": "timestamp without time zone", "index": 33, "name": "first_invoice_date", "comment": null}, "most_recent_invoice_date": {"type": "timestamp without time zone", "index": 34, "name": "most_recent_invoice_date", "comment": null}, "next_invoice_due_at": {"type": "timestamp without time zone", "index": 35, "name": "next_invoice_due_at", "comment": null}, "first_transaction_date": {"type": "timestamp without time zone", "index": 36, "name": "first_transaction_date", "comment": null}, "most_recent_transaction_date": {"type": "timestamp without time zone", "index": 37, "name": "most_recent_transaction_date", "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.recurly.recurly__account_overview"}, "model.recurly.recurly__balance_transactions": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__balance_transactions", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"balance_transaction_id": {"type": "text", "index": 1, "name": "balance_transaction_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "invoice_id": {"type": "text", "index": 5, "name": "invoice_id", "comment": null}, "invoice_number": {"type": "integer", "index": 6, "name": "invoice_number", "comment": null}, "type": {"type": "text", "index": 7, "name": "type", "comment": null}, "state": {"type": "text", "index": 8, "name": "state", "comment": null}, "origin": {"type": "text", "index": 9, "name": "origin", "comment": null}, "product_code": {"type": "integer", "index": 10, "name": "product_code", "comment": null}, "discount": {"type": "double precision", "index": 11, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 12, "name": "tax", "comment": null}, "description": {"type": "text", "index": 13, "name": "description", "comment": null}, "plan_code": {"type": "integer", "index": 14, "name": "plan_code", "comment": null}, "add_on_code": {"type": "integer", "index": 15, "name": "add_on_code", "comment": null}, "has_refund": {"type": "boolean", "index": 16, "name": "has_refund", "comment": null}, "refunded_quantity": {"type": "integer", "index": 17, "name": "refunded_quantity", "comment": null}, "currency": {"type": "text", "index": 18, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 19, "name": "amount", "comment": null}, "credit_applied": {"type": "double precision", "index": 20, "name": "credit_applied", "comment": null}, "quantity": {"type": "integer", "index": 21, "name": "quantity", "comment": null}, "unit_amount": {"type": "double precision", "index": 22, "name": "unit_amount", "comment": null}, "subtotal": {"type": "double precision", "index": 23, "name": "subtotal", "comment": null}, "started_at": {"type": "timestamp without time zone", "index": 24, "name": "started_at", "comment": null}, "ended_at": {"type": "timestamp without time zone", "index": 25, "name": "ended_at", "comment": null}, "original_line_item_invoice_id": {"type": "integer", "index": 26, "name": "original_line_item_invoice_id", "comment": null}, "previous_line_item_id": {"type": "integer", "index": 27, "name": "previous_line_item_id", "comment": null}, "invoice_state": {"type": "text", "index": 28, "name": "invoice_state", "comment": null}, "invoice_origin": {"type": "text", "index": 29, "name": "invoice_origin", "comment": null}, "invoice_type": {"type": "text", "index": 30, "name": "invoice_type", "comment": null}, "invoice_created_at": {"type": "timestamp without time zone", "index": 31, "name": "invoice_created_at", "comment": null}, "invoice_due_at": {"type": "timestamp without time zone", "index": 32, "name": "invoice_due_at", "comment": null}, "invoice_closed_at": {"type": "timestamp without time zone", "index": 33, "name": "invoice_closed_at", "comment": null}, "transaction_id": {"type": "text", "index": 34, "name": "transaction_id", "comment": null}, "transaction_created_at": {"type": "timestamp without time zone", "index": 35, "name": "transaction_created_at", "comment": null}, "transaction_type": {"type": "text", "index": 36, "name": "transaction_type", "comment": null}, "transaction_origin": {"type": "text", "index": 37, "name": "transaction_origin", "comment": null}, "transaction_status": {"type": "text", "index": 38, "name": "transaction_status", "comment": null}, "transaction_billing_country": {"type": "text", "index": 39, "name": "transaction_billing_country", "comment": null}, "transaction_status_message": {"type": "text", "index": 40, "name": "transaction_status_message", "comment": null}, "transaction_payment_method_object": {"type": "text", "index": 41, "name": "transaction_payment_method_object", "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.recurly.recurly__balance_transactions"}, "model.recurly.recurly__churn_analysis": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__churn_analysis", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 2, "name": "activated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "account_state": {"type": "text", "index": 4, "name": "account_state", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 5, "name": "canceled_at", "comment": null}, "current_period_ended_at": {"type": "timestamp without time zone", "index": 6, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 7, "name": "current_period_started_at", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 8, "name": "expires_at", "comment": null}, "expiration_reason": {"type": "text", "index": 9, "name": "expiration_reason", "comment": null}, "has_auto_renew": {"type": "boolean", "index": 10, "name": "has_auto_renew", "comment": null}, "plan_name": {"type": "text", "index": 11, "name": "plan_name", "comment": null}, "plan_state": {"type": "text", "index": 12, "name": "plan_state", "comment": null}, "subscription_end_date": {"type": "timestamp without time zone", "index": 13, "name": "subscription_end_date", "comment": null}, "subscription_interval_days": {"type": "integer", "index": 14, "name": "subscription_interval_days", "comment": null}, "subscription_period": {"type": "bigint", "index": 15, "name": "subscription_period", "comment": null}, "subscription_state": {"type": "text", "index": 16, "name": "subscription_state", "comment": null}, "subtotal": {"type": "double precision", "index": 17, "name": "subtotal", "comment": null}, "unit_amount": {"type": "double precision", "index": 18, "name": "unit_amount", "comment": null}, "churn_reason": {"type": "text", "index": 19, "name": "churn_reason", "comment": null}, "churn_reason_type": {"type": "text", "index": 20, "name": "churn_reason_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.recurly.recurly__churn_analysis"}, "model.recurly.recurly__monthly_recurring_revenue": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__monthly_recurring_revenue", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_monthly_id": {"type": "text", "index": 1, "name": "account_monthly_id", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "account_month": {"type": "timestamp without time zone", "index": 3, "name": "account_month", "comment": null}, "account_month_number": {"type": "bigint", "index": 4, "name": "account_month_number", "comment": null}, "current_month_mrr": {"type": "double precision", "index": 5, "name": "current_month_mrr", "comment": null}, "previous_month_mrr": {"type": "double precision", "index": 6, "name": "previous_month_mrr", "comment": null}, "mrr_type": {"type": "text", "index": 7, "name": "mrr_type", "comment": null}, "account_code": {"type": "text", "index": 8, "name": "account_code", "comment": null}, "account_created_at": {"type": "timestamp without time zone", "index": 9, "name": "account_created_at", "comment": null}, "account_email": {"type": "text", "index": 10, "name": "account_email", "comment": null}, "account_first_name": {"type": "text", "index": 11, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "text", "index": 12, "name": "account_last_name", "comment": null}, "account_username": {"type": "text", "index": 13, "name": "account_username", "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.recurly.recurly__monthly_recurring_revenue"}, "model.recurly.recurly__subscription_overview": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly", "name": "recurly__subscription_overview", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "subscription_key": {"type": "text", "index": 3, "name": "subscription_key", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "add_ons_total": {"type": "double precision", "index": 5, "name": "add_ons_total", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 6, "name": "canceled_at", "comment": null}, "current_period_ended_at": {"type": "timestamp without time zone", "index": 7, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 8, "name": "current_period_started_at", "comment": null}, "expiration_reason": {"type": "text", "index": 9, "name": "expiration_reason", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 10, "name": "expires_at", "comment": null}, "has_auto_renew": {"type": "boolean", "index": 11, "name": "has_auto_renew", "comment": null}, "subscription_period": {"type": "bigint", "index": 12, "name": "subscription_period", "comment": null}, "subscription_state": {"type": "text", "index": 13, "name": "subscription_state", "comment": null}, "subscription_end_date": {"type": "timestamp without time zone", "index": 14, "name": "subscription_end_date", "comment": null}, "subscription_interval_days": {"type": "integer", "index": 15, "name": "subscription_interval_days", "comment": null}, "subtotal": {"type": "double precision", "index": 16, "name": "subtotal", "comment": null}, "trial_ends_at": {"type": "timestamp without time zone", "index": 17, "name": "trial_ends_at", "comment": null}, "trial_started_at": {"type": "timestamp without time zone", "index": 18, "name": "trial_started_at", "comment": null}, "trial_interval_days": {"type": "integer", "index": 19, "name": "trial_interval_days", "comment": null}, "unit_amount": {"type": "double precision", "index": 20, "name": "unit_amount", "comment": null}, "account_id": {"type": "text", "index": 21, "name": "account_id", "comment": null}, "account_created_at": {"type": "timestamp without time zone", "index": 22, "name": "account_created_at", "comment": null}, "account_email": {"type": "text", "index": 23, "name": "account_email", "comment": null}, "account_first_name": {"type": "text", "index": 24, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "text", "index": 25, "name": "account_last_name", "comment": null}, "account_state": {"type": "text", "index": 26, "name": "account_state", "comment": null}, "plan_code": {"type": "text", "index": 27, "name": "plan_code", "comment": null}, "plan_created_at": {"type": "timestamp without time zone", "index": 28, "name": "plan_created_at", "comment": null}, "plan_deleted_at": {"type": "timestamp without time zone", "index": 29, "name": "plan_deleted_at", "comment": null}, "plan_interval_days": {"type": "integer", "index": 30, "name": "plan_interval_days", "comment": null}, "plan_is_tax_exempt": {"type": "boolean", "index": 31, "name": "plan_is_tax_exempt", "comment": null}, "plan_name": {"type": "text", "index": 32, "name": "plan_name", "comment": null}, "plan_state": {"type": "text", "index": 33, "name": "plan_state", "comment": null}, "plan_total_billing_cycles": {"type": "integer", "index": 34, "name": "plan_total_billing_cycles", "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.recurly.recurly__subscription_overview"}, "model.recurly.int_recurly__account_cumulatives": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__account_cumulatives", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "total_transactions": {"type": "numeric", "index": 2, "name": "total_transactions", "comment": null}, "total_invoices": {"type": "numeric", "index": 3, "name": "total_invoices", "comment": null}, "total_charges": {"type": "double precision", "index": 4, "name": "total_charges", "comment": null}, "total_credits": {"type": "double precision", "index": 5, "name": "total_credits", "comment": null}, "total_balance": {"type": "double precision", "index": 6, "name": "total_balance", "comment": null}, "total_discounts": {"type": "double precision", "index": 7, "name": "total_discounts", "comment": null}, "total_taxes": {"type": "double precision", "index": 8, "name": "total_taxes", "comment": null}, "total_charge_count": {"type": "numeric", "index": 9, "name": "total_charge_count", "comment": null}, "total_credit_count": {"type": "numeric", "index": 10, "name": "total_credit_count", "comment": null}, "transactions_this_month": {"type": "numeric", "index": 11, "name": "transactions_this_month", "comment": null}, "invoices_this_month": {"type": "numeric", "index": 12, "name": "invoices_this_month", "comment": null}, "balance_this_month": {"type": "double precision", "index": 13, "name": "balance_this_month", "comment": null}, "charges_this_month": {"type": "double precision", "index": 14, "name": "charges_this_month", "comment": null}, "credits_this_month": {"type": "double precision", "index": 15, "name": "credits_this_month", "comment": null}, "discounts_this_month": {"type": "double precision", "index": 16, "name": "discounts_this_month", "comment": null}, "taxes_this_month": {"type": "double precision", "index": 17, "name": "taxes_this_month", "comment": null}, "first_charge_date": {"type": "timestamp without time zone", "index": 18, "name": "first_charge_date", "comment": null}, "most_recent_charge_date": {"type": "timestamp without time zone", "index": 19, "name": "most_recent_charge_date", "comment": null}, "first_invoice_date": {"type": "timestamp without time zone", "index": 20, "name": "first_invoice_date", "comment": null}, "most_recent_invoice_date": {"type": "timestamp without time zone", "index": 21, "name": "most_recent_invoice_date", "comment": null}, "first_transaction_date": {"type": "timestamp without time zone", "index": 22, "name": "first_transaction_date", "comment": null}, "most_recent_transaction_date": {"type": "timestamp without time zone", "index": 23, "name": "most_recent_transaction_date", "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.recurly.int_recurly__account_cumulatives"}, "model.recurly.int_recurly__account_partitions": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__account_partitions", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "bigint", "index": 6, "name": "daily_transactions", "comment": null}, "daily_balance": {"type": "double precision", "index": 7, "name": "daily_balance", "comment": null}, "daily_invoices": {"type": "bigint", "index": 8, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "double precision", "index": 9, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "double precision", "index": 10, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "double precision", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "double precision", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "bigint", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "bigint", "index": 14, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "double precision", "index": 15, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "numeric", "index": 16, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "numeric", "index": 17, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "double precision", "index": 18, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "double precision", "index": 19, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "double precision", "index": 20, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "double precision", "index": 21, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "numeric", "index": 22, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "numeric", "index": 23, "name": "rolling_credits", "comment": null}, "date_index": {"type": "bigint", "index": 24, "name": "date_index", "comment": null}, "rolling_account_balance_partition": {"type": "bigint", "index": 25, "name": "rolling_account_balance_partition", "comment": null}, "rolling_invoices_partition": {"type": "bigint", "index": 26, "name": "rolling_invoices_partition", "comment": null}, "rolling_transactions_partition": {"type": "bigint", "index": 27, "name": "rolling_transactions_partition", "comment": null}, "rolling_charge_balance_partition": {"type": "bigint", "index": 28, "name": "rolling_charge_balance_partition", "comment": null}, "rolling_credit_balance_partition": {"type": "bigint", "index": 29, "name": "rolling_credit_balance_partition", "comment": null}, "rolling_discount_balance_partition": {"type": "bigint", "index": 30, "name": "rolling_discount_balance_partition", "comment": null}, "rolling_tax_balance_partition": {"type": "bigint", "index": 31, "name": "rolling_tax_balance_partition", "comment": null}, "rolling_charges_partition": {"type": "bigint", "index": 32, "name": "rolling_charges_partition", "comment": null}, "rolling_credits_partition": {"type": "bigint", "index": 33, "name": "rolling_credits_partition", "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.recurly.int_recurly__account_partitions"}, "model.recurly.int_recurly__account_rolling_totals": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__account_rolling_totals", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "bigint", "index": 6, "name": "daily_transactions", "comment": null}, "daily_balance": {"type": "double precision", "index": 7, "name": "daily_balance", "comment": null}, "daily_invoices": {"type": "bigint", "index": 8, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "double precision", "index": 9, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "double precision", "index": 10, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "double precision", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "double precision", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "bigint", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "bigint", "index": 14, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "double precision", "index": 15, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "numeric", "index": 16, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "numeric", "index": 17, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "double precision", "index": 18, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "double precision", "index": 19, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "double precision", "index": 20, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "double precision", "index": 21, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "numeric", "index": 22, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "numeric", "index": 23, "name": "rolling_credits", "comment": null}, "date_index": {"type": "bigint", "index": 24, "name": "date_index", "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.recurly.int_recurly__account_rolling_totals"}, "model.recurly.int_recurly__account_running_totals": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__account_running_totals", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "timestamp without time zone", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "text", "index": 3, "name": "account_city", "comment": null}, "account_company": {"type": "text", "index": 4, "name": "account_company", "comment": null}, "account_country": {"type": "text", "index": 5, "name": "account_country", "comment": null}, "account_code": {"type": "text", "index": 6, "name": "account_code", "comment": null}, "account_email": {"type": "text", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "text", "index": 8, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "text", "index": 9, "name": "account_last_name", "comment": null}, "account_is_tax_exempt": {"type": "boolean", "index": 10, "name": "account_is_tax_exempt", "comment": null}, "account_postal_code": {"type": "text", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "text", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "text", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "text", "index": 14, "name": "account_username", "comment": null}, "account_daily_id": {"type": "text", "index": 15, "name": "account_daily_id", "comment": null}, "date_day": {"type": "date", "index": 16, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 17, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 18, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 19, "name": "date_year", "comment": null}, "date_index": {"type": "bigint", "index": 20, "name": "date_index", "comment": null}, "daily_transaction_count": {"type": "bigint", "index": 21, "name": "daily_transaction_count", "comment": null}, "daily_net_change": {"type": "double precision", "index": 22, "name": "daily_net_change", "comment": null}, "daily_invoice_count": {"type": "bigint", "index": 23, "name": "daily_invoice_count", "comment": null}, "daily_charges": {"type": "double precision", "index": 24, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "double precision", "index": 25, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "double precision", "index": 26, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "double precision", "index": 27, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "bigint", "index": 28, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "bigint", "index": 29, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "double precision", "index": 30, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "numeric", "index": 31, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "numeric", "index": 32, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "double precision", "index": 33, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "double precision", "index": 34, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "double precision", "index": 35, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "double precision", "index": 36, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "numeric", "index": 37, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "numeric", "index": 38, "name": "rolling_credits", "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.recurly.int_recurly__account_running_totals"}, "model.recurly.int_recurly__transactions_date_spine": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__transactions_date_spine", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "date_index": {"type": "bigint", "index": 6, "name": "date_index", "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.recurly.int_recurly__transactions_date_spine"}, "model.recurly.int_recurly__transactions_grouped": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_int", "name": "int_recurly__transactions_grouped", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "date", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "date", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "date", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "date", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "bigint", "index": 6, "name": "daily_transactions", "comment": null}, "daily_invoices": {"type": "bigint", "index": 7, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "double precision", "index": 8, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "double precision", "index": 9, "name": "daily_credits", "comment": null}, "daily_balance": {"type": "double precision", "index": 10, "name": "daily_balance", "comment": null}, "daily_discounts": {"type": "double precision", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "double precision", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "bigint", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "bigint", "index": 14, "name": "daily_credit_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.recurly.int_recurly__transactions_grouped"}, "model.recurly_source.stg_recurly__account_balance_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_balance_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "amount": {"type": "double precision", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "text", "index": 4, "name": "currency", "comment": null}, "past_due": {"type": "boolean", "index": 5, "name": "past_due", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 6, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__account_balance_history"}, "model.recurly_source.stg_recurly__account_balance_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_balance_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "text", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "boolean", "index": 6, "name": "past_due", "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.recurly_source.stg_recurly__account_balance_history_tmp"}, "model.recurly_source.stg_recurly__account_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_city": {"type": "text", "index": 3, "name": "account_city", "comment": null}, "account_country": {"type": "text", "index": 4, "name": "account_country", "comment": null}, "account_postal_code": {"type": "text", "index": 5, "name": "account_postal_code", "comment": null}, "account_region": {"type": "text", "index": 6, "name": "account_region", "comment": null}, "bill_to": {"type": "text", "index": 7, "name": "bill_to", "comment": null}, "cc_emails": {"type": "text", "index": 8, "name": "cc_emails", "comment": null}, "code": {"type": "text", "index": 9, "name": "code", "comment": null}, "company": {"type": "text", "index": 10, "name": "company", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 12, "name": "deleted_at", "comment": null}, "email": {"type": "text", "index": 13, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 14, "name": "first_name", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 15, "name": "is_most_recent_record", "comment": null}, "is_tax_exempt": {"type": "boolean", "index": 16, "name": "is_tax_exempt", "comment": null}, "last_name": {"type": "text", "index": 17, "name": "last_name", "comment": null}, "state": {"type": "text", "index": 18, "name": "state", "comment": null}, "username": {"type": "text", "index": 19, "name": "username", "comment": null}, "vat_number": {"type": "text", "index": 20, "name": "vat_number", "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.recurly_source.stg_recurly__account_history"}, "model.recurly_source.stg_recurly__account_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "text", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "text", "index": 8, "name": "state", "comment": null}, "username": {"type": "text", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "integer", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "integer", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "text", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "text", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "text", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "text", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "text", "index": 17, "name": "account_country", "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.recurly_source.stg_recurly__account_history_tmp"}, "model.recurly_source.stg_recurly__account_note_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_note_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_note_id": {"type": "text", "index": 1, "name": "account_note_id", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "account_updated_at", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 4, "name": "created_at", "comment": null}, "message": {"type": "text", "index": 5, "name": "message", "comment": null}, "object": {"type": "text", "index": 6, "name": "object", "comment": null}, "user_email": {"type": "text", "index": 7, "name": "user_email", "comment": null}, "user_id": {"type": "text", "index": 8, "name": "user_id", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 9, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__account_note_history"}, "model.recurly_source.stg_recurly__account_note_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__account_note_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "text", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "text", "index": 6, "name": "message", "comment": null}, "object": {"type": "text", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "text", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "text", "index": 9, "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.recurly_source.stg_recurly__account_note_history_tmp"}, "model.recurly_source.stg_recurly__billing_info_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__billing_info_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"billing_id": {"type": "text", "index": 1, "name": "billing_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "billing_city": {"type": "text", "index": 4, "name": "billing_city", "comment": null}, "billing_country": {"type": "text", "index": 5, "name": "billing_country", "comment": null}, "billing_phone": {"type": "text", "index": 6, "name": "billing_phone", "comment": null}, "billing_postal_code": {"type": "text", "index": 7, "name": "billing_postal_code", "comment": null}, "billing_region": {"type": "text", "index": 8, "name": "billing_region", "comment": null}, "billing_street_1": {"type": "text", "index": 9, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 10, "name": "billing_street_2", "comment": null}, "company": {"type": "text", "index": 11, "name": "company", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 12, "name": "created_at", "comment": null}, "first_name": {"type": "text", "index": 13, "name": "first_name", "comment": null}, "is_valid": {"type": "boolean", "index": 14, "name": "is_valid", "comment": null}, "last_name": {"type": "text", "index": 15, "name": "last_name", "comment": null}, "payment_method_card_type": {"type": "text", "index": 16, "name": "payment_method_card_type", "comment": null}, "payment_method_object": {"type": "text", "index": 17, "name": "payment_method_object", "comment": null}, "updated_by_country": {"type": "integer", "index": 18, "name": "updated_by_country", "comment": null}, "updated_by_ip": {"type": "integer", "index": 19, "name": "updated_by_ip", "comment": null}, "vat_number": {"type": "text", "index": 20, "name": "vat_number", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 21, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__billing_info_history"}, "model.recurly_source.stg_recurly__billing_info_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__billing_info_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "text", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "text", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "boolean", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "text", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "text", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "text", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "text", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "text", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "text", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "integer", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "integer", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "integer", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "integer", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "integer", "index": 27, "name": "updated_by_country", "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.recurly_source.stg_recurly__billing_info_history_tmp"}, "model.recurly_source.stg_recurly__coupon_discount": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__coupon_discount", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_id": {"type": "text", "index": 1, "name": "coupon_id", "comment": null}, "amount": {"type": "double precision", "index": 2, "name": "amount", "comment": null}, "currency": {"type": "text", "index": 3, "name": "currency", "comment": null}, "fivetran_id": {"type": "text", "index": 4, "name": "fivetran_id", "comment": null}, "percentage": {"type": "integer", "index": 5, "name": "percentage", "comment": null}, "trial_length": {"type": "integer", "index": 6, "name": "trial_length", "comment": null}, "trial_unit": {"type": "integer", "index": 7, "name": "trial_unit", "comment": null}, "type": {"type": "text", "index": 8, "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.recurly_source.stg_recurly__coupon_discount"}, "model.recurly_source.stg_recurly__coupon_discount_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__coupon_discount_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_id": {"type": "text", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "text", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "text", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "integer", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "integer", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "integer", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "text", "index": 9, "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.recurly_source.stg_recurly__coupon_discount_tmp"}, "model.recurly_source.stg_recurly__coupon_redemption_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__coupon_redemption_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_redemption_id": {"type": "text", "index": 1, "name": "coupon_redemption_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "coupon_id": {"type": "text", "index": 4, "name": "coupon_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 6, "name": "currency", "comment": null}, "discounted": {"type": "double precision", "index": 7, "name": "discounted", "comment": null}, "removed_at": {"type": "timestamp without time zone", "index": 8, "name": "removed_at", "comment": null}, "state": {"type": "text", "index": 9, "name": "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.recurly_source.stg_recurly__coupon_redemption_history"}, "model.recurly_source.stg_recurly__coupon_redemption_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__coupon_redemption_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "text", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "double precision", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "timestamp without time zone", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "text", "index": 10, "name": "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.recurly_source.stg_recurly__coupon_redemption_history_tmp"}, "model.recurly_source.stg_recurly__credit_payment_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__credit_payment_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"credit_payment_id": {"type": "character varying", "index": 1, "name": "credit_payment_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "character varying", "index": 3, "name": "account_id", "comment": null}, "action": {"type": "text", "index": 4, "name": "action", "comment": null}, "amount": {"type": "double precision", "index": 5, "name": "amount", "comment": null}, "applied_to_invoice_id": {"type": "character varying", "index": 6, "name": "applied_to_invoice_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 7, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 8, "name": "currency", "comment": null}, "refund_transaction_id": {"type": "character varying", "index": 9, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "character varying", "index": 10, "name": "original_credit_payment_id", "comment": null}, "original_invoice_id": {"type": "character varying", "index": 11, "name": "original_invoice_id", "comment": null}, "uuid": {"type": "character varying", "index": 12, "name": "uuid", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 13, "name": "voided_at", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 14, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__credit_payment_history"}, "model.recurly_source.stg_recurly__credit_payment_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__credit_payment_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "character varying", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "character varying", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "character varying", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "character varying", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "character varying", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "character varying", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "text", "index": 10, "name": "action", "comment": null}, "currency": {"type": "text", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 14, "name": "voided_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.recurly_source.stg_recurly__credit_payment_history_tmp"}, "model.recurly_source.stg_recurly__invoice_coupon_redemption_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_coupon_redemption_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_redemption_id": {"type": "text", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "text", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 4, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__invoice_coupon_redemption_history"}, "model.recurly_source.stg_recurly__invoice_coupon_redemption_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_coupon_redemption_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_redemption_id": {"type": "text", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "text", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recurly_source.stg_recurly__invoice_coupon_redemption_history_tmp"}, "model.recurly_source.stg_recurly__invoice_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"invoice_id": {"type": "text", "index": 1, "name": "invoice_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "balance": {"type": "double precision", "index": 4, "name": "balance", "comment": null}, "closed_at": {"type": "timestamp without time zone", "index": 5, "name": "closed_at", "comment": null}, "collection_method": {"type": "text", "index": 6, "name": "collection_method", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 7, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 8, "name": "currency", "comment": null}, "discount": {"type": "double precision", "index": 9, "name": "discount", "comment": null}, "due_at": {"type": "timestamp without time zone", "index": 10, "name": "due_at", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 11, "name": "is_most_recent_record", "comment": null}, "net_terms": {"type": "integer", "index": 12, "name": "net_terms", "comment": null}, "number": {"type": "integer", "index": 13, "name": "number", "comment": null}, "origin": {"type": "text", "index": 14, "name": "origin", "comment": null}, "paid": {"type": "double precision", "index": 15, "name": "paid", "comment": null}, "po_number": {"type": "integer", "index": 16, "name": "po_number", "comment": null}, "previous_invoice_id": {"type": "integer", "index": 17, "name": "previous_invoice_id", "comment": null}, "refundable_amount": {"type": "double precision", "index": 18, "name": "refundable_amount", "comment": null}, "state": {"type": "text", "index": 19, "name": "state", "comment": null}, "subtotal": {"type": "double precision", "index": 20, "name": "subtotal", "comment": null}, "tax": {"type": "double precision", "index": 21, "name": "tax", "comment": null}, "tax_rate": {"type": "integer", "index": 22, "name": "tax_rate", "comment": null}, "tax_region": {"type": "integer", "index": 23, "name": "tax_region", "comment": null}, "tax_type": {"type": "integer", "index": 24, "name": "tax_type", "comment": null}, "total": {"type": "double precision", "index": 25, "name": "total", "comment": null}, "type": {"type": "text", "index": 26, "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.recurly_source.stg_recurly__invoice_history"}, "model.recurly_source.stg_recurly__invoice_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "timestamp without time zone", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "timestamp without time zone", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "integer", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "text", "index": 9, "name": "type", "comment": null}, "origin": {"type": "text", "index": 10, "name": "origin", "comment": null}, "state": {"type": "text", "index": 11, "name": "state", "comment": null}, "number": {"type": "integer", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "text", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "integer", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "integer", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "text", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "double precision", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "double precision", "index": 18, "name": "paid", "comment": null}, "total": {"type": "double precision", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "double precision", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "double precision", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "double precision", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "integer", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 26, "name": "tax_rate", "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.recurly_source.stg_recurly__invoice_history_tmp"}, "model.recurly_source.stg_recurly__invoice_subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_subscription_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"invoice_id": {"type": "text", "index": 1, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "invoice_updated_at", "comment": null}, "subscription_id": {"type": "text", "index": 3, "name": "subscription_id", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 4, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__invoice_subscription_history"}, "model.recurly_source.stg_recurly__invoice_subscription_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__invoice_subscription_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"invoice_id": {"type": "text", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "text", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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.recurly_source.stg_recurly__invoice_subscription_history_tmp"}, "model.recurly_source.stg_recurly__line_item_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__line_item_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"line_item_id": {"type": "text", "index": 1, "name": "line_item_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "add_on_code": {"type": "integer", "index": 4, "name": "add_on_code", "comment": null}, "add_on_id": {"type": "integer", "index": 5, "name": "add_on_id", "comment": null}, "amount": {"type": "double precision", "index": 6, "name": "amount", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 7, "name": "created_at", "comment": null}, "credit_applied": {"type": "double precision", "index": 8, "name": "credit_applied", "comment": null}, "currency": {"type": "text", "index": 9, "name": "currency", "comment": null}, "description": {"type": "text", "index": 10, "name": "description", "comment": null}, "discount": {"type": "double precision", "index": 11, "name": "discount", "comment": null}, "ended_at": {"type": "timestamp without time zone", "index": 12, "name": "ended_at", "comment": null}, "has_refund": {"type": "boolean", "index": 13, "name": "has_refund", "comment": null}, "invoice_id": {"type": "text", "index": 14, "name": "invoice_id", "comment": null}, "invoice_number": {"type": "integer", "index": 15, "name": "invoice_number", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 16, "name": "is_most_recent_record", "comment": null}, "is_taxable": {"type": "boolean", "index": 17, "name": "is_taxable", "comment": null}, "original_line_item_invoice_id": {"type": "integer", "index": 18, "name": "original_line_item_invoice_id", "comment": null}, "origin": {"type": "text", "index": 19, "name": "origin", "comment": null}, "plan_code": {"type": "integer", "index": 20, "name": "plan_code", "comment": null}, "plan_id": {"type": "integer", "index": 21, "name": "plan_id", "comment": null}, "previous_line_item_id": {"type": "integer", "index": 22, "name": "previous_line_item_id", "comment": null}, "product_code": {"type": "integer", "index": 23, "name": "product_code", "comment": null}, "proration_rate": {"type": "integer", "index": 24, "name": "proration_rate", "comment": null}, "quantity": {"type": "integer", "index": 25, "name": "quantity", "comment": null}, "refunded_quantity": {"type": "integer", "index": 26, "name": "refunded_quantity", "comment": null}, "started_at": {"type": "timestamp without time zone", "index": 27, "name": "started_at", "comment": null}, "state": {"type": "text", "index": 28, "name": "state", "comment": null}, "subscription_id": {"type": "integer", "index": 29, "name": "subscription_id", "comment": null}, "subtotal": {"type": "double precision", "index": 30, "name": "subtotal", "comment": null}, "tax": {"type": "double precision", "index": 31, "name": "tax", "comment": null}, "tax_code": {"type": "integer", "index": 32, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "boolean", "index": 33, "name": "tax_exempt", "comment": null}, "tax_region": {"type": "integer", "index": 34, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 35, "name": "tax_rate", "comment": null}, "tax_type": {"type": "integer", "index": 36, "name": "tax_type", "comment": null}, "type": {"type": "text", "index": 37, "name": "type", "comment": null}, "unit_amount": {"type": "double precision", "index": 38, "name": "unit_amount", "comment": null}, "uuid": {"type": "text", "index": 39, "name": "uuid", "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.recurly_source.stg_recurly__line_item_history"}, "model.recurly_source.stg_recurly__line_item_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__line_item_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "integer", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "integer", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "integer", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "integer", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "integer", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "text", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 13, "name": "type", "comment": null}, "state": {"type": "text", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "integer", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "integer", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "integer", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "text", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "integer", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "text", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 21, "name": "amount", "comment": null}, "description": {"type": "text", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "integer", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "double precision", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "double precision", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "double precision", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "boolean", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "boolean", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "integer", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "integer", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "integer", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "boolean", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "integer", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "double precision", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "timestamp without time zone", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "timestamp without time zone", "index": 39, "name": "end_date", "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.recurly_source.stg_recurly__line_item_history_tmp"}, "model.recurly_source.stg_recurly__plan_currency_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__plan_currency_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"plan_id": {"type": "text", "index": 1, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "plan_updated_at", "comment": null}, "currency": {"type": "text", "index": 3, "name": "currency", "comment": null}, "setup_fees": {"type": "double precision", "index": 4, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "double precision", "index": 5, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 6, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__plan_currency_history"}, "model.recurly_source.stg_recurly__plan_currency_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__plan_currency_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "text", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "text", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "double precision", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "double precision", "index": 6, "name": "unit_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.recurly_source.stg_recurly__plan_currency_history_tmp"}, "model.recurly_source.stg_recurly__plan_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__plan_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"plan_id": {"type": "text", "index": 1, "name": "plan_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "accounting_code": {"type": "text", "index": 3, "name": "accounting_code", "comment": null}, "code": {"type": "text", "index": 4, "name": "code", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 6, "name": "deleted_at", "comment": null}, "description": {"type": "integer", "index": 7, "name": "description", "comment": null}, "has_auto_renew": {"type": "boolean", "index": 8, "name": "has_auto_renew", "comment": null}, "interval_length": {"type": "integer", "index": 9, "name": "interval_length", "comment": null}, "interval_unit": {"type": "text", "index": 10, "name": "interval_unit", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 11, "name": "is_most_recent_record", "comment": null}, "is_tax_exempt": {"type": "boolean", "index": 12, "name": "is_tax_exempt", "comment": null}, "name": {"type": "text", "index": 13, "name": "name", "comment": null}, "setup_fee_accounting_code": {"type": "text", "index": 14, "name": "setup_fee_accounting_code", "comment": null}, "state": {"type": "text", "index": 15, "name": "state", "comment": null}, "tax_code": {"type": "integer", "index": 16, "name": "tax_code", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 17, "name": "total_billing_cycles", "comment": null}, "trial_length": {"type": "integer", "index": 18, "name": "trial_length", "comment": null}, "trial_unit": {"type": "text", "index": 19, "name": "trial_unit", "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.recurly_source.stg_recurly__plan_history"}, "model.recurly_source.stg_recurly__plan_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__plan_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "state": {"type": "text", "index": 7, "name": "state", "comment": null}, "name": {"type": "text", "index": 8, "name": "name", "comment": null}, "description": {"type": "integer", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "text", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "integer", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "text", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "integer", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "text", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "text", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "integer", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "boolean", "index": 19, "name": "tax_exempt", "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.recurly_source.stg_recurly__plan_history_tmp"}, "model.recurly_source.stg_recurly__subscription_add_on_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_add_on_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_add_on_id": {"type": "text", "index": 1, "name": "subscription_add_on_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "expired_at": {"type": "timestamp without time zone", "index": 4, "name": "expired_at", "comment": null}, "object": {"type": "text", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "text", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "integer", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "text", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "double precision", "index": 9, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 10, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__subscription_add_on_history"}, "model.recurly_source.stg_recurly__subscription_add_on_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_add_on_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "timestamp without time zone", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "text", "index": 4, "name": "id", "comment": null}, "object": {"type": "text", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "text", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "integer", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "text", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "double precision", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "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.recurly_source.stg_recurly__subscription_add_on_history_tmp"}, "model.recurly_source.stg_recurly__subscription_change_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_change_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_change_id": {"type": "character varying", "index": 1, "name": "subscription_change_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "activate_at": {"type": "timestamp without time zone", "index": 3, "name": "activate_at", "comment": null}, "activated": {"type": "boolean", "index": 4, "name": "activated", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 6, "name": "deleted_at", "comment": null}, "object": {"type": "character varying", "index": 7, "name": "object", "comment": null}, "plan_id": {"type": "character varying", "index": 8, "name": "plan_id", "comment": null}, "quantity": {"type": "bigint", "index": 9, "name": "quantity", "comment": null}, "subscription_id": {"type": "character varying", "index": 10, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "double precision", "index": 11, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 12, "name": "is_most_recent_record", "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.recurly_source.stg_recurly__subscription_change_history"}, "model.recurly_source.stg_recurly__subscription_change_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_change_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "character varying", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "character varying", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "character varying", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "double precision", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "bigint", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "timestamp without time zone", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "boolean", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 12, "name": "deleted_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.recurly_source.stg_recurly__subscription_change_history_tmp"}, "model.recurly_source.stg_recurly__subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 4, "name": "activated_at", "comment": null}, "add_ons_total": {"type": "double precision", "index": 5, "name": "add_ons_total", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 6, "name": "canceled_at", "comment": null}, "collection_method": {"type": "text", "index": 7, "name": "collection_method", "comment": null}, "converted_at": {"type": "timestamp without time zone", "index": 8, "name": "converted_at", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 9, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 10, "name": "currency", "comment": null}, "current_period_ended_at": {"type": "timestamp without time zone", "index": 11, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 12, "name": "current_period_started_at", "comment": null}, "current_term_ended_at": {"type": "timestamp without time zone", "index": 13, "name": "current_term_ended_at", "comment": null}, "current_term_started_at": {"type": "timestamp without time zone", "index": 14, "name": "current_term_started_at", "comment": null}, "expiration_reason": {"type": "text", "index": 15, "name": "expiration_reason", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 16, "name": "expires_at", "comment": null}, "has_auto_renew": {"type": "boolean", "index": 17, "name": "has_auto_renew", "comment": null}, "has_started_with_gift": {"type": "boolean", "index": 18, "name": "has_started_with_gift", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 19, "name": "is_most_recent_record", "comment": null}, "object": {"type": "text", "index": 20, "name": "object", "comment": null}, "paused_at": {"type": "timestamp without time zone", "index": 21, "name": "paused_at", "comment": null}, "plan_id": {"type": "text", "index": 22, "name": "plan_id", "comment": null}, "quantity": {"type": "integer", "index": 23, "name": "quantity", "comment": null}, "remaining_billing_cycles": {"type": "integer", "index": 24, "name": "remaining_billing_cycles", "comment": null}, "remaining_pause_cycles": {"type": "integer", "index": 25, "name": "remaining_pause_cycles", "comment": null}, "renewal_billing_cycles": {"type": "integer", "index": 26, "name": "renewal_billing_cycles", "comment": null}, "state": {"type": "text", "index": 27, "name": "state", "comment": null}, "subtotal": {"type": "double precision", "index": 28, "name": "subtotal", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 29, "name": "total_billing_cycles", "comment": null}, "trial_ends_at": {"type": "timestamp without time zone", "index": 30, "name": "trial_ends_at", "comment": null}, "trial_started_at": {"type": "timestamp without time zone", "index": 31, "name": "trial_started_at", "comment": null}, "unit_amount": {"type": "double precision", "index": 32, "name": "unit_amount", "comment": null}, "uuid": {"type": "text", "index": 33, "name": "uuid", "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.recurly_source.stg_recurly__subscription_history"}, "model.recurly_source.stg_recurly__subscription_history_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__subscription_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "text", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "text", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "text", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "text", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "timestamp without time zone", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "timestamp without time zone", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "timestamp without time zone", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "timestamp without time zone", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "timestamp without time zone", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "integer", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "integer", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "timestamp without time zone", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "integer", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "double precision", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "integer", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "double precision", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "double precision", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "text", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "text", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "boolean", "index": 32, "name": "started_with_gift", "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.recurly_source.stg_recurly__subscription_history_tmp"}, "model.recurly_source.stg_recurly__transaction": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__transaction", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transaction_id": {"type": "text", "index": 1, "name": "transaction_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "account_id": {"type": "text", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "billing_city": {"type": "text", "index": 5, "name": "billing_city", "comment": null}, "billing_country": {"type": "text", "index": 6, "name": "billing_country", "comment": null}, "billing_first_name": {"type": "text", "index": 7, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "text", "index": 8, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "text", "index": 9, "name": "billing_phone", "comment": null}, "billing_postal_code": {"type": "text", "index": 10, "name": "billing_postal_code", "comment": null}, "billing_region": {"type": "text", "index": 11, "name": "billing_region", "comment": null}, "billing_street_1": {"type": "text", "index": 12, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 13, "name": "billing_street_2", "comment": null}, "collected_at": {"type": "timestamp without time zone", "index": 14, "name": "collected_at", "comment": null}, "collection_method": {"type": "text", "index": 15, "name": "collection_method", "comment": null}, "currency": {"type": "text", "index": 16, "name": "currency", "comment": null}, "customer_message": {"type": "text", "index": 17, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "text", "index": 18, "name": "customer_message_locale", "comment": null}, "gateway_approval_code": {"type": "integer", "index": 19, "name": "gateway_approval_code", "comment": null}, "gateway_message": {"type": "text", "index": 20, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "integer", "index": 21, "name": "gateway_reference", "comment": null}, "gateway_response_code": {"type": "integer", "index": 22, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "double precision", "index": 23, "name": "gateway_response_time", "comment": null}, "gateway_response_values": {"type": "text", "index": 24, "name": "gateway_response_values", "comment": null}, "invoice_id": {"type": "text", "index": 25, "name": "invoice_id", "comment": null}, "is_refunded": {"type": "boolean", "index": 26, "name": "is_refunded", "comment": null}, "is_successful": {"type": "boolean", "index": 27, "name": "is_successful", "comment": null}, "is_most_recent_record": {"type": "boolean", "index": 28, "name": "is_most_recent_record", "comment": null}, "origin": {"type": "text", "index": 29, "name": "origin", "comment": null}, "original_transaction_id": {"type": "integer", "index": 30, "name": "original_transaction_id", "comment": null}, "payment_gateway_id": {"type": "integer", "index": 31, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "text", "index": 32, "name": "payment_gateway_name", "comment": null}, "payment_gateway_type": {"type": "text", "index": 33, "name": "payment_gateway_type", "comment": null}, "payment_method_object": {"type": "text", "index": 34, "name": "payment_method_object", "comment": null}, "status": {"type": "text", "index": 35, "name": "status", "comment": null}, "status_code": {"type": "text", "index": 36, "name": "status_code", "comment": null}, "status_message": {"type": "text", "index": 37, "name": "status_message", "comment": null}, "type": {"type": "text", "index": 38, "name": "type", "comment": null}, "uuid": {"type": "text", "index": 39, "name": "uuid", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 40, "name": "voided_at", "comment": null}, "voided_by_invoice_id": {"type": "text", "index": 41, "name": "voided_by_invoice_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.recurly_source.stg_recurly__transaction"}, "model.recurly_source.stg_recurly__transaction_subscription": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__transaction_subscription", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"transaction_id": {"type": "text", "index": 1, "name": "transaction_id", "comment": null}, "subscription_id": {"type": "text", "index": 2, "name": "subscription_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.recurly_source.stg_recurly__transaction_subscription"}, "model.recurly_source.stg_recurly__transaction_subscription_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__transaction_subscription_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "text", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "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.recurly_source.stg_recurly__transaction_subscription_tmp"}, "model.recurly_source.stg_recurly__transaction_tmp": {"metadata": {"type": "VIEW", "schema": "recurly_integration_tests_recurly_source", "name": "stg_recurly__transaction_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "timestamp without time zone", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "integer", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "text", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "text", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "origin": {"type": "text", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "text", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 14, "name": "amount", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "success": {"type": "boolean", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "boolean", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "text", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "text", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "text", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "text", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "text", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "text", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "text", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "text", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "text", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "text", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "integer", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "integer", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "integer", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "double precision", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "integer", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "text", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "text", "index": 40, "name": "gateway_response_values", "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.recurly_source.stg_recurly__transaction_tmp"}}, "sources": {"source.recurly_source.recurly.account_balance_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_balance_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "text", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "boolean", "index": 6, "name": "past_due", "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": "source.recurly_source.recurly.account_balance_history"}, "source.recurly_source.recurly.account_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "text", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "text", "index": 8, "name": "state", "comment": null}, "username": {"type": "text", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "integer", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "integer", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "text", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "text", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "text", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "text", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "boolean", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "text", "index": 17, "name": "account_country", "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": "source.recurly_source.recurly.account_history"}, "source.recurly_source.recurly.account_note_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "account_note_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "timestamp without time zone", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "text", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "text", "index": 6, "name": "message", "comment": null}, "object": {"type": "text", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "text", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "text", "index": 9, "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": "source.recurly_source.recurly.account_note_history"}, "source.recurly_source.recurly.billing_info_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "billing_info_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "text", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "text", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "boolean", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "text", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "text", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "text", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "text", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "text", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "text", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "integer", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "integer", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "integer", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "integer", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "integer", "index": 27, "name": "updated_by_country", "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": "source.recurly_source.recurly.billing_info_history"}, "source.recurly_source.recurly.coupon_discount": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "coupon_discount_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_id": {"type": "text", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "text", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "double precision", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "text", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "integer", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "integer", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "integer", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "text", "index": 9, "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": "source.recurly_source.recurly.coupon_discount"}, "source.recurly_source.recurly.coupon_redemption_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "coupon_redemption_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "text", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "text", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "text", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "text", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "double precision", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "timestamp without time zone", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "text", "index": 10, "name": "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": "source.recurly_source.recurly.coupon_redemption_history"}, "source.recurly_source.recurly.credit_payment_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "credit_payment_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "character varying", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "character varying", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "character varying", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "character varying", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "character varying", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "character varying", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "text", "index": 10, "name": "action", "comment": null}, "currency": {"type": "text", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 14, "name": "voided_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": "source.recurly_source.recurly.credit_payment_history"}, "source.recurly_source.recurly.invoice_coupon_redemption_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_coupon_redemption_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"coupon_redemption_id": {"type": "text", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "text", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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": "source.recurly_source.recurly.invoice_coupon_redemption_history"}, "source.recurly_source.recurly.invoice_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "timestamp without time zone", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "timestamp without time zone", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "integer", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "text", "index": 9, "name": "type", "comment": null}, "origin": {"type": "text", "index": 10, "name": "origin", "comment": null}, "state": {"type": "text", "index": 11, "name": "state", "comment": null}, "number": {"type": "integer", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "text", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "integer", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "integer", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "text", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "double precision", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "double precision", "index": 18, "name": "paid", "comment": null}, "total": {"type": "double precision", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "double precision", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "double precision", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "double precision", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "integer", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 26, "name": "tax_rate", "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": "source.recurly_source.recurly.invoice_history"}, "source.recurly_source.recurly.invoice_subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "invoice_subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"invoice_id": {"type": "text", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "text", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "index": 4, "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": "source.recurly_source.recurly.invoice_subscription_history"}, "source.recurly_source.recurly.line_item_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "line_item_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "integer", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "integer", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "integer", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "integer", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "integer", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "text", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 13, "name": "type", "comment": null}, "state": {"type": "text", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "integer", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "integer", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "integer", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "text", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "integer", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "text", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 21, "name": "amount", "comment": null}, "description": {"type": "text", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "integer", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "double precision", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "double precision", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "double precision", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "double precision", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "boolean", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "boolean", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "integer", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "integer", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "integer", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "integer", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "integer", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "boolean", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "integer", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "double precision", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "timestamp without time zone", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "timestamp without time zone", "index": 39, "name": "end_date", "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": "source.recurly_source.recurly.line_item_history"}, "source.recurly_source.recurly.plan_currency_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "plan_currency_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "text", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "timestamp without time zone", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "text", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "double precision", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "double precision", "index": 6, "name": "unit_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": "source.recurly_source.recurly.plan_currency_history"}, "source.recurly_source.recurly.plan_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "plan_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "text", "index": 6, "name": "code", "comment": null}, "state": {"type": "text", "index": 7, "name": "state", "comment": null}, "name": {"type": "text", "index": 8, "name": "name", "comment": null}, "description": {"type": "integer", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "text", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "integer", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "text", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "integer", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "text", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "text", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "integer", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "boolean", "index": 19, "name": "tax_exempt", "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": "source.recurly_source.recurly.plan_history"}, "source.recurly_source.recurly.subscription_add_on_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_add_on_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "timestamp without time zone", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "text", "index": 4, "name": "id", "comment": null}, "object": {"type": "text", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "text", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "integer", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "text", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "double precision", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 10, "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": "source.recurly_source.recurly.subscription_add_on_history"}, "source.recurly_source.recurly.subscription_change_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_change_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "character varying", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "character varying", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "character varying", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "double precision", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "bigint", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "timestamp without time zone", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "boolean", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "timestamp without time zone", "index": 12, "name": "deleted_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": "source.recurly_source.recurly.subscription_change_history"}, "source.recurly_source.recurly.subscription_history": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "subscription_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "timestamp without time zone", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "timestamp without time zone", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "timestamp without time zone", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "timestamp without time zone", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "text", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "text", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "text", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "text", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "timestamp without time zone", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "timestamp without time zone", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "timestamp without time zone", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "timestamp without time zone", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "timestamp without time zone", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "timestamp without time zone", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "integer", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "integer", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "integer", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "boolean", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "timestamp without time zone", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "integer", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "text", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "double precision", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "integer", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "double precision", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "double precision", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "text", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "text", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "boolean", "index": 32, "name": "started_with_gift", "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": "source.recurly_source.recurly.subscription_history"}, "source.recurly_source.recurly.transaction": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "transaction_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "text", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "timestamp without time zone", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "timestamp without time zone", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "timestamp without time zone", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "integer", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "text", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "text", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "text", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "text", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "origin": {"type": "text", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "text", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "double precision", "index": 14, "name": "amount", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "success": {"type": "boolean", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "boolean", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "text", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "text", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "text", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "text", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "text", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "text", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "text", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "text", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "text", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "text", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "text", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "text", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "text", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "text", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "text", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "text", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "integer", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "integer", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "integer", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "double precision", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "integer", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "text", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "text", "index": 40, "name": "gateway_response_values", "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": "source.recurly_source.recurly.transaction"}, "source.recurly_source.recurly.transaction_subscription": {"metadata": {"type": "BASE TABLE", "schema": "recurly_integration_tests", "name": "transaction_subscription_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"subscription_id": {"type": "text", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "text", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "timestamp without time zone", "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": "source.recurly_source.recurly.transaction_subscription"}}, "errors": null}
\ No newline at end of file
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.7.9", "generated_at": "2024-08-13T20:04:54.205701Z", "invocation_id": "fadbfb08-d55a-48de-b244-6b65eacac084", "env": {}}, "nodes": {"seed.recurly_integration_tests.account_balance_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_balance_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "BOOL", "index": 6, "name": "past_due", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 384, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 6, "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.recurly_integration_tests.account_balance_history_data"}, "seed.recurly_integration_tests.account_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "STRING", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "STRING", "index": 8, "name": "state", "comment": null}, "username": {"type": "STRING", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "INT64", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "INT64", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "STRING", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "STRING", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "STRING", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "STRING", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "STRING", "index": 17, "name": "account_country", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1555, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.account_history_data"}, "seed.recurly_integration_tests.account_note_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_note_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "STRING", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "STRING", "index": 6, "name": "message", "comment": null}, "object": {"type": "STRING", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "STRING", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "STRING", "index": 9, "name": "user_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 456, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_integration_tests.account_note_history_data"}, "seed.recurly_integration_tests.billing_info_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "billing_info_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "STRING", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "BOOL", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "STRING", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "STRING", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "STRING", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "STRING", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "STRING", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "STRING", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "INT64", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "INT64", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "INT64", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "DATETIME", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "INT64", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "INT64", "index": 27, "name": "updated_by_country", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1232, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_integration_tests.billing_info_history_data"}, "seed.recurly_integration_tests.coupon_discount_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "coupon_discount_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_id": {"type": "STRING", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "STRING", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "INT64", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "INT64", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "INT64", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 378, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly_integration_tests.coupon_discount_data"}, "seed.recurly_integration_tests.coupon_redemption_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "coupon_redemption_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "STRING", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "DATETIME", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "FLOAT64", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "DATETIME", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "state", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 451, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_integration_tests.coupon_redemption_history_data"}, "seed.recurly_integration_tests.credit_payment_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "credit_payment_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "STRING", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "STRING", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "STRING", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "STRING", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "STRING", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "STRING", "index": 10, "name": "action", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "DATETIME", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 14, "name": "voided_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1180, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.credit_payment_history_data"}, "seed.recurly_integration_tests.invoice_coupon_redemption_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_coupon_redemption_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_redemption_id": {"type": "STRING", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 588, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 7, "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.recurly_integration_tests.invoice_coupon_redemption_history_data"}, "seed.recurly_integration_tests.invoice_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "DATETIME", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "DATETIME", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "INT64", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 10, "name": "origin", "comment": null}, "state": {"type": "STRING", "index": 11, "name": "state", "comment": null}, "number": {"type": "INT64", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "STRING", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "INT64", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "INT64", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "STRING", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "FLOAT64", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "FLOAT64", "index": 18, "name": "paid", "comment": null}, "total": {"type": "FLOAT64", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "FLOAT64", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "FLOAT64", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "INT64", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 26, "name": "tax_rate", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1060, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.invoice_history_data"}, "seed.recurly_integration_tests.invoice_subscription_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_subscription_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"invoice_id": {"type": "STRING", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 420, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.invoice_subscription_history_data"}, "seed.recurly_integration_tests.line_item_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "line_item_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "INT64", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "INT64", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "INT64", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "INT64", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "STRING", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 13, "name": "type", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "INT64", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "INT64", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "INT64", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "STRING", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "INT64", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "STRING", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 21, "name": "amount", "comment": null}, "description": {"type": "STRING", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "INT64", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "FLOAT64", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "BOOL", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "INT64", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "INT64", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "INT64", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "BOOL", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "FLOAT64", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "DATETIME", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "TIMESTAMP", "index": 39, "name": "end_date", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1485, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.line_item_history_data"}, "seed.recurly_integration_tests.plan_currency_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "plan_currency_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "STRING", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "DATETIME", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "FLOAT64", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 6, "name": "unit_amount", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 189, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_integration_tests.plan_currency_history_data"}, "seed.recurly_integration_tests.plan_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "plan_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "state": {"type": "STRING", "index": 7, "name": "state", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "description": {"type": "INT64", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "STRING", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "INT64", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "STRING", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "INT64", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "STRING", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "STRING", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "INT64", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 19, "name": "tax_exempt", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 416, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_integration_tests.plan_history_data"}, "seed.recurly_integration_tests.subscription_add_on_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_add_on_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "TIMESTAMP", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "STRING", "index": 4, "name": "id", "comment": null}, "object": {"type": "STRING", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "STRING", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "INT64", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "STRING", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "DATETIME", "index": 10, "name": "updated_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 286, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_integration_tests.subscription_add_on_history_data"}, "seed.recurly_integration_tests.subscription_change_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_change_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "STRING", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "STRING", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "DATETIME", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "BOOL", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "DATETIME", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "DATETIME", "index": 12, "name": "deleted_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 805, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.subscription_change_history_data"}, "seed.recurly_integration_tests.subscription_history_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "DATETIME", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "DATETIME", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "DATETIME", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "STRING", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "STRING", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "STRING", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "STRING", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "DATETIME", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "DATETIME", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "DATETIME", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "DATETIME", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "DATETIME", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "DATETIME", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "INT64", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "INT64", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "TIMESTAMP", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "INT64", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "STRING", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "FLOAT64", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "STRING", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "STRING", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "BOOL", "index": 32, "name": "started_with_gift", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1483, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.subscription_history_data"}, "seed.recurly_integration_tests.transaction_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "transaction_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "DATETIME", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "INT64", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "STRING", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "STRING", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "STRING", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 14, "name": "amount", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "success": {"type": "BOOL", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "BOOL", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "STRING", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "STRING", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "STRING", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "STRING", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "STRING", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "STRING", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "STRING", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "STRING", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "STRING", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "INT64", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "INT64", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "INT64", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "FLOAT64", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "INT64", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "STRING", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "STRING", "index": 40, "name": "gateway_response_values", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3073, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.transaction_data"}, "seed.recurly_integration_tests.transaction_subscription_data": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "transaction_subscription_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "STRING", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 380, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_integration_tests.transaction_subscription_data"}, "model.recurly.int_recurly__account_cumulatives": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__account_cumulatives", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "total_transactions": {"type": "INT64", "index": 2, "name": "total_transactions", "comment": null}, "total_invoices": {"type": "INT64", "index": 3, "name": "total_invoices", "comment": null}, "total_charges": {"type": "FLOAT64", "index": 4, "name": "total_charges", "comment": null}, "total_credits": {"type": "FLOAT64", "index": 5, "name": "total_credits", "comment": null}, "total_balance": {"type": "FLOAT64", "index": 6, "name": "total_balance", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 7, "name": "total_discounts", "comment": null}, "total_taxes": {"type": "FLOAT64", "index": 8, "name": "total_taxes", "comment": null}, "total_charge_count": {"type": "INT64", "index": 9, "name": "total_charge_count", "comment": null}, "total_credit_count": {"type": "INT64", "index": 10, "name": "total_credit_count", "comment": null}, "transactions_this_month": {"type": "INT64", "index": 11, "name": "transactions_this_month", "comment": null}, "invoices_this_month": {"type": "INT64", "index": 12, "name": "invoices_this_month", "comment": null}, "balance_this_month": {"type": "FLOAT64", "index": 13, "name": "balance_this_month", "comment": null}, "charges_this_month": {"type": "FLOAT64", "index": 14, "name": "charges_this_month", "comment": null}, "credits_this_month": {"type": "FLOAT64", "index": 15, "name": "credits_this_month", "comment": null}, "discounts_this_month": {"type": "FLOAT64", "index": 16, "name": "discounts_this_month", "comment": null}, "taxes_this_month": {"type": "FLOAT64", "index": 17, "name": "taxes_this_month", "comment": null}, "first_charge_date": {"type": "TIMESTAMP", "index": 18, "name": "first_charge_date", "comment": null}, "most_recent_charge_date": {"type": "TIMESTAMP", "index": 19, "name": "most_recent_charge_date", "comment": null}, "first_invoice_date": {"type": "TIMESTAMP", "index": 20, "name": "first_invoice_date", "comment": null}, "most_recent_invoice_date": {"type": "TIMESTAMP", "index": 21, "name": "most_recent_invoice_date", "comment": null}, "first_transaction_date": {"type": "TIMESTAMP", "index": 22, "name": "first_transaction_date", "comment": null}, "most_recent_transaction_date": {"type": "TIMESTAMP", "index": 23, "name": "most_recent_transaction_date", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 404, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly.int_recurly__account_cumulatives"}, "model.recurly.int_recurly__account_partitions": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__account_partitions", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "INT64", "index": 6, "name": "daily_transactions", "comment": null}, "daily_balance": {"type": "FLOAT64", "index": 7, "name": "daily_balance", "comment": null}, "daily_invoices": {"type": "INT64", "index": 8, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "FLOAT64", "index": 9, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "FLOAT64", "index": 10, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "FLOAT64", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "FLOAT64", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "INT64", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "INT64", "index": 14, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "FLOAT64", "index": 15, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "INT64", "index": 16, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "INT64", "index": 17, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "FLOAT64", "index": 18, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "FLOAT64", "index": 19, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "FLOAT64", "index": 20, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "FLOAT64", "index": 21, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "INT64", "index": 22, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "INT64", "index": 23, "name": "rolling_credits", "comment": null}, "date_index": {"type": "INT64", "index": 24, "name": "date_index", "comment": null}, "rolling_account_balance_partition": {"type": "INT64", "index": 25, "name": "rolling_account_balance_partition", "comment": null}, "rolling_invoices_partition": {"type": "INT64", "index": 26, "name": "rolling_invoices_partition", "comment": null}, "rolling_transactions_partition": {"type": "INT64", "index": 27, "name": "rolling_transactions_partition", "comment": null}, "rolling_charge_balance_partition": {"type": "INT64", "index": 28, "name": "rolling_charge_balance_partition", "comment": null}, "rolling_credit_balance_partition": {"type": "INT64", "index": 29, "name": "rolling_credit_balance_partition", "comment": null}, "rolling_discount_balance_partition": {"type": "INT64", "index": 30, "name": "rolling_discount_balance_partition", "comment": null}, "rolling_tax_balance_partition": {"type": "INT64", "index": 31, "name": "rolling_tax_balance_partition", "comment": null}, "rolling_charges_partition": {"type": "INT64", "index": 32, "name": "rolling_charges_partition", "comment": null}, "rolling_credits_partition": {"type": "INT64", "index": 33, "name": "rolling_credits_partition", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2028152, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 13888, "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.recurly.int_recurly__account_partitions"}, "model.recurly.int_recurly__account_rolling_totals": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__account_rolling_totals", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "INT64", "index": 6, "name": "daily_transactions", "comment": null}, "daily_balance": {"type": "FLOAT64", "index": 7, "name": "daily_balance", "comment": null}, "daily_invoices": {"type": "INT64", "index": 8, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "FLOAT64", "index": 9, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "FLOAT64", "index": 10, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "FLOAT64", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "FLOAT64", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "INT64", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "INT64", "index": 14, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "FLOAT64", "index": 15, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "INT64", "index": 16, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "INT64", "index": 17, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "FLOAT64", "index": 18, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "FLOAT64", "index": 19, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "FLOAT64", "index": 20, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "FLOAT64", "index": 21, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "INT64", "index": 22, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "INT64", "index": 23, "name": "rolling_credits", "comment": null}, "date_index": {"type": "INT64", "index": 24, "name": "date_index", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1028216, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 13888, "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.recurly.int_recurly__account_rolling_totals"}, "model.recurly.int_recurly__account_running_totals": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__account_running_totals", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "TIMESTAMP", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "STRING", "index": 3, "name": "account_city", "comment": null}, "account_company": {"type": "STRING", "index": 4, "name": "account_company", "comment": null}, "account_country": {"type": "STRING", "index": 5, "name": "account_country", "comment": null}, "account_code": {"type": "STRING", "index": 6, "name": "account_code", "comment": null}, "account_email": {"type": "STRING", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "STRING", "index": 8, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "STRING", "index": 9, "name": "account_last_name", "comment": null}, "account_is_tax_exempt": {"type": "BOOL", "index": 10, "name": "account_is_tax_exempt", "comment": null}, "account_postal_code": {"type": "STRING", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "STRING", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "STRING", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "STRING", "index": 14, "name": "account_username", "comment": null}, "account_daily_id": {"type": "STRING", "index": 15, "name": "account_daily_id", "comment": null}, "date_day": {"type": "DATE", "index": 16, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 17, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 18, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 19, "name": "date_year", "comment": null}, "date_index": {"type": "INT64", "index": 20, "name": "date_index", "comment": null}, "daily_transaction_count": {"type": "INT64", "index": 21, "name": "daily_transaction_count", "comment": null}, "daily_net_change": {"type": "FLOAT64", "index": 22, "name": "daily_net_change", "comment": null}, "daily_invoice_count": {"type": "INT64", "index": 23, "name": "daily_invoice_count", "comment": null}, "daily_charges": {"type": "FLOAT64", "index": 24, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "FLOAT64", "index": 25, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "FLOAT64", "index": 26, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "FLOAT64", "index": 27, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "INT64", "index": 28, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "INT64", "index": 29, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "FLOAT64", "index": 30, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "INT64", "index": 31, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "INT64", "index": 32, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "FLOAT64", "index": 33, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "FLOAT64", "index": 34, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "FLOAT64", "index": 35, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "FLOAT64", "index": 36, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "INT64", "index": 37, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "INT64", "index": 38, "name": "rolling_credits", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6096832, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 13888, "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.recurly.int_recurly__account_running_totals"}, "model.recurly.int_recurly__transactions_date_spine": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__transactions_date_spine", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 5, "name": "date_year", "comment": null}, "date_index": {"type": "INT64", "index": 6, "name": "date_index", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1027712, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 13888, "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.recurly.int_recurly__transactions_date_spine"}, "model.recurly.int_recurly__transactions_grouped": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "int_recurly__transactions_grouped", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 3, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 4, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 5, "name": "date_year", "comment": null}, "daily_transactions": {"type": "INT64", "index": 6, "name": "daily_transactions", "comment": null}, "daily_invoices": {"type": "INT64", "index": 7, "name": "daily_invoices", "comment": null}, "daily_charges": {"type": "FLOAT64", "index": 8, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "FLOAT64", "index": 9, "name": "daily_credits", "comment": null}, "daily_balance": {"type": "FLOAT64", "index": 10, "name": "daily_balance", "comment": null}, "daily_discounts": {"type": "FLOAT64", "index": 11, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "FLOAT64", "index": 12, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "INT64", "index": 13, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "INT64", "index": 14, "name": "daily_credit_count", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 276, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly.int_recurly__transactions_grouped"}, "model.recurly.recurly__account_daily_overview": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__account_daily_overview", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "TIMESTAMP", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "STRING", "index": 3, "name": "account_city", "comment": null}, "account_company": {"type": "STRING", "index": 4, "name": "account_company", "comment": null}, "account_country": {"type": "STRING", "index": 5, "name": "account_country", "comment": null}, "account_code": {"type": "STRING", "index": 6, "name": "account_code", "comment": null}, "account_email": {"type": "STRING", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "STRING", "index": 8, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "STRING", "index": 9, "name": "account_last_name", "comment": null}, "account_is_tax_exempt": {"type": "BOOL", "index": 10, "name": "account_is_tax_exempt", "comment": null}, "account_postal_code": {"type": "STRING", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "STRING", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "STRING", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "STRING", "index": 14, "name": "account_username", "comment": null}, "account_daily_id": {"type": "STRING", "index": 15, "name": "account_daily_id", "comment": null}, "date_day": {"type": "DATE", "index": 16, "name": "date_day", "comment": null}, "date_week": {"type": "DATE", "index": 17, "name": "date_week", "comment": null}, "date_month": {"type": "DATE", "index": 18, "name": "date_month", "comment": null}, "date_year": {"type": "DATE", "index": 19, "name": "date_year", "comment": null}, "date_index": {"type": "INT64", "index": 20, "name": "date_index", "comment": null}, "daily_transaction_count": {"type": "INT64", "index": 21, "name": "daily_transaction_count", "comment": null}, "daily_net_change": {"type": "FLOAT64", "index": 22, "name": "daily_net_change", "comment": null}, "daily_invoice_count": {"type": "INT64", "index": 23, "name": "daily_invoice_count", "comment": null}, "daily_charges": {"type": "FLOAT64", "index": 24, "name": "daily_charges", "comment": null}, "daily_credits": {"type": "FLOAT64", "index": 25, "name": "daily_credits", "comment": null}, "daily_discounts": {"type": "FLOAT64", "index": 26, "name": "daily_discounts", "comment": null}, "daily_taxes": {"type": "FLOAT64", "index": 27, "name": "daily_taxes", "comment": null}, "daily_charge_count": {"type": "INT64", "index": 28, "name": "daily_charge_count", "comment": null}, "daily_credit_count": {"type": "INT64", "index": 29, "name": "daily_credit_count", "comment": null}, "rolling_account_balance": {"type": "FLOAT64", "index": 30, "name": "rolling_account_balance", "comment": null}, "rolling_invoices": {"type": "INT64", "index": 31, "name": "rolling_invoices", "comment": null}, "rolling_transactions": {"type": "INT64", "index": 32, "name": "rolling_transactions", "comment": null}, "rolling_charge_balance": {"type": "FLOAT64", "index": 33, "name": "rolling_charge_balance", "comment": null}, "rolling_credit_balance": {"type": "FLOAT64", "index": 34, "name": "rolling_credit_balance", "comment": null}, "rolling_discount_balance": {"type": "FLOAT64", "index": 35, "name": "rolling_discount_balance", "comment": null}, "rolling_tax_balance": {"type": "FLOAT64", "index": 36, "name": "rolling_tax_balance", "comment": null}, "rolling_charges": {"type": "INT64", "index": 37, "name": "rolling_charges", "comment": null}, "rolling_credits": {"type": "INT64", "index": 38, "name": "rolling_credits", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6096832, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 13888, "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.recurly.recurly__account_daily_overview"}, "model.recurly.recurly__account_overview": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__account_overview", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_created_at": {"type": "TIMESTAMP", "index": 2, "name": "account_created_at", "comment": null}, "account_city": {"type": "STRING", "index": 3, "name": "account_city", "comment": null}, "account_code": {"type": "STRING", "index": 4, "name": "account_code", "comment": null}, "account_company": {"type": "STRING", "index": 5, "name": "account_company", "comment": null}, "account_country": {"type": "STRING", "index": 6, "name": "account_country", "comment": null}, "account_email": {"type": "STRING", "index": 7, "name": "account_email", "comment": null}, "account_first_name": {"type": "STRING", "index": 8, "name": "account_first_name", "comment": null}, "account_is_tax_exempt": {"type": "BOOL", "index": 9, "name": "account_is_tax_exempt", "comment": null}, "account_last_name": {"type": "STRING", "index": 10, "name": "account_last_name", "comment": null}, "account_postal_code": {"type": "STRING", "index": 11, "name": "account_postal_code", "comment": null}, "account_region": {"type": "STRING", "index": 12, "name": "account_region", "comment": null}, "account_state": {"type": "STRING", "index": 13, "name": "account_state", "comment": null}, "account_username": {"type": "STRING", "index": 14, "name": "account_username", "comment": null}, "total_transactions": {"type": "INT64", "index": 15, "name": "total_transactions", "comment": null}, "total_invoices": {"type": "INT64", "index": 16, "name": "total_invoices", "comment": null}, "total_charges": {"type": "FLOAT64", "index": 17, "name": "total_charges", "comment": null}, "total_credits": {"type": "FLOAT64", "index": 18, "name": "total_credits", "comment": null}, "total_balance": {"type": "FLOAT64", "index": 19, "name": "total_balance", "comment": null}, "total_discounts": {"type": "FLOAT64", "index": 20, "name": "total_discounts", "comment": null}, "total_taxes": {"type": "FLOAT64", "index": 21, "name": "total_taxes", "comment": null}, "total_charge_count": {"type": "INT64", "index": 22, "name": "total_charge_count", "comment": null}, "total_credit_count": {"type": "INT64", "index": 23, "name": "total_credit_count", "comment": null}, "transactions_this_month": {"type": "INT64", "index": 24, "name": "transactions_this_month", "comment": null}, "invoices_this_month": {"type": "INT64", "index": 25, "name": "invoices_this_month", "comment": null}, "charges_this_month": {"type": "FLOAT64", "index": 26, "name": "charges_this_month", "comment": null}, "credits_this_month": {"type": "FLOAT64", "index": 27, "name": "credits_this_month", "comment": null}, "balance_this_month": {"type": "FLOAT64", "index": 28, "name": "balance_this_month", "comment": null}, "discounts_this_month": {"type": "FLOAT64", "index": 29, "name": "discounts_this_month", "comment": null}, "taxes_this_month": {"type": "FLOAT64", "index": 30, "name": "taxes_this_month", "comment": null}, "first_charge_date": {"type": "TIMESTAMP", "index": 31, "name": "first_charge_date", "comment": null}, "most_recent_charge_date": {"type": "TIMESTAMP", "index": 32, "name": "most_recent_charge_date", "comment": null}, "first_invoice_date": {"type": "TIMESTAMP", "index": 33, "name": "first_invoice_date", "comment": null}, "most_recent_invoice_date": {"type": "TIMESTAMP", "index": 34, "name": "most_recent_invoice_date", "comment": null}, "next_invoice_due_at": {"type": "TIMESTAMP", "index": 35, "name": "next_invoice_due_at", "comment": null}, "first_transaction_date": {"type": "TIMESTAMP", "index": 36, "name": "first_transaction_date", "comment": null}, "most_recent_transaction_date": {"type": "TIMESTAMP", "index": 37, "name": "most_recent_transaction_date", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1476, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly.recurly__account_overview"}, "model.recurly.recurly__balance_transactions": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__balance_transactions", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"balance_transaction_id": {"type": "STRING", "index": 1, "name": "balance_transaction_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 5, "name": "invoice_id", "comment": null}, "invoice_number": {"type": "INT64", "index": 6, "name": "invoice_number", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "state": {"type": "STRING", "index": 8, "name": "state", "comment": null}, "origin": {"type": "STRING", "index": 9, "name": "origin", "comment": null}, "product_code": {"type": "INT64", "index": 10, "name": "product_code", "comment": null}, "discount": {"type": "FLOAT64", "index": 11, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 12, "name": "tax", "comment": null}, "description": {"type": "STRING", "index": 13, "name": "description", "comment": null}, "plan_code": {"type": "INT64", "index": 14, "name": "plan_code", "comment": null}, "add_on_code": {"type": "INT64", "index": 15, "name": "add_on_code", "comment": null}, "has_refund": {"type": "BOOL", "index": 16, "name": "has_refund", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 17, "name": "refunded_quantity", "comment": null}, "currency": {"type": "STRING", "index": 18, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 19, "name": "amount", "comment": null}, "credit_applied": {"type": "FLOAT64", "index": 20, "name": "credit_applied", "comment": null}, "quantity": {"type": "INT64", "index": 21, "name": "quantity", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 22, "name": "unit_amount", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 23, "name": "subtotal", "comment": null}, "started_at": {"type": "TIMESTAMP", "index": 24, "name": "started_at", "comment": null}, "ended_at": {"type": "TIMESTAMP", "index": 25, "name": "ended_at", "comment": null}, "original_line_item_invoice_id": {"type": "INT64", "index": 26, "name": "original_line_item_invoice_id", "comment": null}, "previous_line_item_id": {"type": "INT64", "index": 27, "name": "previous_line_item_id", "comment": null}, "invoice_state": {"type": "STRING", "index": 28, "name": "invoice_state", "comment": null}, "invoice_origin": {"type": "STRING", "index": 29, "name": "invoice_origin", "comment": null}, "invoice_type": {"type": "STRING", "index": 30, "name": "invoice_type", "comment": null}, "invoice_created_at": {"type": "TIMESTAMP", "index": 31, "name": "invoice_created_at", "comment": null}, "invoice_due_at": {"type": "TIMESTAMP", "index": 32, "name": "invoice_due_at", "comment": null}, "invoice_closed_at": {"type": "TIMESTAMP", "index": 33, "name": "invoice_closed_at", "comment": null}, "transaction_id": {"type": "STRING", "index": 34, "name": "transaction_id", "comment": null}, "transaction_created_at": {"type": "TIMESTAMP", "index": 35, "name": "transaction_created_at", "comment": null}, "transaction_type": {"type": "STRING", "index": 36, "name": "transaction_type", "comment": null}, "transaction_origin": {"type": "STRING", "index": 37, "name": "transaction_origin", "comment": null}, "transaction_status": {"type": "STRING", "index": 38, "name": "transaction_status", "comment": null}, "transaction_billing_country": {"type": "STRING", "index": 39, "name": "transaction_billing_country", "comment": null}, "transaction_status_message": {"type": "STRING", "index": 40, "name": "transaction_status_message", "comment": null}, "transaction_payment_method_object": {"type": "STRING", "index": 41, "name": "transaction_payment_method_object", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1946, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 6, "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.recurly.recurly__balance_transactions"}, "model.recurly.recurly__churn_analysis": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__churn_analysis", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "activated_at": {"type": "TIMESTAMP", "index": 2, "name": "activated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_state": {"type": "STRING", "index": 4, "name": "account_state", "comment": null}, "canceled_at": {"type": "TIMESTAMP", "index": 5, "name": "canceled_at", "comment": null}, "current_period_ended_at": {"type": "TIMESTAMP", "index": 6, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "TIMESTAMP", "index": 7, "name": "current_period_started_at", "comment": null}, "expires_at": {"type": "TIMESTAMP", "index": 8, "name": "expires_at", "comment": null}, "expiration_reason": {"type": "STRING", "index": 9, "name": "expiration_reason", "comment": null}, "has_auto_renew": {"type": "BOOL", "index": 10, "name": "has_auto_renew", "comment": null}, "plan_name": {"type": "STRING", "index": 11, "name": "plan_name", "comment": null}, "plan_state": {"type": "STRING", "index": 12, "name": "plan_state", "comment": null}, "subscription_end_date": {"type": "TIMESTAMP", "index": 13, "name": "subscription_end_date", "comment": null}, "subscription_interval_days": {"type": "INT64", "index": 14, "name": "subscription_interval_days", "comment": null}, "subscription_period": {"type": "INT64", "index": 15, "name": "subscription_period", "comment": null}, "subscription_state": {"type": "STRING", "index": 16, "name": "subscription_state", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 17, "name": "subtotal", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 18, "name": "unit_amount", "comment": null}, "churn_reason": {"type": "STRING", "index": 19, "name": "churn_reason", "comment": null}, "churn_reason_type": {"type": "STRING", "index": 20, "name": "churn_reason_type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 860, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly.recurly__churn_analysis"}, "model.recurly.recurly__monthly_recurring_revenue": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__monthly_recurring_revenue", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_monthly_id": {"type": "STRING", "index": 1, "name": "account_monthly_id", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "account_month": {"type": "TIMESTAMP", "index": 3, "name": "account_month", "comment": null}, "account_month_number": {"type": "INT64", "index": 4, "name": "account_month_number", "comment": null}, "current_month_mrr": {"type": "FLOAT64", "index": 5, "name": "current_month_mrr", "comment": null}, "previous_month_mrr": {"type": "FLOAT64", "index": 6, "name": "previous_month_mrr", "comment": null}, "mrr_type": {"type": "STRING", "index": 7, "name": "mrr_type", "comment": null}, "account_code": {"type": "STRING", "index": 8, "name": "account_code", "comment": null}, "account_created_at": {"type": "TIMESTAMP", "index": 9, "name": "account_created_at", "comment": null}, "account_email": {"type": "STRING", "index": 10, "name": "account_email", "comment": null}, "account_first_name": {"type": "STRING", "index": 11, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "STRING", "index": 12, "name": "account_last_name", "comment": null}, "account_username": {"type": "STRING", "index": 13, "name": "account_username", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 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.recurly.recurly__monthly_recurring_revenue"}, "model.recurly.recurly__subscription_overview": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "recurly__subscription_overview", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "subscription_key": {"type": "STRING", "index": 3, "name": "subscription_key", "comment": null}, "activated_at": {"type": "TIMESTAMP", "index": 4, "name": "activated_at", "comment": null}, "add_ons_total": {"type": "FLOAT64", "index": 5, "name": "add_ons_total", "comment": null}, "canceled_at": {"type": "TIMESTAMP", "index": 6, "name": "canceled_at", "comment": null}, "current_period_ended_at": {"type": "TIMESTAMP", "index": 7, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "TIMESTAMP", "index": 8, "name": "current_period_started_at", "comment": null}, "expiration_reason": {"type": "STRING", "index": 9, "name": "expiration_reason", "comment": null}, "expires_at": {"type": "TIMESTAMP", "index": 10, "name": "expires_at", "comment": null}, "has_auto_renew": {"type": "BOOL", "index": 11, "name": "has_auto_renew", "comment": null}, "subscription_period": {"type": "INT64", "index": 12, "name": "subscription_period", "comment": null}, "subscription_state": {"type": "STRING", "index": 13, "name": "subscription_state", "comment": null}, "subscription_end_date": {"type": "TIMESTAMP", "index": 14, "name": "subscription_end_date", "comment": null}, "subscription_interval_days": {"type": "INT64", "index": 15, "name": "subscription_interval_days", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 16, "name": "subtotal", "comment": null}, "trial_ends_at": {"type": "TIMESTAMP", "index": 17, "name": "trial_ends_at", "comment": null}, "trial_started_at": {"type": "TIMESTAMP", "index": 18, "name": "trial_started_at", "comment": null}, "trial_interval_days": {"type": "INT64", "index": 19, "name": "trial_interval_days", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 20, "name": "unit_amount", "comment": null}, "account_id": {"type": "STRING", "index": 21, "name": "account_id", "comment": null}, "account_created_at": {"type": "TIMESTAMP", "index": 22, "name": "account_created_at", "comment": null}, "account_email": {"type": "STRING", "index": 23, "name": "account_email", "comment": null}, "account_first_name": {"type": "STRING", "index": 24, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "STRING", "index": 25, "name": "account_last_name", "comment": null}, "account_state": {"type": "STRING", "index": 26, "name": "account_state", "comment": null}, "plan_code": {"type": "STRING", "index": 27, "name": "plan_code", "comment": null}, "plan_created_at": {"type": "TIMESTAMP", "index": 28, "name": "plan_created_at", "comment": null}, "plan_deleted_at": {"type": "TIMESTAMP", "index": 29, "name": "plan_deleted_at", "comment": null}, "plan_interval_days": {"type": "INT64", "index": 30, "name": "plan_interval_days", "comment": null}, "plan_is_tax_exempt": {"type": "BOOL", "index": 31, "name": "plan_is_tax_exempt", "comment": null}, "plan_name": {"type": "STRING", "index": 32, "name": "plan_name", "comment": null}, "plan_state": {"type": "STRING", "index": 33, "name": "plan_state", "comment": null}, "plan_total_billing_cycles": {"type": "INT64", "index": 34, "name": "plan_total_billing_cycles", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1446, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly.recurly__subscription_overview"}, "model.recurly_source.stg_recurly__account_balance_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_balance_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "TIMESTAMP", "index": 2, "name": "account_updated_at", "comment": null}, "amount": {"type": "FLOAT64", "index": 3, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "past_due": {"type": "BOOL", "index": 5, "name": "past_due", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 6, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 342, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 6, "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.recurly_source.stg_recurly__account_balance_history"}, "model.recurly_source.stg_recurly__account_balance_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_balance_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "BOOL", "index": 6, "name": "past_due", "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.recurly_source.stg_recurly__account_balance_history_tmp"}, "model.recurly_source.stg_recurly__account_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_city": {"type": "STRING", "index": 3, "name": "account_city", "comment": null}, "account_country": {"type": "STRING", "index": 4, "name": "account_country", "comment": null}, "account_postal_code": {"type": "STRING", "index": 5, "name": "account_postal_code", "comment": null}, "account_region": {"type": "STRING", "index": 6, "name": "account_region", "comment": null}, "bill_to": {"type": "STRING", "index": 7, "name": "bill_to", "comment": null}, "cc_emails": {"type": "STRING", "index": 8, "name": "cc_emails", "comment": null}, "code": {"type": "STRING", "index": 9, "name": "code", "comment": null}, "company": {"type": "STRING", "index": 10, "name": "company", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 12, "name": "deleted_at", "comment": null}, "email": {"type": "STRING", "index": 13, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 14, "name": "first_name", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 15, "name": "is_most_recent_record", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 16, "name": "is_tax_exempt", "comment": null}, "last_name": {"type": "STRING", "index": 17, "name": "last_name", "comment": null}, "state": {"type": "STRING", "index": 18, "name": "state", "comment": null}, "username": {"type": "STRING", "index": 19, "name": "username", "comment": null}, "vat_number": {"type": "STRING", "index": 20, "name": "vat_number", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1520, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__account_history"}, "model.recurly_source.stg_recurly__account_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "STRING", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "STRING", "index": 8, "name": "state", "comment": null}, "username": {"type": "STRING", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "INT64", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "INT64", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "STRING", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "STRING", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "STRING", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "STRING", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "STRING", "index": 17, "name": "account_country", "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.recurly_source.stg_recurly__account_history_tmp"}, "model.recurly_source.stg_recurly__account_note_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_note_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_note_id": {"type": "STRING", "index": 1, "name": "account_note_id", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "account_updated_at": {"type": "TIMESTAMP", "index": 3, "name": "account_updated_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 4, "name": "created_at", "comment": null}, "message": {"type": "STRING", "index": 5, "name": "message", "comment": null}, "object": {"type": "STRING", "index": 6, "name": "object", "comment": null}, "user_email": {"type": "STRING", "index": 7, "name": "user_email", "comment": null}, "user_id": {"type": "STRING", "index": 8, "name": "user_id", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 442, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.stg_recurly__account_note_history"}, "model.recurly_source.stg_recurly__account_note_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__account_note_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "STRING", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "STRING", "index": 6, "name": "message", "comment": null}, "object": {"type": "STRING", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "STRING", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "STRING", "index": 9, "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.recurly_source.stg_recurly__account_note_history_tmp"}, "model.recurly_source.stg_recurly__billing_info_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__billing_info_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"billing_id": {"type": "STRING", "index": 1, "name": "billing_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "billing_city": {"type": "STRING", "index": 4, "name": "billing_city", "comment": null}, "billing_country": {"type": "STRING", "index": 5, "name": "billing_country", "comment": null}, "billing_phone": {"type": "STRING", "index": 6, "name": "billing_phone", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 7, "name": "billing_postal_code", "comment": null}, "billing_region": {"type": "STRING", "index": 8, "name": "billing_region", "comment": null}, "billing_street_1": {"type": "STRING", "index": 9, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 10, "name": "billing_street_2", "comment": null}, "company": {"type": "STRING", "index": 11, "name": "company", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 12, "name": "created_at", "comment": null}, "first_name": {"type": "STRING", "index": 13, "name": "first_name", "comment": null}, "is_valid": {"type": "BOOL", "index": 14, "name": "is_valid", "comment": null}, "last_name": {"type": "STRING", "index": 15, "name": "last_name", "comment": null}, "payment_method_card_type": {"type": "STRING", "index": 16, "name": "payment_method_card_type", "comment": null}, "payment_method_object": {"type": "STRING", "index": 17, "name": "payment_method_object", "comment": null}, "updated_by_country": {"type": "INT64", "index": 18, "name": "updated_by_country", "comment": null}, "updated_by_ip": {"type": "INT64", "index": 19, "name": "updated_by_ip", "comment": null}, "vat_number": {"type": "STRING", "index": 20, "name": "vat_number", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 21, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 878, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.stg_recurly__billing_info_history"}, "model.recurly_source.stg_recurly__billing_info_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__billing_info_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "STRING", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "BOOL", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "STRING", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "STRING", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "STRING", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "STRING", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "STRING", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "STRING", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "INT64", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "INT64", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "INT64", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "DATETIME", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "INT64", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "INT64", "index": 27, "name": "updated_by_country", "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.recurly_source.stg_recurly__billing_info_history_tmp"}, "model.recurly_source.stg_recurly__coupon_discount": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__coupon_discount", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_id": {"type": "STRING", "index": 1, "name": "coupon_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 2, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "fivetran_id": {"type": "STRING", "index": 4, "name": "fivetran_id", "comment": null}, "percentage": {"type": "INT64", "index": 5, "name": "percentage", "comment": null}, "trial_length": {"type": "INT64", "index": 6, "name": "trial_length", "comment": null}, "trial_unit": {"type": "INT64", "index": 7, "name": "trial_unit", "comment": null}, "type": {"type": "STRING", "index": 8, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 346, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly_source.stg_recurly__coupon_discount"}, "model.recurly_source.stg_recurly__coupon_discount_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__coupon_discount_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_id": {"type": "STRING", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "STRING", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "INT64", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "INT64", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "INT64", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "STRING", "index": 9, "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.recurly_source.stg_recurly__coupon_discount_tmp"}, "model.recurly_source.stg_recurly__coupon_redemption_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__coupon_redemption_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_redemption_id": {"type": "STRING", "index": 1, "name": "coupon_redemption_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "coupon_id": {"type": "STRING", "index": 4, "name": "coupon_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "discounted": {"type": "FLOAT64", "index": 7, "name": "discounted", "comment": null}, "removed_at": {"type": "TIMESTAMP", "index": 8, "name": "removed_at", "comment": null}, "state": {"type": "STRING", "index": 9, "name": "state", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 427, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_source.stg_recurly__coupon_redemption_history"}, "model.recurly_source.stg_recurly__coupon_redemption_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__coupon_redemption_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "STRING", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "DATETIME", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "FLOAT64", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "DATETIME", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "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.recurly_source.stg_recurly__coupon_redemption_history_tmp"}, "model.recurly_source.stg_recurly__credit_payment_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__credit_payment_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"credit_payment_id": {"type": "STRING", "index": 1, "name": "credit_payment_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "action": {"type": "STRING", "index": 4, "name": "action", "comment": null}, "amount": {"type": "FLOAT64", "index": 5, "name": "amount", "comment": null}, "applied_to_invoice_id": {"type": "STRING", "index": 6, "name": "applied_to_invoice_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "refund_transaction_id": {"type": "STRING", "index": 9, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "STRING", "index": 10, "name": "original_credit_payment_id", "comment": null}, "original_invoice_id": {"type": "STRING", "index": 11, "name": "original_invoice_id", "comment": null}, "uuid": {"type": "STRING", "index": 12, "name": "uuid", "comment": null}, "voided_at": {"type": "TIMESTAMP", "index": 13, "name": "voided_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 14, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1145, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__credit_payment_history"}, "model.recurly_source.stg_recurly__credit_payment_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__credit_payment_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "STRING", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "STRING", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "STRING", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "STRING", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "STRING", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "STRING", "index": 10, "name": "action", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "DATETIME", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 14, "name": "voided_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.recurly_source.stg_recurly__credit_payment_history_tmp"}, "model.recurly_source.stg_recurly__invoice_coupon_redemption_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_coupon_redemption_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_redemption_id": {"type": "STRING", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "TIMESTAMP", "index": 3, "name": "invoice_updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 4, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 539, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 7, "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.recurly_source.stg_recurly__invoice_coupon_redemption_history"}, "model.recurly_source.stg_recurly__invoice_coupon_redemption_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_coupon_redemption_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_redemption_id": {"type": "STRING", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "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.recurly_source.stg_recurly__invoice_coupon_redemption_history_tmp"}, "model.recurly_source.stg_recurly__invoice_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"invoice_id": {"type": "STRING", "index": 1, "name": "invoice_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "balance": {"type": "FLOAT64", "index": 4, "name": "balance", "comment": null}, "closed_at": {"type": "TIMESTAMP", "index": 5, "name": "closed_at", "comment": null}, "collection_method": {"type": "STRING", "index": 6, "name": "collection_method", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "discount": {"type": "FLOAT64", "index": 9, "name": "discount", "comment": null}, "due_at": {"type": "TIMESTAMP", "index": 10, "name": "due_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 11, "name": "is_most_recent_record", "comment": null}, "net_terms": {"type": "INT64", "index": 12, "name": "net_terms", "comment": null}, "number": {"type": "INT64", "index": 13, "name": "number", "comment": null}, "origin": {"type": "STRING", "index": 14, "name": "origin", "comment": null}, "paid": {"type": "FLOAT64", "index": 15, "name": "paid", "comment": null}, "po_number": {"type": "INT64", "index": 16, "name": "po_number", "comment": null}, "previous_invoice_id": {"type": "INT64", "index": 17, "name": "previous_invoice_id", "comment": null}, "refundable_amount": {"type": "FLOAT64", "index": 18, "name": "refundable_amount", "comment": null}, "state": {"type": "STRING", "index": 19, "name": "state", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 20, "name": "subtotal", "comment": null}, "tax": {"type": "FLOAT64", "index": 21, "name": "tax", "comment": null}, "tax_rate": {"type": "INT64", "index": 22, "name": "tax_rate", "comment": null}, "tax_region": {"type": "INT64", "index": 23, "name": "tax_region", "comment": null}, "tax_type": {"type": "INT64", "index": 24, "name": "tax_type", "comment": null}, "total": {"type": "FLOAT64", "index": 25, "name": "total", "comment": null}, "type": {"type": "STRING", "index": 26, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1025, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__invoice_history"}, "model.recurly_source.stg_recurly__invoice_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "DATETIME", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "DATETIME", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "INT64", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 10, "name": "origin", "comment": null}, "state": {"type": "STRING", "index": 11, "name": "state", "comment": null}, "number": {"type": "INT64", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "STRING", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "INT64", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "INT64", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "STRING", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "FLOAT64", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "FLOAT64", "index": 18, "name": "paid", "comment": null}, "total": {"type": "FLOAT64", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "FLOAT64", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "FLOAT64", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "INT64", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 26, "name": "tax_rate", "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.recurly_source.stg_recurly__invoice_history_tmp"}, "model.recurly_source.stg_recurly__invoice_subscription_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_subscription_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"invoice_id": {"type": "STRING", "index": 1, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "TIMESTAMP", "index": 2, "name": "invoice_updated_at", "comment": null}, "subscription_id": {"type": "STRING", "index": 3, "name": "subscription_id", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 4, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 385, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__invoice_subscription_history"}, "model.recurly_source.stg_recurly__invoice_subscription_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__invoice_subscription_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"invoice_id": {"type": "STRING", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "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.recurly_source.stg_recurly__invoice_subscription_history_tmp"}, "model.recurly_source.stg_recurly__line_item_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__line_item_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"line_item_id": {"type": "STRING", "index": 1, "name": "line_item_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "add_on_code": {"type": "INT64", "index": 4, "name": "add_on_code", "comment": null}, "add_on_id": {"type": "INT64", "index": 5, "name": "add_on_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 6, "name": "amount", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "credit_applied": {"type": "FLOAT64", "index": 8, "name": "credit_applied", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 10, "name": "description", "comment": null}, "discount": {"type": "FLOAT64", "index": 11, "name": "discount", "comment": null}, "ended_at": {"type": "TIMESTAMP", "index": 12, "name": "ended_at", "comment": null}, "has_refund": {"type": "BOOL", "index": 13, "name": "has_refund", "comment": null}, "invoice_id": {"type": "STRING", "index": 14, "name": "invoice_id", "comment": null}, "invoice_number": {"type": "INT64", "index": 15, "name": "invoice_number", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 16, "name": "is_most_recent_record", "comment": null}, "is_taxable": {"type": "BOOL", "index": 17, "name": "is_taxable", "comment": null}, "original_line_item_invoice_id": {"type": "INT64", "index": 18, "name": "original_line_item_invoice_id", "comment": null}, "origin": {"type": "STRING", "index": 19, "name": "origin", "comment": null}, "plan_code": {"type": "INT64", "index": 20, "name": "plan_code", "comment": null}, "plan_id": {"type": "INT64", "index": 21, "name": "plan_id", "comment": null}, "previous_line_item_id": {"type": "INT64", "index": 22, "name": "previous_line_item_id", "comment": null}, "product_code": {"type": "INT64", "index": 23, "name": "product_code", "comment": null}, "proration_rate": {"type": "INT64", "index": 24, "name": "proration_rate", "comment": null}, "quantity": {"type": "INT64", "index": 25, "name": "quantity", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 26, "name": "refunded_quantity", "comment": null}, "started_at": {"type": "TIMESTAMP", "index": 27, "name": "started_at", "comment": null}, "state": {"type": "STRING", "index": 28, "name": "state", "comment": null}, "subscription_id": {"type": "STRING", "index": 29, "name": "subscription_id", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 30, "name": "subtotal", "comment": null}, "tax": {"type": "FLOAT64", "index": 31, "name": "tax", "comment": null}, "tax_code": {"type": "INT64", "index": 32, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 33, "name": "tax_exempt", "comment": null}, "tax_region": {"type": "INT64", "index": 34, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 35, "name": "tax_rate", "comment": null}, "tax_type": {"type": "INT64", "index": 36, "name": "tax_type", "comment": null}, "type": {"type": "STRING", "index": 37, "name": "type", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 38, "name": "unit_amount", "comment": null}, "uuid": {"type": "STRING", "index": 39, "name": "uuid", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1450, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__line_item_history"}, "model.recurly_source.stg_recurly__line_item_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__line_item_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "INT64", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "INT64", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "INT64", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "INT64", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "STRING", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 13, "name": "type", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "INT64", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "INT64", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "INT64", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "STRING", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "INT64", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "STRING", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 21, "name": "amount", "comment": null}, "description": {"type": "STRING", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "INT64", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "FLOAT64", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "BOOL", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "INT64", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "INT64", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "INT64", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "BOOL", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "FLOAT64", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "DATETIME", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "TIMESTAMP", "index": 39, "name": "end_date", "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.recurly_source.stg_recurly__line_item_history_tmp"}, "model.recurly_source.stg_recurly__plan_currency_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__plan_currency_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"plan_id": {"type": "STRING", "index": 1, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "TIMESTAMP", "index": 2, "name": "plan_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "setup_fees": {"type": "FLOAT64", "index": 4, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 5, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 6, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 168, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_source.stg_recurly__plan_currency_history"}, "model.recurly_source.stg_recurly__plan_currency_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__plan_currency_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "STRING", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "DATETIME", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "FLOAT64", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 6, "name": "unit_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.recurly_source.stg_recurly__plan_currency_history_tmp"}, "model.recurly_source.stg_recurly__plan_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__plan_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"plan_id": {"type": "STRING", "index": 1, "name": "plan_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "accounting_code": {"type": "STRING", "index": 3, "name": "accounting_code", "comment": null}, "code": {"type": "STRING", "index": 4, "name": "code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 6, "name": "deleted_at", "comment": null}, "description": {"type": "INT64", "index": 7, "name": "description", "comment": null}, "has_auto_renew": {"type": "BOOL", "index": 8, "name": "has_auto_renew", "comment": null}, "interval_length": {"type": "INT64", "index": 9, "name": "interval_length", "comment": null}, "interval_unit": {"type": "STRING", "index": 10, "name": "interval_unit", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 11, "name": "is_most_recent_record", "comment": null}, "is_tax_exempt": {"type": "BOOL", "index": 12, "name": "is_tax_exempt", "comment": null}, "name": {"type": "STRING", "index": 13, "name": "name", "comment": null}, "setup_fee_accounting_code": {"type": "STRING", "index": 14, "name": "setup_fee_accounting_code", "comment": null}, "state": {"type": "STRING", "index": 15, "name": "state", "comment": null}, "tax_code": {"type": "INT64", "index": 16, "name": "tax_code", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 17, "name": "total_billing_cycles", "comment": null}, "trial_length": {"type": "INT64", "index": 18, "name": "trial_length", "comment": null}, "trial_unit": {"type": "STRING", "index": 19, "name": "trial_unit", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 402, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.stg_recurly__plan_history"}, "model.recurly_source.stg_recurly__plan_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__plan_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "state": {"type": "STRING", "index": 7, "name": "state", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "description": {"type": "INT64", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "STRING", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "INT64", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "STRING", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "INT64", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "STRING", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "STRING", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "INT64", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 19, "name": "tax_exempt", "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.recurly_source.stg_recurly__plan_history_tmp"}, "model.recurly_source.stg_recurly__subscription_add_on_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_add_on_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_add_on_id": {"type": "STRING", "index": 1, "name": "subscription_add_on_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "expired_at": {"type": "TIMESTAMP", "index": 4, "name": "expired_at", "comment": null}, "object": {"type": "STRING", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "STRING", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "INT64", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "STRING", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 9, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 10, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 272, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.stg_recurly__subscription_add_on_history"}, "model.recurly_source.stg_recurly__subscription_add_on_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_add_on_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "TIMESTAMP", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "STRING", "index": 4, "name": "id", "comment": null}, "object": {"type": "STRING", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "STRING", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "INT64", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "STRING", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "DATETIME", "index": 10, "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.recurly_source.stg_recurly__subscription_add_on_history_tmp"}, "model.recurly_source.stg_recurly__subscription_change_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_change_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_change_id": {"type": "STRING", "index": 1, "name": "subscription_change_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "activate_at": {"type": "TIMESTAMP", "index": 3, "name": "activate_at", "comment": null}, "activated": {"type": "BOOL", "index": 4, "name": "activated", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 6, "name": "deleted_at", "comment": null}, "object": {"type": "STRING", "index": 7, "name": "object", "comment": null}, "plan_id": {"type": "STRING", "index": 8, "name": "plan_id", "comment": null}, "quantity": {"type": "INT64", "index": 9, "name": "quantity", "comment": null}, "subscription_id": {"type": "STRING", "index": 10, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 11, "name": "unit_amount", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 770, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__subscription_change_history"}, "model.recurly_source.stg_recurly__subscription_change_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_change_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "STRING", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "STRING", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "DATETIME", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "BOOL", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "DATETIME", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "DATETIME", "index": 12, "name": "deleted_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.recurly_source.stg_recurly__subscription_change_history_tmp"}, "model.recurly_source.stg_recurly__subscription_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "activated_at": {"type": "TIMESTAMP", "index": 4, "name": "activated_at", "comment": null}, "add_ons_total": {"type": "FLOAT64", "index": 5, "name": "add_ons_total", "comment": null}, "canceled_at": {"type": "TIMESTAMP", "index": 6, "name": "canceled_at", "comment": null}, "collection_method": {"type": "STRING", "index": 7, "name": "collection_method", "comment": null}, "converted_at": {"type": "TIMESTAMP", "index": 8, "name": "converted_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 10, "name": "currency", "comment": null}, "current_period_ended_at": {"type": "TIMESTAMP", "index": 11, "name": "current_period_ended_at", "comment": null}, "current_period_started_at": {"type": "TIMESTAMP", "index": 12, "name": "current_period_started_at", "comment": null}, "current_term_ended_at": {"type": "TIMESTAMP", "index": 13, "name": "current_term_ended_at", "comment": null}, "current_term_started_at": {"type": "TIMESTAMP", "index": 14, "name": "current_term_started_at", "comment": null}, "expiration_reason": {"type": "STRING", "index": 15, "name": "expiration_reason", "comment": null}, "expires_at": {"type": "TIMESTAMP", "index": 16, "name": "expires_at", "comment": null}, "has_auto_renew": {"type": "BOOL", "index": 17, "name": "has_auto_renew", "comment": null}, "has_started_with_gift": {"type": "BOOL", "index": 18, "name": "has_started_with_gift", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 19, "name": "is_most_recent_record", "comment": null}, "object": {"type": "STRING", "index": 20, "name": "object", "comment": null}, "paused_at": {"type": "TIMESTAMP", "index": 21, "name": "paused_at", "comment": null}, "plan_id": {"type": "STRING", "index": 22, "name": "plan_id", "comment": null}, "quantity": {"type": "INT64", "index": 23, "name": "quantity", "comment": null}, "remaining_billing_cycles": {"type": "INT64", "index": 24, "name": "remaining_billing_cycles", "comment": null}, "remaining_pause_cycles": {"type": "INT64", "index": 25, "name": "remaining_pause_cycles", "comment": null}, "renewal_billing_cycles": {"type": "INT64", "index": 26, "name": "renewal_billing_cycles", "comment": null}, "state": {"type": "STRING", "index": 27, "name": "state", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 28, "name": "subtotal", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 29, "name": "total_billing_cycles", "comment": null}, "trial_ends_at": {"type": "TIMESTAMP", "index": 30, "name": "trial_ends_at", "comment": null}, "trial_started_at": {"type": "TIMESTAMP", "index": 31, "name": "trial_started_at", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 32, "name": "unit_amount", "comment": null}, "uuid": {"type": "STRING", "index": 33, "name": "uuid", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1448, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__subscription_history"}, "model.recurly_source.stg_recurly__subscription_history_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__subscription_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "DATETIME", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "DATETIME", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "DATETIME", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "STRING", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "STRING", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "STRING", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "STRING", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "DATETIME", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "DATETIME", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "DATETIME", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "DATETIME", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "DATETIME", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "DATETIME", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "INT64", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "INT64", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "TIMESTAMP", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "INT64", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "STRING", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "FLOAT64", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "STRING", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "STRING", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "BOOL", "index": 32, "name": "started_with_gift", "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.recurly_source.stg_recurly__subscription_history_tmp"}, "model.recurly_source.stg_recurly__transaction": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__transaction", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"transaction_id": {"type": "STRING", "index": 1, "name": "transaction_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 2, "name": "created_at", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "billing_city": {"type": "STRING", "index": 5, "name": "billing_city", "comment": null}, "billing_country": {"type": "STRING", "index": 6, "name": "billing_country", "comment": null}, "billing_first_name": {"type": "STRING", "index": 7, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "STRING", "index": 8, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 9, "name": "billing_phone", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 10, "name": "billing_postal_code", "comment": null}, "billing_region": {"type": "STRING", "index": 11, "name": "billing_region", "comment": null}, "billing_street_1": {"type": "STRING", "index": 12, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 13, "name": "billing_street_2", "comment": null}, "collected_at": {"type": "TIMESTAMP", "index": 14, "name": "collected_at", "comment": null}, "collection_method": {"type": "STRING", "index": 15, "name": "collection_method", "comment": null}, "currency": {"type": "STRING", "index": 16, "name": "currency", "comment": null}, "customer_message": {"type": "STRING", "index": 17, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "STRING", "index": 18, "name": "customer_message_locale", "comment": null}, "gateway_approval_code": {"type": "INT64", "index": 19, "name": "gateway_approval_code", "comment": null}, "gateway_message": {"type": "STRING", "index": 20, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "INT64", "index": 21, "name": "gateway_reference", "comment": null}, "gateway_response_code": {"type": "INT64", "index": 22, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "FLOAT64", "index": 23, "name": "gateway_response_time", "comment": null}, "gateway_response_values": {"type": "STRING", "index": 24, "name": "gateway_response_values", "comment": null}, "invoice_id": {"type": "STRING", "index": 25, "name": "invoice_id", "comment": null}, "is_refunded": {"type": "BOOL", "index": 26, "name": "is_refunded", "comment": null}, "is_successful": {"type": "BOOL", "index": 27, "name": "is_successful", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 28, "name": "is_most_recent_record", "comment": null}, "origin": {"type": "STRING", "index": 29, "name": "origin", "comment": null}, "original_transaction_id": {"type": "INT64", "index": 30, "name": "original_transaction_id", "comment": null}, "payment_gateway_id": {"type": "INT64", "index": 31, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "STRING", "index": 32, "name": "payment_gateway_name", "comment": null}, "payment_gateway_type": {"type": "STRING", "index": 33, "name": "payment_gateway_type", "comment": null}, "payment_method_object": {"type": "STRING", "index": 34, "name": "payment_method_object", "comment": null}, "status": {"type": "STRING", "index": 35, "name": "status", "comment": null}, "status_code": {"type": "STRING", "index": 36, "name": "status_code", "comment": null}, "status_message": {"type": "STRING", "index": 37, "name": "status_message", "comment": null}, "type": {"type": "STRING", "index": 38, "name": "type", "comment": null}, "uuid": {"type": "STRING", "index": 39, "name": "uuid", "comment": null}, "voided_at": {"type": "TIMESTAMP", "index": 40, "name": "voided_at", "comment": null}, "voided_by_invoice_id": {"type": "STRING", "index": 41, "name": "voided_by_invoice_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3038, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__transaction"}, "model.recurly_source.stg_recurly__transaction_subscription": {"metadata": {"type": "table", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__transaction_subscription", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"transaction_id": {"type": "STRING", "index": 1, "name": "transaction_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 2, "name": "subscription_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 340, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.stg_recurly__transaction_subscription"}, "model.recurly_source.stg_recurly__transaction_subscription_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__transaction_subscription_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "STRING", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "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.recurly_source.stg_recurly__transaction_subscription_tmp"}, "model.recurly_source.stg_recurly__transaction_tmp": {"metadata": {"type": "view", "schema": "recurly_integrations_tests_recurly_dev", "name": "stg_recurly__transaction_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "DATETIME", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "INT64", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "STRING", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "STRING", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "STRING", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 14, "name": "amount", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "success": {"type": "BOOL", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "BOOL", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "STRING", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "STRING", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "STRING", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "STRING", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "STRING", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "STRING", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "STRING", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "STRING", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "STRING", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "INT64", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "INT64", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "INT64", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "FLOAT64", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "INT64", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "STRING", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "STRING", "index": 40, "name": "gateway_response_values", "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.recurly_source.stg_recurly__transaction_tmp"}}, "sources": {"source.recurly_source.recurly.account_balance_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_balance_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 5, "name": "amount", "comment": null}, "past_due": {"type": "BOOL", "index": 6, "name": "past_due", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 384, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 6, "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.recurly_source.recurly.account_balance_history"}, "source.recurly_source.recurly.account_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "bill_to": {"type": "STRING", "index": 7, "name": "bill_to", "comment": null}, "state": {"type": "STRING", "index": 8, "name": "state", "comment": null}, "username": {"type": "STRING", "index": 9, "name": "username", "comment": null}, "account_first_name": {"type": "INT64", "index": 10, "name": "account_first_name", "comment": null}, "account_last_name": {"type": "INT64", "index": 11, "name": "account_last_name", "comment": null}, "email": {"type": "STRING", "index": 12, "name": "email", "comment": null}, "cc_emails": {"type": "STRING", "index": 13, "name": "cc_emails", "comment": null}, "company": {"type": "STRING", "index": 14, "name": "company", "comment": null}, "vat_number": {"type": "STRING", "index": 15, "name": "vat_number", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 16, "name": "tax_exempt", "comment": null}, "account_country": {"type": "STRING", "index": 17, "name": "account_country", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1555, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.account_history"}, "source.recurly_source.recurly.account_note_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "account_note_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "account_updated_at": {"type": "DATETIME", "index": 2, "name": "account_updated_at", "comment": null}, "id": {"type": "STRING", "index": 3, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "message": {"type": "STRING", "index": 6, "name": "message", "comment": null}, "object": {"type": "STRING", "index": 7, "name": "object", "comment": null}, "user_email": {"type": "STRING", "index": 8, "name": "user_email", "comment": null}, "user_id": {"type": "STRING", "index": 9, "name": "user_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 456, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.recurly.account_note_history"}, "source.recurly_source.recurly.billing_info_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "billing_info_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 7, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 8, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 9, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 10, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 11, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 12, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 13, "name": "billing_country", "comment": null}, "vat_number": {"type": "STRING", "index": 14, "name": "vat_number", "comment": null}, "valid": {"type": "BOOL", "index": 15, "name": "valid", "comment": null}, "payment_method_object": {"type": "STRING", "index": 16, "name": "payment_method_object", "comment": null}, "payment_method_credit_type": {"type": "STRING", "index": 17, "name": "payment_method_credit_type", "comment": null}, "payment_method_first_six": {"type": "STRING", "index": 18, "name": "payment_method_first_six", "comment": null}, "payment_method_last_four": {"type": "STRING", "index": 19, "name": "payment_method_last_four", "comment": null}, "payment_method_exp_month": {"type": "STRING", "index": 20, "name": "payment_method_exp_month", "comment": null}, "payment_method_exp_year": {"type": "STRING", "index": 21, "name": "payment_method_exp_year", "comment": null}, "fraud_score": {"type": "INT64", "index": 22, "name": "fraud_score", "comment": null}, "fraud_decision": {"type": "INT64", "index": 23, "name": "fraud_decision", "comment": null}, "fraud_risk_rules_triggered": {"type": "INT64", "index": 24, "name": "fraud_risk_rules_triggered", "comment": null}, "created_at": {"type": "DATETIME", "index": 25, "name": "created_at", "comment": null}, "updated_by_ip": {"type": "INT64", "index": 26, "name": "updated_by_ip", "comment": null}, "updated_by_country": {"type": "INT64", "index": 27, "name": "updated_by_country", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1232, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.recurly.billing_info_history"}, "source.recurly_source.recurly.coupon_discount": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "coupon_discount_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_id": {"type": "STRING", "index": 1, "name": "coupon_id", "comment": null}, "fivetran_id": {"type": "STRING", "index": 2, "name": "fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "amount": {"type": "FLOAT64", "index": 4, "name": "amount", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "percentage": {"type": "INT64", "index": 6, "name": "percentage", "comment": null}, "trial_length": {"type": "INT64", "index": 7, "name": "trial_length", "comment": null}, "trial_unit": {"type": "INT64", "index": 8, "name": "trial_unit", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 378, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4, "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.recurly_source.recurly.coupon_discount"}, "source.recurly_source.recurly.coupon_redemption_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "coupon_redemption_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "coupon_id": {"type": "STRING", "index": 5, "name": "coupon_id", "comment": null}, "created_at": {"type": "DATETIME", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "discounted": {"type": "FLOAT64", "index": 8, "name": "discounted", "comment": null}, "removed_at": {"type": "DATETIME", "index": 9, "name": "removed_at", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "state", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 451, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_source.recurly.coupon_redemption_history"}, "source.recurly_source.recurly.credit_payment_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "credit_payment_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "applied_to_invoice_id": {"type": "STRING", "index": 5, "name": "applied_to_invoice_id", "comment": null}, "original_invoice_id": {"type": "STRING", "index": 6, "name": "original_invoice_id", "comment": null}, "refund_transaction_id": {"type": "STRING", "index": 7, "name": "refund_transaction_id", "comment": null}, "original_credit_payment_id": {"type": "STRING", "index": 8, "name": "original_credit_payment_id", "comment": null}, "uuid": {"type": "STRING", "index": 9, "name": "uuid", "comment": null}, "action": {"type": "STRING", "index": 10, "name": "action", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 12, "name": "amount", "comment": null}, "created_at": {"type": "DATETIME", "index": 13, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 14, "name": "voided_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1180, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.credit_payment_history"}, "source.recurly_source.recurly.invoice_coupon_redemption_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_coupon_redemption_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"coupon_redemption_id": {"type": "STRING", "index": 1, "name": "coupon_redemption_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 2, "name": "invoice_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 588, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 7, "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.recurly_source.recurly.invoice_coupon_redemption_history"}, "source.recurly_source.recurly.invoice_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "due_at": {"type": "DATETIME", "index": 5, "name": "due_at", "comment": null}, "closed_at": {"type": "DATETIME", "index": 6, "name": "closed_at", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "previous_invoice_id": {"type": "INT64", "index": 8, "name": "previous_invoice_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 10, "name": "origin", "comment": null}, "state": {"type": "STRING", "index": 11, "name": "state", "comment": null}, "number": {"type": "INT64", "index": 12, "name": "number", "comment": null}, "collection_method": {"type": "STRING", "index": 13, "name": "collection_method", "comment": null}, "po_number": {"type": "INT64", "index": 14, "name": "po_number", "comment": null}, "net_terms": {"type": "INT64", "index": 15, "name": "net_terms", "comment": null}, "currency": {"type": "STRING", "index": 16, "name": "currency", "comment": null}, "balance": {"type": "FLOAT64", "index": 17, "name": "balance", "comment": null}, "paid": {"type": "FLOAT64", "index": 18, "name": "paid", "comment": null}, "total": {"type": "FLOAT64", "index": 19, "name": "total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 20, "name": "subtotal", "comment": null}, "refundable_amount": {"type": "FLOAT64", "index": 21, "name": "refundable_amount", "comment": null}, "discount": {"type": "FLOAT64", "index": 22, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 23, "name": "tax", "comment": null}, "tax_type": {"type": "INT64", "index": 24, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 25, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 26, "name": "tax_rate", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1060, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.invoice_history"}, "source.recurly_source.recurly.invoice_subscription_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "invoice_subscription_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"invoice_id": {"type": "STRING", "index": 1, "name": "invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 2, "name": "subscription_id", "comment": null}, "invoice_updated_at": {"type": "DATETIME", "index": 3, "name": "invoice_updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 420, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.invoice_subscription_history"}, "source.recurly_source.recurly.line_item_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "line_item_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "account_id": {"type": "STRING", "index": 5, "name": "account_id", "comment": null}, "plan_id": {"type": "INT64", "index": 6, "name": "plan_id", "comment": null}, "add_on_id": {"type": "INT64", "index": 7, "name": "add_on_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "previous_line_item_id": {"type": "INT64", "index": 9, "name": "previous_line_item_id", "comment": null}, "original_line_item_invoice_id": {"type": "INT64", "index": 10, "name": "original_line_item_invoice_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 11, "name": "subscription_id", "comment": null}, "uuid": {"type": "STRING", "index": 12, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 13, "name": "type", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}, "plan_code": {"type": "INT64", "index": 15, "name": "plan_code", "comment": null}, "add_on_code": {"type": "INT64", "index": 16, "name": "add_on_code", "comment": null}, "invoice_number": {"type": "INT64", "index": 17, "name": "invoice_number", "comment": null}, "origin": {"type": "STRING", "index": 18, "name": "origin", "comment": null}, "product_code": {"type": "INT64", "index": 19, "name": "product_code", "comment": null}, "currency": {"type": "STRING", "index": 20, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 21, "name": "amount", "comment": null}, "description": {"type": "STRING", "index": 22, "name": "description", "comment": null}, "quantity": {"type": "INT64", "index": 23, "name": "quantity", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 24, "name": "unit_amount", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 25, "name": "subtotal", "comment": null}, "discount": {"type": "FLOAT64", "index": 26, "name": "discount", "comment": null}, "tax": {"type": "FLOAT64", "index": 27, "name": "tax", "comment": null}, "taxable": {"type": "BOOL", "index": 28, "name": "taxable", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 29, "name": "tax_exempt", "comment": null}, "tax_code": {"type": "INT64", "index": 30, "name": "tax_code", "comment": null}, "tax_type": {"type": "INT64", "index": 31, "name": "tax_type", "comment": null}, "tax_region": {"type": "INT64", "index": 32, "name": "tax_region", "comment": null}, "tax_rate": {"type": "INT64", "index": 33, "name": "tax_rate", "comment": null}, "proration_rate": {"type": "INT64", "index": 34, "name": "proration_rate", "comment": null}, "refund": {"type": "BOOL", "index": 35, "name": "refund", "comment": null}, "refunded_quantity": {"type": "INT64", "index": 36, "name": "refunded_quantity", "comment": null}, "credit_applied": {"type": "FLOAT64", "index": 37, "name": "credit_applied", "comment": null}, "start_date": {"type": "DATETIME", "index": 38, "name": "start_date", "comment": null}, "end_date": {"type": "TIMESTAMP", "index": 39, "name": "end_date", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1485, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.line_item_history"}, "source.recurly_source.recurly.plan_currency_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "plan_currency_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "plan_id": {"type": "STRING", "index": 2, "name": "plan_id", "comment": null}, "plan_updated_at": {"type": "DATETIME", "index": 3, "name": "plan_updated_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "setup_fees": {"type": "FLOAT64", "index": 5, "name": "setup_fees", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 6, "name": "unit_amount", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 189, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3, "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.recurly_source.recurly.plan_currency_history"}, "source.recurly_source.recurly.plan_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "plan_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "deleted_at": {"type": "TIMESTAMP", "index": 5, "name": "deleted_at", "comment": null}, "code": {"type": "STRING", "index": 6, "name": "code", "comment": null}, "state": {"type": "STRING", "index": 7, "name": "state", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "description": {"type": "INT64", "index": 9, "name": "description", "comment": null}, "interval_unit": {"type": "STRING", "index": 10, "name": "interval_unit", "comment": null}, "interval_length": {"type": "INT64", "index": 11, "name": "interval_length", "comment": null}, "trial_unit": {"type": "STRING", "index": 12, "name": "trial_unit", "comment": null}, "trial_length": {"type": "INT64", "index": 13, "name": "trial_length", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 14, "name": "total_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 15, "name": "auto_renew", "comment": null}, "accounting_code": {"type": "STRING", "index": 16, "name": "accounting_code", "comment": null}, "setup_fee_accounting_code": {"type": "STRING", "index": 17, "name": "setup_fee_accounting_code", "comment": null}, "tax_code": {"type": "INT64", "index": 18, "name": "tax_code", "comment": null}, "tax_exempt": {"type": "BOOL", "index": 19, "name": "tax_exempt", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 416, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.recurly.plan_history"}, "source.recurly_source.recurly.subscription_add_on_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_add_on_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "DATETIME", "index": 2, "name": "created_at", "comment": null}, "expired_at": {"type": "TIMESTAMP", "index": 3, "name": "expired_at", "comment": null}, "id": {"type": "STRING", "index": 4, "name": "id", "comment": null}, "object": {"type": "STRING", "index": 5, "name": "object", "comment": null}, "plan_add_on_id": {"type": "STRING", "index": 6, "name": "plan_add_on_id", "comment": null}, "quantity": {"type": "INT64", "index": 7, "name": "quantity", "comment": null}, "subscription_id": {"type": "STRING", "index": 8, "name": "subscription_id", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 9, "name": "unit_amount", "comment": null}, "updated_at": {"type": "DATETIME", "index": 10, "name": "updated_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 286, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2, "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.recurly_source.recurly.subscription_add_on_history"}, "source.recurly_source.recurly.subscription_change_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_change_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 3, "name": "updated_at", "comment": null}, "plan_id": {"type": "STRING", "index": 4, "name": "plan_id", "comment": null}, "subscription_id": {"type": "STRING", "index": 5, "name": "subscription_id", "comment": null}, "object": {"type": "STRING", "index": 6, "name": "object", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 7, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 8, "name": "quantity", "comment": null}, "activate_at": {"type": "DATETIME", "index": 9, "name": "activate_at", "comment": null}, "activated": {"type": "BOOL", "index": 10, "name": "activated", "comment": null}, "created_at": {"type": "DATETIME", "index": 11, "name": "created_at", "comment": null}, "deleted_at": {"type": "DATETIME", "index": 12, "name": "deleted_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 805, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.subscription_change_history"}, "source.recurly_source.recurly.subscription_history": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "subscription_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "activated_at": {"type": "DATETIME", "index": 5, "name": "activated_at", "comment": null}, "canceled_at": {"type": "DATETIME", "index": 6, "name": "canceled_at", "comment": null}, "expires_at": {"type": "DATETIME", "index": 7, "name": "expires_at", "comment": null}, "account_id": {"type": "STRING", "index": 8, "name": "account_id", "comment": null}, "plan_id": {"type": "STRING", "index": 9, "name": "plan_id", "comment": null}, "object": {"type": "STRING", "index": 10, "name": "object", "comment": null}, "uuid": {"type": "STRING", "index": 11, "name": "uuid", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}, "current_period_started_at": {"type": "DATETIME", "index": 13, "name": "current_period_started_at", "comment": null}, "current_period_ends_at": {"type": "DATETIME", "index": 14, "name": "current_period_ends_at", "comment": null}, "current_term_started_at": {"type": "DATETIME", "index": 15, "name": "current_term_started_at", "comment": null}, "current_term_ends_at": {"type": "DATETIME", "index": 16, "name": "current_term_ends_at", "comment": null}, "trial_started_at": {"type": "DATETIME", "index": 17, "name": "trial_started_at", "comment": null}, "trial_ends_at": {"type": "DATETIME", "index": 18, "name": "trial_ends_at", "comment": null}, "remaining_billing_cycles": {"type": "INT64", "index": 19, "name": "remaining_billing_cycles", "comment": null}, "total_billing_cycles": {"type": "INT64", "index": 20, "name": "total_billing_cycles", "comment": null}, "renewal_billing_cycles": {"type": "INT64", "index": 21, "name": "renewal_billing_cycles", "comment": null}, "auto_renew": {"type": "BOOL", "index": 22, "name": "auto_renew", "comment": null}, "paused_at": {"type": "TIMESTAMP", "index": 23, "name": "paused_at", "comment": null}, "remaining_pause_cycles": {"type": "INT64", "index": 24, "name": "remaining_pause_cycles", "comment": null}, "currency": {"type": "STRING", "index": 25, "name": "currency", "comment": null}, "unit_amount": {"type": "FLOAT64", "index": 26, "name": "unit_amount", "comment": null}, "quantity": {"type": "INT64", "index": 27, "name": "quantity", "comment": null}, "add_ons_total": {"type": "FLOAT64", "index": 28, "name": "add_ons_total", "comment": null}, "subtotal": {"type": "FLOAT64", "index": 29, "name": "subtotal", "comment": null}, "collection_method": {"type": "STRING", "index": 30, "name": "collection_method", "comment": null}, "expiration_reason": {"type": "STRING", "index": 31, "name": "expiration_reason", "comment": null}, "started_with_gift": {"type": "BOOL", "index": 32, "name": "started_with_gift", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1483, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.subscription_history"}, "source.recurly_source.recurly.transaction": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "transaction_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "DATETIME", "index": 1, "name": "_fivetran_synced", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "created_at": {"type": "DATETIME", "index": 3, "name": "created_at", "comment": null}, "voided_at": {"type": "DATETIME", "index": 4, "name": "voided_at", "comment": null}, "collected_at": {"type": "DATETIME", "index": 5, "name": "collected_at", "comment": null}, "original_transaction_id": {"type": "INT64", "index": 6, "name": "original_transaction_id", "comment": null}, "account_id": {"type": "STRING", "index": 7, "name": "account_id", "comment": null}, "invoice_id": {"type": "STRING", "index": 8, "name": "invoice_id", "comment": null}, "voided_by_invoice_id": {"type": "STRING", "index": 9, "name": "voided_by_invoice_id", "comment": null}, "uuid": {"type": "STRING", "index": 10, "name": "uuid", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "origin": {"type": "STRING", "index": 12, "name": "origin", "comment": null}, "currency": {"type": "STRING", "index": 13, "name": "currency", "comment": null}, "amount": {"type": "FLOAT64", "index": 14, "name": "amount", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "success": {"type": "BOOL", "index": 16, "name": "success", "comment": null}, "refunded": {"type": "BOOL", "index": 17, "name": "refunded", "comment": null}, "billing_first_name": {"type": "STRING", "index": 18, "name": "billing_first_name", "comment": null}, "billing_last_name": {"type": "STRING", "index": 19, "name": "billing_last_name", "comment": null}, "billing_phone": {"type": "STRING", "index": 20, "name": "billing_phone", "comment": null}, "billing_street_1": {"type": "STRING", "index": 21, "name": "billing_street_1", "comment": null}, "billing_street_2": {"type": "STRING", "index": 22, "name": "billing_street_2", "comment": null}, "billing_city": {"type": "STRING", "index": 23, "name": "billing_city", "comment": null}, "billing_region": {"type": "STRING", "index": 24, "name": "billing_region", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 25, "name": "billing_postal_code", "comment": null}, "billing_country": {"type": "STRING", "index": 26, "name": "billing_country", "comment": null}, "collection_method": {"type": "STRING", "index": 27, "name": "collection_method", "comment": null}, "payment_method_object": {"type": "STRING", "index": 28, "name": "payment_method_object", "comment": null}, "status_code": {"type": "STRING", "index": 29, "name": "status_code", "comment": null}, "status_message": {"type": "STRING", "index": 30, "name": "status_message", "comment": null}, "customer_message": {"type": "STRING", "index": 31, "name": "customer_message", "comment": null}, "customer_message_locale": {"type": "STRING", "index": 32, "name": "customer_message_locale", "comment": null}, "gateway_message": {"type": "STRING", "index": 33, "name": "gateway_message", "comment": null}, "gateway_reference": {"type": "INT64", "index": 34, "name": "gateway_reference", "comment": null}, "gateway_approval_code": {"type": "INT64", "index": 35, "name": "gateway_approval_code", "comment": null}, "gateway_response_code": {"type": "INT64", "index": 36, "name": "gateway_response_code", "comment": null}, "gateway_response_time": {"type": "FLOAT64", "index": 37, "name": "gateway_response_time", "comment": null}, "payment_gateway_id": {"type": "INT64", "index": 38, "name": "payment_gateway_id", "comment": null}, "payment_gateway_name": {"type": "STRING", "index": 39, "name": "payment_gateway_name", "comment": null}, "gateway_response_values": {"type": "STRING", "index": 40, "name": "gateway_response_values", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3073, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.transaction"}, "source.recurly_source.recurly.transaction_subscription": {"metadata": {"type": "table", "schema": "recurly_integrations_tests", "name": "transaction_subscription_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"subscription_id": {"type": "STRING", "index": 1, "name": "subscription_id", "comment": null}, "transaction_id": {"type": "STRING", "index": 2, "name": "transaction_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 380, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5, "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.recurly_source.recurly.transaction_subscription"}}, "errors": null}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 182b6b4..ca1e6f8 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -24,7 +24,7 @@
-