From 332c865ca5cdee9f7e823055d5e5c9dba1c78dc7 Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:52:55 -0500 Subject: [PATCH 01/12] feature/add-action-result --- CHANGELOG.md | 4 + macros/get_activity_send_email_columns.sql | 1 + models/src_marketo.yml | 216 +----------------- models/stg_marketo.yml | 232 +------------------- models/stg_marketo__activity_send_email.sql | 1 + 5 files changed, 12 insertions(+), 442 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 100d41e..daf67db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# dbt_marketo_source v0.12.0 +[PR #38](https://github.com/fivetran/dbt_marketo_source/pull/38) includes the following updates: +- Added field `action_result` to the `stg_marketo__activity_send_email` model. + # dbt_marketo_source v0.11.0 [PR #35](https://github.com/fivetran/dbt_marketo_source/pull/35) includes the following updates: diff --git a/macros/get_activity_send_email_columns.sql b/macros/get_activity_send_email_columns.sql index ea8754e..7c8623f 100644 --- a/macros/get_activity_send_email_columns.sql +++ b/macros/get_activity_send_email_columns.sql @@ -2,6 +2,7 @@ {% set columns = [ {"name": "_fivetran_synced", "datatype": dbt.type_timestamp()}, + {"name": "action_result", "datatype": dbt.type_string()}, {"name": "activity_date", "datatype": dbt.type_timestamp()}, {"name": "activity_type_id", "datatype": dbt.type_int()}, {"name": "campaign_id", "datatype": dbt.type_int()}, diff --git a/models/src_marketo.yml b/models/src_marketo.yml index 9fd6c69..0b3b013 100644 --- a/models/src_marketo.yml +++ b/models/src_marketo.yml @@ -12,106 +12,72 @@ sources: columns: - name: id description: Unique integer id of a lead record. - - name: created_at description: The timestamp each lead object was created at. - - name: updated_at description: The timestamp each lead object was last updated at. - - name: email description: The email address of the lead. - - name: first_name description: The first name of the lead. - - name: last_name description: The last name of the lead. - - name: phone description: Lead’s Phone Number. - - name: main_phone description: Primary phone number of the lead’s company - - name: mobile_phone description: Lead’s mobile phone number - - name: company description: Lead’s company name - - name: inferred_company description: Company name inferred by reverse IP lookup of the lead’s first recorded web visit - - name: address_lead description: Second address associated with the lead. - - name: address description: Lead’s address. - - name: city description: Lead’s city - - name: state description: Lead’s state - - name: state_code description: Alpha-2 code of the Lead’s state - - name: country description: Lead’s country - - name: country_code description: Alpha-2 code of the Lead’s country - - name: postal_code description: Lead’s postal code - - name: billing_street description: Billing street address of the lead’s company - - name: billing_city description: City of the lead’s billing address - - name: billing_state description: State or province of the lead’s billing address - - name: billing_state_code description: Alpha-2 code of the state or province of the lead’s billing address - - name: billing_country description: Country of the lead’s billing address - - name: billing_country_code description: Alpha-2 code of the country of the lead’s billing address - - name: billing_postal_code description: Postal code of the lead’s billing address - - name: inferred_city description: Lead’s city inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_state_region description: Lead’s state region inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_country description: Country inferred by reverse IP lookup of the lead’s first recorded web visit - - name: inferred_postal_code description: Lead’s postal code inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_phone_area_code description: Lead’s phone area code inferred by reverse IP lookup of lead’s first recorded web visit. - - name: anonymous_ip description: IP address of the lead’s first recorded web visit - - name: unsubscribed description: Lead’s email-unsubscribed status (boolean). Partially system managed. Will prevent receipt of non-operational emails if set to true. - - name: email_invalid description: Email invalid status (boolean). All emails to the address will be blocked if set to true. Bounces indicating that the email is invalid will automatically set this field to true. - - name: do_not_call description: Lead’s do-not-call preference (boolean) @@ -121,25 +87,18 @@ sources: columns: - name: data_type description: Datatype of the field. - - name: display_name description: UI display-name of the field. - - name: id description: Unique integer id of the field. - - name: length description: Max length of the field. Only applicable to text, string, and text area. - - name: restname description: Description of REST API usage attributes. - - name: restread_only description: Whether the field is only available via the REST API. - - name: soapname description: Description of SOAP API usage attributes. - - name: soapread_only description: Whether the field is only available via the SOAP API. @@ -149,40 +108,28 @@ sources: columns: - name: api_method_name description: API method used for change, if applicable. - - name: activity_date description: Timestamp of the actvity. - - name: activity_type_id description: ID of the activity type. - - name: campaign_id description: The ID of the related campaign, if applicable. - - name: id description: ID of the activity. - - name: lead_id description: Id of the lead associated to the activity. - - name: modifying_user description: The user who instigated the change, if applicable. - - name: new_value description: New value after the change. - - name: old_value description: Old value before the change. - - name: primary_attribute_value description: Value of the primary attribute. - - name: primary_attribute_value_id description: ID of the primary attribute field. - - name: reason description: Reason for the data change. - - name: request_id description: ID of the request made. @@ -192,94 +139,64 @@ sources: columns: - name: active description: Whether the campaign is active. Only applicable to trigger campaigns. - - name: created_at description: Timestamp when the campaign was created. - - name: description description: Description of the campaign - - name: id description: Unique integer ID of the campaign. - - name: name description: Name of the campaign. - - name: program_id description: ID of the parent program, if applicable. - - name: type description: Type of campaign, either 'batch' or 'trigger'. - - name: updated_at description: Timestamp when the campaign was most recently updated. - - name: workspace_name description: Name of the parent workspace, if applicable. - - name: computed_url description: The URL of the campaign in Marketo. - - name: flow_id description: The ID of the flow that the campaign is associated with. - - name: folder_id description: The ID of the folder that the campaign is stored in. - - name: folder_type description: The type of folder that the campaign is stored in. - - name: is_communication_limit_enabled description: Whether or not the campaign has a communication limit. - - name: is_requestable description: Whether or not the campaign can be requested by leads. - - name: is_system description: Whether or not the campaign is a system campaign. - - name: max_members description: The maximum number of members that the campaign can have. - - name: qualification_rule_type description: The type of qualification rule that the campaign uses. - - name: qualification_rule_interval description: The interval for the qualification rule. - - name: qualification_rule_unit description: The unit for the qualification rule. - - name: recurrence_start_at description: The start date and time for the recurrence. - - name: recurrence_end_at description: The end date and time for the recurrence. - - name: recurrence_interval_type description: The type of recurrence interval. - - name: recurrence_interval description: The value of the recurrence interval. - - name: recurrence_weekday_only description: Whether or not the recurrence is limited to weekdays. - - name: recurrence_day_of_month description: The day of the month for the recurrence. - - name: recurrence_day_of_week description: The day of the week for the recurrence. - - name: recurrence_week_of_month description: The week of the month for the recurrence. - - name: smart_list_id description: The ID of the smart list that the campaign is associated with. - - name: status description: The status of the campaign. - - name: _fivetran_deleted description: Boolean created by Fivetran to indicate whether the record has been deleted. @@ -289,31 +206,22 @@ sources: columns: - name: channel description: Channel of the program. - - name: created_at - description: Timestamp the program was created at - + description: Timestamp the program was created at. - name: description description: Description of the program. - - name: end_date description: End date of the program. Applicable to event, email, and webinar type programs. - - name: id description: ID of the program. - - name: name description: Name of the program. - - name: sfdc_id description: SFDC id of the program if linked to an SFDC campaign. - - name: sfdc_name description: Name of the linked SFDC campaign if applicable. - - name: start_date description: Start date of program. Applicable to event, email and webinar type programs. - - name: status description: | Status of the program. Only valid for Email and engagement program types. @@ -325,13 +233,10 @@ sources: - name: updated_at description: Timestamp the program was most recently updated. - - name: url description: URL of the program in the Marketo UI. - - name: workspace description: Name of the workspace. - - name: _fivetran_deleted description: Boolean created by Fivetran to indicate whether the record has been deleted. @@ -341,70 +246,48 @@ sources: columns: - name: created_at description: Timestamp the email template was created. - - name: description description: Description of the email template. - - name: folder_folder_name description: The name of the email template's folder. - - name: folder_id description: The ID of the email template's folder. - - name: folder_type description: The type of the email template's folder. - - name: folder_value description: The value of the email template's folder. - - name: from_email description: The 'From' address of the email. - - name: from_name description: The 'From' name of the email. - - name: id - description: ID of the email template - + description: ID of the email template. - name: name description: Name of the email template. - - name: operational description: Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false. - - name: program_id description: The ID of the email template's program. - - name: publish_to_msi description: Whether the email is published to Marketo Sales Insight. - - name: reply_email description: Reply-To address of the Email. - - name: status description: Status filter for draft or approved versions. - - name: subject description: Subject line of the email. - - name: template description: ID of the parent template. - - name: text_only description: Setting to include text-only version of email when sent. - - name: updated_at description: Timestamp the email template was last updated. - - name: url description: URL of the email template in the Marketo UI. - - name: version description: The type version of the email, either '1' or '2'. - - name: web_view description: Whether 'View as Webpage' function is enabled for the email. - - name: workspace description: Name of the workspace. @@ -414,46 +297,32 @@ sources: columns: - name: activity_date description: The date of the activity. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: device description: The device type the activity occurred on. - - name: email_template_id description: The ID of the email's template. - - name: id description: ID of the activity. - - name: is_mobile_device description: Whether the activity occurred on a mobile device. - - name: lead_id description: The ID of the lead related to the activity. - - name: link description: The URL of the link clicked. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. - - name: user_agent description: The Web browser user agent information obtained when the lead clicked the email link. @@ -463,34 +332,24 @@ sources: columns: - name: activity_date description: The timestamp the email was delivered. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: email_template_id description: The ID of the email's template. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. @@ -500,46 +359,32 @@ sources: columns: - name: activity_date description: The timestamp the email bounced. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: category description: The category associated with bounced email. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: details description: Details about why the email bounced. - - name: email description: The email address that bounced. - - name: email_template_id description: The ID of the email's template. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. - - name: subcategory description: The subcategory associated with bounced email. @@ -549,46 +394,32 @@ sources: columns: - name: activity_date description: The timestamp the email was opened. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: device description: The device that was used to open the email. - - name: email_template_id description: The ID of the email's template. - - name: id description: ID of the activity. - - name: is_mobile_device description: Identifies whether a mobile device was used to open the email. - - name: lead_id description: The ID of the lead related to the activity. - - name: platform description: The platform that was used to open the email. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. - - name: user_agent description: The web browser user agent information obtained when the email was opened. @@ -598,49 +429,34 @@ sources: columns: - name: activity_date description: The timestamp the lead unsubscribed. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: client_ip_address description: The IP address of the client that unsubscribed. - - name: email_template_id description: The ID of the email's template. - - name: form_fields description: The query parameters contained within the URL. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: query_parameters description: The query parameters contained within the URL. - - name: referrer_url description: The URL of the referrer used to identify where the form visit originated from. - - name: user_agent description: The web browser user agent information obtained when the lead unsubscribed. - - name: webform_id description: The ID of the unsubscribe web page. - - name: webpage_id description: The ID of the unsubscribe web form. @@ -648,36 +464,28 @@ sources: identifier: "{{ var('marketo_activity_send_email_identifier', 'activity_send_email')}}" description: Table with email send activities. columns: + - name: action_result + description: The outcome of a specific action performed within the Marketo platform. - name: activity_date description: The timestamp the email was sent. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: email_template_id description: The ID of the email's template. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. @@ -687,25 +495,18 @@ sources: columns: - name: activity_date description: The timestamp the lead was deleted. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the campaign related to the activity, if applicable. - - name: campaign description: The name of the campaign related to the activity, if applicable. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. @@ -715,26 +516,17 @@ sources: columns: - name: activity_date description: The timestamp the lead was deleted. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the campaign related to the activity, if applicable. - - name: id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: merge_ids description: ID of the lead that the lead was merged into. - - \ No newline at end of file diff --git a/models/stg_marketo.yml b/models/stg_marketo.yml index c462209..16a08c5 100644 --- a/models/stg_marketo.yml +++ b/models/stg_marketo.yml @@ -8,43 +8,30 @@ models: tests: - unique - not_null - - name: activity_timestamp description: Timestamp of the activity. - - name: activity_type_id description: ID of the activity type. - - name: api_method_name description: API method used for change, if applicable. - - name: campaign_id description: The ID of the related campaign, if applicable. - - name: change_reason description: Reason for the data change. - - name: change_source description: Source of the data change. - - name: lead_id description: Id of the lead associated to the activity. - - name: modifying_user_id description: The user who instigated the change, if applicable. - - name: new_value description: New value after the change. - - name: old_value description: Old value before the change. - - name: primary_attribute_value description: Value of the primary attribute. - - name: primary_attribute_value_id description: ID of the primary attribute field. - - name: request_id description: ID of the request made. @@ -54,55 +41,38 @@ models: tests: - unique - not_null - - name: activity_timestamp description: Timestamp of the activity. - - name: activity_type_id description: ID of the activity type. - - name: activity_id description: ID of the activity. - - name: campaign_id description: The ID of the related campaign, if applicable. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: click_device description: The device type the activity occurred on. - - name: click_link_url description: The URL of the link clicked. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: is_mobile_device description: Whether the activity occurred on a mobile device. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. - - name: user_agent description: The Web browser user agent information obtained when the lead clicked the email link. - - name: user_platform description: The user's operating platform. @@ -113,49 +83,34 @@ models: tests: - unique - not_null - - name: activity_timestamp description: The timestamp the email bounced. - - name: activity_type_id description: The ID of the activity type. - - name: bounce_category description: The category associated with bounced email. - - name: bounce_subcategory description: The subcategory associated with bounced email. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: details description: Details about why the email bounced. - - name: email_address description: The email address that bounced. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. @@ -166,37 +121,26 @@ models: tests: - unique - not_null - - name: activity_timestamp description: The timestamp the email was delivered. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. @@ -207,90 +151,66 @@ models: tests: - unique - not_null - - name: activity_timestamp description: The timestamp the email was opened. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: device description: The device that was used to open the email. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: is_mobile_device description: Identifies whether a mobile device was used to open the email. - - name: lead_id description: The ID of the lead related to the activity. - - name: platform description: The platform that was used to open the email. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. - - name: user_agent description: The web browser user agent information obtained when the email was opened. - name: stg_marketo__activity_send_email columns: + - name: action_result + description: The outcome of a specific action performed within the Marketo platform. - name: activity_id description: ID of the activity. tests: - unique - not_null - - name: activity_timestamp description: The timestamp the email was sent. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: choice_number description: The choice number of the current step that triggered the activity. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: step_id description: The Id of the current step in the flow. @@ -301,52 +221,36 @@ models: tests: - unique - not_null - - name: activity_timestamp description: The timestamp the lead unsubscribed. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the email's campaign. - - name: campaign_run_id description: The ID of the email's campaign run. - - name: client_ip_address description: The IP address of the client that unsubscribed. - - name: email_send_id description: The inferred ID for the email sent. This is created by concatenating primary_attribute_value_id, campaign_id, campaign_run_id, and lead_id. - - name: email_template_id description: The ID of the email's template. - - name: form_fields description: The query parameters contained within the URL. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: query_parameters description: The query parameters contained within the URL. - - name: referrer_url description: The URL of the referrer used to identify where the form visit originated from. - - name: user_agent description: The web browser user agent information obtained when the lead unsubscribed. - - name: webform_id description: The ID of the unsubscribe web page. - - name: webpage_id description: The ID of the unsubscribe web form. @@ -357,91 +261,62 @@ models: tests: - unique - not_null - - name: campaign_name description: Name of the campaign. - - name: campaign_type description: Type of campaign, either 'batch' or 'trigger'. - - name: created_timestamp description: Timestamp when the campaign was created. - - name: description description: Description of the campaign - - name: is_active description: Whether the campaign is active. Only applicable to trigger campaigns. - - name: program_id description: ID of the parent program, if applicable. - - name: updated_timestamp description: Timestamp when the campaign was most recently updated. - - name: workspace_name description: Name of the parent workspace, if applicable. - - name: computed_url description: The URL of the campaign in Marketo. - - name: flow_id description: The ID of the flow that the campaign is associated with. - - name: folder_id description: The ID of the folder that the campaign is stored in. - - name: folder_type description: The type of folder that the campaign is stored in. - - name: is_communication_limit_enabled description: Whether or not the campaign has a communication limit. - - name: is_requestable description: Whether or not the campaign can be requested by leads. - - name: is_system description: Whether or not the campaign is a system campaign. - - name: max_members description: The maximum number of members that the campaign can have. - - name: qualification_rule_type description: The type of qualification rule that the campaign uses. - - name: qualification_rule_interval description: The interval for the qualification rule. - - name: qualification_rule_unit description: The unit for the qualification rule. - - name: recurrence_start_at description: The start date and time for the recurrence. - - name: recurrence_end_at description: The end date and time for the recurrence. - - name: recurrence_interval_type description: The type of recurrence interval. - - name: recurrence_interval description: The value of the recurrence interval. - - name: recurrence_weekday_only description: Whether or not the recurrence is limited to weekdays. - - name: recurrence_day_of_month description: The day of the month for the recurrence. - - name: recurrence_day_of_week description: The day of the week for the recurrence. - - name: recurrence_week_of_month description: The week of the month for the recurrence. - - name: smart_list_id description: The ID of the smart list that the campaign is associated with. - - name: status description: The status of the campaign. @@ -452,91 +327,62 @@ models: tests: - unique - not_null - - name: created_timestamp description: Timestamp the email template was created. - - name: description description: Description of the email template. - - name: email_subject description: Subject line of the email. - - name: email_template_history_id description: ID of the version of the email template. - - name: email_template_id description: ID of the email template - - name: email_template_name description: Name of the email template. - - name: email_template_status description: Status filter for draft or approved versions. - - name: email_template_url description: URL of the email template in the Marketo UI. - - name: folder_name description: The name of the email template's folder. - - name: folder_id description: The ID of the email template's folder. - - name: folder_type description: The type of the email template's folder. - - name: folder_value description: The value of the email template's folder. - - name: from_email description: The 'From' address of the email. - - name: from_name description: The 'From' name of the email. - - name: has_web_view_enabled description: Whether 'View as Webpage' function is enabled for the email. - - name: inferred_version description: Incrementing integer version of the email template. - - name: is_most_recent_version description: Whether it is the most recent version of the email template. - - name: is_operational description: Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false. - - name: is_text_only description: Setting to include text-only version of email when sent. - - name: parent_template_id description: ID of the parent template. - - name: program_id description: The ID of the email template's program. - - name: publish_to_msi description: Whether the email is published to Marketo Sales Insight. - - name: reply_email description: Reply-To address of the Email. - - name: total_count_of_versions description: Count of versions of the email. - - name: updated_timestamp description: Timestamp the email template was last updated. - - name: valid_from description: When the version of the email template was is valid from. - - name: valid_to description: When the version of the email template was is valid to. - - name: version_type description: The type version of the email, either '1' or '2'. - - name: workspace_name description: Name of the workspace. @@ -547,28 +393,20 @@ models: tests: - unique - not_null - - name: data_type description: Datatype of the field. - - name: display_name description: UI display-name of the field. - - name: field_max_length description: Max length of the field. Only applicable to text, string, and text area. - - name: is_rest_readonly description: Whether the field is only available via the REST API. - - name: is_soap_readonly description: Whether the field is only available via the SOAP API. - - name: rest_name description: Description of REST API usage attributes in camel case. - - name: rest_name_xf description: Description of REST API usage attributes in snake case. - - name: soap_name description: Description of SOAP API usage attributes. @@ -579,106 +417,72 @@ models: tests: - unique - not_null - - name: created_timestamp description: The timestamp at which each lead object was created. - - name: updated_timestamp description: The timestamp at which each lead object was last updated. - - name: email description: The email address of the lead. - - name: first_name description: The first name of the lead. - - name: last_name description: The last name of the lead. - - name: phone description: Lead’s Phone Number. - - name: main_phone description: Primary phone number of the lead’s company - - name: mobile_phone description: Lead’s mobile phone number - - name: company description: Lead’s company name - - name: inferred_company description: Company name inferred by reverse IP lookup of the lead’s first recorded web visit - - name: address_lead description: Second address associated with the lead. - - name: address description: Lead’s address. - - name: city description: Lead’s city - - name: state description: Lead’s state - - name: state_code description: Alpha-2 code of the Lead’s state - - name: country description: Lead’s country - - name: country_code description: Alpha-2 code of the Lead’s country - - name: postal_code description: Lead’s postal code - - name: billing_street description: Billing street address of the lead’s company - - name: billing_city description: City of the lead’s billing address - - name: billing_state description: State or province of the lead’s billing address - - name: billing_state_code description: Alpha-2 code of the state or province of the lead’s billing address - - name: billing_country description: Country of the lead’s billing address - - name: billing_country_code description: Alpha-2 code of the country of the lead’s billing address - - name: billing_postal_code description: Postal code of the lead’s billing address - - name: inferred_city description: Lead’s city inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_state_region description: Lead’s state region inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_country description: Country inferred by reverse IP lookup of the lead’s first recorded web visit - - name: inferred_postal_code description: Lead’s postal code inferred by reverse IP lookup of lead’s first recorded web visit. - - name: inferred_phone_area_code description: Lead’s phone area code inferred by reverse IP lookup of lead’s first recorded web visit. - - name: anonymous_ip description: IP address of the lead’s first recorded web visit - - name: is_unsubscribed description: Lead’s email-unsubscribed status (boolean). Partially system managed. Will prevent receipt of non-operational emails if set to true. - - name: is_email_invalid description: Email invalid status (boolean). All emails to the address will be blocked if set to true. Bounces indicating that the email is invalid will automatically set this field to true. - - name: do_not_call description: Lead’s do-not-call preference (boolean) @@ -689,46 +493,33 @@ models: tests: - unique - not_null - - name: channel description: Channel of the program. - - name: created_timestamp description: Timestamp the program was created at - - name: description description: Description of the program. - - name: end_timestamp description: End date of the program. Applicable to event, email, and webinar type programs. - - name: program_name description: Name of the program. - - name: program_status description: | Status of the program. Only valid for Email and engagement program types. Allowed values: locked, unlocked, on, off - - name: program_type description: | Type of the program. Allowed values: program, event, webinar, nurture - - name: sfdc_id description: SFDC id of the program if linked to an SFDC campaign. - - name: sfdc_name description: Name of the linked SFDC campaign if applicable. - - name: start_timestamp description: Start date of program. Applicable to event, email and webinar type programs. - - name: updated_timestamp description: Timestamp the program was most recently updated. - - name: url description: URL of the program in the Marketo UI. - - name: workspace description: Name of the workspace. @@ -737,25 +528,18 @@ models: columns: - name: activity_timestamp description: The timestamp the lead was deleted. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the campaign related to the activity, if applicable. - - name: campaign_name description: The name of the campaign related to the activity, if applicable. - - name: activity_id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. @@ -764,35 +548,23 @@ models: columns: - name: activity_timestamp description: The timestamp the lead was deleted. - - name: activity_type_id description: The ID of the activity type. - - name: campaign_id description: The ID of the campaign related to the activity, if applicable. - - name: activity_id description: ID of the activity. - - name: lead_id description: The ID of the lead related to the activity. - - name: primary_attribute_value description: The primary attribute of the activity. - - name: primary_attribute_value_id description: The ID of the primary attribute of the activity. - - name: merged_lead_id description: ID of the lead that the lead was merged into. - - name: master_updated description: Boolean if master was updated. - - name: merge_source description: Source of the merge. - - name: merged_in_sales description: Boolean if merged in sales. - - \ No newline at end of file diff --git a/models/stg_marketo__activity_send_email.sql b/models/stg_marketo__activity_send_email.sql index 8d31a87..f6a0cea 100644 --- a/models/stg_marketo__activity_send_email.sql +++ b/models/stg_marketo__activity_send_email.sql @@ -17,6 +17,7 @@ with base as ( ), fields as ( select + action_result, cast(activity_date as {{ dbt.type_timestamp() }}) as activity_timestamp, activity_type_id, campaign_id, From faf15c39cd5e8c323ff2657f86b02742a5a424a4 Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Fri, 25 Oct 2024 00:14:51 -0500 Subject: [PATCH 02/12] updates --- CHANGELOG.md | 6 ++++-- dbt_project.yml | 2 +- integration_tests/dbt_project.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index daf67db..f2acde0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ -# dbt_marketo_source v0.12.0 +# dbt_marketo_source v0.12.0-a1 [PR #38](https://github.com/fivetran/dbt_marketo_source/pull/38) includes the following updates: -- Added field `action_result` to the `stg_marketo__activity_send_email` model. + +## Feature +- Added the `action_result` field to the `stg_marketo__activity_send_email` model to capture the result of email actions and enable accurate filtering in downstream models. # dbt_marketo_source v0.11.0 [PR #35](https://github.com/fivetran/dbt_marketo_source/pull/35) includes the following updates: diff --git a/dbt_project.yml b/dbt_project.yml index 7ce2400..1a7b65a 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'marketo_source' -version: '0.11.0' +version: '0.12.0' config-version: 2 require-dbt-version: [">=1.3.0", "<2.0.0"] models: diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index 569f788..29c5d09 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'marketo_source_integration_tests' -version: '0.11.0' +version: '0.12.0' profile: 'integration_tests' config-version: 2 vars: From 713ab47fecd468283d3205414ff80d838e8896c9 Mon Sep 17 00:00:00 2001 From: fivetran-catfritz <111930712+fivetran-catfritz@users.noreply.github.com> Date: Fri, 25 Oct 2024 16:27:18 -0500 Subject: [PATCH 03/12] regen docs --- CHANGELOG.md | 2 +- docs/catalog.json | 2 +- docs/index.html | 47 ++++++++++------------------------------------ docs/manifest.json | 2 +- 4 files changed, 13 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2acde0..bafc41d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ [PR #38](https://github.com/fivetran/dbt_marketo_source/pull/38) includes the following updates: ## Feature -- Added the `action_result` field to the `stg_marketo__activity_send_email` model to capture the result of email actions and enable accurate filtering in downstream models. +- Added the `action_result` field to the `stg_marketo__activity_send_email` model to capture the result of email actions and enable filtering in downstream models. # dbt_marketo_source v0.11.0 [PR #35](https://github.com/fivetran/dbt_marketo_source/pull/35) includes the following updates: diff --git a/docs/catalog.json b/docs/catalog.json index c557a1c..c2a774d 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.7.8", "generated_at": "2024-02-29T15:28:19.561731Z", "invocation_id": "9b425e78-4d62-4b80-9b3f-a4c4a37e5435", "env": {}}, "nodes": {"seed.marketo_source_integration_tests.marketo_activity_change_data_value_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_change_data_value_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "INT64", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "INT64", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "STRING", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "STRING", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "STRING", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "INT64", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "STRING", "index": 14, "name": "source", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16556, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_change_data_value_data"}, "seed.marketo_source_integration_tests.marketo_activity_click_email_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_click_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "STRING", "index": 11, "name": "link", "comment": null}, "platform": {"type": "STRING", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 16, "name": "user_agent", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 31660, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_click_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_delete_lead_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_delete_lead_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "STRING", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 31, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4650, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_delete_lead_data"}, "seed.marketo_source_integration_tests.marketo_activity_email_bounced_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_email_bounced_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "INT64", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "INT64", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "STRING", "index": 7, "name": "details", "comment": null}, "email": {"type": "STRING", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "INT64", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "INT64", "index": 15, "name": "subcategory", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 29624, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_email_bounced_data"}, "seed.marketo_source_integration_tests.marketo_activity_email_delivered_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_email_delivered_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13100, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_email_delivered_data"}, "seed.marketo_source_integration_tests.marketo_activity_merge_leads_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_merge_leads_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "BOOL", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "STRING", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "STRING", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "BOOL", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 12, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13397, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_merge_leads_data"}, "seed.marketo_source_integration_tests.marketo_activity_open_email_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_open_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "STRING", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 15, "name": "user_agent", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 25196, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_open_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_send_email_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_send_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13100, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_send_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_unsubscribe_email_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_unsubscribe_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "STRING", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "STRING", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "STRING", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "STRING", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "STRING", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "INT64", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "INT64", "index": 16, "name": "webpage_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 67477, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_activity_unsubscribe_email_data"}, "seed.marketo_source_integration_tests.marketo_campaign_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"active": {"type": "BOOL", "index": 1, "name": "active", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "description": {"type": "STRING", "index": 3, "name": "description", "comment": null}, "id": {"type": "INT64", "index": 4, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "program_id": {"type": "INT64", "index": 6, "name": "program_id", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "updated_at": {"type": "STRING", "index": 8, "name": "updated_at", "comment": null}, "workspace_name": {"type": "STRING", "index": 9, "name": "workspace_name", "comment": null}, "computed_url": {"type": "STRING", "index": 10, "name": "computed_url", "comment": null}, "flow_id": {"type": "INT64", "index": 11, "name": "flow_id", "comment": null}, "folder_id": {"type": "INT64", "index": 12, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 13, "name": "folder_type", "comment": null}, "is_communication_limit_enabled": {"type": "BOOL", "index": 14, "name": "is_communication_limit_enabled", "comment": null}, "is_requestable": {"type": "BOOL", "index": 15, "name": "is_requestable", "comment": null}, "is_system": {"type": "BOOL", "index": 16, "name": "is_system", "comment": null}, "max_members": {"type": "INT64", "index": 17, "name": "max_members", "comment": null}, "qualification_rule_type": {"type": "STRING", "index": 18, "name": "qualification_rule_type", "comment": null}, "qualification_rule_interval": {"type": "INT64", "index": 19, "name": "qualification_rule_interval", "comment": null}, "qualification_rule_unit": {"type": "STRING", "index": 20, "name": "qualification_rule_unit", "comment": null}, "recurrence_start_at": {"type": "STRING", "index": 21, "name": "recurrence_start_at", "comment": null}, "recurrence_end_at": {"type": "INT64", "index": 22, "name": "recurrence_end_at", "comment": null}, "recurrence_interval_type": {"type": "STRING", "index": 23, "name": "recurrence_interval_type", "comment": null}, "recurrence_interval": {"type": "INT64", "index": 24, "name": "recurrence_interval", "comment": null}, "recurrence_weekday_only": {"type": "BOOL", "index": 25, "name": "recurrence_weekday_only", "comment": null}, "recurrence_day_of_month": {"type": "INT64", "index": 26, "name": "recurrence_day_of_month", "comment": null}, "recurrence_day_of_week": {"type": "INT64", "index": 27, "name": "recurrence_day_of_week", "comment": null}, "recurrence_week_of_month": {"type": "INT64", "index": 28, "name": "recurrence_week_of_month", "comment": null}, "smart_list_id": {"type": "INT64", "index": 29, "name": "smart_list_id", "comment": null}, "status": {"type": "STRING", "index": 30, "name": "status", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 31, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 18079, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_campaign_data"}, "seed.marketo_source_integration_tests.marketo_email_template_history_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_email_template_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "STRING", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "STRING", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "INT64", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "INT64", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "INT64", "index": 9, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "operational": {"type": "BOOL", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "INT64", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "BOOL", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "STRING", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "subject": {"type": "STRING", "index": 16, "name": "subject", "comment": null}, "template": {"type": "INT64", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "BOOL", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "STRING", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "STRING", "index": 20, "name": "url", "comment": null}, "version": {"type": "INT64", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "BOOL", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "STRING", "index": 23, "name": "workspace", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 34691, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_email_template_history_data"}, "seed.marketo_source_integration_tests.marketo_lead_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_lead_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10500, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_lead_data"}, "seed.marketo_source_integration_tests.marketo_lead_describe_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_lead_describe_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"data_type": {"type": "STRING", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "STRING", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "length": {"type": "INT64", "index": 4, "name": "length", "comment": null}, "restname": {"type": "STRING", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "BOOL", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "STRING", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "BOOL", "index": 8, "name": "soapread_only", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6651, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_lead_describe_data"}, "seed.marketo_source_integration_tests.marketo_program_data": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_program_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "channel": {"type": "STRING", "index": 2, "name": "channel", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "INT64", "index": 4, "name": "description", "comment": null}, "end_date": {"type": "INT64", "index": 5, "name": "end_date", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "sfdc_id": {"type": "STRING", "index": 7, "name": "sfdc_id", "comment": null}, "sfdc_name": {"type": "STRING", "index": 8, "name": "sfdc_name", "comment": null}, "start_date": {"type": "INT64", "index": 9, "name": "start_date", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "updated_at": {"type": "STRING", "index": 12, "name": "updated_at", "comment": null}, "url": {"type": "STRING", "index": 13, "name": "url", "comment": null}, "workspace": {"type": "STRING", "index": 14, "name": "workspace", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 15, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16936, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_program_data"}, "model.marketo_source.stg_marketo__activity_change_data_value": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_change_data_value", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "INT64", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "activity_id": {"type": "INT64", "index": 5, "name": "activity_id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "modifying_user_id": {"type": "INT64", "index": 7, "name": "modifying_user_id", "comment": null}, "new_value": {"type": "STRING", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "STRING", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "change_reason": {"type": "STRING", "index": 12, "name": "change_reason", "comment": null}, "request_id": {"type": "INT64", "index": 13, "name": "request_id", "comment": null}, "change_source": {"type": "STRING", "index": 14, "name": "change_source", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 14856, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_change_data_value"}, "model.marketo_source.stg_marketo__activity_change_data_value_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_change_data_value_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "INT64", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "INT64", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "STRING", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "STRING", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "STRING", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "INT64", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "STRING", "index": 14, "name": "source", "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.marketo_source.stg_marketo__activity_change_data_value_tmp"}, "model.marketo_source.stg_marketo__activity_click_email": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_click_email", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "click_device": {"type": "STRING", "index": 6, "name": "click_device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "activity_id": {"type": "INT64", "index": 8, "name": "activity_id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "click_link_url": {"type": "STRING", "index": 11, "name": "click_link_url", "comment": null}, "user_platform": {"type": "STRING", "index": 12, "name": "user_platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 16, "name": "user_agent", "comment": null}, "email_send_id": {"type": "STRING", "index": 17, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 33360, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_click_email"}, "model.marketo_source.stg_marketo__activity_click_email_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_click_email_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "STRING", "index": 11, "name": "link", "comment": null}, "platform": {"type": "STRING", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 16, "name": "user_agent", "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.marketo_source.stg_marketo__activity_click_email_tmp"}, "model.marketo_source.stg_marketo__activity_delete_lead": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_delete_lead", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_id": {"type": "INT64", "index": 1, "name": "activity_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_timestamp": {"type": "TIMESTAMP", "index": 3, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 31, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4123, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_delete_lead"}, "model.marketo_source.stg_marketo__activity_delete_lead_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_delete_lead_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "STRING", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_delete_lead_tmp"}, "model.marketo_source.stg_marketo__activity_email_bounced": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_email_bounced", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "bounce_category": {"type": "INT64", "index": 5, "name": "bounce_category", "comment": null}, "choice_number": {"type": "INT64", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "STRING", "index": 7, "name": "details", "comment": null}, "email_address": {"type": "STRING", "index": 8, "name": "email_address", "comment": null}, "email_template_id": {"type": "INT64", "index": 9, "name": "email_template_id", "comment": null}, "activity_id": {"type": "INT64", "index": 10, "name": "activity_id", "comment": null}, "lead_id": {"type": "INT64", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "bounce_subcategory": {"type": "INT64", "index": 15, "name": "bounce_subcategory", "comment": null}, "email_send_id": {"type": "STRING", "index": 16, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 31324, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_email_bounced"}, "model.marketo_source.stg_marketo__activity_email_bounced_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_email_bounced_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "INT64", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "INT64", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "STRING", "index": 7, "name": "details", "comment": null}, "email": {"type": "STRING", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "INT64", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "INT64", "index": 15, "name": "subcategory", "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.marketo_source.stg_marketo__activity_email_bounced_tmp"}, "model.marketo_source.stg_marketo__activity_email_delivered": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_email_delivered", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "activity_id": {"type": "INT64", "index": 7, "name": "activity_id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}, "email_send_id": {"type": "STRING", "index": 12, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 14800, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_email_delivered"}, "model.marketo_source.stg_marketo__activity_email_delivered_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_email_delivered_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_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.marketo_source.stg_marketo__activity_email_delivered_tmp"}, "model.marketo_source.stg_marketo__activity_merge_leads": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_merge_leads", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_id": {"type": "INT64", "index": 1, "name": "activity_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_timestamp": {"type": "TIMESTAMP", "index": 3, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "BOOL", "index": 7, "name": "master_updated", "comment": null}, "merged_lead_id": {"type": "STRING", "index": 8, "name": "merged_lead_id", "comment": null}, "merge_source": {"type": "STRING", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "BOOL", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 12, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 11499, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_merge_leads"}, "model.marketo_source.stg_marketo__activity_merge_leads_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_merge_leads_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "BOOL", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "STRING", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "STRING", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "BOOL", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 12, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_merge_leads_tmp"}, "model.marketo_source.stg_marketo__activity_open_email": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_open_email", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "activity_id": {"type": "INT64", "index": 8, "name": "activity_id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "STRING", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 15, "name": "user_agent", "comment": null}, "email_send_id": {"type": "STRING", "index": 16, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 26896, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_open_email"}, "model.marketo_source.stg_marketo__activity_open_email_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_open_email_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "STRING", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 15, "name": "user_agent", "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.marketo_source.stg_marketo__activity_open_email_tmp"}, "model.marketo_source.stg_marketo__activity_send_email": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_send_email", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "activity_id": {"type": "INT64", "index": 7, "name": "activity_id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}, "email_send_id": {"type": "STRING", "index": 12, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 14800, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_send_email"}, "model.marketo_source.stg_marketo__activity_send_email_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_send_email_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_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.marketo_source.stg_marketo__activity_send_email_tmp"}, "model.marketo_source.stg_marketo__activity_unsubscribe_email": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_unsubscribe_email", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_timestamp": {"type": "TIMESTAMP", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "STRING", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "STRING", "index": 7, "name": "form_fields", "comment": null}, "activity_id": {"type": "INT64", "index": 8, "name": "activity_id", "comment": null}, "lead_id": {"type": "INT64", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "STRING", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "STRING", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "STRING", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "INT64", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "INT64", "index": 16, "name": "webpage_id", "comment": null}, "email_send_id": {"type": "STRING", "index": 17, "name": "email_send_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 69177, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__activity_unsubscribe_email"}, "model.marketo_source.stg_marketo__activity_unsubscribe_email_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__activity_unsubscribe_email_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "STRING", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "STRING", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "STRING", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "STRING", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "STRING", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "INT64", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "INT64", "index": 16, "name": "webpage_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.marketo_source.stg_marketo__activity_unsubscribe_email_tmp"}, "model.marketo_source.stg_marketo__email_template_history": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__email_template_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_timestamp": {"type": "STRING", "index": 1, "name": "created_timestamp", "comment": null}, "description": {"type": "STRING", "index": 2, "name": "description", "comment": null}, "folder_name": {"type": "STRING", "index": 3, "name": "folder_name", "comment": null}, "folder_id": {"type": "INT64", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "INT64", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 8, "name": "from_name", "comment": null}, "email_template_id": {"type": "INT64", "index": 9, "name": "email_template_id", "comment": null}, "email_template_name": {"type": "STRING", "index": 10, "name": "email_template_name", "comment": null}, "is_operational": {"type": "BOOL", "index": 11, "name": "is_operational", "comment": null}, "program_id": {"type": "INT64", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "BOOL", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "STRING", "index": 14, "name": "reply_email", "comment": null}, "email_template_status": {"type": "STRING", "index": 15, "name": "email_template_status", "comment": null}, "email_subject": {"type": "STRING", "index": 16, "name": "email_subject", "comment": null}, "parent_template_id": {"type": "INT64", "index": 17, "name": "parent_template_id", "comment": null}, "is_text_only": {"type": "BOOL", "index": 18, "name": "is_text_only", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 19, "name": "updated_timestamp", "comment": null}, "email_template_url": {"type": "STRING", "index": 20, "name": "email_template_url", "comment": null}, "version_type": {"type": "INT64", "index": 21, "name": "version_type", "comment": null}, "has_web_view_enabled": {"type": "BOOL", "index": 22, "name": "has_web_view_enabled", "comment": null}, "workspace_name": {"type": "STRING", "index": 23, "name": "workspace_name", "comment": null}, "inferred_version": {"type": "INT64", "index": 24, "name": "inferred_version", "comment": null}, "total_count_of_versions": {"type": "INT64", "index": 25, "name": "total_count_of_versions", "comment": null}, "valid_from": {"type": "STRING", "index": 26, "name": "valid_from", "comment": null}, "valid_to": {"type": "STRING", "index": 27, "name": "valid_to", "comment": null}, "is_most_recent_version": {"type": "BOOL", "index": 28, "name": "is_most_recent_version", "comment": null}, "email_template_history_id": {"type": "STRING", "index": 29, "name": "email_template_history_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 42816, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__email_template_history"}, "model.marketo_source.stg_marketo__email_template_history_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__email_template_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "STRING", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "STRING", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "INT64", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "INT64", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "INT64", "index": 9, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "operational": {"type": "BOOL", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "INT64", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "BOOL", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "STRING", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "subject": {"type": "STRING", "index": 16, "name": "subject", "comment": null}, "template": {"type": "INT64", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "BOOL", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "STRING", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "STRING", "index": 20, "name": "url", "comment": null}, "version": {"type": "INT64", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "BOOL", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "STRING", "index": 23, "name": "workspace", "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.marketo_source.stg_marketo__email_template_history_tmp"}, "model.marketo_source.stg_marketo__lead": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__lead", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "TIMESTAMP", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_timestamp": {"type": "STRING", "index": 2, "name": "created_timestamp", "comment": null}, "email": {"type": "STRING", "index": 3, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 4, "name": "first_name", "comment": null}, "lead_id": {"type": "INT64", "index": 5, "name": "lead_id", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 7, "name": "updated_timestamp", "comment": null}, "phone": {"type": "STRING", "index": 8, "name": "phone", "comment": null}, "main_phone": {"type": "STRING", "index": 9, "name": "main_phone", "comment": null}, "mobile_phone": {"type": "STRING", "index": 10, "name": "mobile_phone", "comment": null}, "company": {"type": "STRING", "index": 11, "name": "company", "comment": null}, "inferred_company": {"type": "STRING", "index": 12, "name": "inferred_company", "comment": null}, "address_lead": {"type": "STRING", "index": 13, "name": "address_lead", "comment": null}, "address": {"type": "STRING", "index": 14, "name": "address", "comment": null}, "city": {"type": "STRING", "index": 15, "name": "city", "comment": null}, "state": {"type": "STRING", "index": 16, "name": "state", "comment": null}, "state_code": {"type": "STRING", "index": 17, "name": "state_code", "comment": null}, "country": {"type": "STRING", "index": 18, "name": "country", "comment": null}, "country_code": {"type": "STRING", "index": 19, "name": "country_code", "comment": null}, "postal_code": {"type": "STRING", "index": 20, "name": "postal_code", "comment": null}, "billing_street": {"type": "STRING", "index": 21, "name": "billing_street", "comment": null}, "billing_city": {"type": "STRING", "index": 22, "name": "billing_city", "comment": null}, "billing_state": {"type": "STRING", "index": 23, "name": "billing_state", "comment": null}, "billing_state_code": {"type": "STRING", "index": 24, "name": "billing_state_code", "comment": null}, "billing_country": {"type": "STRING", "index": 25, "name": "billing_country", "comment": null}, "billing_country_code": {"type": "STRING", "index": 26, "name": "billing_country_code", "comment": null}, "billing_postal_code": {"type": "STRING", "index": 27, "name": "billing_postal_code", "comment": null}, "inferred_city": {"type": "STRING", "index": 28, "name": "inferred_city", "comment": null}, "inferred_state_region": {"type": "STRING", "index": 29, "name": "inferred_state_region", "comment": null}, "inferred_country": {"type": "STRING", "index": 30, "name": "inferred_country", "comment": null}, "inferred_postal_code": {"type": "STRING", "index": 31, "name": "inferred_postal_code", "comment": null}, "inferred_phone_area_code": {"type": "STRING", "index": 32, "name": "inferred_phone_area_code", "comment": null}, "anonymous_ip": {"type": "STRING", "index": 33, "name": "anonymous_ip", "comment": null}, "is_unsubscribed": {"type": "BOOL", "index": 34, "name": "is_unsubscribed", "comment": null}, "is_email_invalid": {"type": "BOOL", "index": 35, "name": "is_email_invalid", "comment": null}, "do_not_call": {"type": "BOOL", "index": 36, "name": "do_not_call", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10500, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__lead"}, "model.marketo_source.stg_marketo__lead_describe": {"metadata": {"type": "table", "schema": "marketo_source_marketo_source", "name": "stg_marketo__lead_describe", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"data_type": {"type": "STRING", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "STRING", "index": 2, "name": "display_name", "comment": null}, "lead_describe_id": {"type": "INT64", "index": 3, "name": "lead_describe_id", "comment": null}, "field_max_length": {"type": "INT64", "index": 4, "name": "field_max_length", "comment": null}, "rest_name": {"type": "STRING", "index": 5, "name": "rest_name", "comment": null}, "is_rest_readonly": {"type": "BOOL", "index": 6, "name": "is_rest_readonly", "comment": null}, "soap_name": {"type": "STRING", "index": 7, "name": "soap_name", "comment": null}, "is_soap_readonly": {"type": "BOOL", "index": 8, "name": "is_soap_readonly", "comment": null}, "rest_name_xf": {"type": "STRING", "index": 9, "name": "rest_name_xf", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8263, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.marketo_source.stg_marketo__lead_describe"}, "model.marketo_source.stg_marketo__lead_describe_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__lead_describe_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"data_type": {"type": "STRING", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "STRING", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "length": {"type": "INT64", "index": 4, "name": "length", "comment": null}, "restname": {"type": "STRING", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "BOOL", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "STRING", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "BOOL", "index": 8, "name": "soapread_only", "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.marketo_source.stg_marketo__lead_describe_tmp"}, "model.marketo_source.stg_marketo__lead_tmp": {"metadata": {"type": "view", "schema": "marketo_source_marketo_source", "name": "stg_marketo__lead_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "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.marketo_source.stg_marketo__lead_tmp"}}, "sources": {"source.marketo_source.marketo.activity_change_data_value": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_change_data_value_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "INT64", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "INT64", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "STRING", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "STRING", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "STRING", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "INT64", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "STRING", "index": 14, "name": "source", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16556, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_change_data_value"}, "source.marketo_source.marketo.activity_click_email": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_click_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "STRING", "index": 11, "name": "link", "comment": null}, "platform": {"type": "STRING", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 16, "name": "user_agent", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 31660, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_click_email"}, "source.marketo_source.marketo.activity_delete_lead": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_delete_lead_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "STRING", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 31, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4650, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_delete_lead"}, "source.marketo_source.marketo.activity_email_bounced": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_email_bounced_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "INT64", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "INT64", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "STRING", "index": 7, "name": "details", "comment": null}, "email": {"type": "STRING", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "INT64", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "INT64", "index": 15, "name": "subcategory", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 29624, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_email_bounced"}, "source.marketo_source.marketo.activity_email_delivered": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_email_delivered_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13100, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_email_delivered"}, "source.marketo_source.marketo.activity_merge_leads": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_merge_leads_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "STRING", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "INT64", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "BOOL", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "STRING", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "STRING", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "BOOL", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 12, "name": "primary_attribute_value_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13397, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_merge_leads"}, "source.marketo_source.marketo.activity_open_email": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_open_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "INT64", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "BOOL", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "INT64", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "STRING", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "INT64", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "STRING", "index": 15, "name": "user_agent", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 25196, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_open_email"}, "source.marketo_source.marketo.activity_send_email": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_send_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "INT64", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "INT64", "index": 11, "name": "step_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13100, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_send_email"}, "source.marketo_source.marketo.activity_unsubscribe_email": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_activity_unsubscribe_email_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"activity_date": {"type": "STRING", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "INT64", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "INT64", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "STRING", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "INT64", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "STRING", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "INT64", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "STRING", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "INT64", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "STRING", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "STRING", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "STRING", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "INT64", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "INT64", "index": 16, "name": "webpage_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 67477, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.activity_unsubscribe_email"}, "source.marketo_source.marketo.campaign": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"active": {"type": "BOOL", "index": 1, "name": "active", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "description": {"type": "STRING", "index": 3, "name": "description", "comment": null}, "id": {"type": "INT64", "index": 4, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "program_id": {"type": "INT64", "index": 6, "name": "program_id", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "updated_at": {"type": "STRING", "index": 8, "name": "updated_at", "comment": null}, "workspace_name": {"type": "STRING", "index": 9, "name": "workspace_name", "comment": null}, "computed_url": {"type": "STRING", "index": 10, "name": "computed_url", "comment": null}, "flow_id": {"type": "INT64", "index": 11, "name": "flow_id", "comment": null}, "folder_id": {"type": "INT64", "index": 12, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 13, "name": "folder_type", "comment": null}, "is_communication_limit_enabled": {"type": "BOOL", "index": 14, "name": "is_communication_limit_enabled", "comment": null}, "is_requestable": {"type": "BOOL", "index": 15, "name": "is_requestable", "comment": null}, "is_system": {"type": "BOOL", "index": 16, "name": "is_system", "comment": null}, "max_members": {"type": "INT64", "index": 17, "name": "max_members", "comment": null}, "qualification_rule_type": {"type": "STRING", "index": 18, "name": "qualification_rule_type", "comment": null}, "qualification_rule_interval": {"type": "INT64", "index": 19, "name": "qualification_rule_interval", "comment": null}, "qualification_rule_unit": {"type": "STRING", "index": 20, "name": "qualification_rule_unit", "comment": null}, "recurrence_start_at": {"type": "STRING", "index": 21, "name": "recurrence_start_at", "comment": null}, "recurrence_end_at": {"type": "INT64", "index": 22, "name": "recurrence_end_at", "comment": null}, "recurrence_interval_type": {"type": "STRING", "index": 23, "name": "recurrence_interval_type", "comment": null}, "recurrence_interval": {"type": "INT64", "index": 24, "name": "recurrence_interval", "comment": null}, "recurrence_weekday_only": {"type": "BOOL", "index": 25, "name": "recurrence_weekday_only", "comment": null}, "recurrence_day_of_month": {"type": "INT64", "index": 26, "name": "recurrence_day_of_month", "comment": null}, "recurrence_day_of_week": {"type": "INT64", "index": 27, "name": "recurrence_day_of_week", "comment": null}, "recurrence_week_of_month": {"type": "INT64", "index": 28, "name": "recurrence_week_of_month", "comment": null}, "smart_list_id": {"type": "INT64", "index": 29, "name": "smart_list_id", "comment": null}, "status": {"type": "STRING", "index": 30, "name": "status", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 31, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 18079, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.campaign"}, "source.marketo_source.marketo.email_template_history": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_email_template_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "STRING", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "STRING", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "STRING", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "INT64", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "STRING", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "INT64", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "STRING", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "STRING", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "INT64", "index": 9, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "operational": {"type": "BOOL", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "INT64", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "BOOL", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "STRING", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "STRING", "index": 15, "name": "status", "comment": null}, "subject": {"type": "STRING", "index": 16, "name": "subject", "comment": null}, "template": {"type": "INT64", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "BOOL", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "STRING", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "STRING", "index": 20, "name": "url", "comment": null}, "version": {"type": "INT64", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "BOOL", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "STRING", "index": 23, "name": "workspace", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 34691, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.email_template_history"}, "source.marketo_source.marketo.lead": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_lead_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "STRING", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "STRING", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "STRING", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "STRING", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "STRING", "index": 6, "name": "last_name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10500, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.lead"}, "source.marketo_source.marketo.lead_describe": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_lead_describe_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"data_type": {"type": "STRING", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "STRING", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "length": {"type": "INT64", "index": 4, "name": "length", "comment": null}, "restname": {"type": "STRING", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "BOOL", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "STRING", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "BOOL", "index": 8, "name": "soapread_only", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6651, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.lead_describe"}, "source.marketo_source.marketo.program": {"metadata": {"type": "table", "schema": "marketo_source", "name": "marketo_program_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "channel": {"type": "STRING", "index": 2, "name": "channel", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "INT64", "index": 4, "name": "description", "comment": null}, "end_date": {"type": "INT64", "index": 5, "name": "end_date", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "sfdc_id": {"type": "STRING", "index": 7, "name": "sfdc_id", "comment": null}, "sfdc_name": {"type": "STRING", "index": 8, "name": "sfdc_name", "comment": null}, "start_date": {"type": "INT64", "index": 9, "name": "start_date", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "updated_at": {"type": "STRING", "index": 12, "name": "updated_at", "comment": null}, "url": {"type": "STRING", "index": 13, "name": "url", "comment": null}, "workspace": {"type": "STRING", "index": 14, "name": "workspace", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 15, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16936, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.program"}}, "errors": null} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.3", "generated_at": "2024-10-25T21:26:46.106407Z", "invocation_id": "42e12353-4a00-4c31-a3dc-fa9b49c12511", "env": {}}, "nodes": {"seed.marketo_source_integration_tests.marketo_activity_change_data_value_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_change_data_value_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "integer", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "integer", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "integer", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "integer", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "text", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "text", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "text", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "integer", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "text", "index": 14, "name": "source", "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.marketo_source_integration_tests.marketo_activity_change_data_value_data"}, "seed.marketo_source_integration_tests.marketo_activity_click_email_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_click_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "text", "index": 11, "name": "link", "comment": null}, "platform": {"type": "text", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 16, "name": "user_agent", "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.marketo_source_integration_tests.marketo_activity_click_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_delete_lead_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_delete_lead_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "text", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "integer", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_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.marketo_source_integration_tests.marketo_activity_delete_lead_data"}, "seed.marketo_source_integration_tests.marketo_activity_email_bounced_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_email_bounced_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "integer", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "integer", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "text", "index": 7, "name": "details", "comment": null}, "email": {"type": "text", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "integer", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "integer", "index": 15, "name": "subcategory", "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.marketo_source_integration_tests.marketo_activity_email_bounced_data"}, "seed.marketo_source_integration_tests.marketo_activity_email_delivered_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_email_delivered_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source_integration_tests.marketo_activity_email_delivered_data"}, "seed.marketo_source_integration_tests.marketo_activity_merge_leads_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_merge_leads_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "boolean", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "text", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "text", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "boolean", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "text", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 12, "name": "primary_attribute_value_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.marketo_source_integration_tests.marketo_activity_merge_leads_data"}, "seed.marketo_source_integration_tests.marketo_activity_open_email_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_open_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "text", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 15, "name": "user_agent", "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.marketo_source_integration_tests.marketo_activity_open_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_send_email_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_send_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source_integration_tests.marketo_activity_send_email_data"}, "seed.marketo_source_integration_tests.marketo_activity_unsubscribe_email_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_unsubscribe_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "text", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "text", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "text", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "text", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "text", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "integer", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "integer", "index": 16, "name": "webpage_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.marketo_source_integration_tests.marketo_activity_unsubscribe_email_data"}, "seed.marketo_source_integration_tests.marketo_campaign_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_campaign_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"active": {"type": "boolean", "index": 1, "name": "active", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "description": {"type": "text", "index": 3, "name": "description", "comment": null}, "id": {"type": "integer", "index": 4, "name": "id", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "program_id": {"type": "integer", "index": 6, "name": "program_id", "comment": null}, "type": {"type": "text", "index": 7, "name": "type", "comment": null}, "updated_at": {"type": "text", "index": 8, "name": "updated_at", "comment": null}, "workspace_name": {"type": "text", "index": 9, "name": "workspace_name", "comment": null}, "computed_url": {"type": "text", "index": 10, "name": "computed_url", "comment": null}, "flow_id": {"type": "integer", "index": 11, "name": "flow_id", "comment": null}, "folder_id": {"type": "integer", "index": 12, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 13, "name": "folder_type", "comment": null}, "is_communication_limit_enabled": {"type": "boolean", "index": 14, "name": "is_communication_limit_enabled", "comment": null}, "is_requestable": {"type": "boolean", "index": 15, "name": "is_requestable", "comment": null}, "is_system": {"type": "boolean", "index": 16, "name": "is_system", "comment": null}, "max_members": {"type": "integer", "index": 17, "name": "max_members", "comment": null}, "qualification_rule_type": {"type": "text", "index": 18, "name": "qualification_rule_type", "comment": null}, "qualification_rule_interval": {"type": "integer", "index": 19, "name": "qualification_rule_interval", "comment": null}, "qualification_rule_unit": {"type": "text", "index": 20, "name": "qualification_rule_unit", "comment": null}, "recurrence_start_at": {"type": "text", "index": 21, "name": "recurrence_start_at", "comment": null}, "recurrence_end_at": {"type": "integer", "index": 22, "name": "recurrence_end_at", "comment": null}, "recurrence_interval_type": {"type": "text", "index": 23, "name": "recurrence_interval_type", "comment": null}, "recurrence_interval": {"type": "integer", "index": 24, "name": "recurrence_interval", "comment": null}, "recurrence_weekday_only": {"type": "boolean", "index": 25, "name": "recurrence_weekday_only", "comment": null}, "recurrence_day_of_month": {"type": "integer", "index": 26, "name": "recurrence_day_of_month", "comment": null}, "recurrence_day_of_week": {"type": "integer", "index": 27, "name": "recurrence_day_of_week", "comment": null}, "recurrence_week_of_month": {"type": "integer", "index": 28, "name": "recurrence_week_of_month", "comment": null}, "smart_list_id": {"type": "integer", "index": 29, "name": "smart_list_id", "comment": null}, "status": {"type": "text", "index": 30, "name": "status", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 31, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_campaign_data"}, "seed.marketo_source_integration_tests.marketo_email_template_history_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_email_template_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "text", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "text", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "integer", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "integer", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "integer", "index": 9, "name": "id", "comment": null}, "name": {"type": "text", "index": 10, "name": "name", "comment": null}, "operational": {"type": "boolean", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "integer", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "boolean", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "text", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "subject": {"type": "text", "index": 16, "name": "subject", "comment": null}, "template": {"type": "integer", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "boolean", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "text", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "text", "index": 20, "name": "url", "comment": null}, "version": {"type": "integer", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "boolean", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "text", "index": 23, "name": "workspace", "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.marketo_source_integration_tests.marketo_email_template_history_data"}, "seed.marketo_source_integration_tests.marketo_lead_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_lead_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "text", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "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.marketo_source_integration_tests.marketo_lead_data"}, "seed.marketo_source_integration_tests.marketo_lead_describe_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_lead_describe_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"data_type": {"type": "text", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "text", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "integer", "index": 3, "name": "id", "comment": null}, "length": {"type": "integer", "index": 4, "name": "length", "comment": null}, "restname": {"type": "text", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "boolean", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "text", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "boolean", "index": 8, "name": "soapread_only", "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.marketo_source_integration_tests.marketo_lead_describe_data"}, "seed.marketo_source_integration_tests.marketo_program_data": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_program_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "channel": {"type": "text", "index": 2, "name": "channel", "comment": null}, "created_at": {"type": "text", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "integer", "index": 4, "name": "description", "comment": null}, "end_date": {"type": "integer", "index": 5, "name": "end_date", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "sfdc_id": {"type": "text", "index": 7, "name": "sfdc_id", "comment": null}, "sfdc_name": {"type": "text", "index": 8, "name": "sfdc_name", "comment": null}, "start_date": {"type": "integer", "index": 9, "name": "start_date", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "updated_at": {"type": "text", "index": 12, "name": "updated_at", "comment": null}, "url": {"type": "text", "index": 13, "name": "url", "comment": null}, "workspace": {"type": "text", "index": 14, "name": "workspace", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.marketo_source_integration_tests.marketo_program_data"}, "model.marketo_source.stg_marketo__activity_change_data_value": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_change_data_value", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "integer", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "integer", "index": 4, "name": "campaign_id", "comment": null}, "activity_id": {"type": "integer", "index": 5, "name": "activity_id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "modifying_user_id": {"type": "integer", "index": 7, "name": "modifying_user_id", "comment": null}, "new_value": {"type": "text", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "text", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "change_reason": {"type": "text", "index": 12, "name": "change_reason", "comment": null}, "request_id": {"type": "integer", "index": 13, "name": "request_id", "comment": null}, "change_source": {"type": "text", "index": 14, "name": "change_source", "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.marketo_source.stg_marketo__activity_change_data_value"}, "model.marketo_source.stg_marketo__activity_change_data_value_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_change_data_value_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "integer", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "integer", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "integer", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "integer", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "text", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "text", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "text", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "integer", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "text", "index": 14, "name": "source", "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.marketo_source.stg_marketo__activity_change_data_value_tmp"}, "model.marketo_source.stg_marketo__activity_click_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_click_email", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "click_device": {"type": "text", "index": 6, "name": "click_device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "activity_id": {"type": "integer", "index": 8, "name": "activity_id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "click_link_url": {"type": "text", "index": 11, "name": "click_link_url", "comment": null}, "user_platform": {"type": "text", "index": 12, "name": "user_platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 16, "name": "user_agent", "comment": null}, "email_send_id": {"type": "text", "index": 17, "name": "email_send_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.marketo_source.stg_marketo__activity_click_email"}, "model.marketo_source.stg_marketo__activity_click_email_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_click_email_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "text", "index": 11, "name": "link", "comment": null}, "platform": {"type": "text", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 16, "name": "user_agent", "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.marketo_source.stg_marketo__activity_click_email_tmp"}, "model.marketo_source.stg_marketo__activity_delete_lead": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_delete_lead", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_id": {"type": "integer", "index": 1, "name": "activity_id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_name": {"type": "text", "index": 5, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "integer", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_delete_lead"}, "model.marketo_source.stg_marketo__activity_delete_lead_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_delete_lead_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "text", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "integer", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_delete_lead_tmp"}, "model.marketo_source.stg_marketo__activity_email_bounced": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_email_bounced", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "bounce_category": {"type": "integer", "index": 5, "name": "bounce_category", "comment": null}, "choice_number": {"type": "integer", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "text", "index": 7, "name": "details", "comment": null}, "email_address": {"type": "text", "index": 8, "name": "email_address", "comment": null}, "email_template_id": {"type": "integer", "index": 9, "name": "email_template_id", "comment": null}, "activity_id": {"type": "integer", "index": 10, "name": "activity_id", "comment": null}, "lead_id": {"type": "integer", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "bounce_subcategory": {"type": "integer", "index": 15, "name": "bounce_subcategory", "comment": null}, "email_send_id": {"type": "text", "index": 16, "name": "email_send_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.marketo_source.stg_marketo__activity_email_bounced"}, "model.marketo_source.stg_marketo__activity_email_bounced_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_email_bounced_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "integer", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "integer", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "text", "index": 7, "name": "details", "comment": null}, "email": {"type": "text", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "integer", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "integer", "index": 15, "name": "subcategory", "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.marketo_source.stg_marketo__activity_email_bounced_tmp"}, "model.marketo_source.stg_marketo__activity_email_delivered": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_email_delivered", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "activity_id": {"type": "integer", "index": 7, "name": "activity_id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_id", "comment": null}, "email_send_id": {"type": "text", "index": 12, "name": "email_send_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.marketo_source.stg_marketo__activity_email_delivered"}, "model.marketo_source.stg_marketo__activity_email_delivered_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_email_delivered_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source.stg_marketo__activity_email_delivered_tmp"}, "model.marketo_source.stg_marketo__activity_merge_leads": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_merge_leads", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_id": {"type": "integer", "index": 1, "name": "activity_id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_timestamp": {"type": "timestamp without time zone", "index": 3, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "boolean", "index": 7, "name": "master_updated", "comment": null}, "merged_lead_id": {"type": "text", "index": 8, "name": "merged_lead_id", "comment": null}, "merge_source": {"type": "text", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "boolean", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "text", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 12, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_merge_leads"}, "model.marketo_source.stg_marketo__activity_merge_leads_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_merge_leads_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "boolean", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "text", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "text", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "boolean", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "text", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 12, "name": "primary_attribute_value_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.marketo_source.stg_marketo__activity_merge_leads_tmp"}, "model.marketo_source.stg_marketo__activity_open_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_open_email", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "activity_id": {"type": "integer", "index": 8, "name": "activity_id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "text", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 15, "name": "user_agent", "comment": null}, "email_send_id": {"type": "text", "index": 16, "name": "email_send_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.marketo_source.stg_marketo__activity_open_email"}, "model.marketo_source.stg_marketo__activity_open_email_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_open_email_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "text", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 15, "name": "user_agent", "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.marketo_source.stg_marketo__activity_open_email_tmp"}, "model.marketo_source.stg_marketo__activity_send_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_send_email", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"action_result": {"type": "text", "index": 1, "name": "action_result", "comment": null}, "activity_timestamp": {"type": "timestamp without time zone", "index": 2, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 3, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 4, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 5, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 6, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "activity_id": {"type": "integer", "index": 8, "name": "activity_id", "comment": null}, "lead_id": {"type": "integer", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 12, "name": "step_id", "comment": null}, "email_send_id": {"type": "text", "index": 13, "name": "email_send_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.marketo_source.stg_marketo__activity_send_email"}, "model.marketo_source.stg_marketo__activity_send_email_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_send_email_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source.stg_marketo__activity_send_email_tmp"}, "model.marketo_source.stg_marketo__activity_unsubscribe_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_unsubscribe_email", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_timestamp": {"type": "timestamp without time zone", "index": 1, "name": "activity_timestamp", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "text", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "text", "index": 7, "name": "form_fields", "comment": null}, "activity_id": {"type": "integer", "index": 8, "name": "activity_id", "comment": null}, "lead_id": {"type": "integer", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "text", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "text", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "text", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "integer", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "integer", "index": 16, "name": "webpage_id", "comment": null}, "email_send_id": {"type": "text", "index": 17, "name": "email_send_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.marketo_source.stg_marketo__activity_unsubscribe_email"}, "model.marketo_source.stg_marketo__activity_unsubscribe_email_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__activity_unsubscribe_email_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "text", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "text", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "text", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "text", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "text", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "integer", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "integer", "index": 16, "name": "webpage_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.marketo_source.stg_marketo__activity_unsubscribe_email_tmp"}, "model.marketo_source.stg_marketo__email_template_history": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__email_template_history", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_timestamp": {"type": "text", "index": 1, "name": "created_timestamp", "comment": null}, "description": {"type": "text", "index": 2, "name": "description", "comment": null}, "folder_name": {"type": "text", "index": 3, "name": "folder_name", "comment": null}, "folder_id": {"type": "integer", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "integer", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 8, "name": "from_name", "comment": null}, "email_template_id": {"type": "integer", "index": 9, "name": "email_template_id", "comment": null}, "email_template_name": {"type": "text", "index": 10, "name": "email_template_name", "comment": null}, "is_operational": {"type": "boolean", "index": 11, "name": "is_operational", "comment": null}, "program_id": {"type": "integer", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "boolean", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "text", "index": 14, "name": "reply_email", "comment": null}, "email_template_status": {"type": "text", "index": 15, "name": "email_template_status", "comment": null}, "email_subject": {"type": "text", "index": 16, "name": "email_subject", "comment": null}, "parent_template_id": {"type": "integer", "index": 17, "name": "parent_template_id", "comment": null}, "is_text_only": {"type": "boolean", "index": 18, "name": "is_text_only", "comment": null}, "updated_timestamp": {"type": "text", "index": 19, "name": "updated_timestamp", "comment": null}, "email_template_url": {"type": "text", "index": 20, "name": "email_template_url", "comment": null}, "version_type": {"type": "integer", "index": 21, "name": "version_type", "comment": null}, "has_web_view_enabled": {"type": "boolean", "index": 22, "name": "has_web_view_enabled", "comment": null}, "workspace_name": {"type": "text", "index": 23, "name": "workspace_name", "comment": null}, "inferred_version": {"type": "bigint", "index": 24, "name": "inferred_version", "comment": null}, "total_count_of_versions": {"type": "bigint", "index": 25, "name": "total_count_of_versions", "comment": null}, "valid_from": {"type": "text", "index": 26, "name": "valid_from", "comment": null}, "valid_to": {"type": "text", "index": 27, "name": "valid_to", "comment": null}, "is_most_recent_version": {"type": "boolean", "index": 28, "name": "is_most_recent_version", "comment": null}, "email_template_history_id": {"type": "text", "index": 29, "name": "email_template_history_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.marketo_source.stg_marketo__email_template_history"}, "model.marketo_source.stg_marketo__email_template_history_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__email_template_history_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "text", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "text", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "integer", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "integer", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "integer", "index": 9, "name": "id", "comment": null}, "name": {"type": "text", "index": 10, "name": "name", "comment": null}, "operational": {"type": "boolean", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "integer", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "boolean", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "text", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "subject": {"type": "text", "index": 16, "name": "subject", "comment": null}, "template": {"type": "integer", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "boolean", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "text", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "text", "index": 20, "name": "url", "comment": null}, "version": {"type": "integer", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "boolean", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "text", "index": 23, "name": "workspace", "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.marketo_source.stg_marketo__email_template_history_tmp"}, "model.marketo_source.stg_marketo__lead": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__lead", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"_fivetran_synced": {"type": "timestamp without time zone", "index": 1, "name": "_fivetran_synced", "comment": null}, "created_timestamp": {"type": "text", "index": 2, "name": "created_timestamp", "comment": null}, "email": {"type": "text", "index": 3, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 4, "name": "first_name", "comment": null}, "lead_id": {"type": "integer", "index": 5, "name": "lead_id", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "comment": null}, "updated_timestamp": {"type": "text", "index": 7, "name": "updated_timestamp", "comment": null}, "phone": {"type": "text", "index": 8, "name": "phone", "comment": null}, "main_phone": {"type": "text", "index": 9, "name": "main_phone", "comment": null}, "mobile_phone": {"type": "text", "index": 10, "name": "mobile_phone", "comment": null}, "company": {"type": "text", "index": 11, "name": "company", "comment": null}, "inferred_company": {"type": "text", "index": 12, "name": "inferred_company", "comment": null}, "address_lead": {"type": "text", "index": 13, "name": "address_lead", "comment": null}, "address": {"type": "text", "index": 14, "name": "address", "comment": null}, "city": {"type": "text", "index": 15, "name": "city", "comment": null}, "state": {"type": "text", "index": 16, "name": "state", "comment": null}, "state_code": {"type": "text", "index": 17, "name": "state_code", "comment": null}, "country": {"type": "text", "index": 18, "name": "country", "comment": null}, "country_code": {"type": "text", "index": 19, "name": "country_code", "comment": null}, "postal_code": {"type": "text", "index": 20, "name": "postal_code", "comment": null}, "billing_street": {"type": "text", "index": 21, "name": "billing_street", "comment": null}, "billing_city": {"type": "text", "index": 22, "name": "billing_city", "comment": null}, "billing_state": {"type": "text", "index": 23, "name": "billing_state", "comment": null}, "billing_state_code": {"type": "text", "index": 24, "name": "billing_state_code", "comment": null}, "billing_country": {"type": "text", "index": 25, "name": "billing_country", "comment": null}, "billing_country_code": {"type": "text", "index": 26, "name": "billing_country_code", "comment": null}, "billing_postal_code": {"type": "text", "index": 27, "name": "billing_postal_code", "comment": null}, "inferred_city": {"type": "text", "index": 28, "name": "inferred_city", "comment": null}, "inferred_state_region": {"type": "text", "index": 29, "name": "inferred_state_region", "comment": null}, "inferred_country": {"type": "text", "index": 30, "name": "inferred_country", "comment": null}, "inferred_postal_code": {"type": "text", "index": 31, "name": "inferred_postal_code", "comment": null}, "inferred_phone_area_code": {"type": "text", "index": 32, "name": "inferred_phone_area_code", "comment": null}, "anonymous_ip": {"type": "text", "index": 33, "name": "anonymous_ip", "comment": null}, "is_unsubscribed": {"type": "boolean", "index": 34, "name": "is_unsubscribed", "comment": null}, "is_email_invalid": {"type": "boolean", "index": 35, "name": "is_email_invalid", "comment": null}, "do_not_call": {"type": "boolean", "index": 36, "name": "do_not_call", "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.marketo_source.stg_marketo__lead"}, "model.marketo_source.stg_marketo__lead_describe": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__lead_describe", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"data_type": {"type": "text", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "text", "index": 2, "name": "display_name", "comment": null}, "lead_describe_id": {"type": "integer", "index": 3, "name": "lead_describe_id", "comment": null}, "field_max_length": {"type": "integer", "index": 4, "name": "field_max_length", "comment": null}, "rest_name": {"type": "text", "index": 5, "name": "rest_name", "comment": null}, "is_rest_readonly": {"type": "boolean", "index": 6, "name": "is_rest_readonly", "comment": null}, "soap_name": {"type": "text", "index": 7, "name": "soap_name", "comment": null}, "is_soap_readonly": {"type": "boolean", "index": 8, "name": "is_soap_readonly", "comment": null}, "rest_name_xf": {"type": "text", "index": 9, "name": "rest_name_xf", "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.marketo_source.stg_marketo__lead_describe"}, "model.marketo_source.stg_marketo__lead_describe_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__lead_describe_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"data_type": {"type": "text", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "text", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "integer", "index": 3, "name": "id", "comment": null}, "length": {"type": "integer", "index": 4, "name": "length", "comment": null}, "restname": {"type": "text", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "boolean", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "text", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "boolean", "index": 8, "name": "soapread_only", "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.marketo_source.stg_marketo__lead_describe_tmp"}, "model.marketo_source.stg_marketo__lead_tmp": {"metadata": {"type": "VIEW", "schema": "zz_marketo_marketo_source", "name": "stg_marketo__lead_tmp", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "text", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "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.marketo_source.stg_marketo__lead_tmp"}}, "sources": {"source.marketo_source.marketo.activity_change_data_value": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_change_data_value_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "api_method_name": {"type": "integer", "index": 3, "name": "api_method_name", "comment": null}, "campaign_id": {"type": "integer", "index": 4, "name": "campaign_id", "comment": null}, "id": {"type": "integer", "index": 5, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "modifying_user": {"type": "integer", "index": 7, "name": "modifying_user", "comment": null}, "new_value": {"type": "text", "index": 8, "name": "new_value", "comment": null}, "old_value": {"type": "text", "index": 9, "name": "old_value", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "reason": {"type": "text", "index": 12, "name": "reason", "comment": null}, "request_id": {"type": "integer", "index": 13, "name": "request_id", "comment": null}, "source": {"type": "text", "index": 14, "name": "source", "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.marketo_source.marketo.activity_change_data_value"}, "source.marketo_source.marketo.activity_click_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_click_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "link": {"type": "text", "index": 11, "name": "link", "comment": null}, "platform": {"type": "text", "index": 12, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 13, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 14, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 15, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 16, "name": "user_agent", "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.marketo_source.marketo.activity_click_email"}, "source.marketo_source.marketo.activity_delete_lead": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_delete_lead_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign": {"type": "text", "index": 5, "name": "campaign", "comment": null}, "campaign_id": {"type": "integer", "index": 6, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 7, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 8, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_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.marketo_source.marketo.activity_delete_lead"}, "source.marketo_source.marketo.activity_email_bounced": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_email_bounced_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "category": {"type": "integer", "index": 5, "name": "category", "comment": null}, "choice_number": {"type": "integer", "index": 6, "name": "choice_number", "comment": null}, "details": {"type": "text", "index": 7, "name": "details", "comment": null}, "email": {"type": "text", "index": 8, "name": "email", "comment": null}, "email_template_id": {"type": "integer", "index": 9, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 10, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 11, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "subcategory": {"type": "integer", "index": 15, "name": "subcategory", "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.marketo_source.marketo.activity_email_bounced"}, "source.marketo_source.marketo.activity_email_delivered": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_email_delivered_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 9, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 10, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source.marketo.activity_email_delivered"}, "source.marketo_source.marketo.activity_merge_leads": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_merge_leads_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "text", "index": 2, "name": "_fivetran_synced", "comment": null}, "activity_date": {"type": "text", "index": 3, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 4, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 5, "name": "campaign_id", "comment": null}, "lead_id": {"type": "integer", "index": 6, "name": "lead_id", "comment": null}, "master_updated": {"type": "boolean", "index": 7, "name": "master_updated", "comment": null}, "merge_ids": {"type": "text", "index": 8, "name": "merge_ids", "comment": null}, "merge_source": {"type": "text", "index": 9, "name": "merge_source", "comment": null}, "merged_in_sales": {"type": "boolean", "index": 10, "name": "merged_in_sales", "comment": null}, "primary_attribute_value": {"type": "text", "index": 11, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 12, "name": "primary_attribute_value_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.marketo_source.marketo.activity_merge_leads"}, "source.marketo_source.marketo.activity_open_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_open_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "device": {"type": "text", "index": 6, "name": "device", "comment": null}, "email_template_id": {"type": "integer", "index": 7, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "is_mobile_device": {"type": "boolean", "index": 9, "name": "is_mobile_device", "comment": null}, "lead_id": {"type": "integer", "index": 10, "name": "lead_id", "comment": null}, "platform": {"type": "text", "index": 11, "name": "platform", "comment": null}, "primary_attribute_value": {"type": "text", "index": 12, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 13, "name": "primary_attribute_value_id", "comment": null}, "step_id": {"type": "integer", "index": 14, "name": "step_id", "comment": null}, "user_agent": {"type": "text", "index": 15, "name": "user_agent", "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.marketo_source.marketo.activity_open_email"}, "source.marketo_source.marketo.activity_send_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_send_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "choice_number": {"type": "integer", "index": 5, "name": "choice_number", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "id": {"type": "integer", "index": 7, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 8, "name": "lead_id", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 9, "name": "primary_attribute_value_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "step_id": {"type": "integer", "index": 11, "name": "step_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.marketo_source.marketo.activity_send_email"}, "source.marketo_source.marketo.activity_unsubscribe_email": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_activity_unsubscribe_email_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"activity_date": {"type": "text", "index": 1, "name": "activity_date", "comment": null}, "activity_type_id": {"type": "integer", "index": 2, "name": "activity_type_id", "comment": null}, "campaign_id": {"type": "integer", "index": 3, "name": "campaign_id", "comment": null}, "campaign_run_id": {"type": "integer", "index": 4, "name": "campaign_run_id", "comment": null}, "client_ip_address": {"type": "text", "index": 5, "name": "client_ip_address", "comment": null}, "email_template_id": {"type": "integer", "index": 6, "name": "email_template_id", "comment": null}, "form_fields": {"type": "text", "index": 7, "name": "form_fields", "comment": null}, "id": {"type": "integer", "index": 8, "name": "id", "comment": null}, "lead_id": {"type": "integer", "index": 9, "name": "lead_id", "comment": null}, "primary_attribute_value": {"type": "text", "index": 10, "name": "primary_attribute_value", "comment": null}, "primary_attribute_value_id": {"type": "integer", "index": 11, "name": "primary_attribute_value_id", "comment": null}, "query_parameters": {"type": "text", "index": 12, "name": "query_parameters", "comment": null}, "referrer_url": {"type": "text", "index": 13, "name": "referrer_url", "comment": null}, "user_agent": {"type": "text", "index": 14, "name": "user_agent", "comment": null}, "webform_id": {"type": "integer", "index": 15, "name": "webform_id", "comment": null}, "webpage_id": {"type": "integer", "index": 16, "name": "webpage_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.marketo_source.marketo.activity_unsubscribe_email"}, "source.marketo_source.marketo.campaign": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_campaign_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"active": {"type": "boolean", "index": 1, "name": "active", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "description": {"type": "text", "index": 3, "name": "description", "comment": null}, "id": {"type": "integer", "index": 4, "name": "id", "comment": null}, "name": {"type": "text", "index": 5, "name": "name", "comment": null}, "program_id": {"type": "integer", "index": 6, "name": "program_id", "comment": null}, "type": {"type": "text", "index": 7, "name": "type", "comment": null}, "updated_at": {"type": "text", "index": 8, "name": "updated_at", "comment": null}, "workspace_name": {"type": "text", "index": 9, "name": "workspace_name", "comment": null}, "computed_url": {"type": "text", "index": 10, "name": "computed_url", "comment": null}, "flow_id": {"type": "integer", "index": 11, "name": "flow_id", "comment": null}, "folder_id": {"type": "integer", "index": 12, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 13, "name": "folder_type", "comment": null}, "is_communication_limit_enabled": {"type": "boolean", "index": 14, "name": "is_communication_limit_enabled", "comment": null}, "is_requestable": {"type": "boolean", "index": 15, "name": "is_requestable", "comment": null}, "is_system": {"type": "boolean", "index": 16, "name": "is_system", "comment": null}, "max_members": {"type": "integer", "index": 17, "name": "max_members", "comment": null}, "qualification_rule_type": {"type": "text", "index": 18, "name": "qualification_rule_type", "comment": null}, "qualification_rule_interval": {"type": "integer", "index": 19, "name": "qualification_rule_interval", "comment": null}, "qualification_rule_unit": {"type": "text", "index": 20, "name": "qualification_rule_unit", "comment": null}, "recurrence_start_at": {"type": "text", "index": 21, "name": "recurrence_start_at", "comment": null}, "recurrence_end_at": {"type": "integer", "index": 22, "name": "recurrence_end_at", "comment": null}, "recurrence_interval_type": {"type": "text", "index": 23, "name": "recurrence_interval_type", "comment": null}, "recurrence_interval": {"type": "integer", "index": 24, "name": "recurrence_interval", "comment": null}, "recurrence_weekday_only": {"type": "boolean", "index": 25, "name": "recurrence_weekday_only", "comment": null}, "recurrence_day_of_month": {"type": "integer", "index": 26, "name": "recurrence_day_of_month", "comment": null}, "recurrence_day_of_week": {"type": "integer", "index": 27, "name": "recurrence_day_of_week", "comment": null}, "recurrence_week_of_month": {"type": "integer", "index": 28, "name": "recurrence_week_of_month", "comment": null}, "smart_list_id": {"type": "integer", "index": 29, "name": "smart_list_id", "comment": null}, "status": {"type": "text", "index": 30, "name": "status", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 31, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.campaign"}, "source.marketo_source.marketo.email_template_history": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_email_template_history_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"created_at": {"type": "text", "index": 1, "name": "created_at", "comment": null}, "description": {"type": "text", "index": 2, "name": "description", "comment": null}, "folder_folder_name": {"type": "text", "index": 3, "name": "folder_folder_name", "comment": null}, "folder_id": {"type": "integer", "index": 4, "name": "folder_id", "comment": null}, "folder_type": {"type": "text", "index": 5, "name": "folder_type", "comment": null}, "folder_value": {"type": "integer", "index": 6, "name": "folder_value", "comment": null}, "from_email": {"type": "text", "index": 7, "name": "from_email", "comment": null}, "from_name": {"type": "text", "index": 8, "name": "from_name", "comment": null}, "id": {"type": "integer", "index": 9, "name": "id", "comment": null}, "name": {"type": "text", "index": 10, "name": "name", "comment": null}, "operational": {"type": "boolean", "index": 11, "name": "operational", "comment": null}, "program_id": {"type": "integer", "index": 12, "name": "program_id", "comment": null}, "publish_to_msi": {"type": "boolean", "index": 13, "name": "publish_to_msi", "comment": null}, "reply_email": {"type": "text", "index": 14, "name": "reply_email", "comment": null}, "status": {"type": "text", "index": 15, "name": "status", "comment": null}, "subject": {"type": "text", "index": 16, "name": "subject", "comment": null}, "template": {"type": "integer", "index": 17, "name": "template", "comment": null}, "text_only": {"type": "boolean", "index": 18, "name": "text_only", "comment": null}, "updated_at": {"type": "text", "index": 19, "name": "updated_at", "comment": null}, "url": {"type": "text", "index": 20, "name": "url", "comment": null}, "version": {"type": "integer", "index": 21, "name": "version", "comment": null}, "web_view": {"type": "boolean", "index": 22, "name": "web_view", "comment": null}, "workspace": {"type": "text", "index": 23, "name": "workspace", "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.marketo_source.marketo.email_template_history"}, "source.marketo_source.marketo.lead": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_lead_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "created_at": {"type": "text", "index": 2, "name": "created_at", "comment": null}, "updated_at": {"type": "text", "index": 3, "name": "updated_at", "comment": null}, "email": {"type": "text", "index": 4, "name": "email", "comment": null}, "first_name": {"type": "text", "index": 5, "name": "first_name", "comment": null}, "last_name": {"type": "text", "index": 6, "name": "last_name", "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.marketo_source.marketo.lead"}, "source.marketo_source.marketo.lead_describe": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_lead_describe_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"data_type": {"type": "text", "index": 1, "name": "data_type", "comment": null}, "display_name": {"type": "text", "index": 2, "name": "display_name", "comment": null}, "id": {"type": "integer", "index": 3, "name": "id", "comment": null}, "length": {"type": "integer", "index": 4, "name": "length", "comment": null}, "restname": {"type": "text", "index": 5, "name": "restname", "comment": null}, "restread_only": {"type": "boolean", "index": 6, "name": "restread_only", "comment": null}, "soapname": {"type": "text", "index": 7, "name": "soapname", "comment": null}, "soapread_only": {"type": "boolean", "index": 8, "name": "soapread_only", "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.marketo_source.marketo.lead_describe"}, "source.marketo_source.marketo.program": {"metadata": {"type": "BASE TABLE", "schema": "zz_marketo", "name": "marketo_program_data", "database": "postgres", "comment": null, "owner": "pguser"}, "columns": {"id": {"type": "integer", "index": 1, "name": "id", "comment": null}, "channel": {"type": "text", "index": 2, "name": "channel", "comment": null}, "created_at": {"type": "text", "index": 3, "name": "created_at", "comment": null}, "description": {"type": "integer", "index": 4, "name": "description", "comment": null}, "end_date": {"type": "integer", "index": 5, "name": "end_date", "comment": null}, "name": {"type": "text", "index": 6, "name": "name", "comment": null}, "sfdc_id": {"type": "text", "index": 7, "name": "sfdc_id", "comment": null}, "sfdc_name": {"type": "text", "index": 8, "name": "sfdc_name", "comment": null}, "start_date": {"type": "integer", "index": 9, "name": "start_date", "comment": null}, "status": {"type": "text", "index": 10, "name": "status", "comment": null}, "type": {"type": "text", "index": 11, "name": "type", "comment": null}, "updated_at": {"type": "text", "index": 12, "name": "updated_at", "comment": null}, "url": {"type": "text", "index": 13, "name": "url", "comment": null}, "workspace": {"type": "text", "index": 14, "name": "workspace", "comment": null}, "_fivetran_deleted": {"type": "boolean", "index": 15, "name": "_fivetran_deleted", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.marketo_source.marketo.program"}}, "errors": null} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index ca1e6f8..c580ce9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,30 +1,4 @@ - - -
- - - -Source | \nTable | \nDescription | \nLink | \nMore? | \n
---|---|---|---|---|
\n \n {{ source.source_name }}\n \n | \n \n {{ source.name }}\n | \n \n\n View docs\n | \n\n \n \n \n \n \n \n \n \n | \n|
\n \n \n \n \n Description\n \n | \n