diff --git a/dbt_project.yml b/dbt_project.yml index 9382a67..4c80c54 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,7 +1,7 @@ config-version: 2 name: 'zendesk_source' -version: '0.4.0' +version: '0.4.1' require-dbt-version: ">=0.20.0" @@ -28,11 +28,4 @@ vars: ticket_schedule: "{{ source('zendesk', 'ticket_schedule') }}" ticket_tag: "{{ source('zendesk', 'ticket_tag') }}" user_tag: "{{ source('zendesk', 'user_tag') }}" - user: "{{ source('zendesk', 'user') }}" - - using_schedules: True - using_domain_names: True - using_user_tags: True - using_ticket_form_history: True - using_organization_tags: True - using_satisfaction_ratings: True + user: "{{ source('zendesk', 'user') }}" \ No newline at end of file diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index ea9105d..efd77f7 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,7 +1,7 @@ config-version: 2 name: 'zendesk_source_integration_tests' -version: '0.4.0' +version: '0.4.1' profile: 'integration_tests' diff --git a/models/src_zendesk.yml b/models/src_zendesk.yml index 817d9bb..cd70221 100644 --- a/models/src_zendesk.yml +++ b/models/src_zendesk.yml @@ -89,6 +89,8 @@ sources: - name: domain_name description: Domain names associated with an organization. An organization may have multiple domain names. + meta: + is_enabled: "{{ var('using_domain_names', true) }}" columns: - name: organization_id description: Reference to the organization @@ -115,6 +117,8 @@ sources: - name: organization_tag description: The tags associated with an organization. An organization may have multiple tags. + meta: + is_enabled: "{{ var('using_organization_tags', true) }}" columns: - name: organization_id description: Reference to the organization @@ -185,6 +189,8 @@ sources: - name: user_tag description: Table containing all tags associated with a user. Only present if your account has user tagging enabled. + meta: + is_enabled: "{{ var('using_user_tags', true) }}" columns: - name: user_id description: Reference to the user @@ -217,6 +223,8 @@ sources: - name: schedule description: The support schedules created with different business hours and holidays. freshness: null + meta: + is_enabled: "{{ var('using_schedules', true) }}" columns: - name: id description: ID automatically assigned to the schedule upon creation @@ -242,6 +250,8 @@ sources: - name: ticket_form_history description: Ticket forms allow an admin to define a subset of ticket fields for display to both agents and end users. + meta: + is_enabled: "{{ var('using_ticket_form_history', true) }}" columns: - name: id description: Automatically assigned when creating ticket form