forked from fivetran/dbt_stripe_source
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdbt_project.yml
35 lines (30 loc) · 1.32 KB
/
dbt_project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
config-version: 2
name: 'stripe_source'
version: '0.3.2'
require-dbt-version: [">=0.18.0", "<0.20.0"]
models:
stripe_source:
materialized: table
+schema: stg_stripe
tmp:
materialized: view
vars:
stripe_source:
balance_transaction: "{{ source('stripe', 'balance_transaction') }}"
card: "{{ source('stripe', 'card') }}"
charge: "{{ source('stripe', 'charge') }}"
customer: "{{ source('stripe', 'customer') }}"
fee: "{{ source('stripe', 'fee') }}"
invoice: "{{ source('stripe', 'invoice') }}"
invoice_line_item: "{{ source('stripe', 'invoice_line_item') }}"
payment_intent: "{{ source('stripe', 'payment_intent') }}"
payment_method_card: "{{ source('stripe', 'payment_method_card') }}"
payment_method: "{{ source('stripe', 'payment_method') }}"
payout: "{{ source('stripe', 'payout') }}"
plan: "{{ source('stripe', 'plan') }}"
refund: "{{ source('stripe', 'refund') }}"
subscription: "{{ source('stripe', 'subscription') }}"
#Variables to enable or disable models if you do not have the respective table.
using_invoices: True
using_payment_method: True
using_subscriptions: True