Salesforce (Large)

We display the source tables from the data warehouses to model.

ACCEPTED_EVENT_RELATION

Table Preview(sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACCOUNT

Table Preview(sample only)

ID IS_DELETED MASTER_RECORD_ID NAME TYPE PARENT_ID BILLING_STREET BILLING_CITY BILLING_STATE BILLING_POSTAL_CODE BILLING_COUNTRY BILLING_LATITUDE BILLING_LONGITUDE BILLING_GEOCODE_ACCURACY SHIPPING_STREET SHIPPING_CITY SHIPPING_STATE SHIPPING_POSTAL_CODE SHIPPING_COUNTRY SHIPPING_LATITUDE SHIPPING_LONGITUDE SHIPPING_GEOCODE_ACCURACY PHONE FAX WEBSITE PHOTO_URL INDUSTRY ANNUAL_REVENUE NUMBER_OF_EMPLOYEES DESCRIPTION OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE JIGSAW JIGSAW_COMPANY_ID ACCOUNT_SOURCE SIC_DESC PERSON_ACTION_CADENCE_ID PERSON_ACTION_CADENCE_ASSIGNEE_ID PERSON_ACTION_CADENCE_STATE PERSON_SCHEDULED_RESUME_DATE_TIME PERSON_ACTIVE_TRACKER_COUNT ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACCOUNT_CONTACT_ROLE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACCOUNT_ID CONTACT_ID ROLE IS_PRIMARY _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACCOUNT_PARTNER

Table Preview(sample only)

ID ACCOUNT_FROM_ID ACCOUNT_TO_ID OPPORTUNITY_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACCOUNT_SHARE

Table Preview(sample only)

ID ACCOUNT_ID USER_OR_GROUP_ID ACCOUNT_ACCESS_LEVEL OPPORTUNITY_ACCESS_LEVEL CASE_ACCESS_LEVEL CONTACT_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACCOUNT_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE STATE ACTIVATED_DATE TYPE ERROR_MESSAGE DESCRIPTION FOLDER_ID FOLDER_NAME LAST_EDITED_DATE_TIME IS_WAIT_ALLOWED_BEFORE_DAISY_CHAIN ACTIVE_TARGETS TOTAL_TARGETS SUCCESSFUL_COMPLETIONS TOTAL_STEPS _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_RULE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_STEP_ID CONDITION_LOGIC OUTCOME_NEXT_STEP_NAME RULE_NAME RULE_TYPE PARENT_RULE_NAME GLOBAL_EVENT_TYPE GRAPH_STATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_RULE_CONDITION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_RULE_ID RESOURCE OPERATOR VALUE_ RULE_CONDITION_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_STEP

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_ID ROOT_STEP_ID TYPE STEP_NAME WAIT_TIME_IN_SECONDS TEMPLATE_ID PARENT_STEP_NAME STEP_TITLE STEP_COMMENTS ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT CHAINED_CADENCE_ID BRANCH_DEFAULT_STEP_NAME ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED ALL_ON_TIME_COMPLETED_COUNT ALL_OVERDUE_COMPLETED_COUNT ALL_SKIPPED_COUNT ALL_MANUALLY_COMPLETED_COUNT IS_IMMEDIATE_WAKE_UP IS_THREADED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_EMAILS_UNTRACKED_SENT_COUNT SCREEN_FLOW_REFERENCE IS_SCREEN_FLOW_ACTIVE GRAPH_STATE GO_TO_STEP_NAME TYPE_DETAIL STEP_AUTOMATION_REFERENCE IS_STEP_AUTOMATION_ACTIVE GO_TO_STEP_ITERATION_LIMIT GO_TO_STEP_INTERVAL_IN_MINUTES SCHEDULED_START_TIME_IN_MINUTES SCHEDULED_DAYS_UNTIL_START SCHEDULED_START_DELAY_IN_MINUTES SCHEDULED_DAYS_UNTIL_DUE IS_SCHEDULED_DUE_DATE_LOCKED MINUTE_GROUP SUB_CADENCE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_STEP_TRACKER

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_TRACKER_ID ACTION_CADENCE_STEP_ID TARGET_ID STATE COMPLETION_REASON COMPLETION_DATE STEP_TYPE STEP_TITLE ACTION_CADENCE_ID ACTION_CADENCE_NAME ACTION_TAKEN_DATE_TIME DUE_DATE_TIME COMPLETED_BY_ID WAS_EVER_PAUSED ERROR_CODE GO_TO_STEP_ITERATION_COUNT SCHEDULED_START_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_TRACKER

Table Preview(sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_ID TARGET_ID CURRENT_STEP_ID STATE COMPLETION_REASON LAST_COMPLETED_STEP_ID ERROR_MESSAGE EXIT_GLOBAL_RULE_ID RELATED_TO_ID RELATED_TO_ATTRIBUTION_TYPE COMPLETION_DISPOSITION SCHEDULED_RESUME_DATE_TIME IS_TRACKER_ACTIVE DAISY_CHAIN_ITERATION _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTION_CADENCE_TRACKER_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

ACTIVITY_USR_CONNECTION_STATUS

Table Preview(sample only)

ID EXTERNAL_ID USER_ID USER_NAME CONFIGURATION_NAME EMAIL_ADDRESS CONNECTIVITY_STATUS RECOMMENDED_ACTION_TITLE RECOMMENDED_ACTION_DESCRIPTION IS_TERMS_OF_SERVICE_ACCEPTED GLOBAL_OAUTH_TERMS_STATE CONTACTS_SYNCED EVENTS_SYNCED USER_ONBOARDING_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

ADDITIONAL_NUMBER

Table Preview(sample only)

ID IS_DELETED CALL_CENTER_ID NAME DESCRIPTION PHONE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

ALTERNATIVE_PAYMENT_METHOD

Table Preview(sample only)

ID OWNER_ID IS_DELETED ALTERNATIVE_PAYMENT_METHOD_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_ID NICK_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS EMAIL ACCOUNT_ID STATUS COMPANY_NAME PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY COMMENTS PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS BILLING_FIRST_NAME BILLING_LAST_NAME BILLING_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

ALTERNATIVE_PAYMENT_METHOD_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

APEX_COMPONENT

Table Preview(sample only)

ID NAMESPACE_PREFIX NAME API_VERSION MASTER_LABEL DESCRIPTION CONTROLLER_TYPE CONTROLLER_KEY MARKUP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

APEX_LOG

Table Preview(sample only)

ID LOG_USER_ID LOG_LENGTH LAST_MODIFIED_DATE REQUEST OPERATION APPLICATION STATUS DURATION_MILLISECONDS SYSTEM_MODSTAMP START_TIME LOCATION REQUEST_IDENTIFIER _FIVETRAN_DELETED _FIVETRAN_SYNCED

APEX_PAGE

Table Preview(sample only)

ID NAMESPACE_PREFIX NAME API_VERSION MASTER_LABEL DESCRIPTION CONTROLLER_TYPE CONTROLLER_KEY IS_AVAILABLE_IN_TOUCH IS_CONFIRMATION_TOKEN_REQUIRED MARKUP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

APEX_PAGE_INFO

Table Preview(sample only)

ID DURABLE_ID APEX_PAGE_ID NAME NAME_SPACE_PREFIX API_VERSION DESCRIPTION IS_AVAILABLE_IN_TOUCH MASTER_LABEL IS_SHOW_HEADER _FIVETRAN_DELETED _FIVETRAN_SYNCED

APP_ANALYTICS_QUERY_REQUEST

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_TYPE START_TIME END_TIME REQUEST_STATE DOWNLOAD_URL DOWNLOAD_EXPIRATION_TIME ERROR_MESSAGE QUERY_SUBMITTED_TIME PACKAGE_IDS ORGANIZATION_IDS DOWNLOAD_SIZE FILE_COMPRESSION AVAILABLE_SINCE FILE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

APP_DEFINITION

Table Preview(sample only)

ID DURABLE_ID LABEL MASTER_LABEL NAMESPACE_PREFIX DEVELOPER_NAME LOGO_URL DESCRIPTION UI_TYPE NAV_TYPE UTILITY_BAR HEADER_COLOR IS_OVERRIDE_ORG_THEME IS_SMALL_FORM_FACTOR_SUPPORTED IS_MEDIUM_FORM_FACTOR_SUPPORTED IS_LARGE_FORM_FACTOR_SUPPORTED IS_NAV_PERSONALIZATION_DISABLED IS_NAV_AUTO_TEMP_TABS_DISABLED IS_NAV_TAB_PERSISTENCE_DISABLED IS_OMNI_PINNED_VIEW_ENABLED _FIVETRAN_DELETED _FIVETRAN_SYNCED

APP_MENU_ITEM

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SORT_ORDER NAME NAMESPACE_PREFIX LABEL DESCRIPTION START_URL MOBILE_START_URL LOGO_URL ICON_URL INFO_URL IS_USING_ADMIN_AUTHORIZATION MOBILE_PLATFORM MOBILE_MIN_OS_VER MOBILE_DEVICE_TYPE IS_REGISTERED_DEVICE_ONLY MOBILE_APP_VER MOBILE_APP_INSTALLED_DATE MOBILE_APP_INSTALLED_VERSION MOBILE_APP_BINARY_ID MOBILE_APP_INSTALL_URL CANVAS_ENABLED CANVAS_REFERENCE_ID CANVAS_URL CANVAS_ACCESS_METHOD CANVAS_SELECTED_LOCATIONS CANVAS_OPTIONS TYPE APPLICATION_ID USER_SORT_ORDER IS_VISIBLE IS_ACCESSIBLE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ASSET

Table Preview(sample only)

ID CONTACT_ID ACCOUNT_ID PARENT_ID ROOT_ASSET_ID PRODUCT_2_ID PRODUCT_CODE IS_COMPETITOR_PRODUCT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED NAME SERIAL_NUMBER INSTALL_DATE PURCHASE_DATE USAGE_END_DATE STATUS PRICE QUANTITY DESCRIPTION OWNER_ID ASSET_PROVIDED_BY_ID ASSET_SERVICED_BY_ID IS_INTERNAL ASSET_LEVEL STOCK_KEEPING_UNIT STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ASSET_RELATIONSHIP

Table Preview(sample only)

ID IS_DELETED ASSET_RELATIONSHIP_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE ASSET_ID RELATED_ASSET_ID FROM_DATE TO_DATE RELATIONSHIP_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ASSET_SHARE

Table Preview(sample only)

ID ASSET_ID USER_OR_GROUP_ID ASSET_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

ASSET_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ASSIGNMENT_RULE

Table Preview(sample only)

ID NAME SOBJECT_TYPE ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

ATTACHMENT

Table Preview(sample only)

ID IS_DELETED PARENT_ID NAME IS_PRIVATE CONTENT_TYPE BODY_LENGTH OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

AURA_DEFINITION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AURA_DEFINITION_BUNDLE_ID DEF_TYPE FORMAT SOURCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

AURA_DEFINITION_BUNDLE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP API_VERSION DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

AURA_DEFINITION_BUNDLE_INFO

Table Preview(sample only)

ID DURABLE_ID AURA_DEFINITION_BUNDLE_ID API_VERSION DEVELOPER_NAME NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

AURA_DEFINITION_INFO

Table Preview(sample only)

ID DURABLE_ID AURA_DEFINITION_BUNDLE_INFO_ID AURA_DEFINITION_ID DEF_TYPE FORMAT SOURCE LAST_MODIFIED_DATE DEVELOPER_NAME NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTHORIZATION_FORM

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE REVISION_NUMBER EFFECTIVE_FROM_DATE EFFECTIVE_TO_DATE DEFAULT_AUTH_FORM_TEXT_ID IS_SIGNATURE_REQUIRED _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTHORIZATION_FORM_DATA_USE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE AUTHORIZATION_FORM_ID DATA_USE_PURPOSE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTHORIZATION_FORM_DATA_USE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTHORIZATION_FORM_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTHORIZATION_FORM_TEXT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE AUTHORIZATION_FORM_ID FULL_AUTHORIZATION_FORM_URL SUMMARY_AUTH_FORM_TEXT LOCALE LOCALE_SELECTION CONTENT_DOCUMENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTH_CONFIG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL AUTH_OPTIONS_USERNAME_PASSWORD AUTH_OPTIONS_SAML AUTH_OPTIONS_AUTH_PROVIDER AUTH_OPTIONS_CERTIFICATE IS_ACTIVE TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTH_CONFIG_PROVIDERS

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AUTH_CONFIG_ID AUTH_PROVIDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

AUTH_PROVIDER

Table Preview(sample only)

ID CREATED_DATE PROVIDER_TYPE FRIENDLY_NAME DEVELOPER_NAME EXECUTION_USER_ID CONSUMER_KEY CONSUMER_SECRET ERROR_URL AUTHORIZE_URL TOKEN_URL USER_INFO_URL DEFAULT_SCOPES ID_TOKEN_ISSUER OPTIONS_SEND_ACCESS_TOKEN_IN_HEADER OPTIONS_SEND_CLIENT_CREDENTIALS_IN_HEADER OPTIONS_INCLUDE_ORG_ID_IN_ID OPTIONS_SEND_SECRET_IN_APIS OPTIONS_IS_MULE_SOFT_US OPTIONS_IS_MULE_SOFT_EU OPTIONS_REQUIRE_MFA OPTIONS_IS_SEGMENT_INTELLIGENCE OPTIONS_IS_PKCE_ENABLED OPTIONS_IS_WEB_DATA_CONNECTOR ICON_URL LOGOUT_URL CUSTOM_METADATA_TYPE_RECORD EC_KEY APPLE_TEAM SSO_KICKOFF_URL LINK_KICKOFF_URL OAUTH_KICKOFF_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED OPTIONS_IS_BITBUCKET

AUTH_SESSION

Table Preview(sample only)

ID USERS_ID CREATED_DATE LAST_MODIFIED_DATE NUM_SECONDS_VALID USER_TYPE SOURCE_IP LOGIN_TYPE SESSION_TYPE SESSION_SECURITY_LEVEL LOGOUT_URL PARENT_ID LOGIN_HISTORY_ID LOGIN_GEO_ID IS_CURRENT _FIVETRAN_DELETED _FIVETRAN_SYNCED

BACKGROUND_OPERATION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SUBMITTED_AT STATUS EXECUTION_GROUP SEQUENCE_GROUP SEQUENCE_NUMBER GROUP_LEADER_ID STARTED_AT FINISHED_AT WORKER_URI TIMEOUT EXPIRES_AT NUM_FOLLOWERS PROCESS_AFTER PARENT_KEY RETRY_LIMIT RETRY_COUNT RETRY_BACKOFF ERROR TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRANDING_SET

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRANDING_SET_PROPERTY

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRANDING_SET_ID PROPERTY_NAME PROPERTY_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRAND_TEMPLATE

Table Preview(sample only)

ID NAME DEVELOPER_NAME IS_ACTIVE DESCRIPTION VALUE_ NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRIEFCASE_ASSIGNMENT

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_OR_GROUP_ID BRIEFCASE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRIEFCASE_DEFINITION

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRIEFCASE_RULE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRIEFCASE_ID TARGET_ENTITY PARENT_RULE_ID FILTER_LOGIC QUERY_SCOPE RECORD_LIMIT ORDER_BY IS_ASCENDING_ORDER RELATIONSHIP_FIELD RELATIONSHIP_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

BRIEFCASE_RULE_FILTER

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRIEFCASE_RULE_ID TARGET_ENTITY_FIELD FILTER_OPERATOR FILTER_VALUE FILTER_SEQ_NUMBER _FIVETRAN_DELETED _FIVETRAN_SYNCED

BUSINESS_BRAND

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

BUSINESS_BRAND_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

BUSINESS_HOURS

Table Preview(sample only)

ID NAME IS_ACTIVE IS_DEFAULT SUNDAY_START_TIME SUNDAY_END_TIME MONDAY_START_TIME MONDAY_END_TIME TUESDAY_START_TIME TUESDAY_END_TIME WEDNESDAY_START_TIME WEDNESDAY_END_TIME THURSDAY_START_TIME THURSDAY_END_TIME FRIDAY_START_TIME FRIDAY_END_TIME SATURDAY_START_TIME SATURDAY_END_TIME TIME_ZONE_SID_KEY SYSTEM_MODSTAMP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID LAST_VIEWED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

BUSINESS_PROCESS

Table Preview(sample only)

ID NAME NAMESPACE_PREFIX DESCRIPTION TABLE_ENUM_OR_ID IS_ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALCULATED_INSIGHT_RANGE_BOUND

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE INSIGHT_NAME LOWER_BOUND_RANGE UPPER_BOUND_RANGE OPERATOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALCULATED_INSIGHT_RANGE_BOUND_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALENDAR

Table Preview(sample only)

ID NAME USER_ID TYPE IS_ACTIVE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALENDAR_VIEW

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DISPLAYED COLOR FILL_PATTERN LIST_VIEW_FILTER_ID DATE_HANDLING_TYPE START_FIELD END_FIELD DISPLAY_FIELD SOBJECT_TYPE PUBLISHER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALENDAR_VIEW_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_CENTER

Table Preview(sample only)

ID NAME INTERNAL_NAME VERSION ADAPTER_URL CUSTOM_SETTINGS SYSTEM_MODSTAMP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_COACHING_MEDIA_PROVIDER

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROVIDER_NAME PROVIDER_DESCRIPTION IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_DISPOSITION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DISPOSITION_CATEGORY_ID DISPOSITION _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_DISPOSITION_CATEGORY

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CATEGORY _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_TEMPLATE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION HTML_BODY TEMPLATE_TYPE TOTAL_CALLS_MEANINGFUL_CONNECT TOTAL_CALLS_NOT_INTERESTED TOTAL_CALLS_UNQUALIFIED TOTAL_CALLS_LEFT_VOICEMAIL TOTAL_CALLS_CALL_BACK_LATER TOTAL_CALLS_UNCATEGORIZED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CALL_TEMPLATE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CAMPAIGN

Table Preview(sample only)

ID IS_DELETED NAME PARENT_ID TYPE STATUS START_DATE END_DATE EXPECTED_REVENUE BUDGETED_COST ACTUAL_COST EXPECTED_RESPONSE NUMBER_SENT IS_ACTIVE DESCRIPTION NUMBER_OF_LEADS NUMBER_OF_CONVERTED_LEADS NUMBER_OF_CONTACTS NUMBER_OF_RESPONSES NUMBER_OF_OPPORTUNITIES NUMBER_OF_WON_OPPORTUNITIES AMOUNT_ALL_OPPORTUNITIES AMOUNT_WON_OPPORTUNITIES OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE CAMPAIGN_MEMBER_RECORD_TYPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CAMPAIGN_MEMBER

Table Preview(sample only)

ID IS_DELETED CAMPAIGN_ID LEAD_ID CONTACT_ID STATUS HAS_RESPONDED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FIRST_RESPONDED_DATE SALUTATION NAME FIRST_NAME LAST_NAME TITLE STREET CITY STATE POSTAL_CODE COUNTRY EMAIL PHONE FAX MOBILE_PHONE DESCRIPTION DO_NOT_CALL HAS_OPTED_OUT_OF_EMAIL HAS_OPTED_OUT_OF_FAX LEAD_SOURCE COMPANY_OR_ACCOUNT TYPE LEAD_OR_CONTACT_ID LEAD_OR_CONTACT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CAMPAIGN_MEMBER_STATUS

Table Preview(sample only)

ID IS_DELETED CAMPAIGN_ID LABEL SORT_ORDER IS_DEFAULT HAS_RESPONDED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CAMPAIGN_SHARE

Table Preview(sample only)

ID CAMPAIGN_ID USER_OR_GROUP_ID CAMPAIGN_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CAMPAIGN_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CARD_PAYMENT_METHOD

Table Preview(sample only)

ID IS_DELETED CARD_PAYMENT_METHOD_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DISPLAY_CARD_NUMBER EXPIRY_MONTH EXPIRY_YEAR START_MONTH START_YEAR CARD_TYPE CARD_TYPE_CATEGORY AUTO_CARD_TYPE CARD_CATEGORY ACCOUNT_ID PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY NICK_NAME CARD_HOLDER_NAME CARD_BIN CARD_LAST_FOUR EMAIL COMMENTS STATUS INPUT_CARD_NUMBER CARD_HOLDER_FIRST_NAME CARD_HOLDER_LAST_NAME COMPANY_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS PAYMENT_GATEWAY_ID PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION SF_RESULT_CODE GATEWAY_DATE GATEWAY_TOKEN_ENCRYPTED IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE

Table Preview(sample only)

ID IS_DELETED MASTER_RECORD_ID CASE_NUMBER CONTACT_ID ACCOUNT_ID PARENT_ID TYPE STATUS REASON ORIGIN SUBJECT PRIORITY DESCRIPTION IS_CLOSED CLOSED_DATE IS_ESCALATED OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTACT_PHONE CONTACT_MOBILE CONTACT_EMAIL CONTACT_FAX COMMENTS LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_ARTICLE

Table Preview(sample only)

ID CASE_ID KNOWLEDGE_ARTICLE_ID KNOWLEDGE_ARTICLE_VERSION_ID CREATED_BY_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED ARTICLE_LANGUAGE ARTICLE_VERSION_NUMBER IS_SHARED_BY_EMAIL _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_COMMENT

Table Preview(sample only)

ID PARENT_ID IS_PUBLISHED COMMENT_BODY CREATED_BY_ID CREATED_DATE SYSTEM_MODSTAMP LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_CONTACT_ROLE

Table Preview(sample only)

ID CASES_ID CONTACT_ID ROLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_EXTERNAL_DOCUMENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CASE_ID EXTERNAL_ID TITLE DISPLAY_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_SHARE

Table Preview(sample only)

ID CASE_ID USER_OR_GROUP_ID CASE_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_STATUS

Table Preview(sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CLOSED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CASE_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CATEGORY_NODE

Table Preview(sample only)

ID PARENT_ID MASTER_LABEL SORT_ORDER SORT_STYLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CLIENT_BROWSER

Table Preview(sample only)

ID USERS_ID FULL_USER_AGENT PROXY_INFO LAST_UPDATE CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

COMM_SUBSCRIPTION

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

COMM_SUBSCRIPTION_CHANNEL_TYPE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMMUNICATION_SUBSCRIPTION_ID ENGAGEMENT_CHANNEL_TYPE_ID DATA_USE_PURPOSE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

COMM_SUBSCRIPTION_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

COMM_SUBSCRIPTION_TIMING

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMM_SUBSCRIPTION_CONSENT_ID UNIT _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONFERENCE_NUMBER

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_EVENT_ID LABEL NUMBER ACCESS_CODE VENDOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONNECTED_APPLICATION

Table Preview(sample only)

ID NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OPTIONS_ALLOW_ADMIN_APPROVED_USERS_ONLY OPTIONS_REFRESH_TOKEN_VALIDITY_METRIC OPTIONS_HAS_SESSION_LEVEL_POLICY OPTIONS_IS_INTERNAL OPTIONS_FULL_CONTENT_PUSH_NOTIFICATIONS OPTIONS_CODE_CREDENTIAL_GUEST_ENABLED OPTIONS_APP_ISSUE_JWT_TOKEN_ENABLED OPTIONS_TOKEN_EXCHANGE_MANAGE_BIT_ENABLED MOBILE_SESSION_TIMEOUT PIN_LENGTH START_URL MOBILE_START_URL REFRESH_TOKEN_VALIDITY_PERIOD UVID_TIMEOUT NAMED_USER_UVID_TIMEOUT _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT

Table Preview(sample only)

ID IS_DELETED MASTER_RECORD_ID ACCOUNT_ID LAST_NAME FIRST_NAME SALUTATION NAME OTHER_STREET OTHER_CITY OTHER_STATE OTHER_POSTAL_CODE OTHER_COUNTRY OTHER_LATITUDE OTHER_LONGITUDE OTHER_GEOCODE_ACCURACY MAILING_STREET MAILING_CITY MAILING_STATE MAILING_POSTAL_CODE MAILING_COUNTRY MAILING_LATITUDE MAILING_LONGITUDE MAILING_GEOCODE_ACCURACY PHONE FAX MOBILE_PHONE HOME_PHONE OTHER_PHONE ASSISTANT_PHONE REPORTS_TO_ID EMAIL TITLE DEPARTMENT ASSISTANT_NAME LEAD_SOURCE BIRTHDATE DESCRIPTION OWNER_ID HAS_OPTED_OUT_OF_EMAIL ACTION_CADENCE_ID ACTION_CADENCE_ASSIGNEE_ID ACTION_CADENCE_STATE SCHEDULED_RESUME_DATE_TIME ACTIVE_TRACKER_COUNT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_CUREQUEST_DATE LAST_CUUPDATE_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE EMAIL_BOUNCED_REASON EMAIL_BOUNCED_DATE IS_EMAIL_BOUNCED PHOTO_URL JIGSAW JIGSAW_CONTACT_ID INDIVIDUAL_ID FIRST_CALL_DATE_TIME FIRST_EMAIL_DATE_TIME ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED CONTACT_SOURCE

CONTACT_POINT_ADDRESS

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY CONTACT_POINT_PHONE_ID ADDRESS_TYPE STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY IS_DEFAULT PREFERENCE_RANK USAGE_TYPE IS_THIRD_PARTY_ADDRESS _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_POINT_ADDRESS_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_POINT_EMAIL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY EMAIL_ADDRESS EMAIL_MAIL_BOX EMAIL_DOMAIN EMAIL_LATEST_BOUNCE_DATE_TIME EMAIL_LATEST_BOUNCE_REASON_TEXT PREFERENCE_RANK USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_POINT_EMAIL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_POINT_PHONE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY AREA_CODE TELEPHONE_NUMBER EXTENSION_NUMBER PHONE_TYPE IS_SMS_CAPABLE FORMATTED_INTERNATIONAL_PHONE_NUMBER FORMATTED_NATIONAL_PHONE_NUMBER IS_FAX_CAPABLE IS_PERSONAL_PHONE IS_BUSINESS_PHONE PREFERENCE_RANK USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_POINT_PHONE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_REQUEST

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE WHAT_ID WHO_ID PREFERRED_PHONE PREFERRED_CHANNEL STATUS REQUEST_REASON REQUEST_DESCRIPTION IS_CALLBACK _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_REQUEST_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_SHARE

Table Preview(sample only)

ID CONTACT_ID USER_OR_GROUP_ID CONTACT_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTACT_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_ASSET

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTENT_DOCUMENT_ID IS_VISIBLE_BY_EXTERNAL_USERS _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_DISTRIBUTION

Table Preview(sample only)

ID CREATED_DATE CREATED_BY_ID OWNER_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAME IS_DELETED CONTENT_VERSION_ID CONTENT_DOCUMENT_ID RELATED_RECORD_ID PREFERENCES_ALLOW_PDFDOWNLOAD PREFERENCES_ALLOW_ORIGINAL_DOWNLOAD PREFERENCES_PASSWORD_REQUIRED PREFERENCES_NOTIFY_ON_VISIT PREFERENCES_LINK_LATEST_VERSION PREFERENCES_ALLOW_VIEW_IN_BROWSER PREFERENCES_EXPIRES PREFERENCES_NOTIFY_RNDTN_COMPLETE EXPIRY_DATE PASSWORD VIEW_COUNT FIRST_VIEW_DATE LAST_VIEW_DATE DISTRIBUTION_PUBLIC_URL CONTENT_DOWNLOAD_URL PDF_DOWNLOAD_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_DISTRIBUTION_VIEW

Table Preview(sample only)

ID DISTRIBUTION_ID PARENT_VIEW_ID CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP IS_DELETED IS_INTERNAL IS_DOWNLOAD _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_DOCUMENT

Table Preview(sample only)

ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE IS_ARCHIVED ARCHIVED_BY_ID ARCHIVED_DATE IS_DELETED OWNER_ID SYSTEM_MODSTAMP TITLE PUBLISH_STATUS LATEST_PUBLISHED_VERSION_ID PARENT_ID LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION CONTENT_SIZE FILE_TYPE FILE_EXTENSION SHARING_OPTION SHARING_PRIVACY CONTENT_MODIFIED_DATE CONTENT_ASSET_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_DOCUMENT_SUBSCRIPTION

Table Preview(sample only)

ID USER_ID CONTENT_DOCUMENT_ID IS_COMMENT_SUB IS_DOCUMENT_SUB _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_FOLDER

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_CONTENT_FOLDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_NOTE

Table Preview(sample only)

ID TITLE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE CONTENT_MODIFIED_DATE LAST_VIEWED_DATE FILE_TYPE TEXT_PREVIEW CONTENT_SIZE IS_DELETED FILE_EXTENSION LATEST_PUBLISHED_VERSION_ID OWNER_ID LATEST_CONTENT_ID IS_READ_ONLY SHARING_PRIVACY _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_NOTIFICATION

Table Preview(sample only)

ID NATURE USERS_ID CREATED_DATE ENTITY_TYPE ENTITY_IDENTIFIER_ID SUBJECT TEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_TAG_SUBSCRIPTION

Table Preview(sample only)

ID USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_USER_SUBSCRIPTION

Table Preview(sample only)

ID SUBSCRIBER_USER_ID SUBSCRIBED_TO_USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_VERSION

Table Preview(sample only)

ID CONTENT_DOCUMENT_ID IS_LATEST CONTENT_URL CONTENT_BODY_ID VERSION_NUMBER TITLE DESCRIPTION REASON_FOR_CHANGE SHARING_OPTION SHARING_PRIVACY PATH_ON_CLIENT RATING_COUNT IS_DELETED CONTENT_MODIFIED_DATE CONTENT_MODIFIED_BY_ID POSITIVE_RATING_COUNT NEGATIVE_RATING_COUNT FEATURED_CONTENT_BOOST FEATURED_CONTENT_DATE OWNER_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP TAG_CSV FILE_TYPE PUBLISH_STATUS CONTENT_SIZE FILE_EXTENSION FIRST_PUBLISH_LOCATION_ID ORIGIN CONTENT_LOCATION TEXT_PREVIEW EXTERNAL_DOCUMENT_INFO_1 EXTERNAL_DOCUMENT_INFO_2 EXTERNAL_DATA_SOURCE_ID CHECKSUM IS_MAJOR_VERSION IS_ASSET_ENABLED VERSION_DATA_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_VERSION_COMMENT

Table Preview(sample only)

ID CONTENT_DOCUMENT_ID CONTENT_VERSION_ID USER_COMMENT CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_VERSION_RATING

Table Preview(sample only)

ID USER_ID CONTENT_VERSION_ID RATING USER_COMMENT LAST_MODIFIED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_WORKSPACE

Table Preview(sample only)

ID NAME DESCRIPTION TAG_MODEL CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_MODIFIED_DATE DEFAULT_RECORD_TYPE_ID IS_RESTRICT_CONTENT_TYPES IS_RESTRICT_LINKED_CONTENT_TYPES WORKSPACE_TYPE SHOULD_ADD_CREATOR_MEMBERSHIP LAST_WORKSPACE_ACTIVITY_DATE ROOT_CONTENT_FOLDER_ID NAMESPACE_PREFIX DEVELOPER_NAME WORKSPACE_IMAGE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_WORKSPACE_DOC

Table Preview(sample only)

ID CONTENT_WORKSPACE_ID CONTENT_DOCUMENT_ID CREATED_DATE SYSTEM_MODSTAMP IS_OWNER IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_WORKSPACE_MEMBER

Table Preview(sample only)

ID CONTENT_WORKSPACE_ID CONTENT_WORKSPACE_PERMISSION_ID MEMBER_ID MEMBER_TYPE CREATED_BY_ID CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_WORKSPACE_PERMISSION

Table Preview(sample only)

ID NAME TYPE PERMISSIONS_MANAGE_WORKSPACE PERMISSIONS_ADD_CONTENT PERMISSIONS_ADD_CONTENT_OBO PERMISSIONS_ARCHIVE_CONTENT PERMISSIONS_DELETE_CONTENT PERMISSIONS_FEATURE_CONTENT PERMISSIONS_VIEW_COMMENTS PERMISSIONS_ADD_COMMENT PERMISSIONS_MODIFY_COMMENTS PERMISSIONS_TAG_CONTENT PERMISSIONS_DELIVER_CONTENT PERMISSIONS_CHATTER_SHARING PERMISSIONS_ORGANIZE_FILE_AND_FOLDER CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP LAST_MODIFIED_BY_ID DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

CONTENT_WORKSPACE_SUBSCRIPTION

Table Preview(sample only)

ID USER_ID CONTENT_WORKSPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CORS_WHITELIST_ENTRY

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL_PATTERN _FIVETRAN_DELETED _FIVETRAN_SYNCED

CSP_TRUSTED_SITE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ENDPOINT_URL DESCRIPTION IS_ACTIVE CONTEXT IS_APPLICABLE_TO_CONNECT_SRC IS_APPLICABLE_TO_FRAME_SRC IS_APPLICABLE_TO_IMG_SRC IS_APPLICABLE_TO_STYLE_SRC IS_APPLICABLE_TO_FONT_SRC IS_APPLICABLE_TO_MEDIA_SRC CAN_ACCESS_CAMERA CAN_ACCESS_MICROPHONE _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOMER

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARTY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOMER_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_BRAND

Table Preview(sample only)

ID PARENT_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_BRAND_ASSET

Table Preview(sample only)

ID CUSTOM_BRAND_ID ASSET_CATEGORY TEXT_ASSET ASSET_SOURCE_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_HELP_MENU_ITEM

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID MASTER_LABEL LINK_URL SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_HELP_MENU_SECTION

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_HTTP_HEADER

Table Preview(sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID HEADER_FIELD_NAME HEADER_FIELD_VALUE IS_ACTIVE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_NOTIFICATION_TYPE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_NOTIF_TYPE_NAME DESCRIPTION DESKTOP MOBILE IS_SLACK _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_PERMISSION

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX IS_PROTECTED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_LICENSED _FIVETRAN_DELETED _FIVETRAN_SYNCED

CUSTOM_PERMISSION_DEPENDENCY

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_PERMISSION_ID REQUIRED_CUSTOM_PERMISSION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DASHBOARD

Table Preview(sample only)

ID IS_DELETED OWNER_ID FOLDER_ID FOLDER_NAME TITLE DEVELOPER_NAME NAMESPACE_PREFIX DESCRIPTION LEFT_SIZE MIDDLE_SIZE RIGHT_SIZE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RUNNING_USER_ID TITLE_COLOR TITLE_SIZE TEXT_COLOR BACKGROUND_START BACKGROUND_END BACKGROUND_DIRECTION TYPE LAST_VIEWED_DATE LAST_REFERENCED_DATE DASHBOARD_RESULT_REFRESHED_DATE DASHBOARD_RESULT_RUNNING_USER COLOR_PALETTE CHART_THEME _FIVETRAN_DELETED _FIVETRAN_SYNCED

DASHBOARD_COMPONENT

Table Preview(sample only)

ID NAME DASHBOARD_ID CUSTOM_REPORT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DASHBOARD_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_ACTION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ACTION_STATUS LAST_ACTION_STATUS_ERROR_CODE LAST_ACTION_STATUS_DATE_TIME ACTION_API_NAME DATA_SPACE_ID SHOULD_PROCESS_DAY_ZERO AFFILIATION_DMO_DEVELOPER_NAME MANAGED_BY _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_ACTION_TARGET

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE TARGET_STATUS LAST_TARGET_STATUS_ERROR_CODE LAST_TARGET_STATUS_DATE_TIME LAST_SIGNING_KEY_DATE_TIME TARGET_TYPE TARGET_ENDPOINT TARGET_API_NAME API_CONTRACT MANAGED_BY _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_ACTION_TARGET_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_GRAPH

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SPACE_ID STATUS LAST_RUN_STATUS RECORD_COUNT LAST_REFRESH_DATE DATA_GRAPH_TYPE DATA_SOURCE_OBJ_COUNT DAO_FIELDS_COUNT LEVELS ROLLOUT_VERSION VERSION DATA_GRAPH_API_NAME PRIMARY_DMO _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_KIT_DEPLOYMENT_LOG

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMPONENT_TEMPLATE_ID PUBLISHER_ORG_COMPONENT_ID SUBSCRIBER_ORG_COMPONENT_ID COMPONENT_TYPE DEPLOY_JOB TEMPLATE_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED DATA_SPACE_NAME COMPONENT_NAME BUNDLE_NAME

DATA_KIT_DEPLOYMENT_LOG_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_LAKE_OBJECT_INSTANCE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION LAST_REFRESH_DATE TOTAL_RECORDS DATA_LAKE_OBJECT_STATUS LAST_DATA_CHANGE_STATUS_ERROR_CODE CATEGORY EXTERNAL_NAME STORAGE ACCELERATION_ENABLED ACCELERATION_SCHEDULE EXTERNAL_OBJECT_ERROR_STATUS EXTERNAL_OBJECT_ERROR_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_LAKE_OBJECT_INSTANCE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_MULTI_ORG_CONNECTION

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_ORG CONNECTION_STATUS ORG_TYPE PARTNER_APP_NAME CONNECTED_BY_USER_ID RECORD_SYN_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED TENANT_KEY

DATA_MULTI_ORG_OBJECT_REF

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_MULTI_ORG_SYNC_STATUS

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_SPACE_NAME OWNED_BY_ORG LAST_PROCESSED_TRANSACTION LAST_SYNCED_ON RECORD_SYN_STATUS METADATA_SYN_STATUS ERRORS DATA_MULTI_ORG_CONNECTION_ID DATA_SPACE_SYNC_STATUS MULTI_ORG_CHANGE_SET_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_QUERY_WORKSPACE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SPACE LANDING_TAB_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_QUERY_WORKSPACE_TAB

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUERY_WORKSPACE_ID ENTITY ENTITY_TYPE TAB_OPTION QUERY _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_REMOTE_ORG_DATA_SPACE_MAP

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_MULTI_ORG_CONNECTION_ID RECORD_SYN_STATUS DATA_SPACE_SYNC_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SOURCE_BUNDLE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SOURCE_BUNDLE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SPACE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE STATUS DESCRIPTION DATA_SPACE_API_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SPACE_FILTER_CONDITION

Table Preview(sample only)

ID IS_DELETED DATA_SPACE_FILTER_CRITERIA_ID DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TARGET_OBJECT_ID OPERATOR VALUE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SPACE_FILTER_CRITERIA

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID CHILD_TYPE OPERATOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_SPACE_INTERNAL_ORG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_STREAM

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION IMPORT_RUN_STATUS DATA_STREAM_STATUS LAST_REFRESH_DATE LAST_NUMBER_OF_ROWS_ADDED_COUNT TOTAL_NUMBER_OF_ROWS_ADDED REFRESH_FREQUENCY REFRESH_HOURS IS_REFRESH_DELIVERY_HOUR_AUTOMATIC REFRESH_DAY_OF_WEEK REFRESH_DAY_OF_MONTH REFRESH_MODE EXTERNAL_RECORD_IDENTIFIER TOTAL_ROWS_PROCESSED LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE IS_NEW_FIELDS_AVAILABLE STREAM_TYPE EXTERNAL_STREAM_ERROR_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_STREAM_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_USE_PURPOSE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE LEGAL_BASIS_ID DESCRIPTION CAN_DATA_SUBJECT_OPT_OUT _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_USE_PURPOSE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

DATA_WEAVE_RESOURCE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX IS_PROTECTED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTENT_TYPE API_VERSION BODY_LENGTH IS_GLOBAL _FIVETRAN_DELETED _FIVETRAN_SYNCED

DECLINED_EVENT_RELATION

Table Preview(sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DELETE_EVENT

Table Preview(sample only)

ID RECORD RECORD_NAME DELETED_BY_ID DELETED_DATE SOBJECT_NAME SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DIGITAL_WALLET

Table Preview(sample only)

ID IS_DELETED DIGITAL_WALLET_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_ID NICK_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS CUSTOMER EMAIL ACCOUNT_ID STATUS COMPANY_NAME PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY COMMENTS PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL GATEWAY_TOKEN_ENCRYPTED IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

DOCUMENT

Table Preview(sample only)

ID FOLDER_ID IS_DELETED NAME DEVELOPER_NAME NAMESPACE_PREFIX CONTENT_TYPE TYPE IS_PUBLIC BODY_LENGTH URL DESCRIPTION KEYWORDS IS_INTERNAL_USE_ONLY AUTHOR_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_BODY_SEARCHABLE LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DOCUMENT_ATTACHMENT_MAP

Table Preview(sample only)

ID PARENT_ID DOCUMENT_ID DOCUMENT_SEQUENCE CREATED_DATE CREATED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DOCUMENT_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

DOMAIN

Table Preview(sample only)

ID DOMAIN_TYPE DOMAIN_ OPTIONS_HSTS_PRELOAD CNAME_TARGET HTTPS_OPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DOMAIN_SITE

Table Preview(sample only)

ID DOMAIN_ID SITE_ID PATH_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

DUPLICATE_RECORD_ITEM

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DUPLICATE_RECORD_SET_ID RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DUPLICATE_RECORD_SET

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DUPLICATE_RULE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

DUPLICATE_RULE

Table Preview(sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE SOBJECT_SUBTYPE LAST_VIEWED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_CAPTURE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE TO_PATTERN FROM_PATTERN SENDER RECIPIENT CAPTURE_DATE RAW_MESSAGE_LENGTH _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_CONTENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE SUBJECT DESCRIPTION TEMPLATE_ID HTML_BODY TEXT_BODY TOTAL_SENT TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_OPENS UNIQUE_OPENS TOTAL_TRACKED_LINK_CLICKS UNIQUE_TRACKED_LINK_CLICKS UNIQUE_OPT_OUTS TOTAL_SPAM_COMPLAINTS MANAGED_CONTENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_DOMAIN_FILTER

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRIORITY_NUMBER EMAIL_RELAY_ID TO_DOMAIN FROM_DOMAIN IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_DOMAIN_KEY

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SELECTOR DOMAIN_ DOMAIN_MATCH IS_ACTIVE ALTERNATE_SELECTOR TXT_RECORD_NAME ALTERNATE_TXT_RECORD_NAME TXT_RECORDS_PUBLISH_STATE KEY_SIZE PUBLIC_KEY ALTERNATE_PUBLIC_KEY DOMAIN_MATCH_PATTERN PLATFORM_TYPE THIRD_SELECTOR THIRD_TXT_RECORD_NAME STATUS STATUS_MESSAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_MESSAGE

Table Preview(sample only)

ID PARENT_ID ACTIVITY_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TEXT_BODY HTML_BODY HEADERS SUBJECT NAME FROM_NAME FROM_ADDRESS VALIDATED_FROM_ADDRESS TO_ADDRESS CC_ADDRESS BCC_ADDRESS INCOMING HAS_ATTACHMENT STATUS MESSAGE_DATE IS_DELETED REPLY_TO_EMAIL_MESSAGE_ID IS_EXTERNALLY_VISIBLE MESSAGE_IDENTIFIER THREAD_IDENTIFIER CLIENT_THREAD_IDENTIFIER FROM_ID IS_CLIENT_MANAGED ATTACHMENT_IDS RELATED_TO_ID IS_TRACKED IS_OPENED FIRST_OPENED_DATE LAST_OPENED_DATE IS_BOUNCED ACTION_CADENCE_STEP_TRACKER_ID EMAIL_TEMPLATE_ID EMAIL_ROUTING_ADDRESS_ID AUTOMATION_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_MESSAGE_RELATION

Table Preview(sample only)

ID EMAIL_MESSAGE_ID RELATION_ID RELATION_TYPE RELATION_ADDRESS RELATION_OBJECT_TYPE CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_RELAY

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP HOST PORT TLS_SETTING IS_REQUIRE_AUTH USERNAME PASSWORD AUTH_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_ROUTING_ADDRESS

Table Preview(sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERSONAL_NAME ADDRESS EMAIL_SERVICES_ADDRESS_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_SERVICES_ADDRESS

Table Preview(sample only)

ID IS_ACTIVE LOCAL_PART EMAIL_DOMAIN_NAME AUTHORIZED_SENDERS RUN_AS_USER_ID FUNCTION_ID DEVELOPER_NAME CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_SERVICES_FUNCTION

Table Preview(sample only)

ID IS_ACTIVE FUNCTION_NAME AUTHORIZED_SENDERS IS_AUTHENTICATION_REQUIRED IS_TLS_REQUIRED ATTACHMENT_OPTION OVER_LIMIT_ACTION FUNCTION_INACTIVE_ACTION ADDRESS_INACTIVE_ACTION AUTHENTICATION_FAILURE_ACTION AUTHORIZATION_FAILURE_ACTION IS_ERROR_ROUTING_ENABLED ERROR_ROUTING_ADDRESS IS_TEXT_ATTACHMENTS_AS_BINARY CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMAIL_TEMPLATE

Table Preview(sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX OWNER_ID FOLDER_ID FOLDER_NAME BRAND_TEMPLATE_ID TEMPLATE_STYLE IS_ACTIVE TEMPLATE_TYPE ENCODING DESCRIPTION SUBJECT HTML_VALUE BODY TIMES_USED LAST_USED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP API_VERSION MARKUP UI_TYPE RELATED_ENTITY_TYPE TOTAL_TRACKED_SENT TOTAL_UNTRACKED_SENT TOTAL_SENT TOTAL_OPENS TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_DELIVERED DELIVERY_RATE UNIQUE_OPENS UNIQUE_REPLIES UNIQUE_TRACKED_LINK_CLICKS TOTAL_TRACKED_LINK_CLICKS TOTAL_REPLIES TOTAL_OUT_OF_OFFICE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMBEDDED_SERVICE_DETAIL

Table Preview(sample only)

ID DURABLE_ID SITE PRIMARY_COLOR SECONDARY_COLOR CONTRAST_PRIMARY_COLOR CONTRAST_INVERTED_COLOR NAV_BAR_COLOR NAV_BAR_TEXT_COLOR SECONDARY_NAV_BAR_COLOR FONT IS_LIVE_AGENT_ENABLED IS_FIELD_SERVICE_ENABLED WIDTH HEIGHT IS_PRECHAT_ENABLED CUSTOM_PRECHAT_COMPONENT AVATAR_IMG SMALL_COMPANY_LOGO_IMG PRECHAT_BACKGROUND_IMG WAITING_STATE_BACKGROUND_IMG FONT_SIZE OFFLINE_CASE_BACKGROUND_IMG IS_OFFLINE_CASE_ENABLED IS_QUEUE_POSITION_ENABLED SHOULD_SHOW_NEW_APPOINTMENT SHOULD_SHOW_EXISTING_APPOINTMENT FIELD_SERVICE_HOME_IMG FIELD_SERVICE_LOGO_IMG FIELD_SERVICE_CONFIRM_CARD_IMG SHOULD_HIDE_AUTH_DIALOG CUSTOM_MINIMIZED_COMPONENT _FIVETRAN_DELETED _FIVETRAN_SYNCED

EMBEDDED_SERVICE_LABEL

Table Preview(sample only)

ID DURABLE_ID EMBEDDED_SERVICE_CONFIG_DEVELOPER_NAME LABEL_KEY CUSTOM_LABEL_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

ENGAGEMENT_CHANNEL_TYPE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE CONTACT_POINT_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ENGAGEMENT_CHANNEL_TYPE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

ENGMT_CHANNEL_TYPE_SETTINGS

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SETTING_KEY ENGAGEMENT_CHANNEL_TYPE IS_SETTING_ENABLED _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT

Table Preview(sample only)

ID WHO_ID WHAT_ID WHO_COUNT WHAT_COUNT SUBJECT LOCATION IS_ALL_DAY_EVENT ACTIVITY_DATE_TIME ACTIVITY_DATE DURATION_IN_MINUTES START_DATE_TIME END_DATE_TIME END_DATE DESCRIPTION ACCOUNT_ID OWNER_ID IS_PRIVATE SHOW_AS IS_DELETED IS_CHILD IS_GROUP_EVENT GROUP_EVENT_TYPE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ARCHIVED RECURRENCE_ACTIVITY_ID IS_RECURRENCE RECURRENCE_START_DATE_TIME RECURRENCE_END_DATE_ONLY RECURRENCE_TIME_ZONE_SID_KEY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR REMINDER_DATE_TIME IS_REMINDER_SET EVENT_SUBTYPE IS_RECURRENCE_2_EXCLUSION RECURRENCE_2_PATTERN_TEXT RECURRENCE_2_PATTERN_VERSION IS_RECURRENCE_2 IS_RECURRENCE_2_EXCEPTION RECURRENCE_2_PATTERN_START_DATE RECURRENCE_2_PATTERN_TIME_ZONE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_BUS_SUBSCRIBER

Table Preview(sample only)

ID EXTERNAL_ID NAME TYPE TOPIC POSITION_ TIP RETRIES LAST_ERROR STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_RELATION

Table Preview(sample only)

ID RELATION_ID EVENT_ID IS_WHAT IS_PARENT IS_INVITEE ACCOUNT_ID STATUS RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_RELAY_CONFIG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EVENT_CHANNEL DESTINATION_RESOURCE_NAME STATE RELAY_OPTION USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_RELAY_FEEDBACK

Table Preview(sample only)

ID IS_DELETED EVENT_RELAY_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EVENT_RELAY_CONFIG_ID REMOTE_RESOURCE STATUS ERROR_MESSAGE ERROR_TIME ERROR_IDENTIFIER ERROR_CODE LAST_RELAYED_EVENT_TIME USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EVENT_WHO_RELATION

Table Preview(sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXPRESSION_SET_VIEW

Table Preview(sample only)

ID DURABLE_ID NAME DESCRIPTION NAMESPACE_PREFIX IS_TEMPLATE LAST_MODIFIED_BY LAST_MODIFIED_DATE EXPRESSION_SET_DETAILS IS_EXECUTABLE USAGE_TYPE HAS_CONTEXT_DEFINITION_REF _FIVETRAN_DELETED _FIVETRAN_SYNCED USAGE_TYPE_LABEL

EXTERNAL_DATA_SOURCE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE ENDPOINT REPOSITORY IS_WRITABLE PRINCIPAL_TYPE PROTOCOL AUTH_PROVIDER_ID LARGE_ICON_ID SMALL_ICON_ID CUSTOM_CONFIGURATION NAMED_CREDENTIAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_DATA_SRC_DESCRIPTOR

Table Preview(sample only)

ID IS_DELETED EXTERNAL_DATA_SOURCE_ID DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE SYSTEM_VERSION DESCRIPTOR_VERSION SUBTYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_DATA_USER_AUTH

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_DATA_SOURCE_ID USER_ID PROTOCOL USERNAME PASSWORD AUTH_PROVIDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_EVENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_ID TITLE LOCATION NOTES TIME_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_EVENT_MAPPING

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_ID EVENT_ID START_DATE END_DATE IS_RECURRING _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_EVENT_MAPPING_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXTERNAL_STRING

Table Preview(sample only)

ID NAME MASTER_LABEL VALUE_ IS_PROTECTED CATEGORY LANGUAGE_ NAMESPACE_PREFIX MANAGEABLE_STATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXT_DATA_SHARE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SHARE_STATUS LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE OBJECT_COUNT DATA_SPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXT_DATA_SHARE_TARGET

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SHARE_TARGET_STATUS LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE CONNECTION_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

EXT_DATA_SHARE_TARGET_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_DEFINITION_VIEW

Table Preview(sample only)

ID DURABLE_ID API_NAME LABEL DESCRIPTION PROCESS_TYPE TRIGGER_TYPE NAMESPACE_PREFIX ACTIVE_VERSION_ID LATEST_VERSION_ID LAST_MODIFIED_BY IS_ACTIVE IS_OUT_OF_DATE LAST_MODIFIED_DATE IS_TEMPLATE IS_OVERRIDABLE OVERRIDDEN_BY_ID SOURCE_TEMPLATE_ID OVERRIDDEN_FLOW_ID IS_SWING_FLOW BUILDER MANAGEABLE_STATE INSTALLED_PACKAGE_NAME TRIGGER_OBJECT_OR_EVENT_LABEL TRIGGER_OBJECT_OR_EVENT_ID RECORD_TRIGGER_TYPE HAS_ASYNC_AFTER_COMMIT_PATH VERSION_NUMBER TRIGGER_ORDER ENVIRONMENTS API_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_INTERVIEW

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CURRENT_ELEMENT INTERVIEW_LABEL PAUSE_LABEL GUID WAS_PAUSED_FROM_SCREEN FLOW_VERSION_VIEW_ID INTERVIEW_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_INTERVIEW_LOG

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_DEVELOPER_NAME FLOW_INTERVIEW_GUID FLOW_VERSION_NUMBER INTERVIEW_START_TIMESTAMP INTERVIEW_END_TIMESTAMP INTERVIEW_DURATION_IN_MINUTES INTERVIEW_STATUS FLOW_NAMESPACE FLOW_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_INTERVIEW_LOG_ENTRY

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_INTERVIEW_LOG_ID LOG_ENTRY_TYPE ELEMENT_API_NAME LOG_ENTRY_TIMESTAMP DURATION_SINCE_START_IN_MINUTES ELEMENT_DURATION_IN_MINUTES ELEMENT_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_INTERVIEW_LOG_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_INTERVIEW_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_RECORD

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_DEFINITION ASSOCIATED_RECORD_ID DESCRIPTION SEGMENT_ID TYPE PROGRESS_STATUS SCHEDULED_START_DATE ERROR_CODE ERROR_DETAILS FLOW_CATEGORY FLOW_SUBCATEGORY IS_PAUSED FLOW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED NAMESPACE_PREFIX IS_TEMPLATE IS_CITIZEN_ENABLED FLOW_LABEL TRIGGER_OBJECT_OR_EVENT_LABEL API_VERSION INSTALLED_PACKAGE_NAME SOURCE_TEMPLATE_ID IS_OVERRIDABLE OVERRIDDEN_BY_ID API_NAME OVERRIDDEN_FLOW_ID MANAGEABLE_STATE ACTIVE_VERSION_ID BUILDER START_SOURCE

FLOW_RECORD_ELEMENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_VERSION_ID ELEMENT_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_RECORD_RELATION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID RELATED_RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_RECORD_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_RECORD_VERSION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_ID VERSION_NUMBER ACTIVATED_BY_ID ACTIVATED_DATE PROGRESS_STATUS IS_PAUSED PAUSING_USER_ID PAUSED_DATE RESUMING_USER_ID RESUMED_DATE REASON_PAUSED SCHEDULED_START_DATE FLOW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED SOURCE_TEMPLATE_ID IS_TEMPLATE IS_OVERRIDABLE OVERRIDDEN_BY_ID OVERRIDDEN_FLOW_ID BUILDER DESCRIPTION RUN_IN_MODE TRIGGER_OBJECT_OR_EVENT_LABEL API_VERSION STATUS

FLOW_RECORD_VERSION_OCCURRENCE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_VERSION_ID FLOW_RECORD_ID SCHEDULED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_STAGE_RELATION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID STAGE_ORDER STAGE_TYPE STAGE_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_TEST_RESULT

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_VERSION_NUMBER RESULT FLOW_TEST_VIEW_ID FLOW_VERSION_VIEW_ID FLOW_DEFINITION_VIEW_ID TEST_START_DATE_TIME TEST_END_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

FLOW_TEST_RESULT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

FOLDER

Table Preview(sample only)

ID PARENT_ID NAME DEVELOPER_NAME ACCESS_TYPE IS_READONLY TYPE NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

FORMULA_FUNCTION

Table Preview(sample only)

ID DURABLE_ID NAME LABEL CATEGORY_ID DESCRIPTION EXAMPLE_STRING _FIVETRAN_DELETED _FIVETRAN_SYNCED

FORMULA_FUNCTION_ALLOWED_TYPE

Table Preview(sample only)

ID DURABLE_ID FUNCTION_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

FORMULA_FUNCTION_CATEGORY

Table Preview(sample only)

ID DURABLE_ID NAME LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

GOAL_ASSIGNMENT

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_RECORD_ID GOAL_DEFINITION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED TARGET_COMPLETION_PERCENTAGE TARGET

GOAL_ASSIGNMENT_RECOMMENDATION

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP GOAL_ASSIGNMENT_ID EXTERNAL_NAME ACTION_ ACTION_TYPE DESCRIPTION IMAGE_ID DOMAIN_ ACCEPTANCE_LABEL REJECTION_LABEL STATE EXTERNAL_STATE ICON_NAME SCORE ACTION_INFO _FIVETRAN_DELETED _FIVETRAN_SYNCED OUTPUT_ PARENT_RECOMMENDATION_ID CHANNEL_ID

GOAL_ASSIGNMENT_RECOMMENDATION_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

GOAL_ASSIGNMENT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

GOAL_DEFINITION

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_GOAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

GOAL_DEFINITION_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

GRANTED_BY_LICENSE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_ID CUSTOM_PERMISSION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

GROUP

Table Preview(sample only)

ID NAME DEVELOPER_NAME RELATED_ID TYPE EMAIL OWNER_ID DOES_SEND_EMAIL_TO_MEMBERS DOES_INCLUDE_BOSSES CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

GROUP_MEMBER

Table Preview(sample only)

ID GROUP_ID USER_OR_GROUP_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

GTWY_PROV_PAYMENT_METHOD_TYPE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE PAYMENT_GATEWAY_PROVIDER_ID COMMENTS PAYMENT_METHOD_TYPE GTWY_PROVIDER_PAYMENT_METHOD_TYPE RECORD_TYPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

HOLIDAY

Table Preview(sample only)

ID NAME DESCRIPTION IS_ALL_DAY ACTIVITY_DATE START_TIME_IN_MINUTES END_TIME_IN_MINUTES CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_RECURRENCE RECURRENCE_START_DATE RECURRENCE_END_DATE_ONLY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR _FIVETRAN_DELETED _FIVETRAN_SYNCED

IDENTITY_RESOLUTION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ERROR_MESSAGE ERROR_CODE STATUS LAST_RUN_STATUS LAST_RUN_STATUS_DATE_TIME SOURCE_COUNT MATCHED_COUNT UNIFIED_COUNT CONSOLIDATION_RATE IS_SCHEDULED TOTAL_ANONYMOUS_RECORDS TOTAL_NON_ANONYMOUS_RECORDS LAST_SUCCESSFUL_RUN_DATE_TIME ROOT_ENTITY_LABEL SUFFIX DATA_SPACE_ID STATUS_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

IDP_EVENT_LOG

Table Preview(sample only)

ID INITIATED_BY TIMESTAMP_ ERROR_CODE SAML_ENTITY_URL USER_ID AUTH_SESSION_ID SSO_TYPE APP_ID IDENTITY_USED OPTIONS_HAS_LOGOUT_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

IFRAME_WHITE_LIST_URL

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

IMAGE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE IMAGE_VIEW_TYPE IS_ACTIVE IMAGE_CLASS IMAGE_CLASS_OBJECT_TYPE CONTENT_DOCUMENT_ID CAPTURED_ANGLE TITLE ALTERNATE_TEXT URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

IMAGE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

INDIVIDUAL

Table Preview(sample only)

ID OWNER_ID IS_DELETED LAST_NAME FIRST_NAME SALUTATION NAME LAST_VIEWED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

INDIVIDUAL_SHARE

Table Preview(sample only)

ID INDIVIDUAL_ID USER_OR_GROUP_ID INDIVIDUAL_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

INSTALLED_MOBILE_APP

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP STATUS USER_ID CONNECTED_APPLICATION_ID VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

IPADDRESS_RANGE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IP_ADDRESS_FEATURE IP_ADDRESS_USAGE_SCOPE START_ADDRESS END_ADDRESS DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_ARTICLE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ARTICLE_NUMBER ARCHIVED_DATE ARCHIVED_BY_ID FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE CASE_ASSOCIATION_COUNT LAST_VIEWED_DATE LAST_REFERENCED_DATE MIGRATED_TO_FROM_ARTICLE IS_GENERATED_BY_LLM TOTAL_VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_ARTICLE_VERSION

Table Preview(sample only)

ID KNOWLEDGE_ARTICLE_ID OWNER_ID IS_DELETED VALIDATION_STATUS PUBLISH_STATUS VERSION_NUMBER IS_LATEST_VERSION IS_VISIBLE_IN_APP IS_VISIBLE_IN_PKB IS_VISIBLE_IN_CSP IS_VISIBLE_IN_PRM CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LANGUAGE_ TITLE URL_NAME ARCHIVED_DATE ARCHIVED_BY_ID SUMMARY NEXT_REVIEW_DATE LARGE_LANGUAGE_MODEL ARTICLE_NUMBER FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE ARTICLE_ARCHIVED_BY_ID ARTICLE_ARCHIVED_DATE ARTICLE_CASE_ATTACH_COUNT ARTICLE_CREATED_BY_ID ARTICLE_CREATED_DATE ARTICLE_MASTER_LANGUAGE ARTICLE_TOTAL_VIEW_COUNT SOURCE_ID ASSIGNED_TO_ID ASSIGNED_BY_ID ASSIGNMENT_DATE ASSIGNMENT_DUE_DATE ASSIGNMENT_NOTE MIGRATED_TO_FROM_ARTICLE_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_DATA_CATEGORY_SELECTION

Table Preview(sample only)

ID PARENT_ID DATA_CATEGORY_GROUP_NAME DATA_CATEGORY_NAME CREATED_DATE CREATED_BY_ID IS_DELETED SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_KA

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ARTICLE_NUMBER ARCHIVED_DATE ARCHIVED_BY_ID FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE CASE_ASSOCIATION_COUNT LAST_VIEWED_DATE LAST_REFERENCED_DATE MIGRATED_TO_FROM_ARTICLE IS_GENERATED_BY_LLM TOTAL_VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_KAV

Table Preview(sample only)

ID KNOWLEDGE_ARTICLE_ID OWNER_ID IS_DELETED VALIDATION_STATUS PUBLISH_STATUS VERSION_NUMBER IS_LATEST_VERSION IS_VISIBLE_IN_APP IS_VISIBLE_IN_PKB IS_VISIBLE_IN_CSP IS_VISIBLE_IN_PRM CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LANGUAGE_ TITLE URL_NAME ARCHIVED_DATE ARCHIVED_BY_ID SUMMARY NEXT_REVIEW_DATE LARGE_LANGUAGE_MODEL ARTICLE_NUMBER FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE ARTICLE_ARCHIVED_BY_ID ARTICLE_ARCHIVED_DATE ARTICLE_CASE_ATTACH_COUNT ARTICLE_CREATED_BY_ID ARTICLE_CREATED_DATE ARTICLE_MASTER_LANGUAGE ARTICLE_TOTAL_VIEW_COUNT SOURCE_ID ASSIGNED_TO_ID ASSIGNED_BY_ID ASSIGNMENT_DATE ASSIGNMENT_DUE_DATE ASSIGNMENT_NOTE MIGRATED_TO_FROM_ARTICLE_VERSION ARTICLE_BODY_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

KNOWLEDGE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

LEAD

Table Preview(sample only)

ID IS_DELETED MASTER_RECORD_ID LAST_NAME FIRST_NAME SALUTATION NAME TITLE COMPANY STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY PHONE EMAIL WEBSITE PHOTO_URL DESCRIPTION LEAD_SOURCE STATUS INDUSTRY RATING ANNUAL_REVENUE NUMBER_OF_EMPLOYEES OWNER_ID HAS_OPTED_OUT_OF_EMAIL IS_CONVERTED CONVERTED_DATE CONVERTED_ACCOUNT_ID CONVERTED_CONTACT_ID CONVERTED_OPPORTUNITY_ID IS_UNREAD_BY_OWNER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE JIGSAW JIGSAW_CONTACT_ID EMAIL_BOUNCED_REASON EMAIL_BOUNCED_DATE INDIVIDUAL_ID ACTION_CADENCE_ID ACTION_CADENCE_ASSIGNEE_ID ACTION_CADENCE_STATE SCHEDULED_RESUME_DATE_TIME ACTIVE_TRACKER_COUNT FIRST_CALL_DATE_TIME FIRST_EMAIL_DATE_TIME ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

LEAD_STATUS

Table Preview(sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CONVERTED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

LEAD_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIGHTNING_EXPERIENCE_THEME

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEFAULT_BRANDING_SET_ID SHOULD_OVERRIDE_LOADING_IMAGE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIGHTNING_ONBOARDING_CONFIG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_QUESTION FEEDBACK_FORM_DAYS_FREQUENCY SEND_FEEDBACK_TO_SALESFORCE IS_CUSTOM PROMPT_DELAY_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

LINKED_ARTICLE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP KNOWLEDGE_ARTICLE_VERSION_ID KNOWLEDGE_ARTICLE_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_EMAIL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE SUBJECT HTML_BODY TEXT_BODY FROM_NAME FROM_ADDRESS STATUS HAS_ATTACHMENT SCHEDULED_DATE TOTAL_SENT TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_OPENS UNIQUE_OPENS TOTAL_TRACKED_LINK_CLICKS UNIQUE_TRACKED_LINK_CLICKS CAMPAIGN_ID IS_TRACKED EMAIL_CONTENT_ID UNIQUE_REPLIES TOTAL_REPLIES TOTAL_OUT_OF_OFFICE ACTION_CADENCE_STEP_ID PRE_HEADER MESSAGE_PURPOSE IS_OPEN_TRACKING_ENABLED IS_CLICK_TRACKING_ENABLED MANAGED_CONTENT_ID FLOW_RECORD_ELEMENT_ID SEGMENT_ID RELATED_TO_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_EMAIL_INDIVIDUAL_RECIPIENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LIST_EMAIL_ID RECIPIENT_ID ACTION_CADENCE_STEP_TRACKER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_EMAIL_RECIPIENT_SOURCE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LIST_EMAIL_ID SOURCE_LIST_ID SOURCE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_EMAIL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_VIEW

Table Preview(sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX SOBJECT_TYPE IS_SOQL_COMPATIBLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

LIST_VIEW_CHART

Table Preview(sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OWNER_ID CHART_TYPE GROUPING_FIELD AGGREGATE_FIELD AGGREGATE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

LOGIN_GEO

Table Preview(sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE IS_DELETED SYSTEM_MODSTAMP LOGIN_TIME COUNTRY_ISO COUNTRY LATITUDE LONGITUDE CITY POSTAL_CODE SUBDIVISION _FIVETRAN_DELETED _FIVETRAN_SYNCED

LOGIN_IP

Table Preview(sample only)

ID USERS_ID SOURCE_IP CREATED_DATE IS_AUTHENTICATED CHALLENGE_SENT_DATE CHALLENGE_METHOD _FIVETRAN_DELETED _FIVETRAN_SYNCED

MAILMERGE_TEMPLATE

Table Preview(sample only)

ID IS_DELETED NAME DESCRIPTION FILENAME BODY_LENGTH LAST_USED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SECURITY_OPTIONS_ATTACHMENT_SCANNED_FOR_XSS SECURITY_OPTIONS_ATTACHMENT_HAS_XSSTHREAT SECURITY_OPTIONS_ATTACHMENT_SCANNEDFOR_FLASH SECURITY_OPTIONS_ATTACHMENT_HAS_FLASH _FIVETRAN_DELETED _FIVETRAN_SYNCED

MANAGED_CONTENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRIMARY_LANGUAGE CONTENT_KEY AUTHORED_MANAGED_CONTENT_SPACE_ID EXTERNAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

MANAGED_CONTENT_CHANNEL

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE OPTIONS_IS_SEARCHABLE OPTIONS_IS_CACHE_CONTROL_PUBLIC OPTIONS_IS_DOMAIN_LOCKED DOMAIN_ DOMAIN_HOST_NAME CACHE_CONTROL_MAX_AGE MEDIA_CACHE_CONTROL_MAX_AGE _FIVETRAN_DELETED _FIVETRAN_SYNCED

MANAGED_CONTENT_SPACE

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION DEFAULT_LANGUAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED API_NAME

MANAGED_CONTENT_VARIANT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VARIANT_TYPE LANGUAGE_ URL_NAME MANAGED_CONTENT_ID IS_READY MANAGED_CONTENT_KEY MANAGED_CONTENT_VARIANT_STATUS HAS_LOCKS _FIVETRAN_DELETED _FIVETRAN_SYNCED

MARKET_SEGMENT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION INCLUDE_CRITERIA EXCLUDE_CRITERIA PUBLISH_SCHEDULE_INTERVAL PUBLISH_SCHEDULE_START_DATE_TIME PUBLISH_SCHEDULE_END_DATE LAST_PUBLISHED_END_DATE_TIME NEXT_PUBLISH_DATE_TIME SEGMENT_STATUS LAST_SEGMENT_STATUS_DATE_TIME LAST_SEGMENT_STATUS_ERROR_CODE LAST_SEGMENT_MEMBER_COUNT LAST_SEGMENT_REMAINDER_COUNT LAST_SEGMENT_EXCLUDED_COUNT PUBLISH_STATUS LAST_PUBLISH_STATUS_DATE_TIME LAST_PUBLISH_STATUS_ERROR_CODE LAST_SEGMENT_STATUS_ERROR_DETAILS DATA_SPACE_ID SEGMENT_MEMBERSHIP_DATA_MODEL_LIST MARKET_SEGMENT_TYPE SEED_MODEL_STATUS LAST_SEED_MODEL_STATUS_DATE_TIME LAST_SEED_MODEL_STATUS_ERROR_CODE LAST_SEED_MODEL_RUN_DATE_TIME LAST_SEGMENT_TOTAL_COUNT LAST_SEGMENT_INCLUDED_COUNT PUBLISH_TYPE SEGMENT_MEMBERSHIP_TABLE IS_SEED_SEGMENT SEED_SIMILARITY_HIGH_TO_MEDIUM SEED_SIMILARITY_MEDIUM_TO_LOW SEED_SIMILARITY LAST_SEGMENT_COUNT_END_DATE_TIME DATA_GRAPH_ID PUBLISH_SCHEDULE_END_DATE_TIME LAST_SEGMENT_MEMBER_COUNT_ERROR LAST_SEGMENT_EXCLUDED_COUNT_ERROR _FIVETRAN_DELETED _FIVETRAN_SYNCED IS_PREV_SAVE_APPROX_COUNT IS_CURRENT_SAVE_APPROX_COUNT

MARKET_SEGMENT_DEF_MAPPING

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

MATCHING_INFORMATION

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EMAIL_ADDRESS EXTERNAL_ID SFDCID_ID IS_PICKED_AS_PREFERRED USER_ID PREFERENCE_USED _FIVETRAN_DELETED _FIVETRAN_SYNCED

MATCHING_RULE

Table Preview(sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MATCH_ENGINE BOOLEAN_FILTER DESCRIPTION RULE_STATUS SOBJECT_SUBTYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

MATCHING_RULE_ITEM

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MATCHING_RULE_ID SORT_ORDER FIELD MATCHING_METHOD BLANK_VALUE_BEHAVIOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

MERCHANT_ACCOUNT

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE MODE STATUS ACCOUNT_DESCRIPTION PAYMENT_STATUS PAYOUT_STATUS COUNTRY_ISO_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED DEFAULT_TAP_TO_PAY_LOCATION

MERCHANT_ACCOUNT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

MERCH_ACC_PAYMENT_METHOD_SET

Table Preview(sample only)

ID IS_DELETED PAYMENT_METHOD_SET_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MERCHANT_ACCOUNT_ID DEVELOPER_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

MERCH_ACC_PAYMENT_METHOD_TYPE

Table Preview(sample only)

ID IS_DELETED PAYMENT_METHOD_SET_TYPE_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PAYMENT_METHOD_SET_ID PAYMENT_INSTRUMENT_TYPE SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_CALCULATED_INSIGHT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE CALCULATED_INSIGHT_STATUS LAST_CALC_INSIGHT_STATUS_ERROR_CODE LAST_CALC_INSIGHT_STATUS_DATE_TIME LAST_RUN_STATUS LAST_RUN_STATUS_ERROR_CODE LAST_RUN_STATUS_DATE_TIME LAST_RUN_DATE_TIME DATA_SPACE_ID EXTERNAL_ERROR_PROPERTIES _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_DATA_LAKE_MAPPING

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TARGET_OBJECT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_DATA_TRANSFORM

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_TRANSFORM_STATUS LAST_RUN_STATUS LAST_RUN_TIME LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE CREATION_TYPE TYPE TARGET_OBJECT DATA_SPACE_ID DATA_TRANSFORM_STATUS_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_DATA_TRANSFORM_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_MLMODEL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ML_MODEL_API_NAME OFF_CORE_SYNC_STATUS DEPLOY_STATUS LAST_RUN_STATUS LAST_REFRESH_DATE LAST_PROCESSED_RECORDS AGGREGATED_STATUS SCORING_MODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_MLMODEL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_MLPREDICTION_JOB

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE ACTIVATION_STATUS LAST_RUN_DATE DURATION LAST_RUN_STATUS LAST_PROCESSED_RECORDS SCORE_UPDATED OFF_CORE_SYNC_STATUS DATA_SPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_SGMT_DEF_CALC_INSIGHT_FLD

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

MKT_SGMT_DEF_DATA_MDL_OBJ_FLD

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

MOBILE_APPLICATION_DETAIL

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VERSION DEVICE_PLATFORM MINIMUM_OS_VERSION DEVICE_TYPE APPLICATION_FILE_LENGTH APPLICATION_ICON IS_ENTERPRISE_APP APP_INSTALL_URL APPLICATION_BUNDLE_IDENTIFIER APPLICATION_BINARY_FILE_NAME APPLICATION_ICON_FILE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

MUTING_PERMISSION_SET

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

MY_DOMAIN_DISCOVERABLE_LOGIN

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXECUTE_APEX_HANDLER_AS_ID USERNAME_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

NAMED_CREDENTIAL

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ENDPOINT PRINCIPAL_TYPE CALLOUT_OPTIONS_GENERATE_AUTHORIZATION_HEADER CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_HEADER CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_BODY AUTH_PROVIDER_ID JWT_ISSUER JWT_FORMULA_SUBJECT JWT_TEXT_SUBJECT JWT_VALIDITY_PERIOD_SECONDS JWT_AUDIENCE AUTH_TOKEN_ENDPOINT_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

NOTE

Table Preview(sample only)

ID IS_DELETED PARENT_ID TITLE IS_PRIVATE BODY OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

NOTE_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

OAUTH_CUSTOM_SCOPE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_PUBLIC _FIVETRAN_DELETED _FIVETRAN_SYNCED NAMESPACE_PREFIX

OAUTH_CUSTOM_SCOPE_APP

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OAUTH_CUSTOM_SCOPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OAUTH_TOKEN

Table Preview(sample only)

ID ACCESS_TOKEN USER_ID REQUEST_TOKEN CREATED_DATE APP_NAME LAST_USED_DATE USE_COUNT DELETE_TOKEN APP_MENU_ITEM_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OAUTH_TOKEN_EXCHANGE_HANDLER

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_ENABLED SUPPORTED_TOKEN_TYPES_ACCESS_TOKEN SUPPORTED_TOKEN_TYPES_REFRESH_TOKEN SUPPORTED_TOKEN_TYPES_ID_TOKEN SUPPORTED_TOKEN_TYPES_SAML_2 SUPPORTED_TOKEN_TYPES_JWT IS_USER_CREATION_ALLOWED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OAUTH_TOKEN_EXCH_HANDLER_APP

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OAUTH_TOKEN_EXCHANGE_HANDLER_ID IS_DEFAULT APEX_EXECUTION_USER_ID CONNECTED_APPLICATION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OBJECT_DATA_IMPORT

Table Preview(sample only)

ID OWNER_ID IS_DELETED OBJECT_DATA_IMPORT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE PRIMARY_OBJECT STATUS RESULT END_DATE FILE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

OBJECT_DATA_IMPORT_REFERENCE

Table Preview(sample only)

ID IS_DELETED OBJECT_DATA_IMPORT_REFERENCE_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OBJECT_DATA_IMPORT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OBJECT_DATA_IMPORT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OBJECT_PERMISSIONS

Table Preview(sample only)

ID PARENT_ID SOBJECT_TYPE PERMISSIONS_CREATE PERMISSIONS_READ PERMISSIONS_EDIT PERMISSIONS_DELETE PERMISSIONS_VIEW_ALL_RECORDS PERMISSIONS_MODIFY_ALL_RECORDS CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPERATING_HOURS

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION TIME_ZONE OPERATING_HOURS_ROW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPERATING_HOURS_HOLIDAY

Table Preview(sample only)

ID IS_DELETED OPERATING_HOURS_HOLIDAY_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE OPERATING_HOURS_ID HOLIDAY_ID DATE_AND_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPERATING_HOURS_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY

Table Preview(sample only)

ID IS_DELETED ACCOUNT_ID NAME DESCRIPTION STAGE_NAME AMOUNT PROBABILITY CLOSE_DATE TYPE NEXT_STEP LEAD_SOURCE IS_CLOSED IS_WON FORECAST_CATEGORY FORECAST_CATEGORY_NAME HAS_OPPORTUNITY_LINE_ITEM PRICEBOOK_2_ID OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE PUSH_COUNT LAST_STAGE_CHANGE_DATE FISCAL_QUARTER FISCAL_YEAR FISCAL CONTACT_ID LAST_VIEWED_DATE LAST_REFERENCED_DATE HAS_OPEN_ACTIVITY HAS_OVERDUE_TASK LAST_AMOUNT_CHANGED_HISTORY_ID LAST_CLOSE_DATE_CHANGED_HISTORY_ID ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_COMPETITOR

Table Preview(sample only)

ID OPPORTUNITY_ID COMPETITOR_NAME STRENGTHS WEAKNESSES CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_CONTACT_ROLE

Table Preview(sample only)

ID OPPORTUNITY_ID CONTACT_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_LINE_ITEM

Table Preview(sample only)

ID OPPORTUNITY_ID SORT_ORDER PRICEBOOK_ENTRY_ID PRODUCT_2_ID PRODUCT_CODE NAME QUANTITY TOTAL_PRICE UNIT_PRICE LIST_PRICE SERVICE_DATE DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_PARTNER

Table Preview(sample only)

ID OPPORTUNITY_ID ACCOUNT_TO_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_SHARE

Table Preview(sample only)

ID OPPORTUNITY_ID USER_OR_GROUP_ID OPPORTUNITY_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_STAGE

Table Preview(sample only)

ID MASTER_LABEL API_NAME IS_ACTIVE SORT_ORDER IS_CLOSED IS_WON FORECAST_CATEGORY FORECAST_CATEGORY_NAME DEFAULT_PROBABILITY DESCRIPTION CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

OPPORTUNITY_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

ORGANIZATION

Table Preview(sample only)

ID NAME DIVISION STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY PHONE FAX PRIMARY_CONTACT DEFAULT_LOCALE_SID_KEY TIME_ZONE_SID_KEY LANGUAGE_LOCALE_KEY RECEIVES_INFO_EMAILS RECEIVES_ADMIN_INFO_EMAILS PREFERENCES_REQUIRE_OPPORTUNITY_PRODUCTS PREFERENCES_CONSENT_MANAGEMENT_ENABLED PREFERENCES_AUTO_SELECT_INDIVIDUAL_ON_MERGE PREFERENCES_LIGHTNING_LOGIN_ENABLED PREFERENCES_ONLY_LLPERM_USER_ALLOWED FISCAL_YEAR_START_MONTH USES_START_DATE_AS_FISCAL_YEAR_NAME DEFAULT_ACCOUNT_ACCESS DEFAULT_CONTACT_ACCESS DEFAULT_OPPORTUNITY_ACCESS DEFAULT_LEAD_ACCESS DEFAULT_CASE_ACCESS DEFAULT_CALENDAR_ACCESS DEFAULT_PRICEBOOK_ACCESS DEFAULT_CAMPAIGN_ACCESS DELEGATED_AUTHENTICATION_SERVICE_URL SYSTEM_MODSTAMP COMPLIANCE_BCC_EMAIL UI_SKIN SIGNUP_COUNTRY_ISO_CODE TRIAL_EXPIRATION_DATE NUM_KNOWLEDGE_SERVICE ORGANIZATION_TYPE NAMESPACE_PREFIX INSTANCE_NAME IS_SANDBOX WEB_TO_CASE_DEFAULT_ORIGIN MONTHLY_PAGE_VIEWS_USED MONTHLY_PAGE_VIEWS_ENTITLEMENT IS_READ_ONLY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

ORG_EMAIL_ADDRESS_SECURITY

Table Preview(sample only)

ID PARENT_ID ORG_WIDE_EMAIL_ADDRESS_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

ORG_WIDE_EMAIL_ADDRESS

Table Preview(sample only)

ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_VERIFIED ADDRESS DISPLAY_NAME IS_ALLOW_ALL_PROFILES PURPOSE _FIVETRAN_DELETED _FIVETRAN_SYNCED

PACKAGE_LICENSE

Table Preview(sample only)

ID STATUS IS_PROVISIONED ALLOWED_LICENSES USED_LICENSES IS_AVAILABLE_FOR_INTEGRATIONS EXPIRATION_DATE CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

PARTNER

Table Preview(sample only)

ID OPPORTUNITY_ID ACCOUNT_FROM_ID ACCOUNT_TO_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PARTNER_ROLE

Table Preview(sample only)

ID MASTER_LABEL API_NAME SORT_ORDER REVERSE_ROLE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT

Table Preview(sample only)

ID IS_DELETED PAYMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GROUP_ID ACCOUNT_ID PAYMENT_AUTHORIZATION_ID DATE_ CANCELLATION_DATE AMOUNT STATUS TYPE PROCESSING_MODE GATEWAY_REF_NUMBER CLIENT_CONTEXT GATEWAY_RESULT_CODE SF_RESULT_CODE GATEWAY_DATE CANCELLATION_GATEWAY_REF_NUMBER CANCELLATION_GATEWAY_RESULT_CODE CANCELLATION_SF_RESULT_CODE CANCELLATION_GATEWAY_DATE COMMENTS EFFECTIVE_DATE CANCELLATION_EFFECTIVE_DATE GATEWAY_RESULT_CODE_DESCRIPTION GATEWAY_REF_DETAILS IP_ADDRESS MAC_ADDRESS PHONE EMAIL PAYMENT_GATEWAY_ID PAYMENT_METHOD_ID TOTAL_APPLIED TOTAL_UNAPPLIED NET_APPLIED BALANCE PAYMENT_INTENT_GUID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_AUTHORIZATION

Table Preview(sample only)

ID IS_DELETED PAYMENT_AUTHORIZATION_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GROUP_ID ACCOUNT_ID DATE_ GATEWAY_DATE EXPIRATION_DATE EFFECTIVE_DATE AMOUNT STATUS PROCESSING_MODE PAYMENT_METHOD_ID COMMENTS GATEWAY_REF_DETAILS GATEWAY_REF_NUMBER GATEWAY_RESULT_CODE SF_RESULT_CODE GATEWAY_AUTH_CODE GATEWAY_RESULT_CODE_DESCRIPTION BALANCE TOTAL_PAYMENT_CAPTURE_AMOUNT IP_ADDRESS MAC_ADDRESS PHONE EMAIL PAYMENT_GATEWAY_ID PAYMENT_INTENT_GUID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_AUTH_ADJUSTMENT

Table Preview(sample only)

ID IS_DELETED PAYMENT_AUTH_ADJUSTMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_AUTHORIZATION_ID PROCESSING_MODE AMOUNT STATUS TYPE DATE_ GATEWAY_DATE EFFECTIVE_DATE COMMENTS GATEWAY_REF_NUMBER GATEWAY_RESULT_CODE SF_RESULT_CODE ACCOUNT_ID GATEWAY_REF_DETAILS GATEWAY_RESULT_CODE_DESCRIPTION IP_ADDRESS MAC_ADDRESS PHONE EMAIL _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_GATEWAY

Table Preview(sample only)

ID IS_DELETED PAYMENT_GATEWAY_NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_PROVIDER_ID MERCHANT_CREDENTIAL_ID STATUS COMMENTS EXTERNAL_REFERENCE MERCHANT_ACCOUNT_ID PAYMENT_PROCESSOR PROVIDER_ACCOUNT PAYMENT_STATUS PAYOUT_STATUS GATEWAY_MODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_GATEWAY_LOG

Table Preview(sample only)

ID IS_DELETED PAYMENT_GATEWAY_LOG_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE REFERENCED_ENTITY_ID INTERACTION_TYPE SF_REF_NUMBER INTERACTION_STATUS GATEWAY_AUTH_CODE GATEWAY_REF_NUMBER SF_RESULT_CODE GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION GATEWAY_DATE GATEWAY_MESSAGE GATEWAY_AVS_CODE PAYMENT_GATEWAY_ID IS_NOTIFICATION REQUEST RESPONSE _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_GATEWAY_PROVIDER

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE COMMENTS IDEMPOTENCY_SUPPORTED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_GROUP

Table Preview(sample only)

ID IS_DELETED PAYMENT_GROUP_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PAYMENT_METHOD

Table Preview(sample only)

ID IMPLEMENTOR_TYPE ACCOUNT_ID NICK_NAME COMPANY_NAME STATUS COMMENTS IS_AUTO_PAY_ENABLED PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP IS_DELETED NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERIOD

Table Preview(sample only)

ID FISCAL_YEAR_SETTINGS_ID TYPE START_DATE END_DATE SYSTEM_MODSTAMP IS_FORECAST_PERIOD QUARTER_LABEL PERIOD_LABEL NUMBER FULLY_QUALIFIED_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERMISSION_SET

Table Preview(sample only)

ID NAME LABEL LICENSE_ID PROFILE_ID IS_OWNED_BY_PROFILE IS_CUSTOM PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAMESPACE_PREFIX HAS_ACTIVATION_REQUIRED PERMISSION_SET_GROUP_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

PERMISSION_SET_ASSIGNMENT

Table Preview(sample only)

ID PERMISSION_SET_ID PERMISSION_SET_GROUP_ID ASSIGNEE_ID SYSTEM_MODSTAMP EXPIRATION_DATE IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERMISSION_SET_GROUP

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION STATUS HAS_ACTIVATION_REQUIRED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERMISSION_SET_GROUP_COMPONENT

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_GROUP_ID PERMISSION_SET_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERMISSION_SET_LICENSE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_KEY TOTAL_LICENSES STATUS EXPIRATION_DATE MAXIMUM_PERMISSIONS_EMAIL_SINGLE MAXIMUM_PERMISSIONS_EMAIL_MASS MAXIMUM_PERMISSIONS_EDIT_TASK MAXIMUM_PERMISSIONS_EDIT_EVENT MAXIMUM_PERMISSIONS_EXPORT_REPORT MAXIMUM_PERMISSIONS_IMPORT_PERSONAL MAXIMUM_PERMISSIONS_DATA_EXPORT MAXIMUM_PERMISSIONS_MANAGE_USERS MAXIMUM_PERMISSIONS_EDIT_PUBLIC_FILTERS MAXIMUM_PERMISSIONS_EDIT_PUBLIC_TEMPLATES MAXIMUM_PERMISSIONS_MODIFY_ALL_DATA MAXIMUM_PERMISSIONS_EDIT_BILLING_INFO MAXIMUM_PERMISSIONS_MANAGE_CASES MAXIMUM_PERMISSIONS_MASS_INLINE_EDIT MAXIMUM_PERMISSIONS_EDIT_KNOWLEDGE MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE MAXIMUM_PERMISSIONS_TAG_MANAGER MAXIMUM_PERMISSIONS_CUSTOMIZE_APPLICATION MAXIMUM_PERMISSIONS_EDIT_READONLY_FIELDS MAXIMUM_PERMISSIONS_RUN_REPORTS MAXIMUM_PERMISSIONS_VIEW_SETUP MAXIMUM_PERMISSIONS_TRANSFER_ANY_ENTITY MAXIMUM_PERMISSIONS_NEW_REPORT_BUILDER MAXIMUM_PERMISSIONS_IMPORT_LEADS MAXIMUM_PERMISSIONS_MANAGE_LEADS MAXIMUM_PERMISSIONS_TRANSFER_ANY_LEAD MAXIMUM_PERMISSIONS_VIEW_ALL_DATA MAXIMUM_PERMISSIONS_EDIT_PUBLIC_DOCUMENTS MAXIMUM_PERMISSIONS_VIEW_ENCRYPTED_DATA MAXIMUM_PERMISSIONS_EDIT_BRAND_TEMPLATES MAXIMUM_PERMISSIONS_EDIT_HTML_TEMPLATES MAXIMUM_PERMISSIONS_SEND_SIT_REQUESTS MAXIMUM_PERMISSIONS_MANAGE_REMOTE_ACCESS MAXIMUM_PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER MAXIMUM_PERMISSIONS_CONVERT_LEADS MAXIMUM_PERMISSIONS_PASSWORD_NEVER_EXPIRES MAXIMUM_PERMISSIONS_INSTALL_PACKAGING MAXIMUM_PERMISSIONS_PUBLISH_PACKAGING MAXIMUM_PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE MAXIMUM_PERMISSIONS_CREATE_PACKAGING MAXIMUM_PERMISSIONS_MANAGE_CALL_CENTERS MAXIMUM_PERMISSIONS_MANAGE_SYNONYMS MAXIMUM_PERMISSIONS_VIEW_CONTENT MAXIMUM_PERMISSIONS_IS_SSO_ENABLED MAXIMUM_PERMISSIONS_MANAGE_DATA_INTEGRATIONS MAXIMUM_PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP MAXIMUM_PERMISSIONS_VIEW_DATA_CATEGORIES MAXIMUM_PERMISSIONS_MANAGE_DATA_CATEGORIES MAXIMUM_PERMISSIONS_MANAGE_MOBILE MAXIMUM_PERMISSIONS_API_ENABLED MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES MAXIMUM_PERMISSIONS_EDIT_CASE_COMMENTS MAXIMUM_PERMISSIONS_TRANSFER_ANY_CASE MAXIMUM_PERMISSIONS_CONTENT_ADMINISTRATOR MAXIMUM_PERMISSIONS_CREATE_WORKSPACES MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PERMISSIONS MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PROPERTIES MAXIMUM_PERMISSIONS_MANAGE_CONTENT_TYPES MAXIMUM_PERMISSIONS_MANAGE_EXCHANGE_CONFIG MAXIMUM_PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS MAXIMUM_PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS MAXIMUM_PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES MAXIMUM_PERMISSIONS_MANAGE_INTERACTION MAXIMUM_PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS MAXIMUM_PERMISSIONS_RESET_PASSWORDS MAXIMUM_PERMISSIONS_FLOW_UFLREQUIRED MAXIMUM_PERMISSIONS_ACTIVITIES_ACCESS MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT MAXIMUM_PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT MAXIMUM_PERMISSIONS_EMAIL_ADMINISTRATION MAXIMUM_PERMISSIONS_ALLOW_EMAIL_IC MAXIMUM_PERMISSIONS_CHATTER_FILE_LINK MAXIMUM_PERMISSIONS_FORCE_TWO_FACTOR MAXIMUM_PERMISSIONS_MANAGE_NETWORKS MAXIMUM_PERMISSIONS_MANAGE_AUTH_PROVIDERS MAXIMUM_PERMISSIONS_RUN_FLOW MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS MAXIMUM_PERMISSIONS_CREATE_DASHBOARD_FOLDERS MAXIMUM_PERMISSIONS_VIEW_PUBLIC_DASHBOARDS MAXIMUM_PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_REPORTS MAXIMUM_PERMISSIONS_CREATE_REPORT_FOLDERS MAXIMUM_PERMISSIONS_VIEW_PUBLIC_REPORTS MAXIMUM_PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS MAXIMUM_PERMISSIONS_EDIT_MY_DASHBOARDS MAXIMUM_PERMISSIONS_EDIT_MY_REPORTS MAXIMUM_PERMISSIONS_VIEW_ALL_USERS MAXIMUM_PERMISSIONS_ALLOW_UNIVERSAL_SEARCH MAXIMUM_PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_FILTERS MAXIMUM_PERMISSIONS_CONTENT_HUB_USER MAXIMUM_PERMISSIONS_GOVERN_NETWORKS MAXIMUM_PERMISSIONS_TWO_FACTOR_API MAXIMUM_PERMISSIONS_DELETE_TOPICS MAXIMUM_PERMISSIONS_EDIT_TOPICS MAXIMUM_PERMISSIONS_CREATE_TOPICS MAXIMUM_PERMISSIONS_ASSIGN_TOPICS MAXIMUM_PERMISSIONS_IDENTITY_ENABLED MAXIMUM_PERMISSIONS_IDENTITY_CONNECT MAXIMUM_PERMISSIONS_ALLOW_VIEW_KNOWLEDGE MAXIMUM_PERMISSIONS_CONTENT_WORKSPACES MAXIMUM_PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES MAXIMUM_PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS MAXIMUM_PERMISSIONS_VIEW_HELP_LINK MAXIMUM_PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS MAXIMUM_PERMISSIONS_ASSIGN_PERMISSION_SETS MAXIMUM_PERMISSIONS_MANAGE_ROLES MAXIMUM_PERMISSIONS_MANAGE_IP_ADDRESSES MAXIMUM_PERMISSIONS_MANAGE_SHARING MAXIMUM_PERMISSIONS_MANAGE_INTERNAL_USERS MAXIMUM_PERMISSIONS_MANAGE_PASSWORD_POLICIES MAXIMUM_PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES MAXIMUM_PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE MAXIMUM_PERMISSIONS_MANAGE_TWO_FACTOR MAXIMUM_PERMISSIONS_INSIGHTS_APP_USER MAXIMUM_PERMISSIONS_INSIGHTS_APP_ELT_EDITOR MAXIMUM_PERMISSIONS_INSIGHTS_APP_UPLOAD_USER MAXIMUM_PERMISSIONS_INSIGHTS_CREATE_APPLICATION MAXIMUM_PERMISSIONS_LIGHTNING_EXPERIENCE_USER MAXIMUM_PERMISSIONS_SHARE_INTERNAL_ARTICLES MAXIMUM_PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS MAXIMUM_PERMISSIONS_MANAGE_TEMPLATED_APP MAXIMUM_PERMISSIONS_USE_TEMPLATED_APP MAXIMUM_PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE MAXIMUM_PERMISSIONS_IMPORT_CUSTOM_OBJECTS MAXIMUM_PERMISSIONS_SALESFORCE_IQINBOX MAXIMUM_PERMISSIONS_DELEGATED_TWO_FACTOR MAXIMUM_PERMISSIONS_SELECT_FILES_FROM_SALESFORCE MAXIMUM_PERMISSIONS_MODERATE_NETWORK_USERS MAXIMUM_PERMISSIONS_MERGE_TOPICS MAXIMUM_PERMISSIONS_EDIT_IQFIELDS MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS MAXIMUM_PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS MAXIMUM_PERMISSIONS_ALLOW_LIGHTNING_LOGIN MAXIMUM_PERMISSIONS_VIEW_DATA_ASSESSMENT MAXIMUM_PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS MAXIMUM_PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE MAXIMUM_PERMISSIONS_ACCESS_CMC MAXIMUM_PERMISSIONS_ARCHIVE_ARTICLES MAXIMUM_PERMISSIONS_PUBLISH_ARTICLES MAXIMUM_PERMISSIONS_VIEW_HEALTH_CHECK MAXIMUM_PERMISSIONS_MANAGE_HEALTH_CHECK MAXIMUM_PERMISSIONS_PACKAGING_2 MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES MAXIMUM_PERMISSIONS_CREATE_REPORT_IN_LIGHTNING MAXIMUM_PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE MAXIMUM_PERMISSIONS_SUBMIT_FOR_TRANSLATION MAXIMUM_PERMISSIONS_EDIT_TRANSLATION MAXIMUM_PERMISSIONS_PUBLISH_TRANSLATION MAXIMUM_PERMISSIONS_LIST_EMAIL_SEND MAXIMUM_PERMISSIONS_CHANGE_DASHBOARD_COLORS MAXIMUM_PERMISSIONS_HIGH_VELOCITY_SALES_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS MAXIMUM_PERMISSIONS_USE_WEB_LINK MAXIMUM_PERMISSIONS_EDIT_ASEFIELDS MAXIMUM_PERMISSIONS_VIEW_ALL_ACTIVITIES MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS MAXIMUM_PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB MAXIMUM_PERMISSIONS_TRANSACTIONAL_EMAIL_SEND MAXIMUM_PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_FOLDER MAXIMUM_PERMISSIONS_APEX_REST_SERVICES MAXIMUM_PERMISSIONS_GIVE_RECOGNITION_BADGE MAXIMUM_PERMISSIONS_SALESFORCE_IQINTERNAL MAXIMUM_PERMISSIONS_USE_MY_SEARCH MAXIMUM_PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM MAXIMUM_PERMISSIONS_MANAGE_SUBSCRIPTIONS MAXIMUM_PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE MAXIMUM_PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS MAXIMUM_PERMISSIONS_USE_ASSISTANT_DIALOG MAXIMUM_PERMISSIONS_USE_QUERY_SUGGESTIONS MAXIMUM_PERMISSIONS_VIEW_ROLES MAXIMUM_PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM MAXIMUM_PERMISSIONS_MODIFY_DATA_CLASSIFICATION MAXIMUM_PERMISSIONS_PRIVACY_DATA_ACCESS MAXIMUM_PERMISSIONS_QUERY_ALL_FILES MAXIMUM_PERMISSIONS_MODIFY_METADATA MAXIMUM_PERMISSIONS_MANAGE_CMS MAXIMUM_PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP MAXIMUM_PERMISSIONS_CAN_EDIT_PROMPTS MAXIMUM_PERMISSIONS_VIEW_USER_PII MAXIMUM_PERMISSIONS_VIEW_DRAFT_ARTICLES MAXIMUM_PERMISSIONS_VIEW_ARCHIVED_ARTICLES MAXIMUM_PERMISSIONS_MANAGE_HUB_CONNECTIONS MAXIMUM_PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER MAXIMUM_PERMISSIONS_TRACE_XDS_QUERIES MAXIMUM_PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS MAXIMUM_PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES MAXIMUM_PERMISSIONS_HEADLESS_CMSACCESS MAXIMUM_PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM MAXIMUM_PERMISSIONS_CONSENT_API_UPDATE MAXIMUM_PERMISSIONS_PAYMENTS_APIUSER MAXIMUM_PERMISSIONS_MANAGE_C_360_ACONNECTIONS MAXIMUM_PERMISSIONS_MANAGE_RELEASE_UPDATES MAXIMUM_PERMISSIONS_VIEW_ALL_PROFILES MAXIMUM_PERMISSIONS_SKIP_IDENTITY_CONFIRMATION MAXIMUM_PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS MAXIMUM_PERMISSIONS_PACKAGING_2_DELETE MAXIMUM_PERMISSIONS_ACCESS_CDP_DATA_EXPLORER MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER MAXIMUM_PERMISSIONS_MANAGE_PREFERENCE_CENTER MAXIMUM_PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM MAXIMUM_PERMISSIONS_QUIP_METRICS_ACCESS MAXIMUM_PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS MAXIMUM_PERMISSIONS_CHANGE_TARGET_ASSIGNEE MAXIMUM_PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS MAXIMUM_PERMISSIONS_MANAGE_EMAIL_CONTENT MAXIMUM_PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO MAXIMUM_PERMISSIONS_NATIVE_WEBVIEW_SCROLLING MAXIMUM_PERMISSIONS_VIEW_DEVELOPER_NAME MAXIMUM_PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS MAXIMUM_PERMISSIONS_CLIENT_SECRET_ROTATION MAXIMUM_PERMISSIONS_ACCESS_TO_SERVICE_PROCESS MAXIMUM_PERMISSIONS_CMSECEAUTHORING_ACCESS MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER MAXIMUM_PERMISSIONS_MANAGE_DATASPACE_SCOPE MAXIMUM_PERMISSIONS_CONFIGURE_DATASPACE_SCOPE MAXIMUM_PERMISSIONS_MANAGE_CAMPAIGNS MAXIMUM_PERMISSIONS_CDC_REPORTING_CREATE_REPORTS MAXIMUM_PERMISSIONS_CDC_REPORTING_VIEW_REPORTS MAXIMUM_PERMISSIONS_ACCESS_GENIE_PLATFORM MAXIMUM_PERMISSIONS_ACCESS_SEGMENT MAXIMUM_PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP MAXIMUM_PERMISSIONS_CREATE_STANDARD_CADENCE MAXIMUM_PERMISSIONS_CREATE_QUICK_CADENCE MAXIMUM_PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_MEET_USER MAXIMUM_PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE MAXIMUM_PERMISSIONS_VIEW_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_DELETE_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_MANAGE_NAMED_CREDENTIALS MAXIMUM_PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER MAXIMUM_PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_AUTHORIZE_PAYMENTS MAXIMUM_PERMISSIONS_CONFIGURE_PAYMENTS MAXIMUM_PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS MAXIMUM_PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS MAXIMUM_PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS MAXIMUM_PERMISSIONS_REFUND_PAYMENTS MAXIMUM_PERMISSIONS_VIEW_PAYMENTS MAXIMUM_PERMISSIONS_MAKE_PAYMENTS MAXIMUM_PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE MAXIMUM_PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS MAXIMUM_PERMISSIONS_DIGITAL_LENDING_USER MAXIMUM_PERMISSIONS_SEND_EMAIL MAXIMUM_PERMISSIONS_PREVIEW_TEST_SEND_EMAIL MAXIMUM_PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP MAXIMUM_PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP MAXIMUM_PERMISSIONS_ENABLE_IPFSUPLOAD MAXIMUM_PERMISSIONS_ENABLE_BCTRANSACTION_POLLING MAXIMUM_PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS MAXIMUM_PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER MAXIMUM_PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER MAXIMUM_PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT MAXIMUM_PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT MAXIMUM_PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT MAXIMUM_PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS MAXIMUM_PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE MAXIMUM_PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER MAXIMUM_PERMISSIONS_SEGMENT_INTELLIGENCE_USER MAXIMUM_PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER MAXIMUM_PERMISSIONS_DIGITAL_LENDING_ADMIN_USER MAXIMUM_PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS MAXIMUM_PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS MAXIMUM_PERMISSIONS_PERSONALIZATION_PLATFORM MAXIMUM_PERMISSIONS_ACCESS_DISPUTE_PROMPTS USED_LICENSES MIGRATABLE_LICENSES IS_AVAILABLE_FOR_INTEGRATIONS LICENSE_EXPIRATION_POLICY IS_SUPPLEMENT_LICENSE _FIVETRAN_DELETED _FIVETRAN_SYNCED MAXIMUM_PERMISSIONS_ACCESS_SERVICE_EINSTEIN MAXIMUM_PERMISSIONS_PERSONALIZATION_INTEL_USER MAXIMUM_PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_DIGITAL_LENDING_WORKBENCH MAXIMUM_PERMISSIONS_MANAGE_CDP_ML_MODELS MAXIMUM_PERMISSIONS_METADATA_STUDIO_USER MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_DOMAINS MAXIMUM_PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_USER_HAS_STARTER_DCRACCESS MAXIMUM_PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_FREEZE_USERS MAXIMUM_PERMISSIONS_MANAGE_ACCESS_POLICIES MAXIMUM_PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY MAXIMUM_PERMISSIONS_HEADLESS_PUBLISH_NUDGES MAXIMUM_PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_MONITOR_LOGIN_HISTORY MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION MAXIMUM_PERMISSIONS_VIEW_ALL_CALLS

PERMISSION_SET_LICENSE_ASSIGN

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_ID ASSIGNEE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PERMISSION_SET_TAB_SETTING

Table Preview(sample only)

ID PARENT_ID VISIBILITY NAME SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PRICEBOOK_2

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE IS_ACTIVE IS_ARCHIVED DESCRIPTION IS_STANDARD _FIVETRAN_DELETED _FIVETRAN_SYNCED

PRICEBOOK_ENTRY

Table Preview(sample only)

ID NAME PRICEBOOK_2_ID PRODUCT_2_ID UNIT_PRICE IS_ACTIVE USE_STANDARD_PRICE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRODUCT_CODE IS_DELETED IS_ARCHIVED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_DEFINITION

Table Preview(sample only)

ID NAME DEVELOPER_NAME TYPE DESCRIPTION TABLE_ENUM_OR_ID LOCK_TYPE STATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_FLOW_MIGRATION

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MIGRATED_CRITERIA_LABEL MIGRATED_CRITERIA_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_INSTANCE

Table Preview(sample only)

ID PROCESS_DEFINITION_ID TARGET_OBJECT_ID STATUS COMPLETED_DATE LAST_ACTOR_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES SUBMITTED_BY_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_INSTANCE_NODE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROCESS_INSTANCE_ID PROCESS_NODE_ID NODE_STATUS COMPLETED_DATE LAST_ACTOR_ID PROCESS_NODE_NAME ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_INSTANCE_STEP

Table Preview(sample only)

ID PROCESS_INSTANCE_ID STEP_STATUS ORIGINAL_ACTOR_ID ACTOR_ID COMMENTS STEP_NODE_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_INSTANCE_WORKITEM

Table Preview(sample only)

ID PROCESS_INSTANCE_ID ORIGINAL_ACTOR_ID ACTOR_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES IS_DELETED CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROCESS_NODE

Table Preview(sample only)

ID NAME DEVELOPER_NAME PROCESS_DEFINITION_ID DESCRIPTION SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PRODUCT_2

Table Preview(sample only)

ID NAME PRODUCT_CODE DESCRIPTION IS_ACTIVE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FAMILY EXTERNAL_DATA_SOURCE_ID EXTERNAL_ID DISPLAY_URL QUANTITY_UNIT_OF_MEASURE IS_DELETED IS_ARCHIVED LAST_VIEWED_DATE LAST_REFERENCED_DATE STOCK_KEEPING_UNIT _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROFILE

Table Preview(sample only)

ID NAME PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_MULTIFORCE PERMISSIONS_PUBLISH_MULTIFORCE PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_MULTIFORCE PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS USER_LICENSE_ID USER_TYPE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_SSO_ENABLED DESCRIPTION LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

PROFILE_CALL_LOG_QUICK_ACTION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROFILE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT_ACTION

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROMPT_VERSION_ID USER_ID TIMES_DISPLAYED TIMES_ACTION_TAKEN TIMES_DISMISSED LAST_DISPLAY_DATE LAST_RESULT LAST_RESULT_DATE STEP_NUMBER STEP_COUNT SNOOZE_UNTIL TIMES_SNOOZED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT_ACTION_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT_ERROR

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROMPT_ACTION_ID TYPE STEP_NUMBER IS_ERROR _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT_ERROR_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

PROMPT_VERSION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID MASTER_LABEL DESCRIPTION DISPLAY_TYPE DISPLAY_POSITION TIMES_TO_DISPLAY DELAY_DAYS START_DATE END_DATE USER_ACCESS IS_PUBLISHED PUBLISHED_DATE PUBLISHED_BY_USER_ID HEADER DISMISS_BUTTON_LABEL SHOULD_DISPLAY_ACTION_BUTTON ACTION_BUTTON_LABEL ACTION_BUTTON_LINK TITLE VERSION_NUMBER TARGET_PAGE_TYPE TARGET_PAGE_KEY_1 TARGET_PAGE_KEY_2 TARGET_APP_NAMESPACE_PREFIX TARGET_APP_DEVELOPER_NAME BODY SHOULD_IGNORE_GLOBAL_DELAY USER_PROFILE_ACCESS VIDEO_LINK STEP_NUMBER THEME_COLOR THEME_SATURATION TARGET_PAGE_KEY_1_REF IMAGE_ALT_TEXT IMAGE_ID IMAGE_LINK IMAGE_LOCATION TARGET_PAGE_KEY_3 ELEMENT_RELATIVE_POSITION REFERENCE_ELEMENT_CONTEXT TARGET_PAGE_KEY_4 TARGET_RECORD_TYPE_ID EXPERIENCE_CONTEXT_ID EXPERIENCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

QUEUE_SOBJECT

Table Preview(sample only)

ID QUEUE_ID SOBJECT_TYPE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

QUICK_TEXT

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE MESSAGE CATEGORY CHANNEL FOLDER_ID FOLDER_NAME IS_INSERTABLE SOURCE_TYPE SHORTCODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

QUICK_TEXT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

QUICK_TEXT_USAGE

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUICK_TEXT_ID FOLDER_ID CHANNEL LAUNCH_SOURCE LOGGED_TIME USER_ID APP_CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

QUICK_TEXT_USAGE_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

RECENTLY_VIEWED

Table Preview(sample only)

ID NAME LAST_NAME FIRST_NAME TYPE ALIAS USER_ROLE_ID RECORD_TYPE_ID IS_ACTIVE PROFILE_ID TITLE EMAIL PHONE NAME_OR_ALIAS LAST_VIEWED_DATE LAST_REFERENCED_DATE LANGUAGE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

RECORD_ACTION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RECORD_ID FLOW_DEFINITION FLOW_INTERVIEW_ID ORDER_ STATUS PINNED ACTION_TYPE ACTION_DEFINITION IS_MANDATORY IS_UI_REMOVE_HIDDEN _FIVETRAN_DELETED _FIVETRAN_SYNCED

RECORD_TYPE

Table Preview(sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX DESCRIPTION BUSINESS_PROCESS_ID SOBJECT_TYPE IS_ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

REDIRECT_WHITELIST_URL

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

REFUND

Table Preview(sample only)

ID IS_DELETED REFUND_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE TYPE PAYMENT_GROUP_ID PROCESSING_MODE AMOUNT ACCOUNT_ID PAYMENT_METHOD_ID COMMENTS STATUS GATEWAY_REF_NUMBER CLIENT_CONTEXT GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION SF_RESULT_CODE GATEWAY_DATE IP_ADDRESS MAC_ADDRESS PHONE EMAIL EFFECTIVE_DATE DATE_ CANCELLATION_EFFECTIVE_DATE CANCELLATION_DATE CANCELLATION_GATEWAY_REF_NUMBER CANCELLATION_GATEWAY_RESULT_CODE CANCELLATION_SF_RESULT_CODE CANCELLATION_GATEWAY_DATE PAYMENT_GATEWAY_ID TOTAL_APPLIED TOTAL_UNAPPLIED NET_APPLIED BALANCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

REFUND_LINE_PAYMENT

Table Preview(sample only)

ID IS_DELETED REFUND_LINE_PAYMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PAYMENT_ID REFUND_ID AMOUNT TYPE HAS_BEEN_UNAPPLIED COMMENTS DATE_ APPLIED_DATE EFFECTIVE_DATE UNAPPLIED_DATE ASSOCIATED_ACCOUNT_ID ASSOCIATED_REFUND_LINE_PAYMENT_ID REFUND_BALANCE PAYMENT_BALANCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

REPORT

Table Preview(sample only)

ID OWNER_ID FOLDER_NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED NAME DESCRIPTION DEVELOPER_NAME NAMESPACE_PREFIX LAST_RUN_DATE SYSTEM_MODSTAMP FORMAT LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

REPORT_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

SALES_WORK_QUEUE_SETTINGS

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FEATURE_NAME TARGET_ENTITY TARGET_FIELD _FIVETRAN_DELETED _FIVETRAN_SYNCED

SAML_SSO_CONFIG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VERSION ISSUER OPTIONS_SP_INIT_BINDING OPTIONS_USER_PROVISIONING OPTIONS_USE_CONFIG_REQUEST_METHOD OPTIONS_USE_SAME_DIGEST_ALGO_FOR_SIGNING OPTIONS_REQUIRE_MFA_SAML ATTRIBUTE_FORMAT ATTRIBUTE_NAME AUDIENCE IDENTITY_MAPPING IDENTITY_LOCATION EXECUTION_USER_ID LOGIN_URL LOGOUT_URL ERROR_URL VALIDATION_CERT REQUEST_SIGNATURE_METHOD SINGLE_LOGOUT_URL SINGLE_LOGOUT_BINDING _FIVETRAN_DELETED _FIVETRAN_SYNCED

SCONTROL

Table Preview(sample only)

ID NAME DEVELOPER_NAME DESCRIPTION ENCODING_KEY HTML_WRAPPER FILENAME BODY_LENGTH CONTENT_SOURCE SUPPORTS_CACHING NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

SEARCH_ACTIVITY

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SEARCH_TERM QUERY_DATE COUNT_QUERIES COUNT_USERS AVG_NUM_RESULTS KB_CHANNEL PERIOD CLICK_RANK CLICKED_RECORD_ID QUERY_LANGUAGE CLICKED_RECORD_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

SEARCH_PROMOTION_RULE

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUERY PROMOTED_ENTITY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

SECURITY_CUSTOM_BASELINE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BASELINE IS_DEFAULT _FIVETRAN_DELETED _FIVETRAN_SYNCED

SELLER

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARTY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

SELLER_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

SERVICE_SETUP_PROVISIONING

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP JOB_NAME TASK_NAME STATUS TASK_CONTEXT ATTEMPT_ORDINAL TASK_ACTION TASK_ACTION_CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

SESSION_PERM_SET_ACTIVATION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AUTH_SESSION_ID PERMISSION_SET_ID USER_ID DESCRIPTION PERMISSION_SET_GROUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

SETUP_ASSISTANT_STEP

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ASSISTANT_TYPE IS_COMPLETE _FIVETRAN_DELETED _FIVETRAN_SYNCED

SETUP_AUDIT_TRAIL

Table Preview(sample only)

ID ACTION_ SECTION_ CREATED_DATE CREATED_BY_ID DISPLAY DELEGATE_USER RESPONSIBLE_NAMESPACE_PREFIX CREATED_BY_CONTEXT CREATED_BY_ISSUER _FIVETRAN_DELETED _FIVETRAN_SYNCED

SETUP_ENTITY_ACCESS

Table Preview(sample only)

ID PARENT_ID SETUP_ENTITY_ID SETUP_ENTITY_TYPE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

SITE

Table Preview(sample only)

ID NAME SUBDOMAIN URL_PATH_PREFIX GUEST_USER_ID STATUS ADMIN_ID OPTIONS_ENABLE_FEEDS OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED OPTIONS_REDIRECT_TO_CUSTOM_DOMAIN OPTIONS_ALLOW_GUEST_PAYMENTS_API OPTIONS_HAS_STORED_PATH_PREFIX OPTIONS_COOKIE_CONSENT OPTIONS_CACHE_PUBLIC_VF_PAGES_IN_PROXIES OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_ENABLED OPTIONS_IS_SITE_GAINTEGRATION_ENABLED OPTIONS_ALLOW_HOME_PAGE OPTIONS_ALLOW_STANDARD_IDEAS_PAGES OPTIONS_ALLOW_STANDARD_SEARCH OPTIONS_ALLOW_STANDARD_LOOKUPS OPTIONS_ALLOW_STANDARD_ANSWERS_PAGES OPTIONS_ALLOW_GUEST_SUPPORT_API OPTIONS_ALLOW_STANDARD_PORTAL_PAGES OPTIONS_CONTENT_SNIFFING_PROTECTION OPTIONS_BROWSER_XSS_PROTECTION OPTIONS_REFERRER_POLICY_ORIGIN_WHEN_CROSS_ORIGIN OPTIONS_USE_GUEST_USER_LANGUAGE OPTIONS_IS_SITE_GRECAPTCHA_INTEGRATION_ENABLED OPTIONS_IS_SITE_CONSENT_BANNER_INTEGRATION_ENABLED DESCRIPTION MASTER_LABEL ANALYTICS_TRACKING_CODE SITE_TYPE CLICKJACK_PROTECTION_LEVEL DAILY_BANDWIDTH_LIMIT DAILY_BANDWIDTH_USED DAILY_REQUEST_TIME_LIMIT DAILY_REQUEST_TIME_USED MONTHLY_PAGE_VIEWS_ENTITLEMENT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP GUEST_RECORD_DEFAULT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_MIGRATED OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED_V_2

SITE_IFRAME_WHITE_LIST_URL

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SITE_ID URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

SITE_REDIRECT_MAPPING

Table Preview(sample only)

ID SITE_ID IS_ACTIVE SOURCE TARGET ACTION_ IS_DYNAMIC CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

SPSAML_ATTRIBUTES

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP KEY_ VALUE_ CONNECTIVITY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_ACCOUNT_CONTACT_DLM

Table Preview(sample only)

ID SSOT_ACCOUNT_ID_C SSOT_ASSISTANT_NAME_C SSOT_ASSISTANT_PHONE_C SSOT_BUSINESS_PHONE_ID_C SSOT_CONTACT_EMAIL_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DEPARTMENT_NAME_C SSOT_ID_C SSOT_INDIVIDUAL_ID_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_MAILING_ADDRESS_ID_C SSOT_TITLE_C SSOT_REL_1697761149145_END_C SSOT_REL_1697761149229_END_C SSOT_REL_1697761149291_END_C SSOT_REL_1697761149351_END_C SSOT_REL_1697761149412_END_C SSOT_REL_1697761149477_END_C SSOT_REL_1697761149538_END_C SSOT_REL_1697761150912_END_C SSOT_REL_1697761150977_END_C SSOT_REL_1697761151043_END_C SSOT_REL_1697761151114_END_C SSOT_REL_1697761151188_END_C SSOT_REL_1697761151256_END_C SSOT_REL_1697761151561_END_C SSOT_REL_1697761157941_END_C SSOT_REL_1697761158007_END_C SSOT_REL_1697761161232_END_C SSOT_REL_1697761162520_END_C SSOT_REL_1697761162597_END_C SSOT_REL_1697761162666_END_C SSOT_REL_1697761162737_END_C SSOT_REL_1697761175711_END_C SSOT_REL_1697761221041_END_C SSOT_REL_1697761222934_END_C KQ_ID_C KQ_BUSINESS_PHONE_ID_C KQ_CONTACT_EMAIL_ID_C KQ_INDIVIDUAL_ID_C KQ_MAILING_ADDRESS_ID_C KQ_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_ACCOUNT_DLM

Table Preview(sample only)

ID SSOT_ACCOUNT_OWNERSHIP_TYPE_C SSOT_ACCOUNT_RATING_TYPE_C SSOT_ACCOUNT_SOURCE_C SSOT_ACCOUNT_TYPE_ID_C SSOT_ACCOUNT_PARTY_ID_MAP_INDIVIDUAL_ID_N_1_C SSOT_ACCOUNT_PARTY_ID_MAP_PARTY_ID_N_1_C SSOT_ANNUAL_REVENUE_AMOUNT_C SSOT_BILL_CONTACT_ADDRESS_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_EMPLOYEE_COUNT_C SSOT_ID_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_NAME_C SSOT_NUMBER_C SSOT_PARENT_ACCOUNT_ID_C SSOT_PRIMARY_INDUSTRY_C SSOT_SALES_PHONE_ID_C SSOT_WEBSITE_ADDR_C SSOT_REL_1697761149597_END_C SSOT_REL_1697761151339_END_C SSOT_REL_1697761151412_END_C SSOT_REL_1697761151490_END_C SSOT_REL_1697761151634_END_C SSOT_REL_1697761152631_END_C SSOT_REL_1697761152706_END_C SSOT_REL_1697761152775_END_C SSOT_REL_1697761152844_END_C SSOT_REL_1697761152921_END_C SSOT_REL_1697761152992_END_C SSOT_REL_1697761153060_END_C SSOT_REL_1697761153134_END_C SSOT_REL_1697761153204_END_C SSOT_REL_1697761153276_END_C SSOT_REL_1697761153348_END_C SSOT_REL_1697761153421_END_C SSOT_REL_1697761153491_END_C SSOT_REL_1697761158080_END_C SSOT_REL_1697761158155_END_C SSOT_REL_1697761158222_END_C SSOT_REL_1697761159717_END_C SSOT_REL_1697761161306_END_C SSOT_REL_1697761161386_END_C SSOT_REL_1697761162808_END_C SSOT_REL_1697761162883_END_C SSOT_REL_1697761162957_END_C SSOT_REL_1697761163033_END_C SSOT_REL_1697761164249_END_C SSOT_REL_1697761175801_END_C SSOT_REL_1697761191649_END_C SSOT_REL_1697761206963_END_C SSOT_REL_1697761210845_END_C SSOT_REL_1697761211048_END_C SSOT_REL_1697761211140_END_C SSOT_REL_1697761211224_END_C SSOT_REL_1697761211765_END_C SSOT_REL_1697761211851_END_C SSOT_REL_1697761211932_END_C SSOT_REL_1697761221119_END_C SSOT_REL_1697761225983_END_C SSOT_REL_1697761228871_END_C SSOT_REL_1697761229443_END_C KQ_ID_C KQ_BILL_CONTACT_ADDRESS_ID_C KQ_SALES_PHONE_ID_C KQ_PARENT_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_CONTACT_POINT_ADDRESS_DLM

Table Preview(sample only)

ID SSOT_ADDRESS_LINE_1_C SSOT_CITY_ID_C SSOT_COUNTRY_ID_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_GEO_LATITUDE_C SSOT_GEO_LONGITUDE_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_POSTAL_CODE_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_REL_1697761157876_END_C SSOT_REL_1697761159567_END_C SSOT_REL_1697761163106_END_C SSOT_REL_1697761176023_END_C SSOT_REL_1697761212097_END_C SSOT_REL_1697761212178_END_C SSOT_REL_1697761213088_END_C SSOT_REL_1697761213155_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018122_C KQ_ID_C KQ_PARTY_ID_C REL_1721117990855_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_CONTACT_POINT_EMAIL_DLM

Table Preview(sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_EMAIL_ADDRESS_C SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_REL_1697761162380_END_C SSOT_REL_1697761176242_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018724_C KQ_ID_C KQ_PARTY_ID_C REL_1721117985404_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_CONTACT_POINT_PHONE_DLM

Table Preview(sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_FORMATTED_E_164_PHONE_NUMBER_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_TELEPHONE_NUMBER_C SSOT_REL_1697761162451_END_C SSOT_REL_1697761164176_END_C SSOT_REL_1697761168686_END_C SSOT_REL_1697761176312_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018734_C KQ_ID_C KQ_PARTY_ID_C REL_1721117987996_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_DIGITAL_CONTENT_DLM

Table Preview(sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_ID_C SSOT_NAME_C KQ_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_INDIVIDUAL_DLM

Table Preview(sample only)

ID SSOT_BIRTH_DATE_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_FIRST_NAME_C SSOT_ID_C SSOT_LAST_MODIFIED_DATE_C SSOT_LAST_NAME_C SSOT_PERSON_NAME_C SSOT_PHOTO_URL_C SSOT_SALUTATION_C SSOT_TITLE_NAME_C SSOT_REL_1697761151778_END_C SSOT_REL_1697761177549_END_C KQ_ID_C REL_1721117983016_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_LEAD_DLM

Table Preview(sample only)

ID SSOT_ANNUAL_REVENUE_C SSOT_CITY_C SSOT_COMPANY_NAME_C SSOT_CONTACT_POINT_EMAIL_ID_C SSOT_CONVERTED_DATE_C SSOT_CONVERTED_TO_ACCOUNT_CONTACT_ID_C SSOT_CONVERTED_TO_ACCOUNT_ID_C SSOT_CONVERTED_TO_OPPORTUNITY_ID_C SSOT_COUNTRY_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_EMAIL_BOUNCED_DATE_C SSOT_EMAIL_BOUNCED_REASON_C SSOT_EMPLOYEE_COUNT_C SSOT_GEO_CODE_LATITUDE_C SSOT_GEO_CODE_LONGITUDE_C SSOT_ID_C SSOT_INDUSTRY_ID_C SSOT_IS_CONVERTED_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_LEAD_RATING_C SSOT_LEAD_SOURCE_ID_C SSOT_LEAD_STATUS_ID_C SSOT_LEAD_PARTNER_ACCOUNT_ID_MAP_ACCOUNT_ID_N_1_C SSOT_LEAD_PARTY_ID_MAP_PARTY_ID_N_1_C SSOT_PARTY_ID_C SSOT_PHONE_CONTACT_POINT_ID_C SSOT_PHOTO_URL_C SSOT_POSTAL_CODE_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_STREET_NAME_C SSOT_TITLE_C SSOT_WEBSITE_C SSOT_REL_1697761149977_END_C SSOT_REL_1697761151876_END_C SSOT_REL_1697761151949_END_C SSOT_REL_1697761158501_END_C SSOT_REL_1697761161666_END_C SSOT_REL_1697761163390_END_C SSOT_REL_1697761163459_END_C SSOT_REL_1697761163529_END_C SSOT_REL_1697761177620_END_C SSOT_REL_1697761177702_END_C SSOT_REL_1697761177769_END_C SSOT_REL_1697761177836_END_C SSOT_REL_1697761177918_END_C SSOT_REL_1697761177991_END_C SSOT_REL_1697761178807_END_C SSOT_REL_1697761178876_END_C SSOT_REL_1697761178945_END_C SSOT_REL_1697761191327_END_C SSOT_REL_1697761221333_END_C SSOT_REL_1697761222482_END_C SSOT_REL_1697761222627_END_C KQ_ID_C KQ_CONTACT_POINT_EMAIL_ID_C KQ_PHONE_CONTACT_POINT_ID_C KQ_CONVERTED_TO_OPPORTUNITY_ID_C KQ_CONVERTED_TO_ACCOUNT_CONTACT_ID_C KQ_CONVERTED_TO_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

SSOT_MARKET_SEGMENT_DLM

Table Preview(sample only)

ID SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_ID_C SSOT_NAME_C KQ_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

STAMP

Table Preview(sample only)

ID IS_DELETED PARENT_ID MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

STAMP_ASSIGNMENT

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP STAMP_ID SUBJECT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

STANDARD_INVOCABLE_ACTION_TYPE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAMESPACE _FIVETRAN_DELETED _FIVETRAN_SYNCED

STATIC_RESOURCE

Table Preview(sample only)

ID NAMESPACE_PREFIX NAME CONTENT_TYPE BODY_LENGTH DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CACHE_CONTROL _FIVETRAN_DELETED _FIVETRAN_SYNCED

TABLEAU_HOST_MAPPING

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SITE_LUID URL_MATCH HOST_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

TABLEAU_HOST_MAPPING_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

TAB_DEFINITION

Table Preview(sample only)

ID DURABLE_ID NAME LABEL IS_CUSTOM SOBJECT_NAME URL IS_AVAILABLE_IN_ALOHA IS_AVAILABLE_IN_LIGHTNING IS_AVAILABLE_IN_MOBILE IS_AVAILABLE_IN_DESKTOP MOBILE_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

TAG_DEFINITION

Table Preview(sample only)

ID NAME LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK

Table Preview(sample only)

ID WHO_ID WHAT_ID WHO_COUNT WHAT_COUNT SUBJECT ACTIVITY_DATE STATUS PRIORITY IS_HIGH_PRIORITY OWNER_ID DESCRIPTION IS_DELETED ACCOUNT_ID IS_CLOSED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ARCHIVED CALL_DURATION_IN_SECONDS CALL_TYPE CALL_DISPOSITION CALL_OBJECT REMINDER_DATE_TIME IS_REMINDER_SET RECURRENCE_ACTIVITY_ID IS_RECURRENCE RECURRENCE_START_DATE_ONLY RECURRENCE_END_DATE_ONLY RECURRENCE_TIME_ZONE_SID_KEY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR RECURRENCE_REGENERATED_TYPE TASK_SUBTYPE COMPLETED_DATE_TIME ACTION_CADENCE_STEP_TRACKER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK_PRIORITY

Table Preview(sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_HIGH_PRIORITY CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK_RELATION

Table Preview(sample only)

ID RELATION_ID TASK_ID IS_WHAT ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK_STATUS

Table Preview(sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CLOSED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK_TAG

Table Preview(sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

TASK_WHO_RELATION

Table Preview(sample only)

ID RELATION_ID TASK_ID ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

TENANT_USAGE_ENTITLEMENT

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RESOURCE_GROUP_KEY SETTING START_DATE END_DATE CURRENT_AMOUNT_ALLOWED FREQUENCY IS_PERSISTENT_RESOURCE HAS_ROLLOVER OVERAGE_GRACE AMOUNT_USED USAGE_DATE MASTER_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

TIME_SLOT

Table Preview(sample only)

ID IS_DELETED TIME_SLOT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE OPERATING_HOURS_ID DAY_OF_WEEK TYPE START_TIME END_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

TODAY_GOAL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VALUE_ USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

TODAY_GOAL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

TRANSLATION

Table Preview(sample only)

ID LANGUAGE_ IS_ACTIVE CAN_MANAGE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

UI_FORMULA_CRITERION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RULE_ID LEFT_HAND_SIDE OPERATOR_ID RIGHT_HAND_SIDE PARENT_KEY_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

UI_FORMULA_RULE

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ASSOCIATED_ELEMENT_ID BOOLEAN_FILTER FORMULA PARENT_KEY_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

UNDECIDED_EVENT_RELATION

Table Preview(sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

UNIFIED_CONTACT_POINT_ADDRESS_DLM

Table Preview(sample only)

ID SSOT_POSTAL_CODE_ID_C SSOT_GEO_LATITUDE_C SSOT_ID_C SSOT_ADDRESS_LINE_1_C SSOT_PARTY_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_GEO_LONGITUDE_C SSOT_CITY_ID_C SSOT_COUNTRY_ID_C REL_1721117991846_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

UNIFIED_CONTACT_POINT_EMAIL_DLM

Table Preview(sample only)

ID SSOT_ID_C SSOT_PARTY_ID_C SSOT_EMAIL_ADDRESS_C SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C REL_1721117986343_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

UNIFIED_CONTACT_POINT_PHONE_DLM

Table Preview(sample only)

ID SSOT_ID_C SSOT_FORMATTED_E_164_PHONE_NUMBER_C SSOT_TELEPHONE_NUMBER_C SSOT_PARTY_ID_C REL_1721117988913_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

UNIFIED_INDIVIDUAL_DLM

Table Preview(sample only)

ID SSOT_ID_C SSOT_CREATED_DATE_C SSOT_LAST_NAME_C SSOT_SALUTATION_C SSOT_PERSON_NAME_C SSOT_TITLE_NAME_C SSOT_PHOTO_URL_C SSOT_BIRTH_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_FIRST_NAME_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER

Table Preview(sample only)

ID USERNAME LAST_NAME FIRST_NAME NAME COMPANY_NAME DIVISION DEPARTMENT TITLE STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY EMAIL EMAIL_PREFERENCES_AUTO_BCC EMAIL_PREFERENCES_AUTO_BCC_STAY_IN_TOUCH EMAIL_PREFERENCES_STAY_IN_TOUCH_REMINDER SENDER_EMAIL SENDER_NAME SIGNATURE STAY_IN_TOUCH_SUBJECT STAY_IN_TOUCH_SIGNATURE STAY_IN_TOUCH_NOTE PHONE FAX MOBILE_PHONE ALIAS COMMUNITY_NICKNAME BADGE_TEXT IS_ACTIVE TIME_ZONE_SID_KEY USER_ROLE_ID LOCALE_SID_KEY RECEIVES_INFO_EMAILS RECEIVES_ADMIN_INFO_EMAILS EMAIL_ENCODING_KEY PROFILE_ID USER_TYPE LANGUAGE_LOCALE_KEY EMPLOYEE_NUMBER DELEGATED_APPROVER_ID MANAGER_ID LAST_LOGIN_DATE LAST_PASSWORD_CHANGE_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NUMBER_OF_FAILED_LOGINS OFFLINE_TRIAL_EXPIRATION_DATE OFFLINE_PDA_TRIAL_EXPIRATION_DATE USER_PERMISSIONS_MARKETING_USER USER_PERMISSIONS_AVANTGO_USER USER_PERMISSIONS_CALL_CENTER_AUTO_LOGIN USER_PERMISSIONS_SFCONTENT_USER USER_PERMISSIONS_KNOWLEDGE_USER USER_PERMISSIONS_INTERACTION_USER USER_PREFERENCES_ACTIVITY_REMINDERS_POPUP USER_PREFERENCES_EVENT_REMINDERS_CHECKBOX_DEFAULT USER_PREFERENCES_TASK_REMINDERS_CHECKBOX_DEFAULT USER_PREFERENCES_REMINDER_SOUND_OFF USER_PREFERENCES_DISABLE_ALL_FEEDS_EMAIL USER_PREFERENCES_CONTENT_NO_EMAIL USER_PREFERENCES_CONTENT_EMAIL_AS_AND_WHEN USER_PREFERENCES_APEX_PAGES_DEVELOPER_MODE USER_PREFERENCES_RECEIVE_NO_NOTIFICATIONS_AS_APPROVER USER_PREFERENCES_RECEIVE_NOTIFICATIONS_AS_DELEGATED_APPROVER USER_PREFERENCES_SHOW_TITLE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_MANAGER_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_EMAIL_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_WORK_PHONE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_FAX_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_CITY_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_STATE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_POSTAL_CODE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_COUNTRY_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_PROFILE_PIC_TO_GUEST_USERS USER_PREFERENCES_SHOW_TITLE_TO_GUEST_USERS USER_PREFERENCES_SHOW_CITY_TO_GUEST_USERS USER_PREFERENCES_SHOW_STATE_TO_GUEST_USERS USER_PREFERENCES_SHOW_POSTAL_CODE_TO_GUEST_USERS USER_PREFERENCES_SHOW_COUNTRY_TO_GUEST_USERS USER_PREFERENCES_SHOW_FORECASTING_CHANGE_SIGNALS USER_PREFERENCES_LIVE_AGENT_MIAW_SETUP_DEFLECTION USER_PREFERENCES_HIDE_S_1_BROWSER_UI USER_PREFERENCES_PATH_ASSISTANT_COLLAPSED USER_PREFERENCES_SHOW_EMAIL_TO_GUEST_USERS USER_PREFERENCES_SHOW_MANAGER_TO_GUEST_USERS USER_PREFERENCES_SHOW_WORK_PHONE_TO_GUEST_USERS USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_GUEST_USERS USER_PREFERENCES_SHOW_FAX_TO_GUEST_USERS USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_GUEST_USERS USER_PREFERENCES_LIGHTNING_EXPERIENCE_PREFERRED USER_PREFERENCES_PREVIEW_LIGHTNING USER_PREFERENCES_HIDE_END_USER_ONBOARDING_ASSISTANT_MODAL USER_PREFERENCES_HIDE_LIGHTNING_MIGRATION_MODAL USER_PREFERENCES_HIDE_SFX_WELCOME_MAT USER_PREFERENCES_HIDE_BIGGER_PHOTO_CALLOUT USER_PREFERENCES_GLOBAL_NAV_BAR_WTSHOWN USER_PREFERENCES_GLOBAL_NAV_GRID_MENU_WTSHOWN USER_PREFERENCES_CREATE_LEXAPPS_WTSHOWN USER_PREFERENCES_FAVORITES_WTSHOWN USER_PREFERENCES_RECORD_HOME_SECTION_COLLAPSE_WTSHOWN USER_PREFERENCES_RECORD_HOME_RESERVED_WTSHOWN USER_PREFERENCES_FAVORITES_SHOW_TOP_FAVORITES USER_PREFERENCES_EXCLUDE_MAIL_APP_ATTACHMENTS USER_PREFERENCES_SUPPRESS_TASK_SFXREMINDERS USER_PREFERENCES_SUPPRESS_EVENT_SFXREMINDERS USER_PREFERENCES_PREVIEW_CUSTOM_THEME USER_PREFERENCES_HAS_CELEBRATION_BADGE USER_PREFERENCES_USER_DEBUG_MODE_PREF USER_PREFERENCES_SRHOVERRIDE_ACTIVITIES USER_PREFERENCES_NEW_LIGHTNING_REPORT_RUN_PAGE_ENABLED USER_PREFERENCES_REVERSE_OPEN_ACTIVITIES_VIEW USER_PREFERENCES_HAS_SENT_WARNING_EMAIL USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_238 USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_240 USER_PREFERENCES_USE_SALESFORCE_MAILER_FOR_LEX_EMAIL USER_PREFERENCES_HUB_SPOT_IMPORT_TOS USER_PREFERENCES_HIDE_BROWSE_PRODUCT_REDIRECT_CONFIRMATION USER_PREFERENCES_HIDE_ONLINE_SALES_APP_WELCOME_MAT USER_PREFERENCES_SHOW_FORECASTING_ROUNDED_AMOUNTS CONTACT_ID ACCOUNT_ID CALL_CENTER_ID EXTENSION FEDERATION_IDENTIFIER ABOUT_ME FULL_PHOTO_URL SMALL_PHOTO_URL IS_EXT_INDICATOR_VISIBLE OUT_OF_OFFICE_MESSAGE MEDIUM_PHOTO_URL DIGEST_FREQUENCY DEFAULT_GROUP_NOTIFICATION_FREQUENCY LAST_VIEWED_DATE LAST_REFERENCED_DATE BANNER_PHOTO_URL SMALL_BANNER_PHOTO_URL MEDIUM_BANNER_PHOTO_URL IS_PROFILE_PHOTO_ACTIVE INDIVIDUAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED USER_PREFERENCES_NATIVE_EMAIL_CLIENT USER_PREFERENCES_SEND_LIST_EMAIL_THROUGH_EXTERNAL_SERVICE

USER_APP_INFO

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID FORM_FACTOR APP_DEFINITION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_APP_MENU_CUSTOMIZATION

Table Preview(sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP APPLICATION_ID SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_APP_MENU_CUSTOMIZATION_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_APP_MENU_ITEM

Table Preview(sample only)

ID APP_MENU_ITEM_ID APPLICATION_ID LABEL DESCRIPTION NAME USER_SORT_ORDER SORT_ORDER TYPE LOGO_URL ICON_URL INFO_URL START_URL MOBILE_START_URL IS_VISIBLE IS_USING_ADMIN_AUTHORIZATION _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_DEFINED_LABEL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COLOR TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_DEFINED_LABEL_ASSIGNMENT

Table Preview(sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LABEL_ID ITEM_ID SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED SUBJECT_OR_NAME

USER_DEFINED_LABEL_ASSIGNMENT_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_DEFINED_LABEL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_EMAIL_PREFERRED_PERSON

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EMAIL PERSON_RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_EMAIL_PREFERRED_PERSON_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_LICENSE

Table Preview(sample only)

ID LICENSE_DEFINITION_KEY TOTAL_LICENSES STATUS USED_LICENSES USED_LICENSES_LAST_UPDATED NAME MASTER_LABEL CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_LIST_VIEW

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID LIST_VIEW_ID SOBJECT_TYPE LAST_VIEWED_CHART _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_LIST_VIEW_CRITERION

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_LIST_VIEW_ID SORT_ORDER COLUMN_NAME OPERATION VALUE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_LOGIN

Table Preview(sample only)

ID USER_ID IS_FROZEN IS_PASSWORD_LOCKED LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PACKAGE_LICENSE

Table Preview(sample only)

ID PACKAGE_LICENSE_ID USER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PERMISSION_ACCESS

Table Preview(sample only)

ID LAST_CACHE_UPDATE PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

USER_PREFERENCE

Table Preview(sample only)

ID USER_ID PREFERENCE VALUE_ SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROVISIONING_CONFIG

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_APP_ID NOTES ENABLED APPROVAL_REQUIRED USER_ACCOUNT_MAPPING ENABLED_OPERATIONS ON_UPDATE_ATTRIBUTES LAST_RECON_DATE_TIME NAMED_CREDENTIAL_ID RECON_FILTER _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROVISIONING_LOG

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_PROVISIONING_REQUEST_ID EXTERNAL_USER_ID EXTERNAL_USERNAME USER_ID STATUS DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROVISIONING_REQUEST

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SALESFORCE_USER_ID EXTERNAL_USER_ID APP_NAME STATE OPERATION SCHEDULE_DATE CONNECTED_APP_ID USER_PROV_CONFIG_ID USER_PROV_ACCOUNT_ID APPROVAL_STATUS MANAGER_ID RETRY_COUNT PARENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROVISIONING_REQUEST_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROV_ACCOUNT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SALESFORCE_USER_ID CONNECTED_APP_ID EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME LINK_STATE STATUS DELETED_DATE IS_KNOWN_LINK _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROV_ACCOUNT_STAGING

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_APP_ID SALESFORCE_USER_ID EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME LINK_STATE STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_PROV_MOCK_TARGET

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_ROLE

Table Preview(sample only)

ID NAME PARENT_ROLE_ID ROLLUP_DESCRIPTION OPPORTUNITY_ACCESS_FOR_ACCOUNT_OWNER CASE_ACCESS_FOR_ACCOUNT_OWNER CONTACT_ACCESS_FOR_ACCOUNT_OWNER MAY_FORECAST_MANAGER_SHARE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEVELOPER_NAME PORTAL_ACCOUNT_ID PORTAL_TYPE PORTAL_ACCOUNT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_SETUP_ENTITY_ACCESS

Table Preview(sample only)

ID DURABLE_ID SETUP_ENTITY_ID KEY_PREFIX DEVELOPER_NAME NAMESPACE_PREFIX LAST_CACHE_UPDATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_SHARE

Table Preview(sample only)

ID USER_ID USER_OR_GROUP_ID USER_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_WORK_LIST

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE LIST_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_WORK_LIST_ITEM

Table Preview(sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_WORK_LIST_ID RELATED_RECORD_ID PRIORITY_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

USER_WORK_LIST_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

VIDEO_CALL

Table Preview(sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE EVENT_ID RELATED_RECORD_ID VENDOR_MEETING_UUID EXTERNAL_ID VENDOR_MEETING_KEY VENDOR_NAME START_DATE_TIME END_DATE_TIME DURATION_IN_SECONDS IS_RECORDED DESCRIPTION INTELLIGENCE_SCORE IS_CALL_COACHING_INCLUDED HOST_ID IS_DIARIZATION_OPT_IN TRANSCRIBED_LANGUAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED MEETING_TYPE

VIDEO_CALL_PARTICIPANT

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE VIDEO_CALL_ID EMAIL RELATED_PERSON_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

VIDEO_CALL_RECORDING

Table Preview(sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE VIDEO_CALL_RECORD_ID EXTERNAL_RECORDING_KEY START_DATE_TIME END_DATE_TIME DURATION_IN_SECONDS FILE_SIZE_IN_BYTE FILE_TYPE EXPIRATION_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED EXTERNAL_RECORDING_KEY_LONG

VIDEO_CALL_SHARE

Table Preview(sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

VOICE_ORG_SETTING

Table Preview(sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEFAULT_DISPOSITION CUSTOM_DISPOSITION CONSENT_MESSAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED
We display the partition tables and their configurations.

MarketSegmentManagementSystem

Table Partitions (Partitions to cluster)

%3 MarketSegmentManagementSystem_0 MarketSegmentManagementSystem CUSTOM_HELP_MENU_SECTION_1 CUSTOM_HELP_MENU_SECTION CUSTOM_HELP_MENU_SECTION_1->MarketSegmentManagementSystem_0 MARKET_SEGMENT_DEF_MAPPING_2 MARKET_SEGMENT_DEF_MAPPING MARKET_SEGMENT_DEF_MAPPING_2->MarketSegmentManagementSystem_0 MKT_SGMT_DEF_CALC_INSIGHT_FLD_3 MKT_SGMT_DEF_CALC_INSIGHT_FLD MKT_SGMT_DEF_CALC_INSIGHT_FLD_3->MarketSegmentManagementSystem_0 MKT_SGMT_DEF_DATA_MDL_OBJ_FLD_4 MKT_SGMT_DEF_DATA_MDL_OBJ_FLD MKT_SGMT_DEF_DATA_MDL_OBJ_FLD_4->MarketSegmentManagementSystem_0 PROMPT_5 PROMPT PROMPT_5->MarketSegmentManagementSystem_0

MarketSegmentManagementSystem.yml (Document the partitions)

version: 2
models:
- name: MarketSegmentManagementSystem
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - CUSTOM_HELP_MENU_SECTION
  - MARKET_SEGMENT_DEF_MAPPING
  - MKT_SGMT_DEF_CALC_INSIGHT_FLD
  - MKT_SGMT_DEF_DATA_MDL_OBJ_FLD
  - PROMPT

BusinessPartnershipManagement

Table Partitions (Partitions to cluster)

%3 BusinessPartnershipManagement_0 BusinessPartnershipManagement ACCOUNT_PARTNER_1 ACCOUNT_PARTNER ACCOUNT_PARTNER_1->BusinessPartnershipManagement_0 PARTNER_2 PARTNER PARTNER_2->BusinessPartnershipManagement_0

BusinessPartnershipManagement.yml (Document the partitions)

version: 2
models:
- name: BusinessPartnershipManagement
  description: ACCOUNT_PARTNER links accounts and opportunities. It tracks primary
    partnerships. PARTNER likely contains detailed partner information. Both partitions
    relate to business partnerships. They may include partner roles, creation dates,
    and modification details. The system tracks deletions and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the account partner record
    tests:
    - not_null
  - name: ACCOUNT_FROM_ID
    description: ID of the account initiating the partnership
    tests:
    - not_null
  - name: ACCOUNT_TO_ID
    description: ID of the account receiving the partnership
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: ID of the associated opportunity
    tests:
    - not_null
  - name: ROLE
    description: Role of the partner in this relationship
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Indicates if this is the primary partnership
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: REVERSE_PARTNER_ID
    description: ID of the reverse partnership record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - ACCOUNT_PARTNER
  - PARTNER

CustomerSupportManagementSystem

Table Partitions (Partitions to cluster)

%3 CustomerSupportManagementSystem_0 CustomerSupportManagementSystem CASE_STATUS_1 CASE_STATUS CASE_STATUS_1->CustomerSupportManagementSystem_0 TASK_STATUS_2 TASK_STATUS TASK_STATUS_2->CustomerSupportManagementSystem_0

CustomerSupportManagementSystem.yml (Document the partitions)

version: 2
models:
- name: CustomerSupportManagementSystem
  description: CASE_STATUS shows different stages of a case. It includes statuses
    like New, Working, and Closed. Each status has an ID, label, and API name. The
    table tracks creation and modification dates. TASK_STATUS likely contains similar
    information for individual tasks within cases.
  columns:
  - name: ID
    description: Unique identifier for the status record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the case status
    tests:
    - not_null
  - name: API_NAME
    description: API name for the case status
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying statuses
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default status
    tests:
    - not_null
  - name: IS_CLOSED
    description: Indicates if the status represents a closed case
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the status
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the status was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the status
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - CASE_STATUS
  - TASK_STATUS

BusinessCommunicationPlatform

Table Partitions (Partitions to cluster)

%3 BusinessCommunicationPlatform_0 BusinessCommunicationPlatform BUSINESS_BRAND_1 BUSINESS_BRAND BUSINESS_BRAND_1->BusinessCommunicationPlatform_0 COMM_SUBSCRIPTION_2 COMM_SUBSCRIPTION COMM_SUBSCRIPTION_2->BusinessCommunicationPlatform_0

BusinessCommunicationPlatform.yml (Document the partitions)

version: 2
models:
- name: BusinessCommunicationPlatform
  description: BUSINESS_BRAND contains brand information. It has fields for ID, name,
    and creation details. COMM_SUBSCRIPTION likely holds subscription data for communications.
    Together, they represent a business communication platform with brands and subscriptions.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the brand or subscription
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - BUSINESS_BRAND
  - COMM_SUBSCRIPTION

OrganizationalDataManagement

Table Partitions (Partitions to cluster)

%3 OrganizationalDataManagement_0 OrganizationalDataManagement DATA_MULTI_ORG_OBJECT_REF_1 DATA_MULTI_ORG_OBJECT_REF DATA_MULTI_ORG_OBJECT_REF_1->OrganizationalDataManagement_0 DATA_SPACE_INTERNAL_ORG_2 DATA_SPACE_INTERNAL_ORG DATA_SPACE_INTERNAL_ORG_2->OrganizationalDataManagement_0

OrganizationalDataManagement.yml (Document the partitions)

version: 2
models:
- name: OrganizationalDataManagement
  description: DATA_MULTI_ORG_OBJECT_REF contains metadata about organizational objects.
    It includes fields for identification, naming, and tracking changes. DATA_SPACE_INTERNAL_ORG
    likely contains internal organizational data. The partitions together represent
    a system for managing organizational data across multiple entities or spaces.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the object for API access
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the object
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - DATA_MULTI_ORG_OBJECT_REF
  - DATA_SPACE_INTERNAL_ORG

MarketplaceEntities

Table Partitions (Partitions to cluster)

%3 MarketplaceEntities_0 MarketplaceEntities CUSTOMER_1 CUSTOMER CUSTOMER_1->MarketplaceEntities_0 SELLER_2 SELLER SELLER_2->MarketplaceEntities_0

MarketplaceEntities.yml (Document the partitions)

version: 2
models:
- name: MarketplaceEntities
  description: CUSTOMER contains customer information. SELLER likely contains seller
    data. The tables store IDs, names, and timestamps. They track creation and modification
    details. The partitions are related through a buyer-seller relationship. Together,
    they represent a marketplace or e-commerce system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the customer or seller
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: PARTY_ID
    description: Unique identifier for the party (customer or seller)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - CUSTOMER
  - SELLER

EventResponseTracker

Table Partitions (Partitions to cluster)

%3 EventResponseTracker_0 EventResponseTracker ACCEPTED_EVENT_RELATION_1 ACCEPTED_EVENT_RELATION ACCEPTED_EVENT_RELATION_1->EventResponseTracker_0 DECLINED_EVENT_RELATION_2 DECLINED_EVENT_RELATION DECLINED_EVENT_RELATION_2->EventResponseTracker_0 UNDECIDED_EVENT_RELATION_3 UNDECIDED_EVENT_RELATION UNDECIDED_EVENT_RELATION_3->EventResponseTracker_0

EventResponseTracker.yml (Document the partitions)

version: 2
models:
- name: EventResponseTracker
  description: The table tracks event responses. It includes event IDs and account
    IDs. It records response types and dates. The partitions separate accepted, declined,
    and undecided responses. The table likely manages event attendance and participant
    status for an organization or system.
  columns:
  - name: ID
    description: Primary key or unique identifier for the record
    tests:
    - not_null
  - name: RELATION_ID
    description: ID representing a relationship (purpose unclear)
    tests:
    - not_null
  - name: EVENT_ID
    description: Unique identifier for the associated event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Unique identifier for the associated account
    tests:
    - not_null
  - name: RESPONDED_DATE
    description: Date and time when the response was submitted
    tests:
    - not_null
  - name: RESPONSE
    description: The actual response given (e.g., accepted, declined)
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating whether the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the response or event
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - ACCEPTED_EVENT_RELATION
  - DECLINED_EVENT_RELATION
  - UNDECIDED_EVENT_RELATION

KnowledgeBaseSystem

Table Partitions (Partitions to cluster)

%3 KnowledgeBaseSystem_0 KnowledgeBaseSystem KNOWLEDGE_ARTICLE_1 KNOWLEDGE_ARTICLE KNOWLEDGE_ARTICLE_1->KnowledgeBaseSystem_0 KNOWLEDGE_KA_2 KNOWLEDGE_KA KNOWLEDGE_KA_2->KnowledgeBaseSystem_0

KnowledgeBaseSystem.yml (Document the partitions)

version: 2
models:
- name: KnowledgeBaseSystem
  description: KNOWLEDGE_ARTICLE stores article metadata. It tracks creation, modification,
    and publication dates. It includes view counts and case associations. KNOWLEDGE_KA
    likely contains the actual content of knowledge articles. Together, they form
    a complete knowledge base system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the article is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the article was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the article
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the article
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the article
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: ARTICLE_NUMBER
    description: Unique identifier for the article
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date when the article was archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of user who archived the article
    tests:
    - not_null
  - name: FIRST_PUBLISHED_DATE
    description: Date when the article was first published
    tests:
    - not_null
  - name: LAST_PUBLISHED_DATE
    description: Date when the article was last published
    tests:
    - not_null
  - name: CASE_ASSOCIATION_COUNT
    description: Number of cases associated with this article
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the article was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the article was last referenced
    tests:
    - not_null
  - name: MIGRATED_TO_FROM_ARTICLE
    description: Flag or ID for article migration status
    tests:
    - not_null
  - name: IS_GENERATED_BY_LLM
    description: Flag indicating if generated by language model
    tests:
    - not_null
  - name: TOTAL_VIEW_COUNT
    description: Total number of views for the article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran soft delete indicator
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - KNOWLEDGE_ARTICLE
  - KNOWLEDGE_KA

SalesforceObjectTags

Table Partitions (Partitions to cluster)

%3 SalesforceObjectTags_0 SalesforceObjectTags ACCOUNT_TAG_1 ACCOUNT_TAG ACCOUNT_TAG_1->SalesforceObjectTags_0 ASSET_TAG_2 ASSET_TAG ASSET_TAG_2->SalesforceObjectTags_0 CAMPAIGN_TAG_3 CAMPAIGN_TAG CAMPAIGN_TAG_3->SalesforceObjectTags_0 CASE_TAG_4 CASE_TAG CASE_TAG_4->SalesforceObjectTags_0 CONTACT_TAG_5 CONTACT_TAG CONTACT_TAG_5->SalesforceObjectTags_0 DASHBOARD_TAG_6 DASHBOARD_TAG DASHBOARD_TAG_6->SalesforceObjectTags_0 DOCUMENT_TAG_7 DOCUMENT_TAG DOCUMENT_TAG_7->SalesforceObjectTags_0 EVENT_TAG_8 EVENT_TAG EVENT_TAG_8->SalesforceObjectTags_0 LEAD_TAG_9 LEAD_TAG LEAD_TAG_9->SalesforceObjectTags_0 NOTE_TAG_10 NOTE_TAG NOTE_TAG_10->SalesforceObjectTags_0 OPPORTUNITY_TAG_11 OPPORTUNITY_TAG OPPORTUNITY_TAG_11->SalesforceObjectTags_0 REPORT_TAG_12 REPORT_TAG REPORT_TAG_12->SalesforceObjectTags_0 TASK_TAG_13 TASK_TAG TASK_TAG_13->SalesforceObjectTags_0

SalesforceObjectTags.yml (Document the partitions)

version: 2
models:
- name: SalesforceObjectTags
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - ACCOUNT_TAG
  - ASSET_TAG
  - CAMPAIGN_TAG
  - CASE_TAG
  - CONTACT_TAG
  - DASHBOARD_TAG
  - DOCUMENT_TAG
  - EVENT_TAG
  - LEAD_TAG
  - NOTE_TAG
  - OPPORTUNITY_TAG
  - REPORT_TAG
  - TASK_TAG

SalesforceObjectSharingConfiguration

Table Partitions (Partitions to cluster)

%3 SalesforceObjectSharingConfiguration_0 SalesforceObjectSharingConfiguration ACTION_CADENCE_SHARE_1 ACTION_CADENCE_SHARE ACTION_CADENCE_SHARE_1->SalesforceObjectSharingConfiguration_0 ACTION_CADENCE_TRACKER_SHARE_2 ACTION_CADENCE_TRACKER_SHARE ACTION_CADENCE_TRACKER_SHARE_2->SalesforceObjectSharingConfiguration_0 ALTERNATIVE_PAYMENT_METHOD_SHARE_3 ALTERNATIVE_PAYMENT_METHOD_SHARE ALTERNATIVE_PAYMENT_METHOD_SHARE_3->SalesforceObjectSharingConfiguration_0 AUTHORIZATION_FORM_CONSENT_SHARE_4 AUTHORIZATION_FORM_CONSENT_SHARE AUTHORIZATION_FORM_CONSENT_SHARE_4->SalesforceObjectSharingConfiguration_0 AUTHORIZATION_FORM_DATA_USE_SHARE_5 AUTHORIZATION_FORM_DATA_USE_SHARE AUTHORIZATION_FORM_DATA_USE_SHARE_5->SalesforceObjectSharingConfiguration_0 AUTHORIZATION_FORM_SHARE_6 AUTHORIZATION_FORM_SHARE AUTHORIZATION_FORM_SHARE_6->SalesforceObjectSharingConfiguration_0 BUSINESS_BRAND_SHARE_7 BUSINESS_BRAND_SHARE BUSINESS_BRAND_SHARE_7->SalesforceObjectSharingConfiguration_0 CALCULATED_INSIGHT_RANGE_BOUND_SHARE_8 CALCULATED_INSIGHT_RANGE_BOUND_SHARE CALCULATED_INSIGHT_RANGE_BOUND_SHARE_8->SalesforceObjectSharingConfiguration_0 CALENDAR_VIEW_SHARE_9 CALENDAR_VIEW_SHARE CALENDAR_VIEW_SHARE_9->SalesforceObjectSharingConfiguration_0 CALL_TEMPLATE_SHARE_10 CALL_TEMPLATE_SHARE CALL_TEMPLATE_SHARE_10->SalesforceObjectSharingConfiguration_0 COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE_11 COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE_11->SalesforceObjectSharingConfiguration_0 COMM_SUBSCRIPTION_CONSENT_SHARE_12 COMM_SUBSCRIPTION_CONSENT_SHARE COMM_SUBSCRIPTION_CONSENT_SHARE_12->SalesforceObjectSharingConfiguration_0 COMM_SUBSCRIPTION_SHARE_13 COMM_SUBSCRIPTION_SHARE COMM_SUBSCRIPTION_SHARE_13->SalesforceObjectSharingConfiguration_0 CONTACT_POINT_ADDRESS_SHARE_14 CONTACT_POINT_ADDRESS_SHARE CONTACT_POINT_ADDRESS_SHARE_14->SalesforceObjectSharingConfiguration_0 CONTACT_POINT_CONSENT_SHARE_15 CONTACT_POINT_CONSENT_SHARE CONTACT_POINT_CONSENT_SHARE_15->SalesforceObjectSharingConfiguration_0 CONTACT_POINT_EMAIL_SHARE_16 CONTACT_POINT_EMAIL_SHARE CONTACT_POINT_EMAIL_SHARE_16->SalesforceObjectSharingConfiguration_0 CONTACT_POINT_PHONE_SHARE_17 CONTACT_POINT_PHONE_SHARE CONTACT_POINT_PHONE_SHARE_17->SalesforceObjectSharingConfiguration_0 CONTACT_POINT_TYPE_CONSENT_SHARE_18 CONTACT_POINT_TYPE_CONSENT_SHARE CONTACT_POINT_TYPE_CONSENT_SHARE_18->SalesforceObjectSharingConfiguration_0 CONTACT_REQUEST_SHARE_19 CONTACT_REQUEST_SHARE CONTACT_REQUEST_SHARE_19->SalesforceObjectSharingConfiguration_0 CUSTOMER_SHARE_20 CUSTOMER_SHARE CUSTOMER_SHARE_20->SalesforceObjectSharingConfiguration_0 DATA_ACTION_TARGET_SHARE_21 DATA_ACTION_TARGET_SHARE DATA_ACTION_TARGET_SHARE_21->SalesforceObjectSharingConfiguration_0 DATA_KIT_DEPLOYMENT_LOG_SHARE_22 DATA_KIT_DEPLOYMENT_LOG_SHARE DATA_KIT_DEPLOYMENT_LOG_SHARE_22->SalesforceObjectSharingConfiguration_0 DATA_LAKE_OBJECT_INSTANCE_SHARE_23 DATA_LAKE_OBJECT_INSTANCE_SHARE DATA_LAKE_OBJECT_INSTANCE_SHARE_23->SalesforceObjectSharingConfiguration_0 DATA_SOURCE_BUNDLE_SHARE_24 DATA_SOURCE_BUNDLE_SHARE DATA_SOURCE_BUNDLE_SHARE_24->SalesforceObjectSharingConfiguration_0 DATA_STREAM_SHARE_25 DATA_STREAM_SHARE DATA_STREAM_SHARE_25->SalesforceObjectSharingConfiguration_0 DATA_USE_LEGAL_BASIS_SHARE_26 DATA_USE_LEGAL_BASIS_SHARE DATA_USE_LEGAL_BASIS_SHARE_26->SalesforceObjectSharingConfiguration_0 DATA_USE_PURPOSE_SHARE_27 DATA_USE_PURPOSE_SHARE DATA_USE_PURPOSE_SHARE_27->SalesforceObjectSharingConfiguration_0 ENGAGEMENT_CHANNEL_TYPE_SHARE_28 ENGAGEMENT_CHANNEL_TYPE_SHARE ENGAGEMENT_CHANNEL_TYPE_SHARE_28->SalesforceObjectSharingConfiguration_0 EXTERNAL_EVENT_MAPPING_SHARE_29 EXTERNAL_EVENT_MAPPING_SHARE EXTERNAL_EVENT_MAPPING_SHARE_29->SalesforceObjectSharingConfiguration_0 EXT_DATA_SHARE_TARGET_SHARE_30 EXT_DATA_SHARE_TARGET_SHARE EXT_DATA_SHARE_TARGET_SHARE_30->SalesforceObjectSharingConfiguration_0 FLOW_INTERVIEW_LOG_SHARE_31 FLOW_INTERVIEW_LOG_SHARE FLOW_INTERVIEW_LOG_SHARE_31->SalesforceObjectSharingConfiguration_0 FLOW_INTERVIEW_SHARE_32 FLOW_INTERVIEW_SHARE FLOW_INTERVIEW_SHARE_32->SalesforceObjectSharingConfiguration_0 FLOW_RECORD_SHARE_33 FLOW_RECORD_SHARE FLOW_RECORD_SHARE_33->SalesforceObjectSharingConfiguration_0 FLOW_TEST_RESULT_SHARE_34 FLOW_TEST_RESULT_SHARE FLOW_TEST_RESULT_SHARE_34->SalesforceObjectSharingConfiguration_0 GOAL_ASSIGNMENT_RECOMMENDATION_SHARE_35 GOAL_ASSIGNMENT_RECOMMENDATION_SHARE GOAL_ASSIGNMENT_RECOMMENDATION_SHARE_35->SalesforceObjectSharingConfiguration_0 GOAL_ASSIGNMENT_SHARE_36 GOAL_ASSIGNMENT_SHARE GOAL_ASSIGNMENT_SHARE_36->SalesforceObjectSharingConfiguration_0 GOAL_DEFINITION_SHARE_37 GOAL_DEFINITION_SHARE GOAL_DEFINITION_SHARE_37->SalesforceObjectSharingConfiguration_0 IMAGE_SHARE_38 IMAGE_SHARE IMAGE_SHARE_38->SalesforceObjectSharingConfiguration_0 KNOWLEDGE_SHARE_39 KNOWLEDGE_SHARE KNOWLEDGE_SHARE_39->SalesforceObjectSharingConfiguration_0 LIST_EMAIL_SHARE_40 LIST_EMAIL_SHARE LIST_EMAIL_SHARE_40->SalesforceObjectSharingConfiguration_0 MERCHANT_ACCOUNT_SHARE_41 MERCHANT_ACCOUNT_SHARE MERCHANT_ACCOUNT_SHARE_41->SalesforceObjectSharingConfiguration_0 MKT_DATA_TRANSFORM_SHARE_42 MKT_DATA_TRANSFORM_SHARE MKT_DATA_TRANSFORM_SHARE_42->SalesforceObjectSharingConfiguration_0 MKT_MLMODEL_SHARE_43 MKT_MLMODEL_SHARE MKT_MLMODEL_SHARE_43->SalesforceObjectSharingConfiguration_0 OBJECT_DATA_IMPORT_SHARE_44 OBJECT_DATA_IMPORT_SHARE OBJECT_DATA_IMPORT_SHARE_44->SalesforceObjectSharingConfiguration_0 OPERATING_HOURS_SHARE_45 OPERATING_HOURS_SHARE OPERATING_HOURS_SHARE_45->SalesforceObjectSharingConfiguration_0 PARTY_CONSENT_SHARE_46 PARTY_CONSENT_SHARE PARTY_CONSENT_SHARE_46->SalesforceObjectSharingConfiguration_0 PROMPT_ACTION_SHARE_47 PROMPT_ACTION_SHARE PROMPT_ACTION_SHARE_47->SalesforceObjectSharingConfiguration_0 PROMPT_ERROR_SHARE_48 PROMPT_ERROR_SHARE PROMPT_ERROR_SHARE_48->SalesforceObjectSharingConfiguration_0 QUICK_TEXT_SHARE_49 QUICK_TEXT_SHARE QUICK_TEXT_SHARE_49->SalesforceObjectSharingConfiguration_0 QUICK_TEXT_USAGE_SHARE_50 QUICK_TEXT_USAGE_SHARE QUICK_TEXT_USAGE_SHARE_50->SalesforceObjectSharingConfiguration_0 SELLER_SHARE_51 SELLER_SHARE SELLER_SHARE_51->SalesforceObjectSharingConfiguration_0 TABLEAU_HOST_MAPPING_SHARE_52 TABLEAU_HOST_MAPPING_SHARE TABLEAU_HOST_MAPPING_SHARE_52->SalesforceObjectSharingConfiguration_0 TODAY_GOAL_SHARE_53 TODAY_GOAL_SHARE TODAY_GOAL_SHARE_53->SalesforceObjectSharingConfiguration_0 USER_APP_MENU_CUSTOMIZATION_SHARE_54 USER_APP_MENU_CUSTOMIZATION_SHARE USER_APP_MENU_CUSTOMIZATION_SHARE_54->SalesforceObjectSharingConfiguration_0 USER_DEFINED_LABEL_ASSIGNMENT_SHARE_55 USER_DEFINED_LABEL_ASSIGNMENT_SHARE USER_DEFINED_LABEL_ASSIGNMENT_SHARE_55->SalesforceObjectSharingConfiguration_0 USER_DEFINED_LABEL_SHARE_56 USER_DEFINED_LABEL_SHARE USER_DEFINED_LABEL_SHARE_56->SalesforceObjectSharingConfiguration_0 USER_EMAIL_PREFERRED_PERSON_SHARE_57 USER_EMAIL_PREFERRED_PERSON_SHARE USER_EMAIL_PREFERRED_PERSON_SHARE_57->SalesforceObjectSharingConfiguration_0 USER_PROVISIONING_REQUEST_SHARE_58 USER_PROVISIONING_REQUEST_SHARE USER_PROVISIONING_REQUEST_SHARE_58->SalesforceObjectSharingConfiguration_0 USER_WORK_LIST_SHARE_59 USER_WORK_LIST_SHARE USER_WORK_LIST_SHARE_59->SalesforceObjectSharingConfiguration_0 VIDEO_CALL_SHARE_60 VIDEO_CALL_SHARE VIDEO_CALL_SHARE_60->SalesforceObjectSharingConfiguration_0

SalesforceObjectSharingConfiguration.yml (Document the partitions)

version: 2
models:
- name: SalesforceObjectSharingConfiguration
  description: These tables store sharing rules for Salesforce objects. They cover
    customer interactions, marketing activities, and data management. Each partition
    represents a specific object or feature. The tables likely contain user or group
    IDs, access levels, and other sharing details.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Specifies the level of access granted
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of Fivetran's last synchronization
    tests:
    - not_null
  tests: []
cocoon_meta:
  partitions:
  - ACTION_CADENCE_SHARE
  - ACTION_CADENCE_TRACKER_SHARE
  - ALTERNATIVE_PAYMENT_METHOD_SHARE
  - AUTHORIZATION_FORM_CONSENT_SHARE
  - AUTHORIZATION_FORM_DATA_USE_SHARE
  - AUTHORIZATION_FORM_SHARE
  - BUSINESS_BRAND_SHARE
  - CALCULATED_INSIGHT_RANGE_BOUND_SHARE
  - CALENDAR_VIEW_SHARE
  - CALL_TEMPLATE_SHARE
  - COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE
  - COMM_SUBSCRIPTION_CONSENT_SHARE
  - COMM_SUBSCRIPTION_SHARE
  - CONTACT_POINT_ADDRESS_SHARE
  - CONTACT_POINT_CONSENT_SHARE
  - CONTACT_POINT_EMAIL_SHARE
  - CONTACT_POINT_PHONE_SHARE
  - CONTACT_POINT_TYPE_CONSENT_SHARE
  - CONTACT_REQUEST_SHARE
  - CUSTOMER_SHARE
  - DATA_ACTION_TARGET_SHARE
  - DATA_KIT_DEPLOYMENT_LOG_SHARE
  - DATA_LAKE_OBJECT_INSTANCE_SHARE
  - DATA_SOURCE_BUNDLE_SHARE
  - DATA_STREAM_SHARE
  - DATA_USE_LEGAL_BASIS_SHARE
  - DATA_USE_PURPOSE_SHARE
  - ENGAGEMENT_CHANNEL_TYPE_SHARE
  - EXTERNAL_EVENT_MAPPING_SHARE
  - EXT_DATA_SHARE_TARGET_SHARE
  - FLOW_INTERVIEW_LOG_SHARE
  - FLOW_INTERVIEW_SHARE
  - FLOW_RECORD_SHARE
  - FLOW_TEST_RESULT_SHARE
  - GOAL_ASSIGNMENT_RECOMMENDATION_SHARE
  - GOAL_ASSIGNMENT_SHARE
  - GOAL_DEFINITION_SHARE
  - IMAGE_SHARE
  - KNOWLEDGE_SHARE
  - LIST_EMAIL_SHARE
  - MERCHANT_ACCOUNT_SHARE
  - MKT_DATA_TRANSFORM_SHARE
  - MKT_MLMODEL_SHARE
  - OBJECT_DATA_IMPORT_SHARE
  - OPERATING_HOURS_SHARE
  - PARTY_CONSENT_SHARE
  - PROMPT_ACTION_SHARE
  - PROMPT_ERROR_SHARE
  - QUICK_TEXT_SHARE
  - QUICK_TEXT_USAGE_SHARE
  - SELLER_SHARE
  - TABLEAU_HOST_MAPPING_SHARE
  - TODAY_GOAL_SHARE
  - USER_APP_MENU_CUSTOMIZATION_SHARE
  - USER_DEFINED_LABEL_ASSIGNMENT_SHARE
  - USER_DEFINED_LABEL_SHARE
  - USER_EMAIL_PREFERRED_PERSON_SHARE
  - USER_PROVISIONING_REQUEST_SHARE
  - USER_WORK_LIST_SHARE
  - VIDEO_CALL_SHARE
We display the stage tables, their SQL transformations, and their configurations.

stg_TODAY_GOAL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TODAY_GOAL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:43.721578+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TODAY_GOAL_SHARE"

stg_TODAY_GOAL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_TODAY_GOAL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_IMAGE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE IMAGE_VIEW_TYPE IS_ACTIVE IMAGE_CLASS IMAGE_CLASS_OBJECT_TYPE CONTENT_DOCUMENT_ID CAPTURED_ANGLE TITLE ALTERNATE_TEXT URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IMAGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:55.800771+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IMAGE"

stg_IMAGE.yml (Document the table)

version: 2
models:
- name: stg_IMAGE
  description: The table is about images. It contains details like image ID, owner,
    deletion status, name, creation and modification dates, image type, activity status,
    classification, content document ID, captured angle, title, alternate text, and
    URL. The table also includes system fields for tracking changes and views. It
    appears to be used for managing and organizing image metadata in a system.
  columns:
  - name: ID
    description: Unique identifier for the image
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the image
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the image has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the image file
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the image was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the image
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the image
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the image was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the image was last referenced
    tests:
    - not_null
  - name: IMAGE_VIEW_TYPE
    description: Type of view for the image
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the image is currently active
    tests:
    - not_null
  - name: IMAGE_CLASS
    description: Classification or category of the image
    tests:
    - not_null
  - name: IMAGE_CLASS_OBJECT_TYPE
    description: Object type associated with the image class
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the associated content document
    tests:
    - not_null
  - name: CAPTURED_ANGLE
    description: Angle at which the image was captured
    tests:
    - not_null
  - name: TITLE
    description: Title or caption of the image
    tests:
    - not_null
  - name: ALTERNATE_TEXT
    description: Alternative text description for the image
    tests:
    - not_null
  - name: URL
    description: URL where the image can be accessed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MERCH_ACC_PAYMENT_METHOD_SET

Table Preview (sample only)

ID IS_DELETED PAYMENT_METHOD_SET_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MERCHANT_ACCOUNT_ID DEVELOPER_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MERCH_ACC_PAYMENT_METHOD_SET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:46.899045+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MERCH_ACC_PAYMENT_METHOD_SET"

stg_MERCH_ACC_PAYMENT_METHOD_SET.yml (Document the table)

version: 2
models:
- name: stg_MERCH_ACC_PAYMENT_METHOD_SET
  description: The table is about payment method sets for merchant accounts. It includes
    identifiers, creation and modification details, and a link to the merchant account.
    The table tracks whether the set is deleted, has a unique number, and stores a
    developer name. It also includes Fivetran-specific fields for syncing and deletion
    tracking.
  columns:
  - name: ID
    description: Unique identifier for the payment method set
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the set is deleted
    tests:
    - not_null
  - name: PAYMENT_METHOD_SET_NUMBER
    description: Unique number for the payment method set
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the set was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the set
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the set
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: MERCHANT_ACCOUNT_ID
    description: ID of the associated merchant account
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers for the set
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_GOAL_ASSIGNMENT_RECOMMENDATION_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GOAL_ASSIGNMENT_RECOMMENDATION_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:15.064969+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_ASSIGNMENT_RECOMMENDATION_SHARE"

stg_GOAL_ASSIGNMENT_RECOMMENDATION_SHARE.yml (Document the table)

version: 2
models:
- name: stg_GOAL_ASSIGNMENT_RECOMMENDATION_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MANAGED_CONTENT_CHANNEL

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE OPTIONS_IS_SEARCHABLE OPTIONS_IS_CACHE_CONTROL_PUBLIC OPTIONS_IS_DOMAIN_LOCKED DOMAIN_ DOMAIN_HOST_NAME CACHE_CONTROL_MAX_AGE MEDIA_CACHE_CONTROL_MAX_AGE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MANAGED_CONTENT_CHANNEL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:21.937892+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MANAGED_CONTENT_CHANNEL"

stg_MANAGED_CONTENT_CHANNEL.yml (Document the table)

version: 2
models:
- name: stg_MANAGED_CONTENT_CHANNEL
  description: The table is about managed content channels in a CMS system. It includes
    details like channel ID, name, type, creation and modification dates, and user
    IDs who created or modified it. It also contains configuration options such as
    searchability, caching, domain locking, and cache control settings. The table
    tracks deletion status and syncing information.
  columns:
  - name: ID
    description: Unique identifier for the content channel
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the channel has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the content channel
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the channel was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the channel
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the channel
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TYPE
    description: Type of the content channel
    tests:
    - not_null
  - name: OPTIONS_IS_SEARCHABLE
    description: Indicates if the channel is searchable
    tests:
    - not_null
  - name: OPTIONS_IS_CACHE_CONTROL_PUBLIC
    description: Indicates if cache control is public
    tests:
    - not_null
  - name: OPTIONS_IS_DOMAIN_LOCKED
    description: Indicates if the domain is locked
    tests:
    - not_null
  - name: DOMAIN_
    description: Domain information for the channel
    tests:
    - not_null
  - name: DOMAIN_HOST_NAME
    description: Hostname of the channel's domain
    tests:
    - not_null
  - name: CACHE_CONTROL_MAX_AGE
    description: Maximum age for cache control in seconds
    tests:
    - not_null
  - name: MEDIA_CACHE_CONTROL_MAX_AGE
    description: Maximum age for media cache control in seconds
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if deleted in Fivetran sync
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_MERCHANT_ACCOUNT

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE MODE STATUS ACCOUNT_DESCRIPTION PAYMENT_STATUS PAYOUT_STATUS COUNTRY_ISO_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED DEFAULT_TAP_TO_PAY_LOCATION

stg_MERCHANT_ACCOUNT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:39.135014+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MERCHANT_ACCOUNT"

stg_MERCHANT_ACCOUNT.yml (Document the table)

version: 2
models:
- name: stg_MERCHANT_ACCOUNT
  description: The table is about merchant accounts. It includes details like account
    ID, owner, name, creation date, modification dates, mode, status, and payment/payout
    statuses. The table tracks whether accounts are deleted and their country. It
    also stores system timestamps and user view dates. The table likely supports a
    payment or e-commerce system, tracking merchant account details and statuses.
  columns:
  - name: ID
    description: Unique identifier for the merchant account
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the account owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the account is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the merchant account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the account was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the account
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the account
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the account
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the account was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the account was last referenced
    tests:
    - not_null
  - name: MODE
    description: Operating mode of the merchant account
    tests:
    - not_null
  - name: STATUS
    description: Current status of the merchant account
    tests:
    - not_null
  - name: ACCOUNT_DESCRIPTION
    description: Description of the merchant account
    tests:
    - not_null
  - name: PAYMENT_STATUS
    description: Status of payments for the account
    tests:
    - not_null
  - name: PAYOUT_STATUS
    description: Status of payouts for the account
    tests:
    - not_null
  - name: COUNTRY_ISO_CODE
    description: ISO code of the merchant's country
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: DEFAULT_TAP_TO_PAY_LOCATION
    description: Default location for tap-to-pay transactions
    tests:
    - not_null
  tests: []

stg_AUTH_SESSION

Table Preview (sample only)

ID USERS_ID CREATED_DATE LAST_MODIFIED_DATE NUM_SECONDS_VALID USER_TYPE SOURCE_IP LOGIN_TYPE SESSION_TYPE SESSION_SECURITY_LEVEL LOGOUT_URL PARENT_ID LOGIN_HISTORY_ID LOGIN_GEO_ID IS_CURRENT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTH_SESSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:56:35.155966+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTH_SESSION"

stg_AUTH_SESSION.yml (Document the table)

version: 2
models:
- name: stg_AUTH_SESSION
  description: The table is about authentication sessions. It contains details of
    user login sessions including user ID, session creation and modification times,
    session duration, user type, IP address, login type, session type, security level,
    and geographic information. The table also tracks if the session is current and
    includes metadata about data syncing and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the session
    tests:
    - not_null
  - name: USERS_ID
    description: Unique identifier for the user
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the session was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last session modification
    tests:
    - not_null
  - name: NUM_SECONDS_VALID
    description: Duration of session validity in seconds
    tests:
    - not_null
  - name: USER_TYPE
    description: Type of user account
    tests:
    - not_null
  - name: SOURCE_IP
    description: IP address from which the session originated
    tests:
    - not_null
  - name: LOGIN_TYPE
    description: Method used for login
    tests:
    - not_null
  - name: SESSION_TYPE
    description: Type of session established
    tests:
    - not_null
  - name: SESSION_SECURITY_LEVEL
    description: Security level of the session
    tests:
    - not_null
  - name: LOGOUT_URL
    description: URL for logging out
    cocoon_meta:
      missing_reason: Not applicable for sessions without explicit logout.
  - name: PARENT_ID
    description: Identifier for parent session if applicable
    cocoon_meta:
      missing_reason: Not applicable for sessions without a parent session.
  - name: LOGIN_HISTORY_ID
    description: Identifier for login history record
    cocoon_meta:
      missing_reason: Unknown
  - name: LOGIN_GEO_ID
    description: Identifier for geographic location of login
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_CURRENT
    description: Indicates if the session is currently active
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_REDIRECT_WHITELIST_URL

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_REDIRECT_WHITELIST_URL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:47.663767+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."REDIRECT_WHITELIST_URL"

stg_REDIRECT_WHITELIST_URL.yml (Document the table)

version: 2
models:
- name: stg_REDIRECT_WHITELIST_URL
  description: The table is about redirect whitelist URLs. It contains details like
    URL, developer name, language, and master label. The table tracks creation and
    modification dates, as well as who created or modified the entry. It includes
    flags for deletion status and system timestamps. The table likely serves to manage
    approved redirect destinations for security purposes.
  columns:
  - name: ID
    description: Unique identifier for each entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer who created the entry
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the redirect URL
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the redirect URL
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: URL
    description: The actual redirect URL
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_UI_FORMULA_RULE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ASSOCIATED_ELEMENT_ID BOOLEAN_FILTER FORMULA PARENT_KEY_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UI_FORMULA_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:34:10.068944+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UI_FORMULA_RULE"

stg_UI_FORMULA_RULE.yml (Document the table)

version: 2
models:
- name: stg_UI_FORMULA_RULE
  description: The table is about UI formula rules. It contains details such as rule
    ID, developer name, language, master label, creation and modification dates, associated
    element ID, and boolean filter. Each rule has a unique identifier and is linked
    to a specific element. The table tracks creation, modification, and system timestamps,
    as well as the users who created or modified the rules.
  columns:
  - name: ID
    description: Unique identifier for the UI formula rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the rule is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the rule used by developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the rule
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the rule
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: ASSOCIATED_ELEMENT_ID
    description: ID of the element associated with the rule
    tests:
    - not_null
  - name: BOOLEAN_FILTER
    description: Boolean filter for the rule
    cocoon_meta:
      missing_reason: Unknown
  - name: FORMULA
    description: Formula used in the rule
    cocoon_meta:
      missing_reason: Unknown
  - name: PARENT_KEY_PREFIX
    description: Prefix of the parent key
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CSP_TRUSTED_SITE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ENDPOINT_URL DESCRIPTION IS_ACTIVE CONTEXT IS_APPLICABLE_TO_CONNECT_SRC IS_APPLICABLE_TO_FRAME_SRC IS_APPLICABLE_TO_IMG_SRC IS_APPLICABLE_TO_STYLE_SRC IS_APPLICABLE_TO_FONT_SRC IS_APPLICABLE_TO_MEDIA_SRC CAN_ACCESS_CAMERA CAN_ACCESS_MICROPHONE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CSP_TRUSTED_SITE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:40.254752+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CSP_TRUSTED_SITE"

stg_CSP_TRUSTED_SITE.yml (Document the table)

version: 2
models:
- name: stg_CSP_TRUSTED_SITE
  description: The table is about CSP trusted sites. It contains details like endpoint
    URL, description, and active status. The table tracks creation and modification
    dates. It specifies which contexts the site is applicable to (e.g., connect source,
    frame source). The table also indicates if the site can access camera or microphone.
    It includes flags for various source types like image, style, and font.
  columns:
  - name: ID
    description: Unique identifier for the CSP trusted site
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer who created the site
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the CSP trusted site
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the CSP trusted site
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the CSP trusted site
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: ENDPOINT_URL
    description: URL of the trusted site endpoint
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the CSP trusted site
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the site is active
    tests:
    - not_null
  - name: CONTEXT
    description: Context in which the site is used
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_CONNECT_SRC
    description: Flag for applicability to connect source
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_FRAME_SRC
    description: Flag for applicability to frame source
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_IMG_SRC
    description: Flag for applicability to image source
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_STYLE_SRC
    description: Flag for applicability to style source
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_FONT_SRC
    description: Flag for applicability to font source
    tests:
    - not_null
  - name: IS_APPLICABLE_TO_MEDIA_SRC
    description: Flag for applicability to media source
    tests:
    - not_null
  - name: CAN_ACCESS_CAMERA
    description: Flag indicating if site can access camera
    tests:
    - not_null
  - name: CAN_ACCESS_MICROPHONE
    description: Flag indicating if site can access microphone
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DASHBOARD

Table Preview (sample only)

ID IS_DELETED OWNER_ID FOLDER_ID FOLDER_NAME TITLE DEVELOPER_NAME NAMESPACE_PREFIX DESCRIPTION LEFT_SIZE MIDDLE_SIZE RIGHT_SIZE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RUNNING_USER_ID TITLE_COLOR TITLE_SIZE TEXT_COLOR BACKGROUND_START BACKGROUND_END BACKGROUND_DIRECTION TYPE LAST_VIEWED_DATE LAST_REFERENCED_DATE DASHBOARD_RESULT_REFRESHED_DATE DASHBOARD_RESULT_RUNNING_USER COLOR_PALETTE CHART_THEME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DASHBOARD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:55.829131+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DASHBOARD"

stg_DASHBOARD.yml (Document the table)

version: 2
models:
- name: stg_DASHBOARD
  description: The table is about dashboards. It includes details such as dashboard
    ID, title, owner, folder, creation date, and visual properties. Each row represents
    a unique dashboard with attributes like type, color scheme, size settings, and
    last viewed date. The table also tracks modification history and system metadata
    for each dashboard.
  columns:
  - name: ID
    description: Unique identifier for the dashboard
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the dashboard is deleted
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the dashboard owner
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing the dashboard
    tests:
    - not_null
  - name: FOLDER_NAME
    description: Name of the folder containing the dashboard
    tests:
    - not_null
  - name: TITLE
    description: Title of the dashboard
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer name or API name of the dashboard
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for packaged dashboards
    cocoon_meta:
      missing_reason: Only applicable for custom namespaces, not standard objects.
  - name: DESCRIPTION
    description: Description of the dashboard
    tests:
    - not_null
  - name: LEFT_SIZE
    description: Size setting for the left column
    tests:
    - not_null
  - name: MIDDLE_SIZE
    description: Size setting for the middle column
    tests:
    - not_null
  - name: RIGHT_SIZE
    description: Size setting for the right column
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the dashboard was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the dashboard
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the dashboard
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: RUNNING_USER_ID
    description: ID of the user context for running the dashboard
    tests:
    - not_null
  - name: TITLE_COLOR
    description: Color code for the dashboard title
    tests:
    - not_null
  - name: TITLE_SIZE
    description: Font size of the dashboard title
    tests:
    - not_null
  - name: TEXT_COLOR
    description: Color code for the dashboard text
    tests:
    - not_null
  - name: BACKGROUND_START
    description: Starting color code for background gradient
    tests:
    - not_null
  - name: BACKGROUND_END
    description: Ending color code for background gradient
    tests:
    - not_null
  - name: BACKGROUND_DIRECTION
    description: Direction of the background gradient
    tests:
    - not_null
  - name: TYPE
    description: Type of dashboard (e.g., MyTeamUser, SpecifiedUser)
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the dashboard was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date and time the dashboard was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: DASHBOARD_RESULT_REFRESHED_DATE
    description: Date of last dashboard result refresh
    cocoon_meta:
      missing_reason: Unknown
  - name: DASHBOARD_RESULT_RUNNING_USER
    description: User context for the last result refresh
    cocoon_meta:
      missing_reason: Unknown
  - name: COLOR_PALETTE
    description: Color palette used in the dashboard
    tests:
    - not_null
  - name: CHART_THEME
    description: Visual theme of the dashboard
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CALENDAR_VIEW

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DISPLAYED COLOR FILL_PATTERN LIST_VIEW_FILTER_ID DATE_HANDLING_TYPE START_FIELD END_FIELD DISPLAY_FIELD SOBJECT_TYPE PUBLISHER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALENDAR_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:40.567160+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALENDAR_VIEW"

stg_CALENDAR_VIEW.yml (Document the table)

version: 2
models:
- name: stg_CALENDAR_VIEW
  description: The table is about calendar views in a system. It contains details
    such as the owner, name, creation date, last modification date, display settings,
    and color. The table also includes fields for date handling, start and end fields,
    and the object type it's associated with. It tracks whether the view is deleted
    or displayed, and includes system fields for tracking modifications and syncing.
  columns:
  - name: ID
    description: Unique identifier for the calendar view
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this calendar view
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the calendar view is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the calendar view
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the calendar view was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the calendar view
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the calendar view
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the calendar view
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DISPLAYED
    description: Flag indicating if the calendar view is displayed
    tests:
    - not_null
  - name: COLOR
    description: Color associated with the calendar view
    tests:
    - not_null
  - name: FILL_PATTERN
    description: Fill pattern for the calendar view
    tests:
    - not_null
  - name: LIST_VIEW_FILTER_ID
    description: ID of the associated list view filter
    tests:
    - not_null
  - name: DATE_HANDLING_TYPE
    description: Type of date handling for the calendar view
    tests:
    - not_null
  - name: START_FIELD
    description: Field used for the start date
    tests:
    - not_null
  - name: END_FIELD
    description: Field used for the end date
    tests:
    - not_null
  - name: DISPLAY_FIELD
    description: Field used for display in the calendar view
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of Salesforce object associated with the view
    tests:
    - not_null
  - name: PUBLISHER_ID
    description: ID of the publisher for the calendar view
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_FIELD_PERMISSIONS

Table Preview (sample only)

ID PARENT_ID SOBJECT_TYPE FIELD PERMISSIONS_EDIT PERMISSIONS_READ SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FIELD_PERMISSIONS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:51.121351+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIELD_PERMISSIONS"

stg_FIELD_PERMISSIONS.yml (Document the table)

version: 2
models:
- name: stg_FIELD_PERMISSIONS
  description: The table is about field permissions for different object types. It
    contains IDs, parent IDs, object types, field names, and permission settings.
    Each row represents a permission for a specific field on an object. It includes
    boolean flags for edit and read permissions. The table also tracks system modification
    timestamps and synchronization details. It covers various object types like ContactPointEmail,
    ContactPointAddress, Contact, and AuthorizationFormText.
  columns:
  - name: ID
    description: Unique identifier for the field permission record
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent object or record
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Salesforce object type the field belongs to
    tests:
    - not_null
  - name: FIELD
    description: Full name of the field including object prefix
    tests:
    - not_null
  - name: PERMISSIONS_EDIT
    description: Boolean indicating if edit permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_READ
    description: Boolean indicating if read permission is granted
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last system modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_HOLIDAY

Table Preview (sample only)

ID NAME DESCRIPTION IS_ALL_DAY ACTIVITY_DATE START_TIME_IN_MINUTES END_TIME_IN_MINUTES CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_RECURRENCE RECURRENCE_START_DATE RECURRENCE_END_DATE_ONLY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_HOLIDAY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:09.692942+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."HOLIDAY"

stg_HOLIDAY.yml (Document the table)

version: 2
models:
- name: stg_HOLIDAY
  description: The table is about holiday events. It contains details such as name,
    description, date, and time. The table includes recurrence information for repeating
    holidays. It also tracks creation and modification metadata. The IS_ALL_DAY field
    likely indicates if the holiday spans an entire day.
  columns:
  - name: ID
    description: Unique identifier for the holiday event
    tests:
    - not_null
  - name: NAME
    description: Name of the holiday event
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the holiday event
    tests:
    - not_null
  - name: IS_ALL_DAY
    description: Indicates if the holiday lasts all day
    tests:
    - not_null
  - name: ACTIVITY_DATE
    description: Date of the holiday event
    tests:
    - not_null
  - name: START_TIME_IN_MINUTES
    description: Start time of the event in minutes
    tests:
    - not_null
  - name: END_TIME_IN_MINUTES
    description: End time of the event in minutes
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_RECURRENCE
    description: Indicates if the holiday recurs
    tests:
    - not_null
  - name: RECURRENCE_START_DATE
    description: Start date of the recurrence pattern
    tests:
    - not_null
  - name: RECURRENCE_END_DATE_ONLY
    description: End date of the recurrence pattern
    tests:
    - not_null
  - name: RECURRENCE_TYPE
    description: Type of recurrence (e.g., weekly, monthly)
    tests:
    - not_null
  - name: RECURRENCE_INTERVAL
    description: Interval between recurrences
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_WEEK_MASK
    description: Days of the week for recurrence
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_MONTH
    description: Day of the month for recurrence
    tests:
    - not_null
  - name: RECURRENCE_INSTANCE
    description: Instance of the recurrence (e.g., 1st, 2nd)
    tests:
    - not_null
  - name: RECURRENCE_MONTH_OF_YEAR
    description: Month of the year for recurrence
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OBJECT_DATA_IMPORT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OBJECT_DATA_IMPORT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:31.364632+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OBJECT_DATA_IMPORT_SHARE"

stg_OBJECT_DATA_IMPORT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_OBJECT_DATA_IMPORT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CLIENT_BROWSER

Table Preview (sample only)

ID USERS_ID FULL_USER_AGENT PROXY_INFO LAST_UPDATE CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CLIENT_BROWSER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:41.274945+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CLIENT_BROWSER"

stg_CLIENT_BROWSER.yml (Document the table)

version: 2
models:
- name: stg_CLIENT_BROWSER
  description: The table is about client browser details. It includes a unique ID,
    associated user ID, full user agent string, proxy information, last update timestamp,
    creation date, deletion status, and synchronization timestamp. The table stores
    browser-specific data for users, likely for tracking or analytics purposes.
  columns:
  - name: ID
    description: Unique identifier for the browser details record
    tests:
    - not_null
  - name: USERS_ID
    description: Associated user identifier
    tests:
    - not_null
  - name: FULL_USER_AGENT
    description: Complete user agent string from the browser
    tests:
    - not_null
  - name: PROXY_INFO
    description: Information about any proxy used
    cocoon_meta:
      missing_reason: No proxy used for this session or connection.
  - name: LAST_UPDATE
    description: Timestamp of the last update to the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the record was created
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_DATA_ASSESSMENT_VALUE_METRIC

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_ASSESSMENT_FIELD_METRIC_ID FIELD_VALUE VALUE_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ASSESSMENT_VALUE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:01.552235+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ASSESSMENT_VALUE_METRIC"

stg_DATA_ASSESSMENT_VALUE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_DATA_ASSESSMENT_VALUE_METRIC
  description: The table is about data assessment value metrics. It contains information
    on field values and their counts within a data assessment. The table includes
    metadata such as creation and modification dates, user IDs, and a link to a related
    field metric. It also tracks deletion status and synchronization details.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or label of the data assessment value metric
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: DATA_ASSESSMENT_FIELD_METRIC_ID
    description: ID of the related field metric
    tests:
    - not_null
  - name: FIELD_VALUE
    description: Specific value of the field being assessed
    tests:
    - not_null
  - name: VALUE_COUNT
    description: Count of occurrences for the field value
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_USE_PURPOSE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_USE_PURPOSE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:45.587788+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_USE_PURPOSE_SHARE"

stg_DATA_USE_PURPOSE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_USE_PURPOSE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONFERENCE_NUMBER

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_EVENT_ID LABEL NUMBER ACCESS_CODE VENDOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONFERENCE_NUMBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:41.404765+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONFERENCE_NUMBER"

stg_CONFERENCE_NUMBER.yml (Document the table)

version: 2
models:
- name: stg_CONFERENCE_NUMBER
  description: The table is about conference call numbers. It includes details like
    an identifier, name, label, number, and access code for each conference call.
    It also tracks creation and modification dates, associated user IDs, and a vendor.
    The table has system fields for tracking changes and synchronization with external
    systems.
  columns:
  - name: ID
    description: Unique identifier for the conference call
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the conference call
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: EXTERNAL_EVENT_ID
    description: ID of related external event
    tests:
    - not_null
  - name: LABEL
    description: Label or title for the conference call
    tests:
    - not_null
  - name: NUMBER
    description: Phone number for the conference call
    tests:
    - not_null
  - name: ACCESS_CODE
    description: Access code for the conference call
    tests:
    - not_null
  - name: VENDOR
    description: Vendor providing the conference call service
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_MULTI_ORG_OBJECT_REF

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_MULTI_ORG_OBJECT_REF.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:50.084146+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_MULTI_ORG_OBJECT_REF"

stg_DATA_MULTI_ORG_OBJECT_REF.yml (Document the table)

version: 2
models:
- name: stg_DATA_MULTI_ORG_OBJECT_REF
  description: DATA_MULTI_ORG_OBJECT_REF contains metadata about organizational objects.
    It includes fields for identification, naming, and tracking changes. DATA_SPACE_INTERNAL_ORG
    likely contains internal organizational data. The partitions together represent
    a system for managing organizational data across multiple entities or spaces.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the object for API access
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the object
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_USER_PROV_ACCOUNT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SALESFORCE_USER_ID CONNECTED_APP_ID EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME LINK_STATE STATUS DELETED_DATE IS_KNOWN_LINK _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROV_ACCOUNT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:58.124143+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROV_ACCOUNT"

stg_USER_PROV_ACCOUNT.yml (Document the table)

version: 2
models:
- name: stg_USER_PROV_ACCOUNT
  description: The table is about user provisioning accounts. It contains details
    like Salesforce user ID, connected app ID, external user information (ID, username,
    email, name), link state, and status. It tracks creation and modification dates,
    as well as deletion status. The table likely manages the linking of external user
    accounts to internal systems or applications.
  columns:
  - name: ID
    description: Unique identifier for the user provisioning account
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the user provisioning account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: SALESFORCE_USER_ID
    description: ID of the associated Salesforce user
    tests:
    - not_null
  - name: CONNECTED_APP_ID
    description: ID of the connected application
    tests:
    - not_null
  - name: EXTERNAL_USER_ID
    description: ID of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_USERNAME
    description: Username of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_EMAIL
    description: Email of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_FIRST_NAME
    description: First name of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_LAST_NAME
    description: Last name of the user in the external system
    tests:
    - not_null
  - name: LINK_STATE
    description: Current state of the link between accounts
    tests:
    - not_null
  - name: STATUS
    description: Current status of the user provisioning account
    tests:
    - not_null
  - name: DELETED_DATE
    description: Date when the record was deleted, if applicable
    tests:
    - not_null
  - name: IS_KNOWN_LINK
    description: Flag indicating if the link is known
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MAILMERGE_TEMPLATE

Table Preview (sample only)

ID IS_DELETED NAME DESCRIPTION FILENAME BODY_LENGTH LAST_USED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SECURITY_OPTIONS_ATTACHMENT_SCANNED_FOR_XSS SECURITY_OPTIONS_ATTACHMENT_HAS_XSSTHREAT SECURITY_OPTIONS_ATTACHMENT_SCANNEDFOR_FLASH SECURITY_OPTIONS_ATTACHMENT_HAS_FLASH _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MAILMERGE_TEMPLATE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:04.718827+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MAILMERGE_TEMPLATE"

stg_MAILMERGE_TEMPLATE.yml (Document the table)

version: 2
models:
- name: stg_MAILMERGE_TEMPLATE
  description: The table is about email merge templates. It contains details like
    template ID, name, description, filename, and body length. It tracks creation
    and modification dates, as well as who created or modified the template. The table
    also includes security-related fields for attachment scanning. It has fields for
    tracking deletion status and last used date of templates.
  columns:
  - name: ID
    description: Unique identifier for the email merge template
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the template has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the email merge template
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the template's purpose
    tests:
    - not_null
  - name: FILENAME
    description: Name of the file associated with the template
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Length of the template's body content
    tests:
    - not_null
  - name: LAST_USED_DATE
    description: Date when the template was last used
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the template was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the template
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the template
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the template
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: SECURITY_OPTIONS_ATTACHMENT_SCANNED_FOR_XSS
    description: Indicates if attachment was scanned for XSS
    tests:
    - not_null
  - name: SECURITY_OPTIONS_ATTACHMENT_HAS_XSSTHREAT
    description: Indicates if XSS threat was detected in attachment
    tests:
    - not_null
  - name: SECURITY_OPTIONS_ATTACHMENT_SCANNEDFOR_FLASH
    description: Indicates if attachment was scanned for Flash content
    tests:
    - not_null
  - name: SECURITY_OPTIONS_ATTACHMENT_HAS_FLASH
    description: Indicates if Flash content was detected in attachment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_VOTE_STAT

Table Preview (sample only)

ID IS_DELETED PARENT_ID NORMALIZED_SCORE CHANNEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_VOTE_STAT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:26.231210+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_VOTE_STAT"

stg_KNOWLEDGE_VOTE_STAT.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_VOTE_STAT
  description: KNOWLEDGE_ARTICLE_VOTE_STAT tracks voting stats for articles. It includes
    scores and channels. KNOWLEDGE_VOTE_STAT likely covers voting for other knowledge
    items. Both track user engagement with knowledge content. They store voting data
    to measure content popularity and usefulness.
  columns:
  - name: ID
    description: Unique identifier for the voting stat record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent article or knowledge item
    tests:
    - not_null
  - name: NORMALIZED_SCORE
    description: Standardized score for the article or knowledge item
    tests:
    - not_null
  - name: CHANNEL
    description: Distribution channel for the knowledge article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET_TAB_SETTING

Table Preview (sample only)

ID PARENT_ID VISIBILITY NAME SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERMISSION_SET_TAB_SETTING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:18:43.941437+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_TAB_SETTING"

stg_PERMISSION_SET_TAB_SETTING.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_TAB_SETTING
  description: The table is about permission set tab settings. It contains details
    such as ID, parent ID, visibility, name, system modification timestamp, deletion
    status, and sync timestamp. Each row represents a specific tab setting with its
    visibility (e.g., DefaultOn) and associated standard object (e.g., PartyConsent,
    EdgeMart). The table likely relates to configuring tab visibility within permission
    sets in a Salesforce-like system.
  columns:
  - name: ID
    description: Unique identifier for the tab setting
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent permission set
    tests:
    - not_null
  - name: VISIBILITY
    description: Visibility setting for the tab
    tests:
    - not_null
  - name: NAME
    description: Name of the standard object or tab
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last sync operation
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_STEP

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_ID ROOT_STEP_ID TYPE STEP_NAME WAIT_TIME_IN_SECONDS TEMPLATE_ID PARENT_STEP_NAME STEP_TITLE STEP_COMMENTS ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT CHAINED_CADENCE_ID BRANCH_DEFAULT_STEP_NAME ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED ALL_ON_TIME_COMPLETED_COUNT ALL_OVERDUE_COMPLETED_COUNT ALL_SKIPPED_COUNT ALL_MANUALLY_COMPLETED_COUNT IS_IMMEDIATE_WAKE_UP IS_THREADED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_EMAILS_UNTRACKED_SENT_COUNT SCREEN_FLOW_REFERENCE IS_SCREEN_FLOW_ACTIVE GRAPH_STATE GO_TO_STEP_NAME TYPE_DETAIL STEP_AUTOMATION_REFERENCE IS_STEP_AUTOMATION_ACTIVE GO_TO_STEP_ITERATION_LIMIT GO_TO_STEP_INTERVAL_IN_MINUTES SCHEDULED_START_TIME_IN_MINUTES SCHEDULED_DAYS_UNTIL_START SCHEDULED_START_DELAY_IN_MINUTES SCHEDULED_DAYS_UNTIL_DUE IS_SCHEDULED_DUE_DATE_LOCKED MINUTE_GROUP SUB_CADENCE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_STEP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:50:54.865813+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_STEP"

stg_ACTION_CADENCE_STEP.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_STEP
  description: The table is about action cadence steps. It contains details like step
    ID, type (e.g., SendAnEmail, MakeACall), step name, creation date, and associated
    action cadence ID. Each step has attributes such as wait time, template ID, and
    various email and call-related metrics. The table also includes information on
    step scheduling, automation, and graph state.
  columns:
  - name: ID
    description: Unique identifier for the step
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the step has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the step was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the step
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the step
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: ACTION_CADENCE_ID
    description: ID of the associated action cadence
    tests:
    - not_null
  - name: ROOT_STEP_ID
    description: ID of the root step in the cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: TYPE
    description: Type of action (e.g., SendAnEmail, MakeACall)
    tests:
    - not_null
  - name: STEP_NAME
    description: Unique name or identifier for the step
    tests:
    - not_null
  - name: WAIT_TIME_IN_SECONDS
    description: Wait time before executing the step in seconds
    cocoon_meta:
      missing_reason: Unknown
  - name: TEMPLATE_ID
    description: ID of the associated template
    cocoon_meta:
      missing_reason: Unknown
  - name: PARENT_STEP_NAME
    description: Name of the parent step
    cocoon_meta:
      missing_reason: Not applicable for root steps in the process
  - name: STEP_TITLE
    description: Title or description of the step
    cocoon_meta:
      missing_reason: Not applicable for root steps in the process
  - name: STEP_COMMENTS
    description: Additional comments or notes for the step
    cocoon_meta:
      missing_reason: Unknown
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Count of all tracked emails sent
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_OPENED_COUNT
    description: Count of all emails opened
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Count of all emails that hard bounced
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: CHAINED_CADENCE_ID
    description: ID of a chained cadence, if applicable
    cocoon_meta:
      missing_reason: Unknown
  - name: BRANCH_DEFAULT_STEP_NAME
    description: Default step name for branching
    cocoon_meta:
      missing_reason: Not applicable if no branching logic is used
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Count of meaningful call connections
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_CALLS_NOT_INTERESTED
    description: Count of calls marked as not interested
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_CALLS_UNQUALIFIED
    description: Count of calls marked as unqualified
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Count of calls resulting in voicemail
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Count of calls scheduled for callback
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_CALLS_UNCATEGORIZED
    description: Count of uncategorized calls
    cocoon_meta:
      missing_reason: Not applicable if no calls were made yet
  - name: ALL_ON_TIME_COMPLETED_COUNT
    description: Count of steps completed on time
    cocoon_meta:
      missing_reason: Not applicable if no actions were completed yet
  - name: ALL_OVERDUE_COMPLETED_COUNT
    description: Count of steps completed after being overdue
    cocoon_meta:
      missing_reason: Not applicable if no actions were completed yet
  - name: ALL_SKIPPED_COUNT
    description: Count of skipped steps
    cocoon_meta:
      missing_reason: Not applicable if no actions were skipped yet
  - name: ALL_MANUALLY_COMPLETED_COUNT
    description: Count of manually completed steps
    cocoon_meta:
      missing_reason: Not applicable if no actions were completed yet
  - name: IS_IMMEDIATE_WAKE_UP
    description: Indicates if step is immediate wake up
    tests:
    - not_null
  - name: IS_THREADED
    description: Indicates if step is threaded
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Count of unique emails opened
    cocoon_meta:
      missing_reason: Not applicable for non-email types (MakeACall, Root)
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Count of unique email replies
    cocoon_meta:
      missing_reason: Not applicable for non-email types (MakeACall, Root)
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Count of unique email link clicks
    cocoon_meta:
      missing_reason: Not applicable for non-email types (MakeACall, Root)
  - name: ALL_EMAILS_LINK_CLICKED_COUNT
    description: Total count of email link clicks
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_REPLIED_COUNT
    description: Total count of email replies
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Count of soft bounced emails
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Count of out-of-office responses
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Count of untracked sent emails
    cocoon_meta:
      missing_reason: Not applicable if no emails were sent yet
  - name: SCREEN_FLOW_REFERENCE
    description: Reference to associated screen flow
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_SCREEN_FLOW_ACTIVE
    description: Indicates if screen flow is active
    tests:
    - not_null
  - name: GRAPH_STATE
    description: Current state in the graph
    tests:
    - not_null
  - name: GO_TO_STEP_NAME
    description: Name of the next step
    cocoon_meta:
      missing_reason: Not applicable if no 'go to' step is defined
  - name: TYPE_DETAIL
    description: Detailed type of the step
    tests:
    - not_null
  - name: STEP_AUTOMATION_REFERENCE
    description: Reference to step automation
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_STEP_AUTOMATION_ACTIVE
    description: Indicates if step automation is active
    tests:
    - not_null
  - name: GO_TO_STEP_ITERATION_LIMIT
    description: Iteration limit for next step
    cocoon_meta:
      missing_reason: Not applicable if no 'go to' step is defined
  - name: GO_TO_STEP_INTERVAL_IN_MINUTES
    description: Interval to next step in minutes
    cocoon_meta:
      missing_reason: Not applicable if no 'go to' step is defined
  - name: SCHEDULED_START_TIME_IN_MINUTES
    description: Scheduled start time in minutes
    cocoon_meta:
      missing_reason: Unknown
  - name: SCHEDULED_DAYS_UNTIL_START
    description: Days until scheduled start
    cocoon_meta:
      missing_reason: Unknown
  - name: SCHEDULED_START_DELAY_IN_MINUTES
    description: Delay before scheduled start in minutes
    cocoon_meta:
      missing_reason: Unknown
  - name: SCHEDULED_DAYS_UNTIL_DUE
    description: Days until scheduled due date
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_SCHEDULED_DUE_DATE_LOCKED
    description: Indicates if due date is locked
    tests:
    - not_null
  - name: MINUTE_GROUP
    description: Grouping of minutes
    cocoon_meta:
      missing_reason: Unknown
  - name: SUB_CADENCE_NAME
    description: Name of sub-cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MKT_DATA_TRANSFORM_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_DATA_TRANSFORM_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:23.367804+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_DATA_TRANSFORM_SHARE"

stg_MKT_DATA_TRANSFORM_SHARE.yml (Document the table)

version: 2
models:
- name: stg_MKT_DATA_TRANSFORM_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_HISTORY

Table Preview (sample only)

ID IS_DELETED COMM_SUBSCRIPTION_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:26.165540+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_HISTORY"

stg_COMM_SUBSCRIPTION_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_HISTORY
  description: The table is about communication subscription history. It tracks changes
    made to subscriptions. Each record includes the subscription ID, who created the
    change, when it was created, which field changed, the data type, old and new values.
    It also has metadata like if the record was deleted and when it was last synced.
  columns:
  - name: ID
    description: Unique identifier for the history record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: COMM_SUBSCRIPTION_ID
    description: ID of the communication subscription
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the change was created
    tests:
    - not_null
  - name: FIELD
    description: Name of the field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    cocoon_meta:
      missing_reason: Record created, so no previous value exists.
  - name: NEW_VALUE
    description: New value of the changed field
    cocoon_meta:
      missing_reason: No change made, so no new value to record.
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_SHARE

Table Preview (sample only)

ID OPPORTUNITY_ID USER_OR_GROUP_ID OPPORTUNITY_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:09:10.066792+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_SHARE"

stg_OPPORTUNITY_SHARE.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_SHARE
  description: The table represents the OPPORTUNITY_SHARE relation. It links opportunities
    to users or groups with access levels. Each row shows an opportunity shared with
    a user/group. It includes the access level granted, reason for sharing, and metadata
    like last modified date. The table tracks who can view or edit specific opportunities
    in a system.
  columns:
  - name: ID
    description: Unique identifier for each sharing record
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: ID of the opportunity being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group receiving access
    tests:
    - not_null
  - name: OPPORTUNITY_ACCESS_LEVEL
    description: Level of access granted to the recipient
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for granting access to the opportunity
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTACT_REQUEST_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_REQUEST_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:37.027224+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_REQUEST_SHARE"

stg_CONTACT_REQUEST_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_REQUEST_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_COMPETITOR

Table Preview (sample only)

ID OPPORTUNITY_ID COMPETITOR_NAME STRENGTHS WEAKNESSES CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_COMPETITOR.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:31.171574+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_COMPETITOR"

stg_OPPORTUNITY_COMPETITOR.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_COMPETITOR
  description: The table represents the relationship between opportunities and competitors.
    It tracks competitors associated with specific sales opportunities. The table
    includes details like competitor names, their strengths and weaknesses. It also
    stores metadata such as creation date, last modification date, and user IDs for
    tracking changes. The table allows for soft deletion and integration with Fivetran
    for data syncing.
  columns:
  - name: ID
    description: Unique identifier for the competitor record
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: Identifier of the associated sales opportunity
    tests:
    - not_null
  - name: COMPETITOR_NAME
    description: Name of the competitor
    tests:
    - not_null
  - name: STRENGTHS
    description: Strengths of the competitor
    tests:
    - not_null
  - name: WEAKNESSES
    description: Weaknesses of the competitor
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag for syncing
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_USER_PROVISIONING_REQUEST

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SALESFORCE_USER_ID EXTERNAL_USER_ID APP_NAME STATE OPERATION SCHEDULE_DATE CONNECTED_APP_ID USER_PROV_CONFIG_ID USER_PROV_ACCOUNT_ID APPROVAL_STATUS MANAGER_ID RETRY_COUNT PARENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROVISIONING_REQUEST.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:48.176571+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROVISIONING_REQUEST"

stg_USER_PROVISIONING_REQUEST.yml (Document the table)

version: 2
models:
- name: stg_USER_PROVISIONING_REQUEST
  description: The table is about user provisioning requests. It contains details
    of the request such as the owner, creation date, and associated Salesforce user.
    The table tracks the state, operation, and approval status of the request. It
    also includes information about the connected app, user provisioning configuration,
    and account. The table allows for scheduling and retry attempts for the provisioning
    process.
  columns:
  - name: ID
    description: Unique identifier for the provisioning request
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the request
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the provisioning request
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the request was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the request
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the request
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: SALESFORCE_USER_ID
    description: ID of associated Salesforce user
    tests:
    - not_null
  - name: EXTERNAL_USER_ID
    description: ID of associated external user
    tests:
    - not_null
  - name: APP_NAME
    description: Name of the application for provisioning
    tests:
    - not_null
  - name: STATE
    description: Current state of the provisioning request
    tests:
    - not_null
  - name: OPERATION
    description: Type of provisioning operation
    tests:
    - not_null
  - name: SCHEDULE_DATE
    description: Scheduled date for the provisioning request
    tests:
    - not_null
  - name: CONNECTED_APP_ID
    description: ID of the connected application
    tests:
    - not_null
  - name: USER_PROV_CONFIG_ID
    description: ID of user provisioning configuration
    tests:
    - not_null
  - name: USER_PROV_ACCOUNT_ID
    description: ID of user provisioning account
    tests:
    - not_null
  - name: APPROVAL_STATUS
    description: Status of approval for the request
    tests:
    - not_null
  - name: MANAGER_ID
    description: ID of the manager associated with request
    tests:
    - not_null
  - name: RETRY_COUNT
    description: Number of retry attempts for the request
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent request if applicable
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OPERATING_HOURS_HOLIDAY

Table Preview (sample only)

ID IS_DELETED OPERATING_HOURS_HOLIDAY_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE OPERATING_HOURS_ID HOLIDAY_ID DATE_AND_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPERATING_HOURS_HOLIDAY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:06.982432+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPERATING_HOURS_HOLIDAY"

stg_OPERATING_HOURS_HOLIDAY.yml (Document the table)

version: 2
models:
- name: stg_OPERATING_HOURS_HOLIDAY
  description: The table represents the relationship between operating hours and holidays.
    It tracks specific dates and times when operating hours are affected by holidays.
    The table includes identifiers for both operating hours and holidays, as well
    as the date and time of the exception. It also contains metadata such as creation
    and modification dates, system information, and Fivetran sync details.
  columns:
  - name: ID
    description: Unique identifier for the operating hours holiday record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: OPERATING_HOURS_HOLIDAY_NUMBER
    description: Sequential number for the operating hours holiday
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: OPERATING_HOURS_ID
    description: ID of the associated operating hours
    tests:
    - not_null
  - name: HOLIDAY_ID
    description: ID of the associated holiday
    tests:
    - not_null
  - name: DATE_AND_TIME
    description: Specific date and time of the holiday exception
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FILE_SEARCH_ACTIVITY

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SEARCH_TERM QUERY_DATE COUNT_QUERIES COUNT_USERS AVG_NUM_RESULTS PERIOD QUERY_LANGUAGE CLICK_RANK _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FILE_SEARCH_ACTIVITY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:10.529562+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FILE_SEARCH_ACTIVITY"

stg_FILE_SEARCH_ACTIVITY.yml (Document the table)

version: 2
models:
- name: stg_FILE_SEARCH_ACTIVITY
  description: The table is about file search activity records. It contains details
    such as search terms, query dates, and search statistics. The table tracks the
    number of queries, users, average results, and click ranks for searches. It also
    includes metadata like creation and modification dates, user IDs, and system timestamps.
    The table allows for soft deletion and syncing with an external system (Fivetran).
  columns:
  - name: ID
    description: Unique identifier for each search activity record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is soft-deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the search activity record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: SEARCH_TERM
    description: The term or phrase used in the search
    tests:
    - not_null
  - name: QUERY_DATE
    description: Date when the search query was performed
    tests:
    - not_null
  - name: COUNT_QUERIES
    description: Number of times the search was performed
    tests:
    - not_null
  - name: COUNT_USERS
    description: Number of unique users who performed the search
    tests:
    - not_null
  - name: AVG_NUM_RESULTS
    description: Average number of results returned for the search
    tests:
    - not_null
  - name: PERIOD
    description: Time period associated with the search activity
    tests:
    - not_null
  - name: QUERY_LANGUAGE
    description: Language used for the search query
    tests:
    - not_null
  - name: CLICK_RANK
    description: Ranking based on user clicks on search results
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last sync with Fivetran
    tests:
    - not_null
  tests: []

stg_USER_SETUP_ENTITY_ACCESS

Table Preview (sample only)

ID DURABLE_ID SETUP_ENTITY_ID KEY_PREFIX DEVELOPER_NAME NAMESPACE_PREFIX LAST_CACHE_UPDATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_SETUP_ENTITY_ACCESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:41:46.017793+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_SETUP_ENTITY_ACCESS"

stg_USER_SETUP_ENTITY_ACCESS.yml (Document the table)

version: 2
models:
- name: stg_USER_SETUP_ENTITY_ACCESS
  description: The table is about user setup entity access configurations. It contains
    details like unique identifiers, entity IDs, key prefixes, developer names, and
    namespace prefixes. The table likely manages access permissions for different
    entities within a system. It includes timestamps for cache updates and Fivetran-specific
    fields for data syncing and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the entity access configuration
    tests:
    - not_null
  - name: SETUP_ENTITY_ID
    description: ID of the setup entity being configured
    tests:
    - not_null
  - name: KEY_PREFIX
    description: Prefix used for entity key identification
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer or development team
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the namespace of the entity
    tests:
    - not_null
  - name: LAST_CACHE_UPDATE
    description: Timestamp of the most recent cache update
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_APP_MENU_ITEM

Table Preview (sample only)

ID APP_MENU_ITEM_ID APPLICATION_ID LABEL DESCRIPTION NAME USER_SORT_ORDER SORT_ORDER TYPE LOGO_URL ICON_URL INFO_URL START_URL MOBILE_START_URL IS_VISIBLE IS_USING_ADMIN_AUTHORIZATION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_APP_MENU_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:36:46.463342+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_APP_MENU_ITEM"

stg_USER_APP_MENU_ITEM.yml (Document the table)

version: 2
models:
- name: stg_USER_APP_MENU_ITEM
  description: The table is about user application menu items. It contains details
    like item ID, application ID, label, description, name, sort order, type, logo
    URL, icon URL, start URL, and visibility settings. Each row represents a different
    menu item such as Marketing, Sites, Accounts, Service, and Sales. The table stores
    information needed to display and manage these items in a user interface.
  columns:
  - name: ID
    description: Unique identifier for the menu item
    tests:
    - not_null
  - name: APP_MENU_ITEM_ID
    description: Secondary identifier for the menu item
    tests:
    - not_null
  - name: APPLICATION_ID
    description: Identifier for the associated application
    tests:
    - not_null
  - name: LABEL
    description: Display text for the menu item
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief explanation of the menu item's purpose
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: Internal name or key for the menu item
    tests:
    - not_null
  - name: USER_SORT_ORDER
    description: Custom sorting order set by user
    cocoon_meta:
      missing_reason: Unknown
  - name: SORT_ORDER
    description: Default sorting order for menu items
    tests:
    - not_null
  - name: TYPE
    description: Category or classification of the menu item
    tests:
    - not_null
  - name: LOGO_URL
    description: URL for the menu item's logo image
    tests:
    - not_null
  - name: ICON_URL
    description: URL for the menu item's icon image
    cocoon_meta:
      missing_reason: Unknown
  - name: INFO_URL
    description: URL for additional information about the item
    cocoon_meta:
      missing_reason: Unknown
  - name: START_URL
    description: URL to launch when the item is selected
    tests:
    - not_null
  - name: MOBILE_START_URL
    description: Mobile-specific URL for item launch
    cocoon_meta:
      missing_reason: Not applicable for non-mobile applications or features.
  - name: IS_VISIBLE
    description: Indicates if the item is visible to users
    tests:
    - not_null
  - name: IS_USING_ADMIN_AUTHORIZATION
    description: Requires admin authorization to access
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EMAIL_MESSAGE

Table Preview (sample only)

ID PARENT_ID ACTIVITY_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TEXT_BODY HTML_BODY HEADERS SUBJECT NAME FROM_NAME FROM_ADDRESS VALIDATED_FROM_ADDRESS TO_ADDRESS CC_ADDRESS BCC_ADDRESS INCOMING HAS_ATTACHMENT STATUS MESSAGE_DATE IS_DELETED REPLY_TO_EMAIL_MESSAGE_ID IS_EXTERNALLY_VISIBLE MESSAGE_IDENTIFIER THREAD_IDENTIFIER CLIENT_THREAD_IDENTIFIER FROM_ID IS_CLIENT_MANAGED ATTACHMENT_IDS RELATED_TO_ID IS_TRACKED IS_OPENED FIRST_OPENED_DATE LAST_OPENED_DATE IS_BOUNCED ACTION_CADENCE_STEP_TRACKER_ID EMAIL_TEMPLATE_ID EMAIL_ROUTING_ADDRESS_ID AUTOMATION_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_MESSAGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:12.798677+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_MESSAGE"

stg_EMAIL_MESSAGE.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_MESSAGE
  description: The table is about email messages. It contains details such as message
    ID, sender and recipient information, subject, body content, and various metadata.
    The table tracks message status, attachments, and interaction data like open rates.
    It also includes fields for external visibility, threading, and relationships
    to other entities like templates or automation steps.
  columns:
  - name: ID
    description: Unique identifier for the email message
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record associated with the email
    tests:
    - not_null
  - name: ACTIVITY_ID
    description: ID of the related activity record
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the email
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the email was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the email
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for internal use
    tests:
    - not_null
  - name: TEXT_BODY
    description: Plain text content of the email body
    tests:
    - not_null
  - name: HTML_BODY
    description: HTML content of the email body
    tests:
    - not_null
  - name: HEADERS
    description: Email headers containing metadata
    tests:
    - not_null
  - name: SUBJECT
    description: Subject line of the email
    tests:
    - not_null
  - name: NAME
    description: Name or title of the email message
    tests:
    - not_null
  - name: FROM_NAME
    description: Display name of the sender
    tests:
    - not_null
  - name: FROM_ADDRESS
    description: Email address of the sender
    tests:
    - not_null
  - name: VALIDATED_FROM_ADDRESS
    description: Verified email address of the sender
    tests:
    - not_null
  - name: TO_ADDRESS
    description: Email address(es) of the recipient(s)
    tests:
    - not_null
  - name: CC_ADDRESS
    description: Email address(es) of CC recipients
    tests:
    - not_null
  - name: BCC_ADDRESS
    description: Email address(es) of BCC recipients
    tests:
    - not_null
  - name: INCOMING
    description: Indicates if the email is incoming or outgoing
    tests:
    - not_null
  - name: HAS_ATTACHMENT
    description: Indicates if the email has attachments
    tests:
    - not_null
  - name: STATUS
    description: Current status of the email
    tests:
    - not_null
  - name: MESSAGE_DATE
    description: Date and time the email was sent or received
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the email has been deleted
    tests:
    - not_null
  - name: REPLY_TO_EMAIL_MESSAGE_ID
    description: ID of the email being replied to
    tests:
    - not_null
  - name: IS_EXTERNALLY_VISIBLE
    description: Indicates if the email is visible externally
    tests:
    - not_null
  - name: MESSAGE_IDENTIFIER
    description: Unique identifier for the email message
    tests:
    - not_null
  - name: THREAD_IDENTIFIER
    description: Identifier for the email thread
    tests:
    - not_null
  - name: CLIENT_THREAD_IDENTIFIER
    description: Client-specific identifier for the email thread
    tests:
    - not_null
  - name: FROM_ID
    description: ID of the sender's record
    tests:
    - not_null
  - name: IS_CLIENT_MANAGED
    description: Indicates if the email is managed by the client
    tests:
    - not_null
  - name: ATTACHMENT_IDS
    description: IDs of files attached to the email
    tests:
    - not_null
  - name: RELATED_TO_ID
    description: ID of the entity this email is related to
    tests:
    - not_null
  - name: IS_TRACKED
    description: Indicates if the email is being tracked
    tests:
    - not_null
  - name: IS_OPENED
    description: Indicates if the email has been opened
    tests:
    - not_null
  - name: FIRST_OPENED_DATE
    description: Date and time the email was first opened
    tests:
    - not_null
  - name: LAST_OPENED_DATE
    description: Date and time the email was last opened
    tests:
    - not_null
  - name: IS_BOUNCED
    description: Indicates if the email bounced
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_TRACKER_ID
    description: ID of the associated action cadence step tracker
    tests:
    - not_null
  - name: EMAIL_TEMPLATE_ID
    description: ID of the email template used
    tests:
    - not_null
  - name: EMAIL_ROUTING_ADDRESS_ID
    description: ID of the email routing address
    tests:
    - not_null
  - name: AUTOMATION_TYPE
    description: Type of automation associated with the email
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FORMULA_FUNCTION_ALLOWED_TYPE

Table Preview (sample only)

ID DURABLE_ID FUNCTION_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FORMULA_FUNCTION_ALLOWED_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:45.312709+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FORMULA_FUNCTION_ALLOWED_TYPE"

stg_FORMULA_FUNCTION_ALLOWED_TYPE.yml (Document the table)

version: 2
models:
- name: stg_FORMULA_FUNCTION_ALLOWED_TYPE
  description: The table is about allowed data types for formula functions. It contains
    the function ID, the allowed data type, and a durable ID. The table likely associates
    specific formula functions with the data types they can operate on. It includes
    system fields for tracking deletions and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the function-type combination
    tests:
    - not_null
  - name: FUNCTION_ID
    description: Identifier of the formula function
    tests:
    - not_null
  - name: TYPE
    description: Allowed data type for the function
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_ENGAGEMENT_CHANNEL_TYPE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE CONTACT_POINT_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ENGAGEMENT_CHANNEL_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:20.564999+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ENGAGEMENT_CHANNEL_TYPE"

stg_ENGAGEMENT_CHANNEL_TYPE.yml (Document the table)

version: 2
models:
- name: stg_ENGAGEMENT_CHANNEL_TYPE
  description: The table is about engagement channel types. It contains details such
    as ID, owner, name, creation date, last modification date, and contact point type.
    The table also includes system fields like IS_DELETED and SYSTEM_MODSTAMP. Each
    record represents a specific engagement channel, with the example showing an "Email"
    channel. The table tracks when the record was last viewed or referenced.
  columns:
  - name: ID
    description: Unique identifier for the engagement channel
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the engagement channel
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: CONTACT_POINT_TYPE
    description: Type of contact point for the channel
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_EXT_DATA_SHARE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SHARE_STATUS LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE OBJECT_COUNT DATA_SPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXT_DATA_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:36.065052+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXT_DATA_SHARE"

stg_EXT_DATA_SHARE.yml (Document the table)

version: 2
models:
- name: stg_EXT_DATA_SHARE
  description: The table is about external data shares. It contains details like the
    share's name, creation date, last modification date, and status. The table tracks
    the data share's status, object count, and any error codes. It also includes system
    fields for tracking views, references, and modifications. The table likely manages
    external data sharing configurations within a system.
  columns:
  - name: ID
    description: Unique identifier for the data share
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the data share is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data share
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the data share was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the data share
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the data share
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the data share
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the data share was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the data share was last referenced
    tests:
    - not_null
  - name: DATA_SHARE_STATUS
    description: Current status of the data share
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_DATE_TIME
    description: Timestamp of last data change status update
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_ERROR_CODE
    description: Error code of last data change status
    tests:
    - not_null
  - name: OBJECT_COUNT
    description: Number of objects in the data share
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the data space associated with share
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_GOAL_ASSIGNMENT_RECOMMENDATION

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP GOAL_ASSIGNMENT_ID EXTERNAL_NAME ACTION_ ACTION_TYPE DESCRIPTION IMAGE_ID DOMAIN_ ACCEPTANCE_LABEL REJECTION_LABEL STATE EXTERNAL_STATE ICON_NAME SCORE ACTION_INFO _FIVETRAN_DELETED _FIVETRAN_SYNCED OUTPUT_ PARENT_RECOMMENDATION_ID CHANNEL_ID

stg_GOAL_ASSIGNMENT_RECOMMENDATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:14.453137+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_ASSIGNMENT_RECOMMENDATION"

stg_GOAL_ASSIGNMENT_RECOMMENDATION.yml (Document the table)

version: 2
models:
- name: stg_GOAL_ASSIGNMENT_RECOMMENDATION
  description: The table is about goal assignment recommendations. It contains details
    like owner ID, name, creation date, last modification date, external name, action
    type, description, state, score, and channel ID. Each recommendation has a unique
    ID and is associated with a specific owner. The table also tracks whether the
    recommendation is deleted and includes system metadata like creation and modification
    timestamps.
  columns:
  - name: ID
    description: Unique identifier for the recommendation
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the recommendation
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the recommendation is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the recommendation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the recommendation was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the recommendation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the recommendation
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: GOAL_ASSIGNMENT_ID
    description: ID of the associated goal assignment
    cocoon_meta:
      missing_reason: Unknown
  - name: EXTERNAL_NAME
    description: External name or identifier for the recommendation
    tests:
    - not_null
  - name: ACTION_
    description: Action associated with the recommendation
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTION_TYPE
    description: Type of action for the recommendation
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Description of the recommendation
    tests:
    - not_null
  - name: IMAGE_ID
    description: ID of an associated image
    cocoon_meta:
      missing_reason: Unknown
  - name: DOMAIN_
    description: Domain or category of the recommendation
    tests:
    - not_null
  - name: ACCEPTANCE_LABEL
    description: Label for accepting the recommendation
    cocoon_meta:
      missing_reason: Not applicable when recommendation hasn't been accepted.
  - name: REJECTION_LABEL
    description: Label for rejecting the recommendation
    cocoon_meta:
      missing_reason: Not applicable when recommendation hasn't been rejected.
  - name: STATE
    description: Current state of the recommendation
    tests:
    - not_null
  - name: EXTERNAL_STATE
    description: External state information in JSON format
    tests:
    - not_null
  - name: ICON_NAME
    description: Name of the icon associated with the recommendation
    cocoon_meta:
      missing_reason: Unknown
  - name: SCORE
    description: Numerical score or priority of the recommendation
    tests:
    - not_null
  - name: ACTION_INFO
    description: Additional information about the action
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: OUTPUT_
    description: Output or result of the recommendation
    cocoon_meta:
      missing_reason: Unknown
  - name: PARENT_RECOMMENDATION_ID
    description: ID of the parent recommendation if applicable
    cocoon_meta:
      missing_reason: Unknown
  - name: CHANNEL_ID
    description: ID of the associated channel
    tests:
    - not_null
  tests: []

stg_DATA_SPACE_INTERNAL_ORG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SPACE_INTERNAL_ORG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:06.240025+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SPACE_INTERNAL_ORG"

stg_DATA_SPACE_INTERNAL_ORG.yml (Document the table)

version: 2
models:
- name: stg_DATA_SPACE_INTERNAL_ORG
  description: DATA_MULTI_ORG_OBJECT_REF contains metadata about organizational objects.
    It includes fields for identification, naming, and tracking changes. DATA_SPACE_INTERNAL_ORG
    likely contains internal organizational data. The partitions together represent
    a system for managing organizational data across multiple entities or spaces.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the object for API access
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the object
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_EMBEDDED_SERVICE_LABEL

Table Preview (sample only)

ID DURABLE_ID EMBEDDED_SERVICE_CONFIG_DEVELOPER_NAME LABEL_KEY CUSTOM_LABEL_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMBEDDED_SERVICE_LABEL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:12.907302+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMBEDDED_SERVICE_LABEL"

stg_EMBEDDED_SERVICE_LABEL.yml (Document the table)

version: 2
models:
- name: stg_EMBEDDED_SERVICE_LABEL
  description: The table is about embedded service labels. It contains information
    such as the label ID, durable ID, and configuration developer name. The table
    also includes the label key and custom label name. It tracks whether the label
    has been deleted and when it was last synced. This table likely supports customization
    of labels for embedded services in a system.
  columns:
  - name: ID
    description: Unique identifier for the label
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the label
    tests:
    - not_null
  - name: EMBEDDED_SERVICE_CONFIG_DEVELOPER_NAME
    description: Developer name of the embedded service configuration
    tests:
    - not_null
  - name: LABEL_KEY
    description: Key used to identify the label
    tests:
    - not_null
  - name: CUSTOM_LABEL_NAME
    description: Custom name assigned to the label
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the label has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_ONBOARDING_METRICS

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID SEEN_COUNT EXPERIENCE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ONBOARDING_METRICS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:46.021040+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ONBOARDING_METRICS"

stg_ONBOARDING_METRICS.yml (Document the table)

version: 2
models:
- name: stg_ONBOARDING_METRICS
  description: The table is about user onboarding metrics. It tracks user interactions
    with onboarding experiences. The table includes user ID, experience name, and
    view count. It also contains metadata like creation date, last modified date,
    and system timestamps. The table allows tracking of how often users engage with
    different onboarding experiences.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: USER_ID
    description: Unique identifier of the user
    tests:
    - not_null
  - name: SEEN_COUNT
    description: Number of times the experience was viewed
    tests:
    - not_null
  - name: EXPERIENCE_NAME
    description: Name of the onboarding experience
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_SSOT_LEAD_DLM

Table Preview (sample only)

ID SSOT_ANNUAL_REVENUE_C SSOT_CITY_C SSOT_COMPANY_NAME_C SSOT_CONTACT_POINT_EMAIL_ID_C SSOT_CONVERTED_DATE_C SSOT_CONVERTED_TO_ACCOUNT_CONTACT_ID_C SSOT_CONVERTED_TO_ACCOUNT_ID_C SSOT_CONVERTED_TO_OPPORTUNITY_ID_C SSOT_COUNTRY_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_EMAIL_BOUNCED_DATE_C SSOT_EMAIL_BOUNCED_REASON_C SSOT_EMPLOYEE_COUNT_C SSOT_GEO_CODE_LATITUDE_C SSOT_GEO_CODE_LONGITUDE_C SSOT_ID_C SSOT_INDUSTRY_ID_C SSOT_IS_CONVERTED_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_LEAD_RATING_C SSOT_LEAD_SOURCE_ID_C SSOT_LEAD_STATUS_ID_C SSOT_LEAD_PARTNER_ACCOUNT_ID_MAP_ACCOUNT_ID_N_1_C SSOT_LEAD_PARTY_ID_MAP_PARTY_ID_N_1_C SSOT_PARTY_ID_C SSOT_PHONE_CONTACT_POINT_ID_C SSOT_PHOTO_URL_C SSOT_POSTAL_CODE_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_STREET_NAME_C SSOT_TITLE_C SSOT_WEBSITE_C SSOT_REL_1697761149977_END_C SSOT_REL_1697761151876_END_C SSOT_REL_1697761151949_END_C SSOT_REL_1697761158501_END_C SSOT_REL_1697761161666_END_C SSOT_REL_1697761163390_END_C SSOT_REL_1697761163459_END_C SSOT_REL_1697761163529_END_C SSOT_REL_1697761177620_END_C SSOT_REL_1697761177702_END_C SSOT_REL_1697761177769_END_C SSOT_REL_1697761177836_END_C SSOT_REL_1697761177918_END_C SSOT_REL_1697761177991_END_C SSOT_REL_1697761178807_END_C SSOT_REL_1697761178876_END_C SSOT_REL_1697761178945_END_C SSOT_REL_1697761191327_END_C SSOT_REL_1697761221333_END_C SSOT_REL_1697761222482_END_C SSOT_REL_1697761222627_END_C KQ_ID_C KQ_CONTACT_POINT_EMAIL_ID_C KQ_PHONE_CONTACT_POINT_ID_C KQ_CONVERTED_TO_OPPORTUNITY_ID_C KQ_CONVERTED_TO_ACCOUNT_CONTACT_ID_C KQ_CONVERTED_TO_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_LEAD_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:13.200969+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_LEAD_DLM"

stg_SSOT_LEAD_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_LEAD_DLM
  description: The table is about leads in a CRM system. It contains details such
    as lead ID, company name, email, creation date, and status. The table also includes
    fields for conversion information, geographic data, and various custom fields.
    Each row represents a unique lead with its associated attributes. The data appears
    to be sourced from Salesforce, as indicated by the data source field.
  columns:
  - name: ID
    description: Unique identifier for the lead record
    tests:
    - not_null
  - name: SSOT_ANNUAL_REVENUE_C
    description: Annual revenue of the lead company
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CITY_C
    description: City where the lead is located
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_COMPANY_NAME_C
    description: Name of the lead's company
    tests:
    - not_null
  - name: SSOT_CONTACT_POINT_EMAIL_ID_C
    description: Email address of the lead contact
    tests:
    - not_null
  - name: SSOT_CONVERTED_DATE_C
    description: Date when the lead was converted
    cocoon_meta:
      missing_reason: Not applicable for leads that haven't been converted
  - name: SSOT_CONVERTED_TO_ACCOUNT_CONTACT_ID_C
    description: ID of the account contact after conversion
    cocoon_meta:
      missing_reason: Not applicable for leads that haven't been converted
  - name: SSOT_CONVERTED_TO_ACCOUNT_ID_C
    description: ID of the account after lead conversion
    cocoon_meta:
      missing_reason: Not applicable for leads that haven't been converted
  - name: SSOT_CONVERTED_TO_OPPORTUNITY_ID_C
    description: ID of the opportunity created from conversion
    cocoon_meta:
      missing_reason: Not applicable for leads that haven't been converted
  - name: SSOT_COUNTRY_ID_C
    description: ID of the country where lead is located
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CREATED_DATE_C
    description: Date and time when the lead was created
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier of the data source system
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object type in the source system
    tests:
    - not_null
  - name: SSOT_DESCRIPTION_C
    description: Description or additional notes about the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_EMAIL_BOUNCED_DATE_C
    description: Date when an email to lead bounced
    cocoon_meta:
      missing_reason: Not applicable if email hasn't bounced
  - name: SSOT_EMAIL_BOUNCED_REASON_C
    description: Reason for email bounce
    cocoon_meta:
      missing_reason: Not applicable if email hasn't bounced
  - name: SSOT_EMPLOYEE_COUNT_C
    description: Number of employees in the lead's company
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_GEO_CODE_LATITUDE_C
    description: Latitude coordinate of the lead's location
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_GEO_CODE_LONGITUDE_C
    description: Longitude coordinate of the lead's location
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Another unique identifier for the lead
    tests:
    - not_null
  - name: SSOT_INDUSTRY_ID_C
    description: ID of the industry the lead belongs to
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_IS_CONVERTED_C
    description: Boolean indicating if the lead is converted
    tests:
    - not_null
  - name: SSOT_LAST_ACTIVITY_DATE_C
    description: Date of the last activity on the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LAST_MODIFIED_DATE_C
    description: Date and time of last modification to record
    tests:
    - not_null
  - name: SSOT_LEAD_RATING_C
    description: Rating or score assigned to the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LEAD_SOURCE_ID_C
    description: ID of the source where lead originated
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LEAD_STATUS_ID_C
    description: Current status of the lead
    tests:
    - not_null
  - name: SSOT_LEAD_PARTNER_ACCOUNT_ID_MAP_ACCOUNT_ID_N_1_C
    description: ID of associated partner account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LEAD_PARTY_ID_MAP_PARTY_ID_N_1_C
    description: ID of associated party
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PARTY_ID_C
    description: Another party ID field
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PHONE_CONTACT_POINT_ID_C
    description: Phone contact point identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PHOTO_URL_C
    description: URL for the lead's photo
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_POSTAL_CODE_ID_C
    description: Postal code identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_STATE_PROVINCE_ID_C
    description: State or province identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_STREET_NAME_C
    description: Street name of the lead's address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_TITLE_C
    description: Job title of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_WEBSITE_C
    description: Website associated with the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149977_END_C
    description: Related field with timestamp 1697761149977
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151876_END_C
    description: Related field with timestamp 1697761151876
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151949_END_C
    description: Related field with timestamp 1697761151949
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761158501_END_C
    description: Related field with timestamp 1697761158501
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761161666_END_C
    description: Related field with timestamp 1697761161666
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761163390_END_C
    description: Related field with timestamp 1697761163390
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761163459_END_C
    description: Related field with timestamp 1697761163459
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761163529_END_C
    description: Related field with timestamp 1697761163529
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177620_END_C
    description: Related field with timestamp 1697761177620
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177702_END_C
    description: Related field with timestamp 1697761177702
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177769_END_C
    description: Related field with timestamp 1697761177769
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177836_END_C
    description: Related field with timestamp 1697761177836
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177918_END_C
    description: Related field with timestamp 1697761177918
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177991_END_C
    description: Related field with timestamp 1697761177991
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761178807_END_C
    description: Related field with timestamp 1697761178807
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761178876_END_C
    description: Related field with timestamp 1697761178876
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761178945_END_C
    description: Related field with timestamp 1697761178945
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761191327_END_C
    description: Related field with timestamp 1697761191327
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761221333_END_C
    description: Related field with timestamp 1697761221333
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761222482_END_C
    description: Related field with timestamp 1697761222482
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761222627_END_C
    description: Related field with timestamp 1697761222627
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Unique identifier for the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_CONTACT_POINT_EMAIL_ID_C
    description: Email contact point identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_PHONE_CONTACT_POINT_ID_C
    description: Phone contact point identifier for the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_CONVERTED_TO_OPPORTUNITY_ID_C
    description: ID of the opportunity if lead was converted
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_CONVERTED_TO_ACCOUNT_CONTACT_ID_C
    description: ID of account contact if lead was converted
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_CONVERTED_TO_ACCOUNT_ID_C
    description: ID of the account if lead was converted
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_DATA_REMOTE_ORG_DATA_SPACE_MAP

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_MULTI_ORG_CONNECTION_ID RECORD_SYN_STATUS DATA_SPACE_SYNC_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_REMOTE_ORG_DATA_SPACE_MAP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:24.322926+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_REMOTE_ORG_DATA_SPACE_MAP"

stg_DATA_REMOTE_ORG_DATA_SPACE_MAP.yml (Document the table)

version: 2
models:
- name: stg_DATA_REMOTE_ORG_DATA_SPACE_MAP
  description: The table is about data space mapping for remote organizations. It
    contains details like developer name, language, master label, and sync status.
    The table tracks creation and modification dates, associated user IDs, and connection
    to a multi-org data system. It also includes Fivetran-specific fields for deletion
    and sync status, suggesting integration with Fivetran data pipeline.
  columns:
  - name: ID
    description: Unique identifier for the data space mapping
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the mapping
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the data space mapping
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the mapping
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: DATA_MULTI_ORG_CONNECTION_ID
    description: ID for multi-org data connection
    tests:
    - not_null
  - name: RECORD_SYN_STATUS
    description: Synchronization status of the record
    tests:
    - not_null
  - name: DATA_SPACE_SYNC_STATUS
    description: Sync status of the data space
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_KAV

Table Preview (sample only)

ID KNOWLEDGE_ARTICLE_ID OWNER_ID IS_DELETED VALIDATION_STATUS PUBLISH_STATUS VERSION_NUMBER IS_LATEST_VERSION IS_VISIBLE_IN_APP IS_VISIBLE_IN_PKB IS_VISIBLE_IN_CSP IS_VISIBLE_IN_PRM CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LANGUAGE_ TITLE URL_NAME ARCHIVED_DATE ARCHIVED_BY_ID SUMMARY NEXT_REVIEW_DATE LARGE_LANGUAGE_MODEL ARTICLE_NUMBER FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE ARTICLE_ARCHIVED_BY_ID ARTICLE_ARCHIVED_DATE ARTICLE_CASE_ATTACH_COUNT ARTICLE_CREATED_BY_ID ARTICLE_CREATED_DATE ARTICLE_MASTER_LANGUAGE ARTICLE_TOTAL_VIEW_COUNT SOURCE_ID ASSIGNED_TO_ID ASSIGNED_BY_ID ASSIGNMENT_DATE ASSIGNMENT_DUE_DATE ASSIGNMENT_NOTE MIGRATED_TO_FROM_ARTICLE_VERSION ARTICLE_BODY_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_KAV.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:24.520599+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_KAV"

stg_KNOWLEDGE_KAV.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_KAV
  description: The table is about knowledge article versions. It contains details
    such as article ID, owner, validation status, publish status, visibility settings,
    creation and modification dates, language, title, and URL name. It also tracks
    article statistics like view count, case attachment count, and publication dates.
    The table includes fields for assignment and review processes, as well as content-related
    information like summary and article body.
  columns:
  - name: ID
    description: Unique identifier for the knowledge article version
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_ID
    description: ID of the parent knowledge article
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the article version
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the article version is deleted
    tests:
    - not_null
  - name: VALIDATION_STATUS
    description: Current validation status of the article version
    tests:
    - not_null
  - name: PUBLISH_STATUS
    description: Current publication status of the article version
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the article
    tests:
    - not_null
  - name: IS_LATEST_VERSION
    description: Indicates if this is the latest version
    tests:
    - not_null
  - name: IS_VISIBLE_IN_APP
    description: Visibility status in the app
    tests:
    - not_null
  - name: IS_VISIBLE_IN_PKB
    description: Visibility status in public knowledge base
    tests:
    - not_null
  - name: IS_VISIBLE_IN_CSP
    description: Visibility status in customer service portal
    tests:
    - not_null
  - name: IS_VISIBLE_IN_PRM
    description: Visibility status in partner relationship management
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the article version was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the article version
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the article
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the article version
    tests:
    - not_null
  - name: TITLE
    description: Title of the article version
    tests:
    - not_null
  - name: URL_NAME
    description: URL-friendly name of the article
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date the article version was archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of the user who archived the article version
    tests:
    - not_null
  - name: SUMMARY
    description: Brief summary of the article content
    tests:
    - not_null
  - name: NEXT_REVIEW_DATE
    description: Scheduled date for the next review
    tests:
    - not_null
  - name: LARGE_LANGUAGE_MODEL
    description: Indicates if large language model was used
    tests:
    - not_null
  - name: ARTICLE_NUMBER
    description: Unique number assigned to the article
    tests:
    - not_null
  - name: FIRST_PUBLISHED_DATE
    description: Date the article was first published
    tests:
    - not_null
  - name: LAST_PUBLISHED_DATE
    description: Date the article was last published
    tests:
    - not_null
  - name: ARTICLE_ARCHIVED_BY_ID
    description: ID of user who archived the entire article
    tests:
    - not_null
  - name: ARTICLE_ARCHIVED_DATE
    description: Date the entire article was archived
    tests:
    - not_null
  - name: ARTICLE_CASE_ATTACH_COUNT
    description: Number of cases attached to the article
    tests:
    - not_null
  - name: ARTICLE_CREATED_BY_ID
    description: ID of the user who created the article
    tests:
    - not_null
  - name: ARTICLE_CREATED_DATE
    description: Date when the article was created
    tests:
    - not_null
  - name: ARTICLE_MASTER_LANGUAGE
    description: Primary language of the article
    tests:
    - not_null
  - name: ARTICLE_TOTAL_VIEW_COUNT
    description: Total number of views for the article
    tests:
    - not_null
  - name: SOURCE_ID
    description: Identifier for the source of the article
    tests:
    - not_null
  - name: ASSIGNED_TO_ID
    description: ID of the user assigned to the article
    tests:
    - not_null
  - name: ASSIGNED_BY_ID
    description: ID of the user who assigned the article
    tests:
    - not_null
  - name: ASSIGNMENT_DATE
    description: Date when the article was assigned
    tests:
    - not_null
  - name: ASSIGNMENT_DUE_DATE
    description: Due date for the article assignment
    tests:
    - not_null
  - name: ASSIGNMENT_NOTE
    description: Notes related to the article assignment
    tests:
    - not_null
  - name: MIGRATED_TO_FROM_ARTICLE_VERSION
    description: Version information for migrated articles
    tests:
    - not_null
  - name: ARTICLE_BODY_C
    description: Main content of the article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CATEGORY_NODE

Table Preview (sample only)

ID PARENT_ID MASTER_LABEL SORT_ORDER SORT_STYLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CATEGORY_NODE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:31.878466+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CATEGORY_NODE"

stg_CATEGORY_NODE.yml (Document the table)

version: 2
models:
- name: stg_CATEGORY_NODE
  description: The table is about category nodes in a hierarchical structure. Each
    node has an ID and can have a parent node. Nodes have labels and sorting information.
    The table tracks creation and modification details. It includes system fields
    for tracking changes and synchronization. This structure allows for organizing
    categories in a tree-like manner, with parent-child relationships between nodes.
  columns:
  - name: ID
    description: Unique identifier for each category node
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent node, if any
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name or title of the category
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numeric value for ordering siblings
    tests:
    - not_null
  - name: SORT_STYLE
    description: Method or style used for sorting
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of node creation
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the node
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the node
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_GTWY_PROV_PAYMENT_METHOD_TYPE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE PAYMENT_GATEWAY_PROVIDER_ID COMMENTS PAYMENT_METHOD_TYPE GTWY_PROVIDER_PAYMENT_METHOD_TYPE RECORD_TYPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GTWY_PROV_PAYMENT_METHOD_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:58.161440+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GTWY_PROV_PAYMENT_METHOD_TYPE"

stg_GTWY_PROV_PAYMENT_METHOD_TYPE.yml (Document the table)

version: 2
models:
- name: stg_GTWY_PROV_PAYMENT_METHOD_TYPE
  description: The table is about payment method types associated with a payment gateway
    provider. It includes details such as the developer name, language, master label,
    and payment method type. The table also tracks creation and modification dates,
    system timestamps, and links to the payment gateway provider. It appears to be
    a configuration table for managing different payment methods supported by a gateway
    provider.
  columns:
  - name: ID
    description: Unique identifier for the payment method type
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the payment method type
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the payment method type
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_PROVIDER_ID
    description: ID of the associated payment gateway provider
    tests:
    - not_null
  - name: COMMENTS
    description: Additional notes or comments
    tests:
    - not_null
  - name: PAYMENT_METHOD_TYPE
    description: Type of payment method (e.g., credit card, PayPal)
    tests:
    - not_null
  - name: GTWY_PROVIDER_PAYMENT_METHOD_TYPE
    description: Gateway provider's specific payment method type
    tests:
    - not_null
  - name: RECORD_TYPE_ID
    description: ID of the associated record type
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PAYMENT_AUTH_ADJUSTMENT

Table Preview (sample only)

ID IS_DELETED PAYMENT_AUTH_ADJUSTMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_AUTHORIZATION_ID PROCESSING_MODE AMOUNT STATUS TYPE DATE_ GATEWAY_DATE EFFECTIVE_DATE COMMENTS GATEWAY_REF_NUMBER GATEWAY_RESULT_CODE SF_RESULT_CODE ACCOUNT_ID GATEWAY_REF_DETAILS GATEWAY_RESULT_CODE_DESCRIPTION IP_ADDRESS MAC_ADDRESS PHONE EMAIL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_AUTH_ADJUSTMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:12:37.223511+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_AUTH_ADJUSTMENT"

stg_PAYMENT_AUTH_ADJUSTMENT.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_AUTH_ADJUSTMENT
  description: The table is about payment authorization adjustments. It contains details
    like ID, adjustment number, created and modified dates, payment authorization
    ID, processing mode, amount, status, type, and various dates. It also includes
    gateway-related information such as reference number, result code, and description.
    The table tracks account ID, IP address, MAC address, phone, and email associated
    with the adjustment.
  columns:
  - name: ID
    description: Unique identifier for the payment authorization adjustment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PAYMENT_AUTH_ADJUSTMENT_NUMBER
    description: Unique number for the payment authorization adjustment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PAYMENT_AUTHORIZATION_ID
    description: ID of the associated payment authorization
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing for the adjustment
    tests:
    - not_null
  - name: AMOUNT
    description: Amount of the payment authorization adjustment
    tests:
    - not_null
  - name: STATUS
    description: Current status of the adjustment
    tests:
    - not_null
  - name: TYPE
    description: Type of adjustment
    tests:
    - not_null
  - name: DATE_
    description: Date of the adjustment
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date recorded by the payment gateway
    tests:
    - not_null
  - name: EFFECTIVE_DATE
    description: Date when the adjustment becomes effective
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: GATEWAY_REF_NUMBER
    description: Reference number from the payment gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code from the payment gateway
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Salesforce result code
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: GATEWAY_REF_DETAILS
    description: Additional details from the payment gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of the gateway result code
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address associated with the adjustment
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address associated with the adjustment
    tests:
    - not_null
  - name: PHONE
    description: Phone number associated with the adjustment
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the adjustment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: _FIVETRAN_SYNCED
    tests:
    - not_null
  tests: []

stg_ACCEPTED_EVENT_RELATION

Table Preview (sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCEPTED_EVENT_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:07.822617+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCEPTED_EVENT_RELATION"

stg_ACCEPTED_EVENT_RELATION.yml (Document the table)

version: 2
models:
- name: stg_ACCEPTED_EVENT_RELATION
  description: The table tracks event responses. It includes event IDs and account
    IDs. It records response types and dates. The partitions separate accepted, declined,
    and undecided responses. The table likely manages event attendance and participant
    status for an organization or system.
  columns:
  - name: ID
    description: Primary key or unique identifier for the record
    tests:
    - not_null
  - name: RELATION_ID
    description: ID representing a relationship (purpose unclear)
    tests:
    - not_null
  - name: EVENT_ID
    description: Unique identifier for the associated event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Unique identifier for the associated account
    tests:
    - not_null
  - name: RESPONDED_DATE
    description: Date and time when the response was submitted
    tests:
    - not_null
  - name: RESPONSE
    description: The actual response given (e.g., accepted, declined)
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating whether the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the response or event
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_NOTIFICATION

Table Preview (sample only)

ID NATURE USERS_ID CREATED_DATE ENTITY_TYPE ENTITY_IDENTIFIER_ID SUBJECT TEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_NOTIFICATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:55.587532+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_NOTIFICATION"

stg_CONTENT_NOTIFICATION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_NOTIFICATION
  description: The table is about content notifications sent to users. It links users
    (USERS_ID) to specific notifications. Each notification has a nature, subject,
    and text. It also includes entity type and identifier, likely referring to the
    content that triggered the notification. The table tracks creation date and Fivetran
    sync details.
  columns:
  - name: ID
    description: Unique identifier for each notification
    tests:
    - not_null
  - name: NATURE
    description: Type or category of the notification
    tests:
    - not_null
  - name: USERS_ID
    description: Identifier of the user receiving the notification
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the notification was created
    tests:
    - not_null
  - name: ENTITY_TYPE
    description: Type of content that triggered the notification
    tests:
    - not_null
  - name: ENTITY_IDENTIFIER_ID
    description: Identifier of the specific content item
    tests:
    - not_null
  - name: SUBJECT
    description: Brief title or topic of the notification
    tests:
    - not_null
  - name: TEXT
    description: Detailed message content of the notification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_ACCOUNT_DLM

Table Preview (sample only)

ID SSOT_ACCOUNT_OWNERSHIP_TYPE_C SSOT_ACCOUNT_RATING_TYPE_C SSOT_ACCOUNT_SOURCE_C SSOT_ACCOUNT_TYPE_ID_C SSOT_ACCOUNT_PARTY_ID_MAP_INDIVIDUAL_ID_N_1_C SSOT_ACCOUNT_PARTY_ID_MAP_PARTY_ID_N_1_C SSOT_ANNUAL_REVENUE_AMOUNT_C SSOT_BILL_CONTACT_ADDRESS_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_EMPLOYEE_COUNT_C SSOT_ID_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_NAME_C SSOT_NUMBER_C SSOT_PARENT_ACCOUNT_ID_C SSOT_PRIMARY_INDUSTRY_C SSOT_SALES_PHONE_ID_C SSOT_WEBSITE_ADDR_C SSOT_REL_1697761149597_END_C SSOT_REL_1697761151339_END_C SSOT_REL_1697761151412_END_C SSOT_REL_1697761151490_END_C SSOT_REL_1697761151634_END_C SSOT_REL_1697761152631_END_C SSOT_REL_1697761152706_END_C SSOT_REL_1697761152775_END_C SSOT_REL_1697761152844_END_C SSOT_REL_1697761152921_END_C SSOT_REL_1697761152992_END_C SSOT_REL_1697761153060_END_C SSOT_REL_1697761153134_END_C SSOT_REL_1697761153204_END_C SSOT_REL_1697761153276_END_C SSOT_REL_1697761153348_END_C SSOT_REL_1697761153421_END_C SSOT_REL_1697761153491_END_C SSOT_REL_1697761158080_END_C SSOT_REL_1697761158155_END_C SSOT_REL_1697761158222_END_C SSOT_REL_1697761159717_END_C SSOT_REL_1697761161306_END_C SSOT_REL_1697761161386_END_C SSOT_REL_1697761162808_END_C SSOT_REL_1697761162883_END_C SSOT_REL_1697761162957_END_C SSOT_REL_1697761163033_END_C SSOT_REL_1697761164249_END_C SSOT_REL_1697761175801_END_C SSOT_REL_1697761191649_END_C SSOT_REL_1697761206963_END_C SSOT_REL_1697761210845_END_C SSOT_REL_1697761211048_END_C SSOT_REL_1697761211140_END_C SSOT_REL_1697761211224_END_C SSOT_REL_1697761211765_END_C SSOT_REL_1697761211851_END_C SSOT_REL_1697761211932_END_C SSOT_REL_1697761221119_END_C SSOT_REL_1697761225983_END_C SSOT_REL_1697761228871_END_C SSOT_REL_1697761229443_END_C KQ_ID_C KQ_BILL_CONTACT_ADDRESS_ID_C KQ_SALES_PHONE_ID_C KQ_PARENT_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_ACCOUNT_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:29:21.788437+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_ACCOUNT_DLM"

stg_SSOT_ACCOUNT_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_ACCOUNT_DLM
  description: The table is about account information. It contains various fields
    related to account details such as ID, ownership type, rating, source, type, revenue,
    contact information, creation date, and modification date. The table also includes
    numerous relationship fields (SSOT_REL_*) and some key fields (KQ_*). However,
    in the provided sample, most fields are empty except for the ID, deletion status,
    and synchronization timestamp.
  columns:
  - name: ID
    description: Unique identifier for the account
    tests:
    - not_null
  - name: SSOT_ACCOUNT_OWNERSHIP_TYPE_C
    description: Type of account ownership
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ACCOUNT_RATING_TYPE_C
    description: Rating classification of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ACCOUNT_SOURCE_C
    description: Source of the account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ACCOUNT_TYPE_ID_C
    description: Identifier for the account type
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ACCOUNT_PARTY_ID_MAP_INDIVIDUAL_ID_N_1_C
    description: Individual ID in party mapping
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ACCOUNT_PARTY_ID_MAP_PARTY_ID_N_1_C
    description: Party ID in account mapping
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ANNUAL_REVENUE_AMOUNT_C
    description: Annual revenue of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_BILL_CONTACT_ADDRESS_ID_C
    description: ID of billing contact address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CREATED_DATE_C
    description: Date when the account was created
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_DATA_SOURCE_ID_C
    description: ID of the data source
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object ID in the data source
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_DESCRIPTION_C
    description: Description of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_EMPLOYEE_COUNT_C
    description: Number of employees in the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Another identifier for the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LAST_ACTIVITY_DATE_C
    description: Date of last activity on the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LAST_MODIFIED_DATE_C
    description: Date when the account was last modified
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_NAME_C
    description: Name of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_NUMBER_C
    description: Account number
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PARENT_ACCOUNT_ID_C
    description: ID of the parent account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PRIMARY_INDUSTRY_C
    description: Primary industry of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_SALES_PHONE_ID_C
    description: ID of the sales phone contact
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_WEBSITE_ADDR_C
    description: Website address of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149597_END_C
    description: Relationship field 1
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151339_END_C
    description: Relationship field 2
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151412_END_C
    description: Relationship field 3
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151490_END_C
    description: Relationship field 4
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151634_END_C
    description: Relationship field 5
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152631_END_C
    description: Relationship field 6
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152706_END_C
    description: Relationship field 7
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152775_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152844_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152921_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761152992_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153060_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153134_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153204_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153276_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153348_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153421_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761153491_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761158080_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761158155_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761158222_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761159717_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761161306_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761161386_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162808_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162883_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162957_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761163033_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761164249_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761175801_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761191649_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761206963_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761210845_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211048_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211140_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211224_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211765_END_C
    description: Relationship field for account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211851_END_C
    description: Relationship field, possibly for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761211932_END_C
    description: Another relationship field for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761221119_END_C
    description: Third relationship field for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761225983_END_C
    description: Fourth relationship field for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761228871_END_C
    description: Fifth relationship field for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761229443_END_C
    description: Sixth relationship field for account connections
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Unique identifier for the account
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_BILL_CONTACT_ADDRESS_ID_C
    description: ID for billing contact address
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_SALES_PHONE_ID_C
    description: ID for sales contact phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_PARENT_ACCOUNT_ID_C
    description: ID of the parent account
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_LIST_VIEW

Table Preview (sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX SOBJECT_TYPE IS_SOQL_COMPATIBLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:28.358288+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_VIEW"

stg_LIST_VIEW.yml (Document the table)

version: 2
models:
- name: stg_LIST_VIEW
  description: The table is about list views in a CRM or similar system. It contains
    details such as ID, name, developer name, object type, and SOQL compatibility.
    Each row represents a different list view with creation and modification timestamps.
    The table also includes information about who created and last modified each view,
    as well as system metadata like namespace prefix and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the list view
    tests:
    - not_null
  - name: NAME
    description: Display name of the list view
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name used by developers
    cocoon_meta:
      missing_reason: Unknown
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package (if applicable)
    cocoon_meta:
      missing_reason: Empty when object is not part of a package
  - name: SOBJECT_TYPE
    description: Type of object the list view is for
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_SOQL_COMPATIBLE
    description: Whether the list view can be used in SOQL
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the list view was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the list view
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the view
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Timestamp when the list view was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Timestamp when the list view was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last sync by Fivetran
    tests:
    - not_null
  tests: []

stg_PROMPT_ERROR

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROMPT_ACTION_ID TYPE STEP_NUMBER IS_ERROR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT_ERROR.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:23.720558+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT_ERROR"

stg_PROMPT_ERROR.yml (Document the table)

version: 2
models:
- name: stg_PROMPT_ERROR
  description: The table is about prompt errors or steps. It includes an ID, owner
    ID, name, and type. The table tracks creation and modification dates and users.
    It has a step number and flag for errors. The table links to a prompt action through
    PROMPT_ACTION_ID. It includes system fields for deletion and synchronization tracking.
  columns:
  - name: ID
    description: Unique identifier for the prompt step or error
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the prompt step or error
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: PROMPT_ACTION_ID
    description: ID of the associated prompt action
    tests:
    - not_null
  - name: TYPE
    description: Type of the prompt step or error
    tests:
    - not_null
  - name: STEP_NUMBER
    description: Sequence number of the step in the prompt
    tests:
    - not_null
  - name: IS_ERROR
    description: Flag indicating if this is an error step
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_WORKSPACE_SUBSCRIPTION

Table Preview (sample only)

ID USER_ID CONTENT_WORKSPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_WORKSPACE_SUBSCRIPTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:21.502526+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_WORKSPACE_SUBSCRIPTION"

stg_CONTENT_WORKSPACE_SUBSCRIPTION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_WORKSPACE_SUBSCRIPTION
  description: The table represents the subscription relation between users and content
    workspaces. It tracks which users are subscribed to specific content workspaces.
    The ID column is likely the primary key. USER_ID links to a user table. CONTENT_WORKSPACE_ID
    links to a content workspace table. _FIVETRAN_DELETED and _FIVETRAN_SYNCED are
    likely metadata columns for data synchronization purposes.
  columns:
  - name: ID
    description: Unique identifier for each subscription record
    tests:
    - not_null
  - name: USER_ID
    description: Identifier of the user subscribed to the workspace
    tests:
    - not_null
  - name: CONTENT_WORKSPACE_ID
    description: Identifier of the content workspace being subscribed to
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMMUNICATION_SUBSCRIPTION_ID ENGAGEMENT_CHANNEL_TYPE_ID DATA_USE_PURPOSE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:53.605535+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_CHANNEL_TYPE"

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE
  description: The table is about communication subscription channel types. It contains
    details like ID, name, creation date, and last modification date. It links to
    a communication subscription, engagement channel type, and data use purpose through
    their respective IDs. The table also tracks ownership, deletion status, and system
    timestamps. It appears to be part of a larger system managing communication preferences
    or subscriptions.
  columns:
  - name: ID
    description: Unique identifier for the channel type
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Deletion status of the record
    tests:
    - not_null
  - name: NAME
    description: Name of the communication channel type
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: COMMUNICATION_SUBSCRIPTION_ID
    description: ID of the associated communication subscription
    tests:
    - not_null
  - name: ENGAGEMENT_CHANNEL_TYPE_ID
    description: ID of the associated engagement channel type
    tests:
    - not_null
  - name: DATA_USE_PURPOSE_ID
    description: ID of the associated data use purpose
    cocoon_meta:
      missing_reason: Not all communications require a specific data use purpose.
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DASHBOARD_COMPONENT

Table Preview (sample only)

ID NAME DASHBOARD_ID CUSTOM_REPORT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DASHBOARD_COMPONENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:01.977771+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DASHBOARD_COMPONENT"

stg_DASHBOARD_COMPONENT.yml (Document the table)

version: 2
models:
- name: stg_DASHBOARD_COMPONENT
  description: The table is about dashboard components. It includes information such
    as component ID, name, associated dashboard ID, and custom report ID. Each component
    has a unique identifier. The table also tracks whether the component has been
    deleted and when it was last synced. Some components have specific names, while
    others are labeled "Untitled Component".
  columns:
  - name: ID
    description: Unique identifier for the dashboard component
    tests:
    - not_null
  - name: NAME
    description: Title or name of the dashboard component
    tests:
    - not_null
  - name: DASHBOARD_ID
    description: Identifier of the dashboard containing this component
    tests:
    - not_null
  - name: CUSTOM_REPORT_ID
    description: Identifier of the custom report linked to this component
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the component has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_BUSINESS_BRAND

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BUSINESS_BRAND.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:46.094019+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BUSINESS_BRAND"

stg_BUSINESS_BRAND.yml (Document the table)

version: 2
models:
- name: stg_BUSINESS_BRAND
  description: BUSINESS_BRAND contains brand information. It has fields for ID, name,
    and creation details. COMM_SUBSCRIPTION likely holds subscription data for communications.
    Together, they represent a business communication platform with brands and subscriptions.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the brand or subscription
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CASE_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:24.752620+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_TAG"

stg_CASE_TAG.yml (Document the table)

version: 2
models:
- name: stg_CASE_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FOLDER

Table Preview (sample only)

ID PARENT_ID NAME DEVELOPER_NAME ACCESS_TYPE IS_READONLY TYPE NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FOLDER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:34.172240+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FOLDER"

stg_FOLDER.yml (Document the table)

version: 2
models:
- name: stg_FOLDER
  description: The table is about folders in a system. It contains folder details
    like ID, name, type, and access settings. Folders can have parent folders, indicated
    by PARENT_ID. The table tracks creation and modification dates, as well as who
    created or modified each folder. It includes system-specific fields like namespace
    prefix and developer name. The _FIVETRAN fields suggest data synchronization with
    an external system.
  columns:
  - name: ID
    description: Unique identifier for the folder
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent folder, if any
    cocoon_meta:
      missing_reason: Not applicable for top-level items without a parent.
  - name: NAME
    description: Display name of the folder
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Internal name used by developers
    tests:
    - not_null
  - name: ACCESS_TYPE
    description: Visibility setting of the folder
    tests:
    - not_null
  - name: IS_READONLY
    description: Indicates if the folder is read-only
    tests:
    - not_null
  - name: TYPE
    description: Type of content in the folder
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package, if applicable
    cocoon_meta:
      missing_reason: Not applicable for items without a specific namespace.
  - name: CREATED_DATE
    description: Date and time the folder was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the folder
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the folder
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System's last modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Last synchronization timestamp with Fivetran
    tests:
    - not_null
  tests: []

stg_DOCUMENT

Table Preview (sample only)

ID FOLDER_ID IS_DELETED NAME DEVELOPER_NAME NAMESPACE_PREFIX CONTENT_TYPE TYPE IS_PUBLIC BODY_LENGTH URL DESCRIPTION KEYWORDS IS_INTERNAL_USE_ONLY AUTHOR_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_BODY_SEARCHABLE LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DOCUMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:27.620275+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DOCUMENT"

stg_DOCUMENT.yml (Document the table)

version: 2
models:
- name: stg_DOCUMENT
  description: The table is about documents. It contains details such as document
    ID, name, type, content, and visibility settings. The table tracks document creation,
    modification, and viewing dates. It includes information about the document's
    author, folder, and searchability. The table also stores system-related fields
    for synchronization and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the document
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing the document
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the document is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the document
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-specific name for the document
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the document
    tests:
    - not_null
  - name: CONTENT_TYPE
    description: Type of content in the document
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the document
    tests:
    - not_null
  - name: IS_PUBLIC
    description: Flag indicating if the document is public
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Length of the document's body content
    tests:
    - not_null
  - name: URL
    description: URL or location of the document
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the document
    tests:
    - not_null
  - name: KEYWORDS
    description: Keywords associated with the document
    tests:
    - not_null
  - name: IS_INTERNAL_USE_ONLY
    description: Flag indicating if for internal use only
    tests:
    - not_null
  - name: AUTHOR_ID
    description: ID of the document's author
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the document was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the document
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the document
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the document
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_BODY_SEARCHABLE
    description: Flag indicating if body content is searchable
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the document was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the document was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CALENDAR

Table Preview (sample only)

ID NAME USER_ID TYPE IS_ACTIVE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALENDAR.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:31.452253+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALENDAR"

stg_CALENDAR.yml (Document the table)

version: 2
models:
- name: stg_CALENDAR
  description: The table is about calendars. It contains calendar entries for users
    and holidays. Each entry has an ID, type (User or Holiday), and user ID (if applicable).
    The table tracks creation and modification dates, as well as who created or modified
    the entry. It also includes flags for active status and deletion status, and a
    timestamp for synchronization.
  columns:
  - name: ID
    description: Unique identifier for the calendar entry
    tests:
    - not_null
  - name: NAME
    description: Name of the calendar entry (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: USER_ID
    description: ID of the user associated with the entry
    cocoon_meta:
      missing_reason: Not applicable for non-User type records.
  - name: TYPE
    description: Type of calendar entry (User or Holiday)
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the calendar entry is active
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the entry was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_REPORT

Table Preview (sample only)

ID OWNER_ID FOLDER_NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED NAME DESCRIPTION DEVELOPER_NAME NAMESPACE_PREFIX LAST_RUN_DATE SYSTEM_MODSTAMP FORMAT LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_REPORT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:30.950099+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."REPORT"

stg_REPORT.yml (Document the table)

version: 2
models:
- name: stg_REPORT
  description: The table is about reports in a system. It contains details such as
    report ID, owner, folder name, creation date, last modification date, and report
    name. The table also includes information on report format, description, developer
    name, and system timestamps. Each row represents a unique report with its associated
    metadata and usage information.
  columns:
  - name: ID
    description: Unique identifier for the report
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the report owner
    tests:
    - not_null
  - name: FOLDER_NAME
    description: Name of the folder containing the report
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the report was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the report
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the report
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the report is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the report
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the report
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-friendly name of the report
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the report
    cocoon_meta:
      missing_reason: Not all reports belong to a specific namespace.
  - name: LAST_RUN_DATE
    description: Date and time when the report was last run
    cocoon_meta:
      missing_reason: Report may not have been run yet.
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: FORMAT
    description: Format of the report
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the report was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date and time when the report was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_REPORT_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_REPORT_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:31.545306+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."REPORT_TAG"

stg_REPORT_TAG.yml (Document the table)

version: 2
models:
- name: stg_REPORT_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EXTERNAL_EVENT_MAPPING_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_EVENT_MAPPING_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:19.482502+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_EVENT_MAPPING_SHARE"

stg_EXTERNAL_EVENT_MAPPING_SHARE.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_EVENT_MAPPING_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_SPACE_FILTER_CONDITION

Table Preview (sample only)

ID IS_DELETED DATA_SPACE_FILTER_CRITERIA_ID DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TARGET_OBJECT_ID OPERATOR VALUE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SPACE_FILTER_CONDITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:57.130415+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SPACE_FILTER_CONDITION"

stg_DATA_SPACE_FILTER_CONDITION.yml (Document the table)

version: 2
models:
- name: stg_DATA_SPACE_FILTER_CONDITION
  description: The table is about filter conditions for data spaces. It includes details
    like ID, deletion status, criteria ID, developer name, language, label, creation
    and modification dates, target object, operator, and value. The table tracks who
    created and last modified each condition. It also has fields for Fivetran sync
    status, suggesting integration with that data pipeline tool.
  columns:
  - name: ID
    description: Unique identifier for the filter condition
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: DATA_SPACE_FILTER_CRITERIA_ID
    description: ID of the associated data space filter criteria
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to identify the condition
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the filter condition
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the filter condition
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: TARGET_OBJECT_ID
    description: ID of the object targeted by the filter
    tests:
    - not_null
  - name: OPERATOR
    description: Comparison operator used in the filter condition
    tests:
    - not_null
  - name: VALUE_
    description: Value used in the filter condition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OAUTH_TOKEN_EXCH_HANDLER_APP

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OAUTH_TOKEN_EXCHANGE_HANDLER_ID IS_DEFAULT APEX_EXECUTION_USER_ID CONNECTED_APPLICATION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OAUTH_TOKEN_EXCH_HANDLER_APP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:15.785544+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OAUTH_TOKEN_EXCH_HANDLER_APP"

stg_OAUTH_TOKEN_EXCH_HANDLER_APP.yml (Document the table)

version: 2
models:
- name: stg_OAUTH_TOKEN_EXCH_HANDLER_APP
  description: The table is about OAuth token exchange handler applications. It contains
    details like creation and modification dates, user IDs, and associated OAuth handler
    and connected application IDs. The table tracks whether an application is default
    and if it's deleted. It also includes system timestamps and Fivetran sync information,
    suggesting integration with external systems or data pipelines.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: OAUTH_TOKEN_EXCHANGE_HANDLER_ID
    description: ID of associated OAuth token exchange handler
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Flag indicating if this is the default application
    tests:
    - not_null
  - name: APEX_EXECUTION_USER_ID
    description: ID of user for Apex code execution
    tests:
    - not_null
  - name: CONNECTED_APPLICATION_ID
    description: ID of the connected application
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_INTERVIEW_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_INTERVIEW_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:09.126580+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_INTERVIEW_SHARE"

stg_FLOW_INTERVIEW_SHARE.yml (Document the table)

version: 2
models:
- name: stg_FLOW_INTERVIEW_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_REFUND

Table Preview (sample only)

ID IS_DELETED REFUND_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE TYPE PAYMENT_GROUP_ID PROCESSING_MODE AMOUNT ACCOUNT_ID PAYMENT_METHOD_ID COMMENTS STATUS GATEWAY_REF_NUMBER CLIENT_CONTEXT GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION SF_RESULT_CODE GATEWAY_DATE IP_ADDRESS MAC_ADDRESS PHONE EMAIL EFFECTIVE_DATE DATE_ CANCELLATION_EFFECTIVE_DATE CANCELLATION_DATE CANCELLATION_GATEWAY_REF_NUMBER CANCELLATION_GATEWAY_RESULT_CODE CANCELLATION_SF_RESULT_CODE CANCELLATION_GATEWAY_DATE PAYMENT_GATEWAY_ID TOTAL_APPLIED TOTAL_UNAPPLIED NET_APPLIED BALANCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_REFUND.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:04.891345+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."REFUND"

stg_REFUND.yml (Document the table)

version: 2
models:
- name: stg_REFUND
  description: The table is about refund transactions. It includes details like refund
    ID, amount, status, and payment method. The table tracks creation and modification
    dates, processing mode, and gateway information. It also contains cancellation
    details and financial breakdowns like total applied and balance. Additional fields
    cover customer contact info and system metadata.
  columns:
  - name: ID
    description: Unique identifier for the refund transaction
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: REFUND_NUMBER
    description: Unique number assigned to the refund
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the refund was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the refund
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the refund
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: TYPE
    description: Type of refund transaction
    tests:
    - not_null
  - name: PAYMENT_GROUP_ID
    description: ID of the associated payment group
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing for the refund
    tests:
    - not_null
  - name: AMOUNT
    description: Total amount of the refund
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: PAYMENT_METHOD_ID
    description: ID of the payment method used
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes about the refund
    tests:
    - not_null
  - name: STATUS
    description: Current status of the refund
    tests:
    - not_null
  - name: GATEWAY_REF_NUMBER
    description: Reference number from the payment gateway
    tests:
    - not_null
  - name: CLIENT_CONTEXT
    description: Context information from the client
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code returned by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of the gateway result code
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Salesforce result code
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date and time reported by the gateway
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address associated with the transaction
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address associated with the transaction
    tests:
    - not_null
  - name: PHONE
    description: Phone number associated with the refund
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the refund
    tests:
    - not_null
  - name: EFFECTIVE_DATE
    description: Date when the refund becomes effective
    tests:
    - not_null
  - name: DATE_
    description: Date of the refund transaction
    tests:
    - not_null
  - name: CANCELLATION_EFFECTIVE_DATE
    description: Date when cancellation becomes effective
    tests:
    - not_null
  - name: CANCELLATION_DATE
    description: Date when cancellation was requested or processed
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_REF_NUMBER
    description: Reference number from payment gateway for cancellation
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_RESULT_CODE
    description: Result code from payment gateway for cancellation
    tests:
    - not_null
  - name: CANCELLATION_SF_RESULT_CODE
    description: Salesforce result code for cancellation
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_DATE
    description: Date of cancellation processing by payment gateway
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: Identifier for the payment gateway used
    tests:
    - not_null
  - name: TOTAL_APPLIED
    description: Total amount applied in the refund transaction
    tests:
    - not_null
  - name: TOTAL_UNAPPLIED
    description: Total amount not applied in the refund
    tests:
    - not_null
  - name: NET_APPLIED
    description: Net amount applied after adjustments
    tests:
    - not_null
  - name: BALANCE
    description: Remaining balance after the refund transaction
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EVENT_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:21.574013+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_TAG"

stg_EVENT_TAG.yml (Document the table)

version: 2
models:
- name: stg_EVENT_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_QUERY_WORKSPACE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SPACE LANDING_TAB_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_QUERY_WORKSPACE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:07.693305+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_QUERY_WORKSPACE"

stg_DATA_QUERY_WORKSPACE.yml (Document the table)

version: 2
models:
- name: stg_DATA_QUERY_WORKSPACE
  description: The table is about data query workspaces. It includes details like
    workspace ID, owner, name, creation and modification dates, and associated user
    IDs. The table tracks whether the workspace is deleted, its data space, and landing
    tab ID. It also contains metadata fields for syncing and deletion tracking, likely
    used by a data integration tool like Fivetran.
  columns:
  - name: ID
    description: Unique identifier for the workspace
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the workspace owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the workspace is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the workspace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the workspace was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the workspace
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the workspace
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the workspace
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the workspace was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the workspace was last referenced
    tests:
    - not_null
  - name: DATA_SPACE
    description: Amount of data space used by the workspace
    tests:
    - not_null
  - name: LANDING_TAB_ID
    description: ID of the landing tab for the workspace
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last sync
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_RULE_CONDITION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_RULE_ID RESOURCE OPERATOR VALUE_ RULE_CONDITION_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_RULE_CONDITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:50:17.793375+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_RULE_CONDITION"

stg_ACTION_CADENCE_RULE_CONDITION.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_RULE_CONDITION
  description: The table is about conditions for action cadence rules. It contains
    details like the rule ID, resource, operator, and value for the condition. Each
    condition has a unique ID and name. The table tracks creation and modification
    dates, as well as who created or modified the condition. It also includes system
    fields for deletion and synchronization tracking.
  columns:
  - name: ID
    description: Unique identifier for each condition
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the condition was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the condition
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the condition
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: ACTION_CADENCE_RULE_ID
    description: ID of the associated action cadence rule
    tests:
    - not_null
  - name: RESOURCE
    description: Resource the condition applies to
    tests:
    - not_null
  - name: OPERATOR
    description: Operator used in the condition
    tests:
    - not_null
  - name: VALUE_
    description: Value used in the condition
    tests:
    - not_null
  - name: RULE_CONDITION_NAME
    description: Name of the rule condition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_LOGIN_GEO

Table Preview (sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE IS_DELETED SYSTEM_MODSTAMP LOGIN_TIME COUNTRY_ISO COUNTRY LATITUDE LONGITUDE CITY POSTAL_CODE SUBDIVISION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LOGIN_GEO.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:45.829064+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LOGIN_GEO"

stg_LOGIN_GEO.yml (Document the table)

version: 2
models:
- name: stg_LOGIN_GEO
  description: The table is about login geographical information. It contains details
    of user logins, including the login time, location (country, city, latitude, longitude),
    and associated user IDs. Each row represents a unique login event with a specific
    ID. The table also includes metadata like creation date, last modification date,
    and synchronization information.
  columns:
  - name: ID
    description: Unique identifier for each login event
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the login record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the login record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the record is deleted
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LOGIN_TIME
    description: Date and time when the user logged in
    tests:
    - not_null
  - name: COUNTRY_ISO
    description: ISO code of the country where login occurred
    tests:
    - not_null
  - name: COUNTRY
    description: Full name of the country where login occurred
    tests:
    - not_null
  - name: LATITUDE
    description: Latitude coordinate of the login location
    tests:
    - not_null
  - name: LONGITUDE
    description: Longitude coordinate of the login location
    tests:
    - not_null
  - name: CITY
    description: City where the login occurred
    tests:
    - not_null
  - name: POSTAL_CODE
    description: Postal code of the login location
    tests:
    - not_null
  - name: SUBDIVISION
    description: State or province of the login location
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_VERSION_COMMENT

Table Preview (sample only)

ID CONTENT_DOCUMENT_ID CONTENT_VERSION_ID USER_COMMENT CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_VERSION_COMMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:27.124685+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_VERSION_COMMENT"

stg_CONTENT_VERSION_COMMENT.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_VERSION_COMMENT
  description: The table represents comments on content versions. It links content
    documents, versions, and user comments. Each row is a comment on a specific content
    version. The table includes the comment text, creation date, and IDs to associate
    with the relevant content document and version. It also has fields for tracking
    deletion and synchronization status.
  columns:
  - name: ID
    description: Unique identifier for the comment
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the associated content document
    tests:
    - not_null
  - name: CONTENT_VERSION_ID
    description: ID of the specific content version
    tests:
    - not_null
  - name: USER_COMMENT
    description: Text of the user's comment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the comment was created
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_EXTERNAL_DATA_USER_AUTH

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_DATA_SOURCE_ID USER_ID PROTOCOL USERNAME PASSWORD AUTH_PROVIDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_DATA_USER_AUTH.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:03.162073+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_DATA_USER_AUTH"

stg_EXTERNAL_DATA_USER_AUTH.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_DATA_USER_AUTH
  description: The table is about user authentication for external data sources. It
    links users to external data sources. The table stores authentication details
    like protocol, username, and password. It includes audit fields for tracking creation
    and modification. The table also has fields for deletion status and synchronization
    with Fivetran.
  columns:
  - name: ID
    description: Unique identifier for the authentication record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: EXTERNAL_DATA_SOURCE_ID
    description: ID of the associated external data source
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with this authentication
    tests:
    - not_null
  - name: PROTOCOL
    description: Authentication protocol used
    tests:
    - not_null
  - name: USERNAME
    description: Username for the external data source
    tests:
    - not_null
  - name: PASSWORD
    description: Password for the external data source
    tests:
    - not_null
  - name: AUTH_PROVIDER_ID
    description: ID of the authentication provider
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD_VERSION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_ID VERSION_NUMBER ACTIVATED_BY_ID ACTIVATED_DATE PROGRESS_STATUS IS_PAUSED PAUSING_USER_ID PAUSED_DATE RESUMING_USER_ID RESUMED_DATE REASON_PAUSED SCHEDULED_START_DATE FLOW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED SOURCE_TEMPLATE_ID IS_TEMPLATE IS_OVERRIDABLE OVERRIDDEN_BY_ID OVERRIDDEN_FLOW_ID BUILDER DESCRIPTION RUN_IN_MODE TRIGGER_OBJECT_OR_EVENT_LABEL API_VERSION STATUS

stg_FLOW_RECORD_VERSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:54.227095+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD_VERSION"

stg_FLOW_RECORD_VERSION.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD_VERSION
  description: The table is about versions of flow records. It contains details like
    ID, name, creation date, modification date, version number, and activation status.
    It tracks who created, modified, activated, paused, or resumed the flow version.
    The table also includes information on flow type, progress status, scheduled start
    date, and API version. It supports features like templates, overriding, and different
    run modes.
  columns:
  - name: ID
    description: Unique identifier for the flow version
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the flow version is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow version
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the flow version was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the flow version
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the flow
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the flow version was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the flow version was last referenced
    tests:
    - not_null
  - name: FLOW_RECORD_ID
    description: ID of the associated flow record
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the flow
    tests:
    - not_null
  - name: ACTIVATED_BY_ID
    description: ID of the user who activated the flow
    tests:
    - not_null
  - name: ACTIVATED_DATE
    description: Date when the flow version was activated
    tests:
    - not_null
  - name: PROGRESS_STATUS
    description: Current progress status of the flow
    tests:
    - not_null
  - name: IS_PAUSED
    description: Indicates if the flow is currently paused
    tests:
    - not_null
  - name: PAUSING_USER_ID
    description: ID of the user who paused the flow
    tests:
    - not_null
  - name: PAUSED_DATE
    description: Date when the flow was paused
    tests:
    - not_null
  - name: RESUMING_USER_ID
    description: ID of the user who resumed the flow
    tests:
    - not_null
  - name: RESUMED_DATE
    description: Date when the flow was resumed
    tests:
    - not_null
  - name: REASON_PAUSED
    description: Reason for pausing the flow
    tests:
    - not_null
  - name: SCHEDULED_START_DATE
    description: Scheduled start date for the flow
    tests:
    - not_null
  - name: FLOW_TYPE
    description: Type of the flow
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: SOURCE_TEMPLATE_ID
    description: ID of the source template
    tests:
    - not_null
  - name: IS_TEMPLATE
    description: Indicates if the flow is a template
    tests:
    - not_null
  - name: IS_OVERRIDABLE
    description: Indicates if the flow can be overridden
    tests:
    - not_null
  - name: OVERRIDDEN_BY_ID
    description: ID of the user who overrode the flow
    tests:
    - not_null
  - name: OVERRIDDEN_FLOW_ID
    description: ID of the flow that was overridden
    tests:
    - not_null
  - name: BUILDER
    description: Person who created or modified the flow version
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief explanation of the flow version's purpose
    tests:
    - not_null
  - name: RUN_IN_MODE
    description: Execution mode for the flow (e.g., normal, debug)
    tests:
    - not_null
  - name: TRIGGER_OBJECT_OR_EVENT_LABEL
    description: Object or event that initiates the flow
    tests:
    - not_null
  - name: API_VERSION
    description: Salesforce API version used for the flow
    tests:
    - not_null
  - name: STATUS
    description: Current activation status of the flow version
    tests:
    - not_null
  tests: []

stg_SPSAML_ATTRIBUTES

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP KEY_ VALUE_ CONNECTIVITY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SPSAML_ATTRIBUTES.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:28:12.607254+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SPSAML_ATTRIBUTES"

stg_SPSAML_ATTRIBUTES.yml (Document the table)

version: 2
models:
- name: stg_SPSAML_ATTRIBUTES
  description: The table is about connectivity attributes. It stores key-value pairs
    associated with a connectivity ID. The table includes metadata fields like creation
    and modification dates, user IDs for creation and modification, and a system timestamp.
    It also has fields for soft deletion and Fivetran synchronization tracking.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is soft-deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: KEY_
    description: Key in the key-value pair
    tests:
    - not_null
  - name: VALUE_
    description: Value in the key-value pair
    tests:
    - not_null
  - name: CONNECTIVITY_ID
    description: ID of the associated connectivity
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_EMAIL_HISTORY

Table Preview (sample only)

ID IS_DELETED CONTACT_POINT_EMAIL_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_EMAIL_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:33:35.350854+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_EMAIL_HISTORY"

stg_CONTACT_POINT_EMAIL_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_EMAIL_HISTORY
  description: The table is about contact point email history. It contains records
    of changes made to contact point emails. Each row represents a change event. Details
    include the ID of the changed email, who made the change, when it occurred, what
    field changed, and the old and new values. The table also tracks if the record
    was deleted and when it was last synced.
  columns:
  - name: ID
    description: Unique identifier for the history record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: CONTACT_POINT_EMAIL_ID
    description: ID of the contact point email being changed
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who made the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    cocoon_meta:
      missing_reason: No previous value exists for newly created records.
  - name: NEW_VALUE
    description: New value of the changed field
    cocoon_meta:
      missing_reason: No change occurred, so no new value to record.
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_BRIEFCASE_DEFINITION

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRIEFCASE_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:29.557437+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRIEFCASE_DEFINITION"

stg_BRIEFCASE_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_BRIEFCASE_DEFINITION
  description: The table is about briefcase definitions. It contains details like
    ID, developer name, language, master label, and namespace prefix. The table tracks
    creation and modification dates, as well as who created or modified the entry.
    It also includes flags for deletion status and activity status. Additional fields
    provide a description and system metadata.
  columns:
  - name: ID
    description: Unique identifier for the briefcase definition
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the definition
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the briefcase definition
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the briefcase definition
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the briefcase definition
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the briefcase definition is active
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the briefcase definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_BACKGROUND_OPERATION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SUBMITTED_AT STATUS EXECUTION_GROUP SEQUENCE_GROUP SEQUENCE_NUMBER GROUP_LEADER_ID STARTED_AT FINISHED_AT WORKER_URI TIMEOUT EXPIRES_AT NUM_FOLLOWERS PROCESS_AFTER PARENT_KEY RETRY_LIMIT RETRY_COUNT RETRY_BACKOFF ERROR TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BACKGROUND_OPERATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:56:52.040573+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BACKGROUND_OPERATION"

stg_BACKGROUND_OPERATION.yml (Document the table)

version: 2
models:
- name: stg_BACKGROUND_OPERATION
  description: The table is about background operations, specifically system cleanup
    jobs. It contains details such as operation ID, name, status, creation date, execution
    times, and type. Each row represents a single cleanup job with its start time,
    finish time, and status. The table also includes information on retries, timeouts,
    and any errors encountered during the operation.
  columns:
  - name: ID
    description: Unique identifier for the cleanup job
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the cleanup job
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the job was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the job
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the job
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: SUBMITTED_AT
    description: Date and time when the job was submitted
    tests:
    - not_null
  - name: STATUS
    description: Current status of the cleanup job
    tests:
    - not_null
  - name: EXECUTION_GROUP
    description: Group for execution coordination
    cocoon_meta:
      missing_reason: Job not part of a group execution.
  - name: SEQUENCE_GROUP
    description: Group for sequencing jobs
    cocoon_meta:
      missing_reason: Unknown
  - name: SEQUENCE_NUMBER
    description: Number indicating the job's sequence
    tests:
    - not_null
  - name: GROUP_LEADER_ID
    description: ID of the group leader
    cocoon_meta:
      missing_reason: Unknown
  - name: STARTED_AT
    description: Date and time when the job started
    tests:
    - not_null
  - name: FINISHED_AT
    description: Date and time when the job finished
    tests:
    - not_null
  - name: WORKER_URI
    description: URI of the worker executing the job
    cocoon_meta:
      missing_reason: Unknown
  - name: TIMEOUT
    description: Timeout duration in milliseconds
    tests:
    - not_null
  - name: EXPIRES_AT
    description: Date and time when the job expires
    tests:
    - not_null
  - name: NUM_FOLLOWERS
    description: Number of follower jobs
    tests:
    - not_null
  - name: PROCESS_AFTER
    description: Date and time to process the job after
    tests:
    - not_null
  - name: PARENT_KEY
    description: Key of the parent job
    cocoon_meta:
      missing_reason: Unknown
  - name: RETRY_LIMIT
    description: Maximum number of retry attempts
    tests:
    - not_null
  - name: RETRY_COUNT
    description: Current number of retry attempts
    tests:
    - not_null
  - name: RETRY_BACKOFF
    description: Backoff time between retries
    tests:
    - not_null
  - name: ERROR
    description: Error message if job failed
    cocoon_meta:
      missing_reason: No errors occurred during job execution.
  - name: TYPE
    description: Type of cleanup job
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_GRAPH

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SPACE_ID STATUS LAST_RUN_STATUS RECORD_COUNT LAST_REFRESH_DATE DATA_GRAPH_TYPE DATA_SOURCE_OBJ_COUNT DAO_FIELDS_COUNT LEVELS ROLLOUT_VERSION VERSION DATA_GRAPH_API_NAME PRIMARY_DMO _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_GRAPH.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:11.754185+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_GRAPH"

stg_DATA_GRAPH.yml (Document the table)

version: 2
models:
- name: stg_DATA_GRAPH
  description: The table is about data graphs. It contains details like ID, name,
    status, and type of data graph. It tracks creation and modification dates, user
    IDs who created or modified it, and system timestamps. The table also includes
    information on record count, last refresh date, API name, and version details.
    It seems to be used for managing and tracking data graph objects in a system.
  columns:
  - name: ID
    description: Unique identifier for the data graph
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the data graph is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data graph
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the data graph was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the data graph
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the graph
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the data graph was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the data graph was last referenced
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the data space associated with the graph
    tests:
    - not_null
  - name: STATUS
    description: Current status of the data graph
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the last run of the data graph
    tests:
    - not_null
  - name: RECORD_COUNT
    description: Number of records in the data graph
    tests:
    - not_null
  - name: LAST_REFRESH_DATE
    description: Date of the last refresh of the data graph
    tests:
    - not_null
  - name: DATA_GRAPH_TYPE
    description: Type of the data graph
    tests:
    - not_null
  - name: DATA_SOURCE_OBJ_COUNT
    description: Count of data source objects
    tests:
    - not_null
  - name: DAO_FIELDS_COUNT
    description: Count of DAO fields
    tests:
    - not_null
  - name: LEVELS
    description: Number of levels in the data graph
    tests:
    - not_null
  - name: ROLLOUT_VERSION
    description: Version number for rollout
    tests:
    - not_null
  - name: VERSION
    description: Version of the data graph
    tests:
    - not_null
  - name: DATA_GRAPH_API_NAME
    description: API name of the data graph
    tests:
    - not_null
  - name: PRIMARY_DMO
    description: Primary DMO associated with the data graph
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PARTNER

Table Preview (sample only)

ID OPPORTUNITY_ID ACCOUNT_FROM_ID ACCOUNT_TO_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PARTNER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:44.214241+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PARTNER"

stg_PARTNER.yml (Document the table)

version: 2
models:
- name: stg_PARTNER
  description: ACCOUNT_PARTNER links accounts and opportunities. It tracks primary
    partnerships. PARTNER likely contains detailed partner information. Both partitions
    relate to business partnerships. They may include partner roles, creation dates,
    and modification details. The system tracks deletions and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the account partner record
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: ID of the account initiating the partnership
    tests:
    - not_null
  - name: ACCOUNT_FROM_ID
    description: ID of the account receiving the partnership
    tests:
    - not_null
  - name: ACCOUNT_TO_ID
    description: ID of the associated opportunity
    tests:
    - not_null
  - name: ROLE
    description: Role of the partner in this relationship
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Indicates if this is the primary partnership
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: REVERSE_PARTNER_ID
    description: ID of the reverse partnership record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_INSTALLED_MOBILE_APP

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP STATUS USER_ID CONNECTED_APPLICATION_ID VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_INSTALLED_MOBILE_APP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:35.206400+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."INSTALLED_MOBILE_APP"

stg_INSTALLED_MOBILE_APP.yml (Document the table)

version: 2
models:
- name: stg_INSTALLED_MOBILE_APP
  description: The table is about installed mobile applications. It contains details
    of each app installation, including the app name, version, status, and user who
    installed it. The table tracks creation and modification dates, as well as the
    users who performed these actions. It also links to a connected application, possibly
    for authentication purposes. The table includes system fields for tracking deletions
    and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the installed application
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the installed application
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: STATUS
    description: Current status of the installed application
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user who installed the application
    tests:
    - not_null
  - name: CONNECTED_APPLICATION_ID
    description: ID of the associated connected application
    tests:
    - not_null
  - name: VERSION
    description: Version number of the installed application
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_APP_MENU_ITEM

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SORT_ORDER NAME NAMESPACE_PREFIX LABEL DESCRIPTION START_URL MOBILE_START_URL LOGO_URL ICON_URL INFO_URL IS_USING_ADMIN_AUTHORIZATION MOBILE_PLATFORM MOBILE_MIN_OS_VER MOBILE_DEVICE_TYPE IS_REGISTERED_DEVICE_ONLY MOBILE_APP_VER MOBILE_APP_INSTALLED_DATE MOBILE_APP_INSTALLED_VERSION MOBILE_APP_BINARY_ID MOBILE_APP_INSTALL_URL CANVAS_ENABLED CANVAS_REFERENCE_ID CANVAS_URL CANVAS_ACCESS_METHOD CANVAS_SELECTED_LOCATIONS CANVAS_OPTIONS TYPE APPLICATION_ID USER_SORT_ORDER IS_VISIBLE IS_ACCESSIBLE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APP_MENU_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:57.845649+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APP_MENU_ITEM"

stg_APP_MENU_ITEM.yml (Document the table)

version: 2
models:
- name: stg_APP_MENU_ITEM
  description: The table is about app menu items in a Salesforce system. It contains
    details such as ID, name, label, description, URLs, icon locations, and visibility
    settings. Each row represents a different application or module like Marketing,
    App Launcher, Commerce, Sales, and Platform. The table includes information on
    creation and modification dates, sort order, and whether the item is visible or
    accessible.
  columns:
  - name: ID
    description: Unique identifier for each app menu item
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the item is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the item was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the item
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the item
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying items
    tests:
    - not_null
  - name: NAME
    description: Internal name or key for the item
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the item's namespace
    tests:
    - not_null
  - name: LABEL
    description: Display name of the item
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the item's purpose
    cocoon_meta:
      missing_reason: Unknown
  - name: START_URL
    description: URL for accessing the item
    tests:
    - not_null
  - name: MOBILE_START_URL
    description: Mobile-specific URL for the item
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: LOGO_URL
    description: URL for the item's logo image
    tests:
    - not_null
  - name: ICON_URL
    description: URL for the item's icon image
    cocoon_meta:
      missing_reason: Unknown
  - name: INFO_URL
    description: URL for additional information about the item
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_USING_ADMIN_AUTHORIZATION
    description: Flag for admin authorization requirement
    tests:
    - not_null
  - name: MOBILE_PLATFORM
    description: Supported mobile platform(s) for the item
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_MIN_OS_VER
    description: Minimum mobile OS version required
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_DEVICE_TYPE
    description: Supported mobile device types
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: IS_REGISTERED_DEVICE_ONLY
    description: Flag for registered device restriction
    tests:
    - not_null
  - name: MOBILE_APP_VER
    description: Version of the mobile app
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_APP_INSTALLED_DATE
    description: Date when mobile app was installed
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_APP_INSTALLED_VERSION
    description: Installed version of the mobile app
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_APP_BINARY_ID
    description: Binary ID of the mobile app
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: MOBILE_APP_INSTALL_URL
    description: URL for installing the mobile app
    cocoon_meta:
      missing_reason: Not applicable if no mobile app exists
  - name: CANVAS_ENABLED
    description: Flag indicating if Canvas is enabled
    tests:
    - not_null
  - name: CANVAS_REFERENCE_ID
    description: Reference ID for Canvas integration
    cocoon_meta:
      missing_reason: Not applicable if Canvas feature is not enabled
  - name: CANVAS_URL
    description: URL for Canvas application
    cocoon_meta:
      missing_reason: Not applicable if Canvas feature is not enabled
  - name: CANVAS_ACCESS_METHOD
    description: Method for accessing canvas applications
    cocoon_meta:
      missing_reason: Not applicable if Canvas feature is not enabled
  - name: CANVAS_SELECTED_LOCATIONS
    description: Selected locations for canvas applications
    cocoon_meta:
      missing_reason: Not applicable if Canvas feature is not enabled
  - name: CANVAS_OPTIONS
    description: Configuration options for canvas applications
    cocoon_meta:
      missing_reason: Not applicable if Canvas feature is not enabled
  - name: TYPE
    description: Type of the menu item
    tests:
    - not_null
  - name: APPLICATION_ID
    description: Unique identifier for the application
    tests:
    - not_null
  - name: USER_SORT_ORDER
    description: User-defined sorting order for menu items
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_VISIBLE
    description: Visibility status of the menu item
    tests:
    - not_null
  - name: IS_ACCESSIBLE
    description: Accessibility status of the menu item
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_CALL_COACHING_MEDIA_PROVIDER

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROVIDER_NAME PROVIDER_DESCRIPTION IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_COACHING_MEDIA_PROVIDER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:54.965329+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_COACHING_MEDIA_PROVIDER"

stg_CALL_COACHING_MEDIA_PROVIDER.yml (Document the table)

version: 2
models:
- name: stg_CALL_COACHING_MEDIA_PROVIDER
  description: The table is about call coaching media providers. It contains details
    like provider name, description, and active status. The table tracks creation
    and modification dates, as well as who created or modified the record. It includes
    system fields for deletion status and synchronization timestamps. This table likely
    supports a call coaching system, storing information about different media providers
    used in the coaching process.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: PROVIDER_NAME
    description: Name of the call coaching media provider
    tests:
    - not_null
  - name: PROVIDER_DESCRIPTION
    description: Description of the call coaching media provider
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the provider is currently active
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AURA_DEFINITION_INFO

Table Preview (sample only)

ID DURABLE_ID AURA_DEFINITION_BUNDLE_INFO_ID AURA_DEFINITION_ID DEF_TYPE FORMAT SOURCE LAST_MODIFIED_DATE DEVELOPER_NAME NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AURA_DEFINITION_INFO.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:12.311568+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AURA_DEFINITION_INFO"

stg_AURA_DEFINITION_INFO.yml (Document the table)

version: 2
models:
- name: stg_AURA_DEFINITION_INFO
  description: The table is about Aura definition information. It contains details
    of Aura components, such as their IDs, types, formats, and source. The table includes
    metadata like developer name, namespace prefix, and last modified date. It also
    has references to related Aura definition bundles and tracks deletion and synchronization
    status.
  columns:
  - name: ID
    description: Unique identifier for the Aura definition entry
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the Aura definition
    tests:
    - not_null
  - name: AURA_DEFINITION_BUNDLE_INFO_ID
    description: ID of the associated Aura definition bundle
    tests:
    - not_null
  - name: AURA_DEFINITION_ID
    description: ID of the specific Aura definition
    tests:
    - not_null
  - name: DEF_TYPE
    description: Type of the Aura definition
    tests:
    - not_null
  - name: FORMAT
    description: Format of the Aura definition
    tests:
    - not_null
  - name: SOURCE
    description: Source code or content of the Aura definition
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the Aura definition for developers
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the Aura definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:26.707817+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_SHARE"

stg_COMM_SUBSCRIPTION_SHARE.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_CONTACT_POINT_ADDRESS_DLM

Table Preview (sample only)

ID SSOT_ADDRESS_LINE_1_C SSOT_CITY_ID_C SSOT_COUNTRY_ID_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_GEO_LATITUDE_C SSOT_GEO_LONGITUDE_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_POSTAL_CODE_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_REL_1697761157876_END_C SSOT_REL_1697761159567_END_C SSOT_REL_1697761163106_END_C SSOT_REL_1697761176023_END_C SSOT_REL_1697761212097_END_C SSOT_REL_1697761212178_END_C SSOT_REL_1697761213088_END_C SSOT_REL_1697761213155_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018122_C KQ_ID_C KQ_PARTY_ID_C REL_1721117990855_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_CONTACT_POINT_ADDRESS_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:29:40.635865+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_CONTACT_POINT_ADDRESS_DLM"

stg_SSOT_CONTACT_POINT_ADDRESS_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_CONTACT_POINT_ADDRESS_DLM
  description: The table is about contact point addresses. It contains address details
    like city, state, country, and postal code. The data comes from various sources
    like Salesforce contacts, leads, and accounts. Each record has a unique ID and
    includes geographic coordinates. The table also stores related party IDs and other
    system-specific identifiers. It tracks when records were last synced or deleted.
  columns:
  - name: ID
    description: Unique identifier for the address record
    tests:
    - not_null
  - name: SSOT_ADDRESS_LINE_1_C
    description: First line of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CITY_ID_C
    description: City of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_COUNTRY_ID_C
    description: Country of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier for the data source
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object type in the data source
    tests:
    - not_null
  - name: SSOT_GEO_LATITUDE_C
    description: Latitude coordinate of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_GEO_LONGITUDE_C
    description: Longitude coordinate of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Unique identifier in the source system
    tests:
    - not_null
  - name: SSOT_PARTY_ID_C
    description: Identifier for the associated party
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_POSTAL_CODE_ID_C
    description: Postal code of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_STATE_PROVINCE_ID_C
    description: State or province of the address
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761157876_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761159567_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761163106_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761176023_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761212097_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761212178_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761213088_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761213155_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_SSOT_ID_MAP_SSOT_ID_1629904018122_C
    description: Mapped identifier in SSOT system
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Identifier for KQ system
    cocoon_meta:
      missing_reason: May be specific to certain types of records.
  - name: KQ_PARTY_ID_C
    description: Party identifier in KQ system
    cocoon_meta:
      missing_reason: May be specific to certain types of records.
  - name: REL_1721117990855_END_C
    description: Related field with timestamp
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_USER_DAILY_METRIC_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_DAILY_METRIC_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:04.007274+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DAILY_METRIC_SHARE"

stg_USER_DAILY_METRIC_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_DAILY_METRIC_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET_LICENSE_ASSIGN

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_ID ASSIGNEE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERMISSION_SET_LICENSE_ASSIGN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:18:37.475318+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_LICENSE_ASSIGN"

stg_PERMISSION_SET_LICENSE_ASSIGN.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_LICENSE_ASSIGN
  description: The table represents the assignment of permission set licenses to users
    in a system. It links permission set licenses (PERMISSION_SET_LICENSE_ID) to assignees
    (ASSIGNEE_ID). Each record has a unique ID and includes creation and modification
    details. The table tracks whether assignments are deleted and when they were last
    synced. It shows the relationship between permission set licenses and the users
    they are assigned to.
  columns:
  - name: ID
    description: Unique identifier for each assignment record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: PERMISSION_SET_LICENSE_ID
    description: ID of the assigned permission set license
    tests:
    - not_null
  - name: ASSIGNEE_ID
    description: ID of the user assigned the permission set license
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_CONTACT_POINT_PHONE_DLM

Table Preview (sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_FORMATTED_E_164_PHONE_NUMBER_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_TELEPHONE_NUMBER_C SSOT_REL_1697761162451_END_C SSOT_REL_1697761164176_END_C SSOT_REL_1697761168686_END_C SSOT_REL_1697761176312_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018734_C KQ_ID_C KQ_PARTY_ID_C REL_1721117987996_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_CONTACT_POINT_PHONE_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:30:12.778362+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_CONTACT_POINT_PHONE_DLM"

stg_SSOT_CONTACT_POINT_PHONE_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_CONTACT_POINT_PHONE_DLM
  description: The table is about Contact Point Phone details. It links phone numbers
    to parties (leads, contacts, accounts) from different data sources. Each row represents
    a phone contact point. The table includes IDs, source information, and phone numbers.
    Many fields are empty, suggesting incomplete or optional data. The table tracks
    deletion status and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for each phone contact point
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier for the data source system
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Type of object (Lead, Contact, Account)
    tests:
    - not_null
  - name: SSOT_FORMATTED_E_164_PHONE_NUMBER_C
    description: Phone number in E.164 international format
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Single Source of Truth ID
    tests:
    - not_null
  - name: SSOT_PARTY_ID_C
    description: Unique identifier for the associated party
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_TELEPHONE_NUMBER_C
    description: Raw telephone number
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162451_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761164176_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761168686_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761176312_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_SSOT_ID_MAP_SSOT_ID_1629904018734_C
    description: Mapping for SSOT ID
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Identifier for KQ system
    cocoon_meta:
      missing_reason: Not applicable for non-KQ data sources.
  - name: KQ_PARTY_ID_C
    description: Party ID in KQ system
    cocoon_meta:
      missing_reason: Not applicable for non-KQ data sources.
  - name: REL_1721117987996_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Not applicable for non-relationship or active relationships.
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_USER_WORK_LIST

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE LIST_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_WORK_LIST.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:01.085246+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_WORK_LIST"

stg_USER_WORK_LIST.yml (Document the table)

version: 2
models:
- name: stg_USER_WORK_LIST
  description: The table is about work lists created by users. It contains details
    like the list name, owner, creation date, and last modification date. The table
    tracks if the list is active or deleted. It includes system fields for tracking
    modifications and syncing. The LIST_TYPE field suggests there may be different
    categories of work lists.
  columns:
  - name: ID
    description: Unique identifier for the work list
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the list
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the list has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the work list
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the list was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the list
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the list
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the list is currently active
    tests:
    - not_null
  - name: LIST_TYPE
    description: Category or type of the work list
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_PRICEBOOK_2

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE IS_ACTIVE IS_ARCHIVED DESCRIPTION IS_STANDARD _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PRICEBOOK_2.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:05.478212+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PRICEBOOK_2"

stg_PRICEBOOK_2.yml (Document the table)

version: 2
models:
- name: stg_PRICEBOOK_2
  description: The table is about price books in a sales system. It contains details
    such as the price book's name, creation date, last modification date, and status
    (active/archived). The table includes a standard price book and potentially custom
    price books. It tracks who created and last modified each price book, and when
    it was last viewed or referenced.
  columns:
  - name: ID
    description: Unique identifier for the price book
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the price book is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the price book
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the price book was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the price book
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the price book
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the price book was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date when the price book was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_ACTIVE
    description: Indicates if the price book is currently active
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Indicates if the price book is archived
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the price book
    cocoon_meta:
      missing_reason: Optional field, not every item requires a description.
  - name: IS_STANDARD
    description: Indicates if it's a standard price book
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FLOW_DEFINITION_VIEW

Table Preview (sample only)

ID DURABLE_ID API_NAME LABEL DESCRIPTION PROCESS_TYPE TRIGGER_TYPE NAMESPACE_PREFIX ACTIVE_VERSION_ID LATEST_VERSION_ID LAST_MODIFIED_BY IS_ACTIVE IS_OUT_OF_DATE LAST_MODIFIED_DATE IS_TEMPLATE IS_OVERRIDABLE OVERRIDDEN_BY_ID SOURCE_TEMPLATE_ID OVERRIDDEN_FLOW_ID IS_SWING_FLOW BUILDER MANAGEABLE_STATE INSTALLED_PACKAGE_NAME TRIGGER_OBJECT_OR_EVENT_LABEL TRIGGER_OBJECT_OR_EVENT_ID RECORD_TRIGGER_TYPE HAS_ASYNC_AFTER_COMMIT_PATH VERSION_NUMBER TRIGGER_ORDER ENVIRONMENTS API_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_DEFINITION_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:42.234462+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_DEFINITION_VIEW"

stg_FLOW_DEFINITION_VIEW.yml (Document the table)

version: 2
models:
- name: stg_FLOW_DEFINITION_VIEW
  description: The table is about flow definitions in a system. It contains details
    like ID, API name, label, description, process type, and trigger type. The table
    tracks version information, active status, and modification details. It also includes
    flags for templates, overridability, and installation status. Each row represents
    a distinct flow definition with its properties and metadata.
  columns:
  - name: ID
    description: Unique identifier for the flow
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the flow
    tests:
    - not_null
  - name: API_NAME
    description: Name used in API calls
    tests:
    - not_null
  - name: LABEL
    description: Human-readable name for the flow
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed explanation of the flow's purpose
    cocoon_meta:
      missing_reason: Unknown
  - name: PROCESS_TYPE
    description: Category or type of the flow process
    tests:
    - not_null
  - name: TRIGGER_TYPE
    description: Event that initiates the flow
    cocoon_meta:
      missing_reason: Not applicable for flows without triggers
  - name: NAMESPACE_PREFIX
    description: Prefix for the flow's namespace
    tests:
    - not_null
  - name: ACTIVE_VERSION_ID
    description: ID of the currently active version
    cocoon_meta:
      missing_reason: Not applicable for inactive flows
  - name: LATEST_VERSION_ID
    description: ID of the most recent version
    tests:
    - not_null
  - name: LAST_MODIFIED_BY
    description: User who last modified the flow
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_ACTIVE
    description: Indicates if the flow is currently active
    tests:
    - not_null
  - name: IS_OUT_OF_DATE
    description: Indicates if the flow needs updating
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_TEMPLATE
    description: Indicates if the flow is a template
    tests:
    - not_null
  - name: IS_OVERRIDABLE
    description: Indicates if the flow can be overridden
    tests:
    - not_null
  - name: OVERRIDDEN_BY_ID
    description: ID of the flow that overrides this one
    cocoon_meta:
      missing_reason: Not applicable for flows that aren't overridden
  - name: SOURCE_TEMPLATE_ID
    description: ID of the source template
    cocoon_meta:
      missing_reason: Unknown
  - name: OVERRIDDEN_FLOW_ID
    description: ID of the flow this one overrides
    cocoon_meta:
      missing_reason: Not applicable for flows that don't override others
  - name: IS_SWING_FLOW
    description: Indicates if it's a swing flow
    tests:
    - not_null
  - name: BUILDER
    description: Tool used to create the flow
    tests:
    - not_null
  - name: MANAGEABLE_STATE
    description: Current state of flow manageability
    tests:
    - not_null
  - name: INSTALLED_PACKAGE_NAME
    description: Name of the package containing the flow
    cocoon_meta:
      missing_reason: Not applicable for flows not from installed packages
  - name: TRIGGER_OBJECT_OR_EVENT_LABEL
    description: Label for trigger object or event
    cocoon_meta:
      missing_reason: Not applicable for flows without specific triggers
  - name: TRIGGER_OBJECT_OR_EVENT_ID
    description: ID for trigger object or event
    cocoon_meta:
      missing_reason: Not applicable for flows without specific triggers
  - name: RECORD_TRIGGER_TYPE
    description: Type of record trigger
    cocoon_meta:
      missing_reason: Not applicable for flows not triggered by records
  - name: HAS_ASYNC_AFTER_COMMIT_PATH
    description: Has asynchronous after-commit path
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the flow
    tests:
    - not_null
  - name: TRIGGER_ORDER
    description: Order of execution for triggers
    cocoon_meta:
      missing_reason: Unknown
  - name: ENVIRONMENTS
    description: Environments where the flow is available
    tests:
    - not_null
  - name: API_VERSION
    description: API version number of the flow definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_USER_APP_INFO

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID FORM_FACTOR APP_DEFINITION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_APP_INFO.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:36:22.585974+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_APP_INFO"

stg_USER_APP_INFO.yml (Document the table)

version: 2
models:
- name: stg_USER_APP_INFO
  description: The table is about user application info. It contains details like
    user ID, app definition ID, form factor, and various timestamps. The table tracks
    creation and modification dates, along with who created or modified the entry.
    It also includes system metadata like deletion status and syncing information.
  columns:
  - name: ID
    description: Unique identifier for the user application record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with this application
    tests:
    - not_null
  - name: FORM_FACTOR
    description: Device form factor for the application
    tests:
    - not_null
  - name: APP_DEFINITION_ID
    description: ID of the application definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_USER_MONTHLY_METRIC

Table Preview (sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID MONTH_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT ALL_EMAILS_UNTRACKED_SENT_COUNT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS LINK_CLK_TRACKABLE_RECIPIENT_SENDS OPEN_TRACKABLE_RECIPIENT_SENDS REPLY_TRACKABLE_RECIPIENT_SENDS SFT_BNC_TRACKABLE_RECIPIENT_SENDS HRD_BNC_TRACKABLE_RECIPIENT_SENDS OOO_TRACKABLE_RECIPIENT_SENDS RECIPIENT_SENDS RECIPIENT_REPLIES RECIPIENTS_HARD_BOUNCED RECIPIENTS_SOFT_BOUNCED RECIPIENTS_OUT_OF_OFFICE ALL_EMAILS_NOT_DELIVERED_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:38:16.767101+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_MONTHLY_METRIC"

stg_USER_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_USER_MONTHLY_METRIC
  description: The table is about user monthly metrics. It tracks various email and
    call activities for each user. Email metrics include sent, opened, replied, and
    bounced counts. Call metrics cover different call outcomes. The table also has
    unique email interaction counts and trackable send metrics. Each row represents
    a user's activity for a specific month, identified by USER_ID and MONTH_ fields.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with the metrics
    tests:
    - not_null
  - name: MONTH_
    description: Month for which metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_OPENED_COUNT
    description: Number of emails opened
    tests:
    - not_null
  - name: ALL_EMAILS_REPLIED_COUNT
    description: Number of emails replied to
    tests:
    - not_null
  - name: ALL_EMAILS_LINK_CLICKED_COUNT
    description: Number of email links clicked
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Number of emails that hard bounced
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Number of emails that soft bounced
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls with not interested outcome
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls with unqualified outcome
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls scheduled for callback
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique email links clicked
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Number of untracked emails sent
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable link click sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable open sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable emails sent that received replies
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails that soft bounced
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails that hard bounced
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of trackable emails that received out-of-office responses
    tests:
    - not_null
  - name: LINK_CLK_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails with clicked links
    tests:
    - not_null
  - name: OPEN_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails that were opened
    tests:
    - not_null
  - name: REPLY_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails that received replies
    tests:
    - not_null
  - name: SFT_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails that soft bounced
    tests:
    - not_null
  - name: HRD_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails that hard bounced
    tests:
    - not_null
  - name: OOO_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails with out-of-office responses
    tests:
    - not_null
  - name: RECIPIENT_SENDS
    description: Total number of emails sent to recipients
    tests:
    - not_null
  - name: RECIPIENT_REPLIES
    description: Total number of replies received from recipients
    tests:
    - not_null
  - name: RECIPIENTS_HARD_BOUNCED
    description: Number of recipients with hard bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_SOFT_BOUNCED
    description: Number of recipients with soft bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_OUT_OF_OFFICE
    description: Number of recipients with out-of-office responses
    tests:
    - not_null
  - name: ALL_EMAILS_NOT_DELIVERED_COUNT
    description: Total count of undelivered emails
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_APP_ANALYTICS_QUERY_REQUEST

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_TYPE START_TIME END_TIME REQUEST_STATE DOWNLOAD_URL DOWNLOAD_EXPIRATION_TIME ERROR_MESSAGE QUERY_SUBMITTED_TIME PACKAGE_IDS ORGANIZATION_IDS DOWNLOAD_SIZE FILE_COMPRESSION AVAILABLE_SINCE FILE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APP_ANALYTICS_QUERY_REQUEST.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:26.745805+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APP_ANALYTICS_QUERY_REQUEST"

stg_APP_ANALYTICS_QUERY_REQUEST.yml (Document the table)

version: 2
models:
- name: stg_APP_ANALYTICS_QUERY_REQUEST
  description: The table is about app analytics query requests. It contains details
    such as the request ID, name, creation date, modification date, data type, start
    and end times, request state, and download information. The table also includes
    fields for package IDs, organization IDs, file compression, and file type. It
    tracks the lifecycle and status of analytics queries, including error messages
    and download expiration times.
  columns:
  - name: ID
    description: Unique identifier for the analytics query request
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the analytics query request
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the request was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the request
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the request
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the request was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the request was last referenced
    tests:
    - not_null
  - name: DATA_TYPE
    description: Type of data requested in the query
    tests:
    - not_null
  - name: START_TIME
    description: Start time of the data range requested
    tests:
    - not_null
  - name: END_TIME
    description: End time of the data range requested
    tests:
    - not_null
  - name: REQUEST_STATE
    description: Current state of the analytics query request
    tests:
    - not_null
  - name: DOWNLOAD_URL
    description: URL to download the query results
    tests:
    - not_null
  - name: DOWNLOAD_EXPIRATION_TIME
    description: Expiration time for the download URL
    tests:
    - not_null
  - name: ERROR_MESSAGE
    description: Error message if the request failed
    tests:
    - not_null
  - name: QUERY_SUBMITTED_TIME
    description: Time when the query was submitted
    tests:
    - not_null
  - name: PACKAGE_IDS
    description: IDs of packages included in the query
    tests:
    - not_null
  - name: ORGANIZATION_IDS
    description: IDs of organizations included in the query
    tests:
    - not_null
  - name: DOWNLOAD_SIZE
    description: Size of the download file in bytes
    tests:
    - not_null
  - name: FILE_COMPRESSION
    description: Compression method used for the file
    tests:
    - not_null
  - name: AVAILABLE_SINCE
    description: Date since the query results are available
    tests:
    - not_null
  - name: FILE_TYPE
    description: Type of file containing the query results
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran soft delete indicator
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_KIT_DEPLOYMENT_LOG

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMPONENT_TEMPLATE_ID PUBLISHER_ORG_COMPONENT_ID SUBSCRIBER_ORG_COMPONENT_ID COMPONENT_TYPE DEPLOY_JOB TEMPLATE_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED DATA_SPACE_NAME COMPONENT_NAME BUNDLE_NAME

stg_DATA_KIT_DEPLOYMENT_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:21.718314+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_KIT_DEPLOYMENT_LOG"

stg_DATA_KIT_DEPLOYMENT_LOG.yml (Document the table)

version: 2
models:
- name: stg_DATA_KIT_DEPLOYMENT_LOG
  description: The table is about data kit deployment logs. It contains information
    on each deployment, including the owner, creation and modification details, component
    information, and deployment job. The table tracks various dates, IDs, and names
    related to the deployment process. It also includes fields for template versions,
    data space names, and bundle names, suggesting it's used to manage and monitor
    the deployment of data kits or components across different environments or organizations.
  columns:
  - name: ID
    description: Unique identifier for the deployment log entry
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this deployment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the deployment log entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: COMPONENT_TEMPLATE_ID
    description: ID of the component template used
    tests:
    - not_null
  - name: PUBLISHER_ORG_COMPONENT_ID
    description: ID of the component in the publisher organization
    tests:
    - not_null
  - name: SUBSCRIBER_ORG_COMPONENT_ID
    description: ID of the component in the subscriber organization
    tests:
    - not_null
  - name: COMPONENT_TYPE
    description: Type of the component being deployed
    tests:
    - not_null
  - name: DEPLOY_JOB
    description: Identifier for the deployment job
    tests:
    - not_null
  - name: TEMPLATE_VERSION
    description: Version of the template used in the deployment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  - name: DATA_SPACE_NAME
    description: Name of the data space for the deployment
    tests:
    - not_null
  - name: COMPONENT_NAME
    description: Name of the component being deployed
    tests:
    - not_null
  - name: BUNDLE_NAME
    description: Name of the bundle containing the component
    tests:
    - not_null
  tests: []

stg_CUSTOM_BRAND_ASSET

Table Preview (sample only)

ID CUSTOM_BRAND_ID ASSET_CATEGORY TEXT_ASSET ASSET_SOURCE_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_BRAND_ASSET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:55.504303+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_BRAND_ASSET"

stg_CUSTOM_BRAND_ASSET.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_BRAND_ASSET
  description: The table represents custom brand assets. It links custom brands to
    their assets. Assets have categories and can be text-based. The table tracks creation
    and modification details. It includes IDs for the asset, brand, source, and users
    who created or modified it. The table also has Fivetran-specific fields for deletion
    status and sync timing.
  columns:
  - name: ID
    description: Unique identifier for the asset
    tests:
    - not_null
  - name: CUSTOM_BRAND_ID
    description: ID of the custom brand associated with the asset
    tests:
    - not_null
  - name: ASSET_CATEGORY
    description: Category or type of the asset
    tests:
    - not_null
  - name: TEXT_ASSET
    description: Content of the text-based asset
    tests:
    - not_null
  - name: ASSET_SOURCE_ID
    description: ID of the source of the asset
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the asset
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the asset was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the asset
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DOCUMENT_ATTACHMENT_MAP

Table Preview (sample only)

ID PARENT_ID DOCUMENT_ID DOCUMENT_SEQUENCE CREATED_DATE CREATED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DOCUMENT_ATTACHMENT_MAP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:33.421633+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DOCUMENT_ATTACHMENT_MAP"

stg_DOCUMENT_ATTACHMENT_MAP.yml (Document the table)

version: 2
models:
- name: stg_DOCUMENT_ATTACHMENT_MAP
  description: The table represents a document attachment mapping. It links documents
    to their attachments. Each row shows a relationship between a parent document
    and an attached document. The table includes IDs for both documents, a sequence
    number, creation details, and Fivetran sync information. This structure allows
    for organizing multiple attachments for a single document.
  columns:
  - name: ID
    description: Unique identifier for each attachment relationship
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent document
    tests:
    - not_null
  - name: DOCUMENT_ID
    description: ID of the attached document
    tests:
    - not_null
  - name: DOCUMENT_SEQUENCE
    description: Order of attachment within a parent document
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the attachment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the attachment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD_RELATION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID RELATED_RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_RECORD_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:40.001912+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD_RELATION"

stg_FLOW_RECORD_RELATION.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD_RELATION
  description: The table is about the relationship between two records in a flow.
    It tracks the connection between a parent record and a related record. The table
    includes standard fields like ID, creation and modification details. It also has
    deletion tracking with IS_DELETED and _FIVETRAN_DELETED fields. The table likely
    supports some kind of hierarchical or associative structure within a larger system
    or workflow.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the relationship
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record in the relationship
    tests:
    - not_null
  - name: RELATED_RECORD_ID
    description: ID of the related record in the relationship
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_KIT_DEPLOYMENT_LOG_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_KIT_DEPLOYMENT_LOG_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:22.392127+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_KIT_DEPLOYMENT_LOG_SHARE"

stg_DATA_KIT_DEPLOYMENT_LOG_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_KIT_DEPLOYMENT_LOG_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_NOTE

Table Preview (sample only)

ID TITLE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE CONTENT_MODIFIED_DATE LAST_VIEWED_DATE FILE_TYPE TEXT_PREVIEW CONTENT_SIZE IS_DELETED FILE_EXTENSION LATEST_PUBLISHED_VERSION_ID OWNER_ID LATEST_CONTENT_ID IS_READ_ONLY SHARING_PRIVACY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_NOTE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:49.283329+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_NOTE"

stg_CONTENT_NOTE.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_NOTE
  description: The table is about content notes or files. It includes details like
    title, creation and modification dates, file type, size, and extension. The table
    tracks ownership, sharing privacy, and version information. It also contains flags
    for deletion status and read-only access. The table likely serves as a document
    management system, storing metadata about files or notes within an organization.
  columns:
  - name: ID
    description: Unique identifier for the content note or file
    tests:
    - not_null
  - name: TITLE
    description: Title or name of the content
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the content
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the content was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the content
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: CONTENT_MODIFIED_DATE
    description: Date and time when the content was last changed
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the content was last viewed
    tests:
    - not_null
  - name: FILE_TYPE
    description: Type or format of the file
    tests:
    - not_null
  - name: TEXT_PREVIEW
    description: Preview of the content's text
    tests:
    - not_null
  - name: CONTENT_SIZE
    description: Size of the content in bytes
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the content is deleted
    tests:
    - not_null
  - name: FILE_EXTENSION
    description: File extension of the content
    tests:
    - not_null
  - name: LATEST_PUBLISHED_VERSION_ID
    description: ID of the latest published version
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the content owner
    tests:
    - not_null
  - name: LATEST_CONTENT_ID
    description: ID of the latest content version
    tests:
    - not_null
  - name: IS_READ_ONLY
    description: Flag indicating if the content is read-only
    tests:
    - not_null
  - name: SHARING_PRIVACY
    description: Privacy setting for content sharing
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DELETE_EVENT

Table Preview (sample only)

ID RECORD RECORD_NAME DELETED_BY_ID DELETED_DATE SOBJECT_NAME SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DELETE_EVENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:01.843571+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DELETE_EVENT"

stg_DELETE_EVENT.yml (Document the table)

version: 2
models:
- name: stg_DELETE_EVENT
  description: The table is about deletion events in a system. It records details
    of deleted records. Each row contains the ID of the deleted record, its name,
    the person who deleted it, and the deletion date. It also includes the object
    type of the deleted record, a system modification timestamp, and Fivetran-specific
    fields for syncing and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the deletion event
    tests:
    - not_null
  - name: RECORD
    description: ID of the deleted record
    tests:
    - not_null
  - name: RECORD_NAME
    description: Name of the deleted record
    tests:
    - not_null
  - name: DELETED_BY_ID
    description: ID of the user who performed the deletion
    tests:
    - not_null
  - name: DELETED_DATE
    description: Date and time when the record was deleted
    tests:
    - not_null
  - name: SOBJECT_NAME
    description: Type of object that was deleted
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag indicating if the row is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TODAY_GOAL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VALUE_ USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TODAY_GOAL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:43.087464+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TODAY_GOAL"

stg_TODAY_GOAL.yml (Document the table)

version: 2
models:
- name: stg_TODAY_GOAL
  description: The table is about daily goals. It contains information such as the
    goal's name, value, creation date, and last modification date. Each goal is associated
    with an owner and a user through ID fields. The table also tracks who created
    and last modified the goal. System fields like IS_DELETED and SYSTEM_MODSTAMP
    are included for record management.
  columns:
  - name: ID
    description: Unique identifier for the goal
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the person who owns the goal
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the goal is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the goal
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the goal was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the goal
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the goal
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the goal
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: VALUE_
    description: Numeric value or target of the goal
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with the goal
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for data synchronization
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ALTERNATIVE_PAYMENT_METHOD

Table Preview (sample only)

ID OWNER_ID IS_DELETED ALTERNATIVE_PAYMENT_METHOD_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_ID NICK_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS EMAIL ACCOUNT_ID STATUS COMPANY_NAME PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY COMMENTS PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS BILLING_FIRST_NAME BILLING_LAST_NAME BILLING_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ALTERNATIVE_PAYMENT_METHOD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:46.545488+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ALTERNATIVE_PAYMENT_METHOD"

stg_ALTERNATIVE_PAYMENT_METHOD.yml (Document the table)

version: 2
models:
- name: stg_ALTERNATIVE_PAYMENT_METHOD
  description: The table is about alternative payment methods. It includes details
    such as ID, owner ID, payment gateway information, billing details, and payment
    method specifics. The table also tracks creation and modification dates, system
    information, and geographical data related to the payment method. It contains
    flags for deletion status and auto-pay enablement, as well as fields for comments,
    processing mode, and audit information.
  columns:
  - name: ID
    description: Unique identifier for the alternative payment method
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this payment method
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: ALTERNATIVE_PAYMENT_METHOD_NUMBER
    description: Unique number for the alternative payment method
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: ID of the payment gateway used
    tests:
    - not_null
  - name: NICK_NAME
    description: User-defined nickname for the payment method
    tests:
    - not_null
  - name: GATEWAY_TOKEN
    description: Token provided by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_TOKEN_DETAILS
    description: Additional details about the gateway token
    tests:
    - not_null
  - name: EMAIL
    description: Email associated with the payment method
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account associated with this payment method
    tests:
    - not_null
  - name: STATUS
    description: Current status of the payment method
    tests:
    - not_null
  - name: COMPANY_NAME
    description: Name of the company for business payments
    tests:
    - not_null
  - name: PAYMENT_METHOD_STREET
    description: Street address for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_CITY
    description: City for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_STATE
    description: State for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_POSTAL_CODE
    description: Postal code for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_COUNTRY
    description: Country for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_LATITUDE
    description: Latitude of the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_LONGITUDE
    description: Longitude of the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_GEOCODE_ACCURACY
    description: Accuracy of the geocoded address
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing for the payment method
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address for auditing purposes
    tests:
    - not_null
  - name: PHONE
    description: Contact phone number associated with the payment method
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address used for payment method creation/update
    tests:
    - not_null
  - name: AUDIT_EMAIL
    description: Email address for audit purposes
    tests:
    - not_null
  - name: IS_AUTO_PAY_ENABLED
    description: Flag indicating if auto-pay is enabled
    tests:
    - not_null
  - name: PAYMENT_METHOD_TYPE
    description: Primary type of payment method (e.g., card, bank)
    tests:
    - not_null
  - name: PAYMENT_METHOD_SUB_TYPE
    description: Specific subtype of payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_DETAILS
    description: Additional details about the payment method
    tests:
    - not_null
  - name: BILLING_FIRST_NAME
    description: First name on billing information
    tests:
    - not_null
  - name: BILLING_LAST_NAME
    description: Last name on billing information
    tests:
    - not_null
  - name: BILLING_NAME
    description: Full billing name (if provided separately)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record is deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_LIST_VIEW_CRITERION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_LIST_VIEW_ID SORT_ORDER COLUMN_NAME OPERATION VALUE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_LIST_VIEW_CRITERION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:50.769207+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_LIST_VIEW_CRITERION"

stg_USER_LIST_VIEW_CRITERION.yml (Document the table)

version: 2
models:
- name: stg_USER_LIST_VIEW_CRITERION
  description: The table is about criteria for user list views. It contains details
    like ID, creation and modification timestamps, user IDs, list view ID, sort order,
    column name, operation, and value. Each record represents a specific criterion
    for filtering or sorting a user list view. The table tracks changes with deletion
    flags and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for each criterion
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the criterion was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the criterion
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the criterion
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: USER_LIST_VIEW_ID
    description: ID of the associated user list view
    tests:
    - not_null
  - name: SORT_ORDER
    description: Order of the criterion in the list view
    tests:
    - not_null
  - name: COLUMN_NAME
    description: Name of the column this criterion applies to
    tests:
    - not_null
  - name: OPERATION
    description: Type of operation for the criterion
    tests:
    - not_null
  - name: VALUE_
    description: Value used in the criterion
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_DEFINED_LABEL_ASSIGNMENT

Table Preview (sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LABEL_ID ITEM_ID SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED SUBJECT_OR_NAME

stg_USER_DEFINED_LABEL_ASSIGNMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:19.783308+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DEFINED_LABEL_ASSIGNMENT"

stg_USER_DEFINED_LABEL_ASSIGNMENT.yml (Document the table)

version: 2
models:
- name: stg_USER_DEFINED_LABEL_ASSIGNMENT
  description: The table represents the assignment of user-defined labels to items.
    It links LABEL_ID to ITEM_ID. The table includes creation and modification details.
    It tracks the owner, deletion status, and sorting order. The SUBJECT_OR_NAME field
    likely provides context for the assignment. This table allows users to organize
    and categorize items with custom labels.
  columns:
  - name: ID
    description: Unique identifier for the label assignment
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this assignment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the assignment is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the assignment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the assignment
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the assignment
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: LABEL_ID
    description: ID of the user-defined label
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the item being labeled
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numeric value for sorting label assignments
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: SUBJECT_OR_NAME
    description: Context or name for the label assignment
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_ADDRESS

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY CONTACT_POINT_PHONE_ID ADDRESS_TYPE STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY IS_DEFAULT PREFERENCE_RANK USAGE_TYPE IS_THIRD_PARTY_ADDRESS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_ADDRESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:04:10.483412+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_ADDRESS"

stg_CONTACT_POINT_ADDRESS.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_ADDRESS
  description: The table is about contact point addresses. It contains details such
    as address information, active dates, best contact times, and location coordinates.
    The table also includes metadata like creation and modification dates, owner information,
    and system flags. It appears to be used for managing and tracking various types
    of addresses associated with contacts or accounts in a CRM or similar system.
  columns:
  - name: ID
    description: Unique identifier for the contact point address
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user or entity owning this address
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or label for the address
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record (e.g., account, contact)
    tests:
    - not_null
  - name: ACTIVE_FROM_DATE
    description: Date from which the address becomes active
    tests:
    - not_null
  - name: ACTIVE_TO_DATE
    description: Date until which the address remains active
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_END_TIME
    description: End time of preferred contact window
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_START_TIME
    description: Start time of preferred contact window
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_TIMEZONE
    description: Timezone for best contact time
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Flag indicating if this is the primary address
    tests:
    - not_null
  - name: CONTACT_POINT_PHONE_ID
    description: ID of associated contact point phone
    tests:
    - not_null
  - name: ADDRESS_TYPE
    description: Type or category of the address
    tests:
    - not_null
  - name: STREET
    description: Street name and number
    tests:
    - not_null
  - name: CITY
    description: City name
    tests:
    - not_null
  - name: STATE
    description: State or province name
    tests:
    - not_null
  - name: POSTAL_CODE
    description: Postal or ZIP code
    tests:
    - not_null
  - name: COUNTRY
    description: Country name
    tests:
    - not_null
  - name: LATITUDE
    description: Latitude coordinate of the address
    tests:
    - not_null
  - name: LONGITUDE
    description: Longitude coordinate of the address
    tests:
    - not_null
  - name: GEOCODE_ACCURACY
    description: Accuracy level of geocoding for the address
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Flag indicating if this is the default address
    tests:
    - not_null
  - name: PREFERENCE_RANK
    description: Ranking of address preference
    tests:
    - not_null
  - name: USAGE_TYPE
    description: Indicates the purpose or type of address
    tests:
    - not_null
  - name: IS_THIRD_PARTY_ADDRESS
    description: Flags if the address belongs to a third party
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: 'Fivetran metadata: indicates if record was deleted'
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: 'Fivetran metadata: timestamp of last synchronization'
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_ARTICLE_VOTE_STAT

Table Preview (sample only)

ID IS_DELETED PARENT_ID NORMALIZED_SCORE CHANNEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_ARTICLE_VOTE_STAT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:00.933376+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_ARTICLE_VOTE_STAT"

stg_KNOWLEDGE_ARTICLE_VOTE_STAT.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_ARTICLE_VOTE_STAT
  description: KNOWLEDGE_ARTICLE_VOTE_STAT tracks voting stats for articles. It includes
    scores and channels. KNOWLEDGE_VOTE_STAT likely covers voting for other knowledge
    items. Both track user engagement with knowledge content. They store voting data
    to measure content popularity and usefulness.
  columns:
  - name: ID
    description: Unique identifier for the voting stat record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent article or knowledge item
    tests:
    - not_null
  - name: NORMALIZED_SCORE
    description: Standardized score for the article or knowledge item
    tests:
    - not_null
  - name: CHANNEL
    description: Distribution channel for the knowledge article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EVENT

Table Preview (sample only)

ID WHO_ID WHAT_ID WHO_COUNT WHAT_COUNT SUBJECT LOCATION IS_ALL_DAY_EVENT ACTIVITY_DATE_TIME ACTIVITY_DATE DURATION_IN_MINUTES START_DATE_TIME END_DATE_TIME END_DATE DESCRIPTION ACCOUNT_ID OWNER_ID IS_PRIVATE SHOW_AS IS_DELETED IS_CHILD IS_GROUP_EVENT GROUP_EVENT_TYPE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ARCHIVED RECURRENCE_ACTIVITY_ID IS_RECURRENCE RECURRENCE_START_DATE_TIME RECURRENCE_END_DATE_ONLY RECURRENCE_TIME_ZONE_SID_KEY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR REMINDER_DATE_TIME IS_REMINDER_SET EVENT_SUBTYPE IS_RECURRENCE_2_EXCLUSION RECURRENCE_2_PATTERN_TEXT RECURRENCE_2_PATTERN_VERSION IS_RECURRENCE_2 IS_RECURRENCE_2_EXCEPTION RECURRENCE_2_PATTERN_START_DATE RECURRENCE_2_PATTERN_TIME_ZONE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:48.062132+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT"

stg_EVENT.yml (Document the table)

version: 2
models:
- name: stg_EVENT
  description: The table is about events or activities. It includes details such as
    who is involved, what the event is about, location, date and time information,
    duration, and recurrence patterns. The table also tracks event creation, modification,
    and ownership details. It contains fields for privacy settings, reminders, and
    whether the event is part of a group or recurring series.
  columns:
  - name: ID
    description: Unique identifier for the event
    tests:
    - not_null
  - name: WHO_ID
    description: ID of the person involved in the event
    tests:
    - not_null
  - name: WHAT_ID
    description: ID of the object related to the event
    tests:
    - not_null
  - name: WHO_COUNT
    description: Number of people involved in the event
    tests:
    - not_null
  - name: WHAT_COUNT
    description: Number of objects related to the event
    tests:
    - not_null
  - name: SUBJECT
    description: Title or topic of the event
    tests:
    - not_null
  - name: LOCATION
    description: Place where the event occurs
    tests:
    - not_null
  - name: IS_ALL_DAY_EVENT
    description: Indicates if the event lasts all day
    tests:
    - not_null
  - name: ACTIVITY_DATE_TIME
    description: Date and time of the event
    tests:
    - not_null
  - name: ACTIVITY_DATE
    description: Date of the event
    tests:
    - not_null
  - name: DURATION_IN_MINUTES
    description: Length of the event in minutes
    tests:
    - not_null
  - name: START_DATE_TIME
    description: Start date and time of the event
    tests:
    - not_null
  - name: END_DATE_TIME
    description: End date and time of the event
    tests:
    - not_null
  - name: END_DATE
    description: End date of the event
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed information about the event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the event owner
    tests:
    - not_null
  - name: IS_PRIVATE
    description: Indicates if the event is private
    tests:
    - not_null
  - name: SHOW_AS
    description: Availability status during the event
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the event is deleted
    tests:
    - not_null
  - name: IS_CHILD
    description: Indicates if the event is a child event
    tests:
    - not_null
  - name: IS_GROUP_EVENT
    description: Indicates if it's a group event
    tests:
    - not_null
  - name: GROUP_EVENT_TYPE
    description: Type of group event
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the event was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the event
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the event
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Indicates if the event is archived
    tests:
    - not_null
  - name: RECURRENCE_ACTIVITY_ID
    description: ID of the recurring event series
    tests:
    - not_null
  - name: IS_RECURRENCE
    description: Indicates if the event is recurring
    tests:
    - not_null
  - name: RECURRENCE_START_DATE_TIME
    description: Start date and time of the recurring event
    tests:
    - not_null
  - name: RECURRENCE_END_DATE_ONLY
    description: End date of the recurring event series
    tests:
    - not_null
  - name: RECURRENCE_TIME_ZONE_SID_KEY
    description: Time zone identifier for the recurring event
    tests:
    - not_null
  - name: RECURRENCE_TYPE
    description: Type of recurrence (e.g., daily, weekly, monthly)
    tests:
    - not_null
  - name: RECURRENCE_INTERVAL
    description: Interval between recurring events
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_WEEK_MASK
    description: Bitmask representing days of the week
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_MONTH
    description: Day of the month for monthly recurrence
    tests:
    - not_null
  - name: RECURRENCE_INSTANCE
    description: Week instance for monthly recurrence (e.g., 2nd Tuesday)
    tests:
    - not_null
  - name: RECURRENCE_MONTH_OF_YEAR
    description: Month of the year for yearly recurrence
    tests:
    - not_null
  - name: REMINDER_DATE_TIME
    description: Date and time for the event reminder
    tests:
    - not_null
  - name: IS_REMINDER_SET
    description: Indicates if a reminder is set
    tests:
    - not_null
  - name: EVENT_SUBTYPE
    description: Subtype or category of the event
    tests:
    - not_null
  - name: IS_RECURRENCE_2_EXCLUSION
    description: Indicates if event is excluded from recurrence
    tests:
    - not_null
  - name: RECURRENCE_2_PATTERN_TEXT
    description: Text description of recurrence pattern
    tests:
    - not_null
  - name: RECURRENCE_2_PATTERN_VERSION
    description: Version of the recurrence pattern
    tests:
    - not_null
  - name: IS_RECURRENCE_2
    description: Indicates if event uses advanced recurrence
    tests:
    - not_null
  - name: IS_RECURRENCE_2_EXCEPTION
    description: Indicates if event is an exception to recurrence
    tests:
    - not_null
  - name: RECURRENCE_2_PATTERN_START_DATE
    description: Start date of advanced recurrence pattern
    tests:
    - not_null
  - name: RECURRENCE_2_PATTERN_TIME_ZONE
    description: Time zone for advanced recurrence pattern
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SITE

Table Preview (sample only)

ID NAME SUBDOMAIN URL_PATH_PREFIX GUEST_USER_ID STATUS ADMIN_ID OPTIONS_ENABLE_FEEDS OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED OPTIONS_REDIRECT_TO_CUSTOM_DOMAIN OPTIONS_ALLOW_GUEST_PAYMENTS_API OPTIONS_HAS_STORED_PATH_PREFIX OPTIONS_COOKIE_CONSENT OPTIONS_CACHE_PUBLIC_VF_PAGES_IN_PROXIES OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_ENABLED OPTIONS_IS_SITE_GAINTEGRATION_ENABLED OPTIONS_ALLOW_HOME_PAGE OPTIONS_ALLOW_STANDARD_IDEAS_PAGES OPTIONS_ALLOW_STANDARD_SEARCH OPTIONS_ALLOW_STANDARD_LOOKUPS OPTIONS_ALLOW_STANDARD_ANSWERS_PAGES OPTIONS_ALLOW_GUEST_SUPPORT_API OPTIONS_ALLOW_STANDARD_PORTAL_PAGES OPTIONS_CONTENT_SNIFFING_PROTECTION OPTIONS_BROWSER_XSS_PROTECTION OPTIONS_REFERRER_POLICY_ORIGIN_WHEN_CROSS_ORIGIN OPTIONS_USE_GUEST_USER_LANGUAGE OPTIONS_IS_SITE_GRECAPTCHA_INTEGRATION_ENABLED OPTIONS_IS_SITE_CONSENT_BANNER_INTEGRATION_ENABLED DESCRIPTION MASTER_LABEL ANALYTICS_TRACKING_CODE SITE_TYPE CLICKJACK_PROTECTION_LEVEL DAILY_BANDWIDTH_LIMIT DAILY_BANDWIDTH_USED DAILY_REQUEST_TIME_LIMIT DAILY_REQUEST_TIME_USED MONTHLY_PAGE_VIEWS_ENTITLEMENT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP GUEST_RECORD_DEFAULT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_MIGRATED OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED_V_2

stg_SITE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:43.715095+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SITE"

stg_SITE.yml (Document the table)

version: 2
models:
- name: stg_SITE
  description: The table is about site configuration for a web platform. It contains
    details like site ID, name, subdomain, and URL path prefix. The table includes
    various options for site functionality, such as enabling feeds, guest payments,
    and Google Analytics integration. It also stores information about site type,
    bandwidth limits, page view entitlements, and creation/modification dates. The
    table appears to be used for managing and tracking website settings and performance
    metrics.
  columns:
  - name: ID
    description: Unique identifier for the site
    tests:
    - not_null
  - name: NAME
    description: Name of the site
    tests:
    - not_null
  - name: SUBDOMAIN
    description: Subdomain of the site
    tests:
    - not_null
  - name: URL_PATH_PREFIX
    description: Prefix for site URLs
    tests:
    - not_null
  - name: GUEST_USER_ID
    description: ID of the guest user
    tests:
    - not_null
  - name: STATUS
    description: Current status of the site
    tests:
    - not_null
  - name: ADMIN_ID
    description: ID of the site administrator
    tests:
    - not_null
  - name: OPTIONS_ENABLE_FEEDS
    description: Indicates if feeds are enabled
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED
    description: Google Analytics integration migration status
    tests:
    - not_null
  - name: OPTIONS_REDIRECT_TO_CUSTOM_DOMAIN
    description: Redirects to custom domain if enabled
    tests:
    - not_null
  - name: OPTIONS_ALLOW_GUEST_PAYMENTS_API
    description: Allows guest payments via API
    tests:
    - not_null
  - name: OPTIONS_HAS_STORED_PATH_PREFIX
    description: Indicates if path prefix is stored
    tests:
    - not_null
  - name: OPTIONS_COOKIE_CONSENT
    description: Cookie consent option status
    tests:
    - not_null
  - name: OPTIONS_CACHE_PUBLIC_VF_PAGES_IN_PROXIES
    description: Caches public Visualforce pages in proxies
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_ENABLED
    description: Data Cloud integration status
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_GAINTEGRATION_ENABLED
    description: Google Analytics integration status
    tests:
    - not_null
  - name: OPTIONS_ALLOW_HOME_PAGE
    description: Allows display of home page
    tests:
    - not_null
  - name: OPTIONS_ALLOW_STANDARD_IDEAS_PAGES
    description: Allows standard ideas pages
    tests:
    - not_null
  - name: OPTIONS_ALLOW_STANDARD_SEARCH
    description: Allows standard search functionality
    tests:
    - not_null
  - name: OPTIONS_ALLOW_STANDARD_LOOKUPS
    description: Allows standard lookups
    tests:
    - not_null
  - name: OPTIONS_ALLOW_STANDARD_ANSWERS_PAGES
    description: Allows standard answers pages
    tests:
    - not_null
  - name: OPTIONS_ALLOW_GUEST_SUPPORT_API
    description: Allows guest support via API
    tests:
    - not_null
  - name: OPTIONS_ALLOW_STANDARD_PORTAL_PAGES
    description: Allows standard portal pages
    tests:
    - not_null
  - name: OPTIONS_CONTENT_SNIFFING_PROTECTION
    description: Enables content sniffing protection
    tests:
    - not_null
  - name: OPTIONS_BROWSER_XSS_PROTECTION
    description: Enables browser XSS protection
    tests:
    - not_null
  - name: OPTIONS_REFERRER_POLICY_ORIGIN_WHEN_CROSS_ORIGIN
    description: Sets referrer policy for cross-origin
    tests:
    - not_null
  - name: OPTIONS_USE_GUEST_USER_LANGUAGE
    description: Uses guest user's language
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_GRECAPTCHA_INTEGRATION_ENABLED
    description: Google reCAPTCHA integration status
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_CONSENT_BANNER_INTEGRATION_ENABLED
    description: Consent banner integration status
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the site
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Site label or name
    tests:
    - not_null
  - name: ANALYTICS_TRACKING_CODE
    description: Code for analytics tracking
    tests:
    - not_null
  - name: SITE_TYPE
    description: Type of the website
    tests:
    - not_null
  - name: CLICKJACK_PROTECTION_LEVEL
    description: Level of protection against clickjacking
    tests:
    - not_null
  - name: DAILY_BANDWIDTH_LIMIT
    description: Maximum daily bandwidth allowed
    tests:
    - not_null
  - name: DAILY_BANDWIDTH_USED
    description: Amount of daily bandwidth consumed
    tests:
    - not_null
  - name: DAILY_REQUEST_TIME_LIMIT
    description: Maximum daily request time allowed
    tests:
    - not_null
  - name: DAILY_REQUEST_TIME_USED
    description: Amount of daily request time consumed
    tests:
    - not_null
  - name: MONTHLY_PAGE_VIEWS_ENTITLEMENT
    description: Monthly page view limit
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the site was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the site
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: GUEST_RECORD_DEFAULT_OWNER_ID
    description: Default owner ID for guest records
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_DATA_CLOUD_INTEGRATION_MIGRATED
    description: Data cloud integration migration status
    tests:
    - not_null
  - name: OPTIONS_IS_SITE_GAINTEGRATION_MIGRATED_V_2
    description: Google Analytics integration migration status
    tests:
    - not_null
  tests: []

stg_EXTERNAL_EVENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_ID TITLE LOCATION NOTES TIME_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_EVENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:10.755545+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_EVENT"

stg_EXTERNAL_EVENT.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_EVENT
  description: The table is about external events. It includes details such as event
    ID, name, title, location, and notes. The table tracks creation and modification
    dates, as well as the users who created or modified the events. It also has fields
    for external ID, deletion status, and Fivetran sync information. This structure
    allows for comprehensive event management and tracking.
  columns:
  - name: ID
    description: Unique identifier for the event
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the event is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the event
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the event was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the event
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the event
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the event
    tests:
    - not_null
  - name: TITLE
    description: Title of the event
    tests:
    - not_null
  - name: LOCATION
    description: Location where the event takes place
    tests:
    - not_null
  - name: NOTES
    description: Additional notes or description for the event
    tests:
    - not_null
  - name: TIME_
    description: Time of the event
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PROCESS_INSTANCE_WORKITEM

Table Preview (sample only)

ID PROCESS_INSTANCE_ID ORIGINAL_ACTOR_ID ACTOR_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES IS_DELETED CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_INSTANCE_WORKITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:20:06.986490+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_INSTANCE_WORKITEM"

stg_PROCESS_INSTANCE_WORKITEM.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_INSTANCE_WORKITEM
  description: The table is about work items in process instances. It includes details
    like process instance ID, actor IDs, elapsed times, deletion status, and creation
    information. The table tracks the progress and ownership of tasks within a larger
    process workflow. It also contains metadata like creation date and system modification
    timestamp.
  columns:
  - name: ID
    description: Unique identifier for the work item
    tests:
    - not_null
  - name: PROCESS_INSTANCE_ID
    description: Identifier of the process instance
    tests:
    - not_null
  - name: ORIGINAL_ACTOR_ID
    description: ID of the initially assigned actor
    tests:
    - not_null
  - name: ACTOR_ID
    description: ID of the current actor responsible
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_DAYS
    description: Time passed in days
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_HOURS
    description: Time passed in hours
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_MINUTES
    description: Time passed in minutes
    tests:
    - not_null
  - name: IS_DELETED
    description: Deletion status of the work item
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the work item was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the item
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last system modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_PERMISSION_ACCESS

Table Preview (sample only)

ID LAST_CACHE_UPDATE PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

stg_USER_PERMISSION_ACCESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:15.520206+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PERMISSION_ACCESS"

stg_USER_PERMISSION_ACCESS.yml (Document the table)

version: 2
models:
- name: stg_USER_PERMISSION_ACCESS
  description: The table is about user permissions. It lists various permissions a
    user can have in a system, likely a CRM or enterprise software. Each row represents
    a user's permission set, with boolean values indicating whether specific permissions
    are granted or denied. Permissions cover a wide range of actions, including email
    management, data access, report creation, user management, and system customization.
  columns:
  - name: ID
    description: Unique identifier for the user's permission set
    tests:
    - not_null
  - name: LAST_CACHE_UPDATE
    description: Timestamp of the most recent cache update
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_SINGLE
    description: Permission to send individual emails
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_MASS
    description: Permission to send mass emails
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TASK
    description: Permission to edit tasks
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_EVENT
    description: Permission to edit events
    tests:
    - not_null
  - name: PERMISSIONS_EXPORT_REPORT
    description: Permission to export reports
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_PERSONAL
    description: Permission to import personal data
    tests:
    - not_null
  - name: PERMISSIONS_DATA_EXPORT
    description: Permission to export data
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_USERS
    description: Permission to manage user accounts
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_FILTERS
    description: Permission to edit public filters
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_TEMPLATES
    description: Permission to edit public templates
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_ALL_DATA
    description: Permission to modify all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BILLING_INFO
    description: Permission to edit billing information
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CASES
    description: Permission to manage cases
    tests:
    - not_null
  - name: PERMISSIONS_MASS_INLINE_EDIT
    description: Permission to perform mass inline editing
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_KNOWLEDGE
    description: Permission to edit knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE
    description: Permission to manage knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_TAG_MANAGER
    description: Permission to manage tags
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOMIZE_APPLICATION
    description: Permission to customize the application
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_READONLY_FIELDS
    description: Permission to edit read-only fields
    tests:
    - not_null
  - name: PERMISSIONS_RUN_REPORTS
    description: Permission to run reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_SETUP
    description: Permission to view system setup
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_ENTITY
    description: Permission to transfer any entity
    tests:
    - not_null
  - name: PERMISSIONS_NEW_REPORT_BUILDER
    description: Permission to use new report builder
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_LEADS
    description: Permission to import leads
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LEADS
    description: Permission to manage leads
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_LEAD
    description: Permission to transfer any lead
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_DATA
    description: Permission to view all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_DOCUMENTS
    description: Permission to edit public documents
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ENCRYPTED_DATA
    description: Access to view encrypted data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BRAND_TEMPLATES
    description: Edit branding templates
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_HTML_TEMPLATES
    description: Edit HTML templates
    tests:
    - not_null
  - name: PERMISSIONS_SEND_SIT_REQUESTS
    description: Send system integration testing requests
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REMOTE_ACCESS
    description: Manage remote access settings
    tests:
    - not_null
  - name: PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER
    description: Access to new dashboard builder
    tests:
    - not_null
  - name: PERMISSIONS_CONVERT_LEADS
    description: Convert leads to opportunities
    tests:
    - not_null
  - name: PERMISSIONS_PASSWORD_NEVER_EXPIRES
    description: User's password never expires
    tests:
    - not_null
  - name: PERMISSIONS_INSTALL_PACKAGING
    description: Install software packages
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_PACKAGING
    description: Publish software packages
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE
    description: Edit opportunity line item unit prices
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_PACKAGING
    description: Create software packages
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CALL_CENTERS
    description: Manage call center settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SYNONYMS
    description: Manage synonym lists
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_CONTENT
    description: View content in the system
    tests:
    - not_null
  - name: PERMISSIONS_IS_SSO_ENABLED
    description: Single Sign-On enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_INTEGRATIONS
    description: Manage data integration settings
    tests:
    - not_null
  - name: PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP
    description: Distribute from personal workspace
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_CATEGORIES
    description: View data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_CATEGORIES
    description: Manage data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_MOBILE
    description: Manage mobile app settings
    tests:
    - not_null
  - name: PERMISSIONS_API_ENABLED
    description: API access enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES
    description: Manage custom report types
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_CASE_COMMENTS
    description: Edit comments on cases
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_CASE
    description: Transfer any case to another user
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_ADMINISTRATOR
    description: Content administration privileges
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_WORKSPACES
    description: Create workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PERMISSIONS
    description: Manage content permissions
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PROPERTIES
    description: Manage content properties
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_TYPES
    description: Manage content types
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXCHANGE_CONFIG
    description: Manage exchange configuration settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS
    description: Manage business hours and holidays
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS
    description: Manage dynamic dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES
    description: Enable custom sidebar on all pages
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERACTION
    description: Manage user interactions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS
    description: View team dashboards
    tests:
    - not_null
  - name: PERMISSIONS_RESET_PASSWORDS
    description: Reset user passwords
    tests:
    - not_null
  - name: PERMISSIONS_FLOW_UFLREQUIRED
    description: Manage user flow requirements
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVITIES_ACCESS
    description: Access user activities
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT
    description: Manage knowledge base import/export
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT
    description: Manage email templates
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_ADMINISTRATION
    description: Administer email settings
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_EMAIL_IC
    description: Allow email in Interaction Center
    tests:
    - not_null
  - name: PERMISSIONS_CHATTER_FILE_LINK
    description: Share Chatter file links
    tests:
    - not_null
  - name: PERMISSIONS_FORCE_TWO_FACTOR
    description: Enforce two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NETWORKS
    description: Manage network settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_AUTH_PROVIDERS
    description: Manage authentication providers
    tests:
    - not_null
  - name: PERMISSIONS_RUN_FLOW
    description: Run workflow flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS
    description: Create and customize dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_DASHBOARD_FOLDERS
    description: Create dashboard folders
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_DASHBOARDS
    description: View public dashboards
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS
    description: Manage dashboards in public folders
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_REPORTS
    description: Create and customize reports
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_FOLDERS
    description: Create report folders
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_REPORTS
    description: View public reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS
    description: Manage reports in public folders
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_DASHBOARDS
    description: Edit own dashboards
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_REPORTS
    description: Edit own reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_USERS
    description: View all user profiles
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_UNIVERSAL_SEARCH
    description: Allow universal search
    tests:
    - not_null
  - name: PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB
    description: Connect organization to environment hub
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_FILTERS
    description: Create and customize filters
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_HUB_USER
    description: Access content hub as a user
    tests:
    - not_null
  - name: PERMISSIONS_GOVERN_NETWORKS
    description: Govern and manage networks
    tests:
    - not_null
  - name: PERMISSIONS_TWO_FACTOR_API
    description: Use two-factor authentication API
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_TOPICS
    description: Delete topics
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TOPICS
    description: Edit topics
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_TOPICS
    description: Create new topics
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_TOPICS
    description: Assign topics to content
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_ENABLED
    description: Enable identity features
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_CONNECT
    description: Connect to identity services
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_KNOWLEDGE
    description: View knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_WORKSPACES
    description: Access content workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES
    description: Manage search promotion rules
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS
    description: Access custom mobile applications
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HELP_LINK
    description: View help link
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS
    description: Manage profiles and permission sets
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_PERMISSION_SETS
    description: Assign permission sets to users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ROLES
    description: Manage user roles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_IP_ADDRESSES
    description: Manage IP address restrictions
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SHARING
    description: Manage sharing settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERNAL_USERS
    description: Manage internal users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PASSWORD_POLICIES
    description: Manage password policies
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES
    description: Manage login access policies
    tests:
    - not_null
  - name: PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE
    description: Automatic activity capture for standard objects
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TWO_FACTOR
    description: Manage two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_USER
    description: Use Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_ELT_EDITOR
    description: Edit ELT in Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_UPLOAD_USER
    description: Upload data in Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_CREATE_APPLICATION
    description: Create applications in Insights
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_EXPERIENCE_USER
    description: Access to Lightning Experience interface
    tests:
    - not_null
  - name: PERMISSIONS_SHARE_INTERNAL_ARTICLES
    description: Share internal knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS
    description: Manage user session permission sets
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TEMPLATED_APP
    description: Manage templated applications
    tests:
    - not_null
  - name: PERMISSIONS_USE_TEMPLATED_APP
    description: Use templated applications
    tests:
    - not_null
  - name: PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE
    description: Automatically capture user activities
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_CUSTOM_OBJECTS
    description: Import custom objects into the system
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINBOX
    description: Access Salesforce IQ Inbox
    tests:
    - not_null
  - name: PERMISSIONS_DELEGATED_TWO_FACTOR
    description: Manage delegated two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_SELECT_FILES_FROM_SALESFORCE
    description: Select files from Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_MODERATE_NETWORK_USERS
    description: Moderate network users
    tests:
    - not_null
  - name: PERMISSIONS_MERGE_TOPICS
    description: Merge discussion topics
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_IQFIELDS
    description: Edit IQ fields
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS
    description: Subscribe to Lightning reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS
    description: Manage private reports and dashboards
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_LIGHTNING_LOGIN
    description: Allow login through Lightning interface
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_ASSESSMENT
    description: View data quality assessment
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS
    description: View and edit converted leads
    tests:
    - not_null
  - name: PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE
    description: Display company name as user badge
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CMC
    description: Access Content Management System
    tests:
    - not_null
  - name: PERMISSIONS_ARCHIVE_ARTICLES
    description: Archive knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_ARTICLES
    description: Publish knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HEALTH_CHECK
    description: View system health check
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HEALTH_CHECK
    description: Manage system health check
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2
    description: Access to Packaging 2.0 features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES
    description: Manage security certificates
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_IN_LIGHTNING
    description: Create reports in Lightning interface
    tests:
    - not_null
  - name: PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE
    description: Prevent access to Classic interface
    tests:
    - not_null
  - name: PERMISSIONS_SUBMIT_FOR_TRANSLATION
    description: Submit content for translation
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TRANSLATION
    description: Edit translated content
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_TRANSLATION
    description: Ability to publish translations
    tests:
    - not_null
  - name: PERMISSIONS_LIST_EMAIL_SEND
    description: Permission to send list emails
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_DASHBOARD_COLORS
    description: Can modify dashboard color scheme
    tests:
    - not_null
  - name: PERMISSIONS_HIGH_VELOCITY_SALES_USER
    description: Access to high-velocity sales features
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS
    description: Subscribe reports to roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS
    description: Subscribe dashboards to roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_USE_WEB_LINK
    description: Ability to use web links
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_ASEFIELDS
    description: Can edit ASE fields
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_ACTIVITIES
    description: Access to view all activities
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS
    description: Can subscribe reports to others
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER
    description: Access to Lightning Console
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER
    description: Run subscribed reports as user
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS
    description: Can subscribe to Lightning dashboards
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS
    description: Subscribe dashboards to other users
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB
    description: Create Lightning templates in public
    tests:
    - not_null
  - name: PERMISSIONS_TRANSACTIONAL_EMAIL_SEND
    description: Send transactional emails
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES
    description: Access to private static resources
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_FOLDER
    description: Create Lightning template folders
    tests:
    - not_null
  - name: PERMISSIONS_APEX_REST_SERVICES
    description: Use Apex REST services
    tests:
    - not_null
  - name: PERMISSIONS_GIVE_RECOGNITION_BADGE
    description: Ability to give recognition badges
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINTERNAL
    description: Access to Salesforce IQ internal
    tests:
    - not_null
  - name: PERMISSIONS_USE_MY_SEARCH
    description: Use personalized search feature
    tests:
    - not_null
  - name: PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM
    description: Reserved Lightning promotion permission
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SUBSCRIPTIONS
    description: Manage report/dashboard subscriptions
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE
    description: Edit data preparation recipes
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS
    description: Add remote connections for analytics
    tests:
    - not_null
  - name: PERMISSIONS_USE_ASSISTANT_DIALOG
    description: Use AI assistant dialog feature
    tests:
    - not_null
  - name: PERMISSIONS_USE_QUERY_SUGGESTIONS
    description: Access query suggestions feature
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ROLES
    description: View user roles in system
    tests:
    - not_null
  - name: PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM
    description: Use outbound messaging in LM
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_DATA_CLASSIFICATION
    description: Ability to change data classification labels
    tests:
    - not_null
  - name: PERMISSIONS_PRIVACY_DATA_ACCESS
    description: Access to sensitive privacy-related data
    tests:
    - not_null
  - name: PERMISSIONS_QUERY_ALL_FILES
    description: Permission to search and query all files
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_METADATA
    description: Ability to edit metadata of records
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CMS
    description: Manage content management system
    tests:
    - not_null
  - name: PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP
    description: Test in community app sandbox environment
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_PROMPTS
    description: Edit system prompts or messages
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_USER_PII
    description: Access to users' personally identifiable information
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DRAFT_ARTICLES
    description: View unpublished draft articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ARCHIVED_ARTICLES
    description: Access to archived articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HUB_CONNECTIONS
    description: Manage connections between hubs or systems
    tests:
    - not_null
  - name: PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER
    description: Access B2B marketing analytics tools
    tests:
    - not_null
  - name: PERMISSIONS_TRACE_XDS_QUERIES
    description: Track cross-data source queries
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS
    description: View all custom system settings
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES
    description: See all foreign key names in database
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_CMSACCESS
    description: Access CMS without user interface
    tests:
    - not_null
  - name: PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM
    description: Manage messaging session permissions
    tests:
    - not_null
  - name: PERMISSIONS_CONSENT_API_UPDATE
    description: Update consent-related API settings
    tests:
    - not_null
  - name: PERMISSIONS_PAYMENTS_APIUSER
    description: Access payment-related APIs
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_C_360_ACONNECTIONS
    description: Manage Customer 360 connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_RELEASE_UPDATES
    description: Control software release updates
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_PROFILES
    description: Access to view all user profiles
    tests:
    - not_null
  - name: PERMISSIONS_SKIP_IDENTITY_CONFIRMATION
    description: Bypass identity confirmation steps
    tests:
    - not_null
  - name: PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS
    description: Send customized notifications to users
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2_DELETE
    description: Delete packages in version 2
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_DATA_EXPLORER
    description: Use Customer Data Platform explorer
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER
    description: Access Zoom for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PREFERENCE_CENTER
    description: Manage user preference settings
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM
    description: Access Salesforce Meetings feature
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_METRICS_ACCESS
    description: View Quip collaboration tool metrics
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS
    description: Access to Quip user engagement metrics
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_TARGET_ASSIGNEE
    description: Ability to change target assignee
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS
    description: Manage connections with external systems
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_CONTENT
    description: Manage email content
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO
    description: Manage global privacy center
    tests:
    - not_null
  - name: PERMISSIONS_NATIVE_WEBVIEW_SCROLLING
    description: Enable native webview scrolling
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DEVELOPER_NAME
    description: View developer names
    tests:
    - not_null
  - name: PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS
    description: Bypass MFA for UI logins
    tests:
    - not_null
  - name: PERMISSIONS_CLIENT_SECRET_ROTATION
    description: Rotate client secrets
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_SERVICE_PROCESS
    description: Access to service processes
    tests:
    - not_null
  - name: PERMISSIONS_CMSECEAUTHORING_ACCESS
    description: Access to CMS ECE authoring
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER
    description: Use video conferencing in Teams
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATASPACE_SCOPE
    description: Manage dataspace scope
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_DATASPACE_SCOPE
    description: Configure dataspace scope
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CAMPAIGNS
    description: Manage marketing campaigns
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_CREATE_REPORTS
    description: Create CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_VIEW_REPORTS
    description: View CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_GENIE_PLATFORM
    description: Access Genie platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SEGMENT
    description: Access customer segments
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP
    description: Access Customer Data Cloud setup
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_STANDARD_CADENCE
    description: Create standard communication cadences
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_QUICK_CADENCE
    description: Create quick communication cadences
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS
    description: Manage CDC report folders
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_MEET_USER
    description: Use video conferencing in Meet
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE
    description: Delete credit memos and invoices
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_NON_SETUP_FLOW
    description: View non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW
    description: Create and edit non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_NON_SETUP_FLOW
    description: Delete non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW
    description: Activate/deactivate non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW
    description: Create mod segment triggers for non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW
    description: Add decision element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add create record element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW
    description: Add wait element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NAMED_CREDENTIALS
    description: Manage named credentials in the system
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER
    description: Access Customer Data Platform profile explorer
    tests:
    - not_null
  - name: PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add update record element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_AUTHORIZE_PAYMENTS
    description: Authorize payments in the system
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_PAYMENTS
    description: Configure payment settings and options
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS
    description: Configure merchant accounts for payments
    tests:
    - not_null
  - name: PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS
    description: Capture and reverse payments
    tests:
    - not_null
  - name: PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS
    description: Combine authorization and capture for payments
    tests:
    - not_null
  - name: PERMISSIONS_REFUND_PAYMENTS
    description: Process refunds for payments
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PAYMENTS
    description: View payment information and details
    tests:
    - not_null
  - name: PERMISSIONS_MAKE_PAYMENTS
    description: Make payments in the system
    tests:
    - not_null
  - name: PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE
    description: Update email message content
    tests:
    - not_null
  - name: PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS
    description: Download package version zip files
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_USER
    description: Access digital lending features
    tests:
    - not_null
  - name: PERMISSIONS_SEND_EMAIL
    description: Send emails through the system
    tests:
    - not_null
  - name: PERMISSIONS_PREVIEW_TEST_SEND_EMAIL
    description: Preview and test send emails
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP
    description: Manage email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP
    description: View email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_IPFSUPLOAD
    description: Enable IPFS upload functionality
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_BCTRANSACTION_POLLING
    description: Enable blockchain transaction polling
    tests:
    - not_null
  - name: PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS
    description: Access lobby management features
    tests:
    - not_null
  - name: PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER
    description: Perform simple CSV data imports
    tests:
    - not_null
  - name: PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER
    description: Perform advanced CSV data imports
    tests:
    - not_null
  - name: PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT
    description: Query CMS email content
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT
    description: Access complaint management features
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT
    description: Access dispute management features
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS
    description: Access personalized finance features
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE
    description: Access to custom apps on mobile platform
    tests:
    - not_null
  - name: PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER
    description: Ability to design stage management processes
    tests:
    - not_null
  - name: PERMISSIONS_SEGMENT_INTELLIGENCE_USER
    description: Access to segment intelligence features
    tests:
    - not_null
  - name: PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER
    description: Access to graph community features
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_ADMIN_USER
    description: Administrative rights for digital lending
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS
    description: Ability to activate system mode flows
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS
    description: View all non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_PLATFORM
    description: Access to personalization platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_DISPUTE_PROMPTS
    description: Access to dispute prompts
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW
    description: Add subflow elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_INTEL_USER
    description: Access to personalization intelligence features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ACCESS_POLICIES
    description: Manage access policies
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection filter to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_METADATA_STUDIO_USER
    description: Access to metadata studio
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SERVICE_EINSTEIN
    description: Access to Einstein AI services
    tests:
    - not_null
  - name: PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW
    description: Add loop elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection sort to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MONITOR_LOGIN_HISTORY
    description: Monitor user login history
    tests:
    - not_null
  - name: PERMISSIONS_FREEZE_USERS
    description: Ability to freeze user accounts
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW
    description: Add assignment elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_USER_HAS_STARTER_DCRACCESS
    description: User has starter DCR access
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_PUBLISH_NUDGES
    description: Publish headless nudges
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CDP_ML_MODELS
    description: Manage CDP machine learning models
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add delete record to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION
    description: Manage certificate expirations
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY
    description: Edit read-only fields in digital lending
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_WORKBENCH
    description: Access to digital lending workbench
    tests:
    - not_null
  - name: PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add get record to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_DOMAINS
    description: Ability to manage custom domain settings
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CALLS
    description: Permission to view all call records
    tests:
    - not_null
  tests: []

stg_SETUP_ENTITY_ACCESS

Table Preview (sample only)

ID PARENT_ID SETUP_ENTITY_ID SETUP_ENTITY_TYPE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SETUP_ENTITY_ACCESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:24.174907+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SETUP_ENTITY_ACCESS"

stg_SETUP_ENTITY_ACCESS.yml (Document the table)

version: 2
models:
- name: stg_SETUP_ENTITY_ACCESS
  description: The table represents a setup entity access relation. It links parent
    entities to setup entities. Each row defines an access rule for a setup entity.
    The table includes IDs, timestamps, and flags for deletion and synchronization.
    It appears to be part of a larger system for managing access to different components
    or features, likely in a CRM or similar platform.
  columns:
  - name: ID
    description: Unique identifier for each access rule
    tests:
    - not_null
  - name: PARENT_ID
    description: Identifier of the parent entity
    tests:
    - not_null
  - name: SETUP_ENTITY_ID
    description: Identifier of the setup entity being accessed
    tests:
    - not_null
  - name: SETUP_ENTITY_TYPE
    description: Type of the setup entity
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CALL_SCRIPT_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CALL_TEMPLATE_ID MONTH_ ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED MONTH_INT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_SCRIPT_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:16.445794+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_SCRIPT_MONTHLY_METRIC"

stg_CALL_SCRIPT_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_CALL_SCRIPT_MONTHLY_METRIC
  description: The table is about monthly call script metrics. It contains data for
    different call outcomes like meaningful connections, not interested responses,
    unqualified leads, voicemails left, callbacks scheduled, and uncategorized calls.
    The table includes identification fields, creation and modification timestamps,
    and a reference to a call template. It also has a month field and an integer representation
    of the month.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: CALL_TEMPLATE_ID
    description: ID of the associated call template
    tests:
    - not_null
  - name: MONTH_
    description: Month of the call metrics
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful connections made
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of not interested responses
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of unqualified leads
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of voicemails left
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of callbacks scheduled
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_SPACE_FILTER_CRITERIA

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID CHILD_TYPE OPERATOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SPACE_FILTER_CRITERIA.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:05.570128+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SPACE_FILTER_CRITERIA"

stg_DATA_SPACE_FILTER_CRITERIA.yml (Document the table)

version: 2
models:
- name: stg_DATA_SPACE_FILTER_CRITERIA
  description: The table is about filter criteria for data spaces. It contains unique
    identifiers, deletion status, developer names, language, labels, and creation/modification
    timestamps. The table also includes parent IDs and child types, suggesting hierarchical
    relationships. It has an operator field, likely for defining filter conditions.
    The table tracks system modifications and includes Fivetran-specific fields for
    syncing and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the filter criteria
    tests:
    - not_null
  - name: IS_DELETED
    description: Deletion status of the filter criteria
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers for the filter criteria
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the filter criteria
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the filter criteria
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the filter criteria was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the filter criteria
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the criteria
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent filter criteria
    tests:
    - not_null
  - name: CHILD_TYPE
    description: Type of child object for the filter criteria
    tests:
    - not_null
  - name: OPERATOR
    description: Operator used in the filter condition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ASSET

Table Preview (sample only)

ID CONTACT_ID ACCOUNT_ID PARENT_ID ROOT_ASSET_ID PRODUCT_2_ID PRODUCT_CODE IS_COMPETITOR_PRODUCT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED NAME SERIAL_NUMBER INSTALL_DATE PURCHASE_DATE USAGE_END_DATE STATUS PRICE QUANTITY DESCRIPTION OWNER_ID ASSET_PROVIDED_BY_ID ASSET_SERVICED_BY_ID IS_INTERNAL ASSET_LEVEL STOCK_KEEPING_UNIT STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ASSET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:13.376339+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ASSET"

stg_ASSET.yml (Document the table)

version: 2
models:
- name: stg_ASSET
  description: The table is about assets. It contains details of each asset such as
    ID, name, serial number, and product code. The table includes information on asset
    ownership, location, pricing, and dates. It also tracks the asset's status, usage,
    and relationships to other entities like contacts and accounts. The table maintains
    system fields for creation, modification, and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the asset
    tests:
    - not_null
  - name: CONTACT_ID
    description: ID of the contact associated with the asset
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account associated with the asset
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent asset, if applicable
    tests:
    - not_null
  - name: ROOT_ASSET_ID
    description: ID of the topmost parent asset
    tests:
    - not_null
  - name: PRODUCT_2_ID
    description: ID of the related product
    tests:
    - not_null
  - name: PRODUCT_CODE
    description: Unique code identifying the product
    tests:
    - not_null
  - name: IS_COMPETITOR_PRODUCT
    description: Indicates if the asset is a competitor's product
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the asset record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the asset record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the asset record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the asset
    tests:
    - not_null
  - name: SERIAL_NUMBER
    description: Unique serial number of the asset
    tests:
    - not_null
  - name: INSTALL_DATE
    description: Date the asset was installed
    tests:
    - not_null
  - name: PURCHASE_DATE
    description: Date the asset was purchased
    tests:
    - not_null
  - name: USAGE_END_DATE
    description: Date the asset usage is set to end
    tests:
    - not_null
  - name: STATUS
    description: Current status of the asset
    tests:
    - not_null
  - name: PRICE
    description: Price of the asset
    tests:
    - not_null
  - name: QUANTITY
    description: Quantity of the asset
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the asset
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the asset owner
    tests:
    - not_null
  - name: ASSET_PROVIDED_BY_ID
    description: ID of the entity that provided the asset
    tests:
    - not_null
  - name: ASSET_SERVICED_BY_ID
    description: ID of the entity servicing the asset
    tests:
    - not_null
  - name: IS_INTERNAL
    description: Indicates if the asset is for internal use
    tests:
    - not_null
  - name: ASSET_LEVEL
    description: Hierarchical level of the asset
    tests:
    - not_null
  - name: STOCK_KEEPING_UNIT
    description: Stock Keeping Unit (SKU) of the asset
    tests:
    - not_null
  - name: STREET
    description: Street address where the asset is located
    tests:
    - not_null
  - name: CITY
    description: Name of the city where the asset is located
    tests:
    - not_null
  - name: STATE
    description: State or province where the asset is located
    tests:
    - not_null
  - name: POSTAL_CODE
    description: Postal code of the asset's location
    tests:
    - not_null
  - name: COUNTRY
    description: Country where the asset is located
    tests:
    - not_null
  - name: LATITUDE
    description: Geographical latitude coordinate of the asset's location
    tests:
    - not_null
  - name: LONGITUDE
    description: Geographical longitude coordinate of the asset's location
    tests:
    - not_null
  - name: GEOCODE_ACCURACY
    description: Accuracy level of the geographical coordinates
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the asset record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the asset record was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last synchronization in Fivetran
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_STEP_TRACKER

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_TRACKER_ID ACTION_CADENCE_STEP_ID TARGET_ID STATE COMPLETION_REASON COMPLETION_DATE STEP_TYPE STEP_TITLE ACTION_CADENCE_ID ACTION_CADENCE_NAME ACTION_TAKEN_DATE_TIME DUE_DATE_TIME COMPLETED_BY_ID WAS_EVER_PAUSED ERROR_CODE GO_TO_STEP_ITERATION_COUNT SCHEDULED_START_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_STEP_TRACKER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:51:06.501987+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_STEP_TRACKER"

stg_ACTION_CADENCE_STEP_TRACKER.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_STEP_TRACKER
  description: The table tracks steps within action cadences. It relates action cadence
    trackers, steps, and targets. Each row represents a step's status for a specific
    target within a cadence. It includes details like state, completion date, step
    type, and due date. The table also tracks who created or modified the record and
    when. It appears to be part of a larger system for managing and tracking structured
    action sequences.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: ACTION_CADENCE_TRACKER_ID
    description: ID of the associated action cadence tracker
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_ID
    description: ID of the specific step in the action cadence
    tests:
    - not_null
  - name: TARGET_ID
    description: ID of the target for this step
    tests:
    - not_null
  - name: STATE
    description: Current state of the step
    tests:
    - not_null
  - name: COMPLETION_REASON
    description: Reason for step completion
    tests:
    - not_null
  - name: COMPLETION_DATE
    description: Date when the step was completed
    tests:
    - not_null
  - name: STEP_TYPE
    description: Type of the action cadence step
    tests:
    - not_null
  - name: STEP_TITLE
    description: Title of the action cadence step
    tests:
    - not_null
  - name: ACTION_CADENCE_ID
    description: ID of the parent action cadence
    tests:
    - not_null
  - name: ACTION_CADENCE_NAME
    description: Name of the parent action cadence
    tests:
    - not_null
  - name: ACTION_TAKEN_DATE_TIME
    description: Date and time when action was taken
    tests:
    - not_null
  - name: DUE_DATE_TIME
    description: Due date and time for the step
    tests:
    - not_null
  - name: COMPLETED_BY_ID
    description: ID of the user who completed the step
    tests:
    - not_null
  - name: WAS_EVER_PAUSED
    description: Flag indicating if the step was ever paused
    tests:
    - not_null
  - name: ERROR_CODE
    description: Error code if any error occurred
    tests:
    - not_null
  - name: GO_TO_STEP_ITERATION_COUNT
    description: Count of iterations for 'go to' steps
    tests:
    - not_null
  - name: SCHEDULED_START_DATE_TIME
    description: Scheduled start date and time for the step
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_BRIEFCASE_RULE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRIEFCASE_ID TARGET_ENTITY PARENT_RULE_ID FILTER_LOGIC QUERY_SCOPE RECORD_LIMIT ORDER_BY IS_ASCENDING_ORDER RELATIONSHIP_FIELD RELATIONSHIP_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRIEFCASE_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:38.232877+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRIEFCASE_RULE"

stg_BRIEFCASE_RULE.yml (Document the table)

version: 2
models:
- name: stg_BRIEFCASE_RULE
  description: The table is about briefcase rules. It contains details of rule configuration
    for data synchronization or filtering. Each rule is associated with a briefcase
    and can have a parent rule. The table includes fields for filter logic, query
    scope, record limits, and ordering. It also tracks creation and modification details,
    as well as system timestamps and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the briefcase rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the rule has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: BRIEFCASE_ID
    description: ID of the associated briefcase
    tests:
    - not_null
  - name: TARGET_ENTITY
    description: Entity or object targeted by the rule
    tests:
    - not_null
  - name: PARENT_RULE_ID
    description: ID of the parent rule, if applicable
    tests:
    - not_null
  - name: FILTER_LOGIC
    description: Logic used for filtering data
    tests:
    - not_null
  - name: QUERY_SCOPE
    description: Scope of the query for data retrieval
    tests:
    - not_null
  - name: RECORD_LIMIT
    description: Maximum number of records to retrieve
    tests:
    - not_null
  - name: ORDER_BY
    description: Field used for ordering the results
    tests:
    - not_null
  - name: IS_ASCENDING_ORDER
    description: Flag indicating if order is ascending
    tests:
    - not_null
  - name: RELATIONSHIP_FIELD
    description: Field defining the relationship between entities
    tests:
    - not_null
  - name: RELATIONSHIP_TYPE
    description: Type of relationship between entities
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AUTHORIZATION_FORM_DATA_USE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE AUTHORIZATION_FORM_ID DATA_USE_PURPOSE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTHORIZATION_FORM_DATA_USE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:38.437085+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTHORIZATION_FORM_DATA_USE"

stg_AUTHORIZATION_FORM_DATA_USE.yml (Document the table)

version: 2
models:
- name: stg_AUTHORIZATION_FORM_DATA_USE
  description: The table represents the relationship between authorization forms and
    data use purposes. It links an authorization form to a specific data use purpose.
    The table includes metadata like creation date, last modification date, and ownership
    details. It also has flags for deletion status and system timestamps. This table
    likely facilitates tracking and managing data usage permissions within a system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the authorization form-purpose relationship
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: AUTHORIZATION_FORM_ID
    description: ID of the associated authorization form
    tests:
    - not_null
  - name: DATA_USE_PURPOSE_ID
    description: ID of the associated data use purpose
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM

Table Preview (sample only)

ID SSOT_POSTAL_CODE_ID_C SSOT_GEO_LATITUDE_C SSOT_ID_C SSOT_ADDRESS_LINE_1_C SSOT_PARTY_ID_C SSOT_STATE_PROVINCE_ID_C SSOT_GEO_LONGITUDE_C SSOT_CITY_ID_C SSOT_COUNTRY_ID_C REL_1721117991846_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:34:24.506686+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UNIFIED_CONTACT_POINT_ADDRESS_DLM"

stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM.yml (Document the table)

version: 2
models:
- name: stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM
  description: The table is about contact point addresses. It contains unique IDs,
    SSOT IDs, and country information. Most fields are empty except for the country,
    which is consistently "United States". The table includes timestamps for synchronization
    and a deletion flag. It appears to be a partial or simplified address record,
    possibly used for high-level location tracking or as a placeholder for more detailed
    address information.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: SSOT_POSTAL_CODE_ID_C
    description: Postal code identifier (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_GEO_LATITUDE_C
    description: Geographic latitude (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Single Source of Truth identifier
    tests:
    - not_null
  - name: SSOT_ADDRESS_LINE_1_C
    description: First line of address (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PARTY_ID_C
    description: Party identifier (same as SSOT_ID_C)
    tests:
    - not_null
  - name: SSOT_STATE_PROVINCE_ID_C
    description: State or province identifier (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_GEO_LONGITUDE_C
    description: Geographic longitude (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CITY_ID_C
    description: City identifier (currently empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_COUNTRY_ID_C
    description: Country identifier
    tests:
    - not_null
  - name: REL_1721117991846_END_C
    description: Relationship end date (purpose unclear, empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_DATA_LAKE_OBJECT_INSTANCE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_LAKE_OBJECT_INSTANCE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:39.883948+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_LAKE_OBJECT_INSTANCE_SHARE"

stg_DATA_LAKE_OBJECT_INSTANCE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_LAKE_OBJECT_INSTANCE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AURA_DEFINITION_BUNDLE_INFO

Table Preview (sample only)

ID DURABLE_ID AURA_DEFINITION_BUNDLE_ID API_VERSION DEVELOPER_NAME NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AURA_DEFINITION_BUNDLE_INFO.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:05.258679+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AURA_DEFINITION_BUNDLE_INFO"

stg_AURA_DEFINITION_BUNDLE_INFO.yml (Document the table)

version: 2
models:
- name: stg_AURA_DEFINITION_BUNDLE_INFO
  description: The table is about Aura Definition Bundle information. It contains
    details like the bundle ID, API version, developer name, and namespace prefix.
    The table also includes system fields for tracking deletions and synchronization.
    Each row represents metadata for a specific Aura Definition Bundle in a Salesforce
    org.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the Aura Definition Bundle
    tests:
    - not_null
  - name: AURA_DEFINITION_BUNDLE_ID
    description: ID of the associated Aura Definition Bundle
    tests:
    - not_null
  - name: API_VERSION
    description: Salesforce API version used for the bundle
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the bundle as used by developers
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_TAG_SUBSCRIPTION

Table Preview (sample only)

ID USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_TAG_SUBSCRIPTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:00.641914+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_TAG_SUBSCRIPTION"

stg_CONTENT_TAG_SUBSCRIPTION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_TAG_SUBSCRIPTION
  description: The table is about content tag subscriptions. It links users to content
    tags they subscribe to. Each row represents a subscription, with a unique ID.
    The USER_ID column identifies the subscriber. The _FIVETRAN_DELETED and _FIVETRAN_SYNCED
    columns are likely for data syncing purposes. This table allows tracking which
    users are interested in specific content tags.
  columns:
  - name: ID
    description: Unique identifier for each content tag subscription
    tests:
    - not_null
  - name: USER_ID
    description: Identifier of the user subscribing to the content tag
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_GOAL_ASSIGNMENT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GOAL_ASSIGNMENT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:15.682979+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_ASSIGNMENT_SHARE"

stg_GOAL_ASSIGNMENT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_GOAL_ASSIGNMENT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_NAMED_CREDENTIAL

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ENDPOINT PRINCIPAL_TYPE CALLOUT_OPTIONS_GENERATE_AUTHORIZATION_HEADER CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_HEADER CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_BODY AUTH_PROVIDER_ID JWT_ISSUER JWT_FORMULA_SUBJECT JWT_TEXT_SUBJECT JWT_VALIDITY_PERIOD_SECONDS JWT_AUDIENCE AUTH_TOKEN_ENDPOINT_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_NAMED_CREDENTIAL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:21.831134+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."NAMED_CREDENTIAL"

stg_NAMED_CREDENTIAL.yml (Document the table)

version: 2
models:
- name: stg_NAMED_CREDENTIAL
  description: The table is about named credentials. It contains details like endpoint
    URL, principal type, and authentication options. It includes fields for JWT configuration,
    such as issuer and subject. The table stores metadata like creation date, last
    modified date, and system timestamp. It also has fields for callout options and
    authorization settings.
  columns:
  - name: ID
    description: Unique identifier for the named credential
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the named credential
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the named credential
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the named credential
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: ENDPOINT
    description: URL of the external service endpoint
    tests:
    - not_null
  - name: PRINCIPAL_TYPE
    description: Type of authentication principal used
    tests:
    - not_null
  - name: CALLOUT_OPTIONS_GENERATE_AUTHORIZATION_HEADER
    description: Option to generate authorization header
    tests:
    - not_null
  - name: CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_HEADER
    description: Allow merge fields in header
    tests:
    - not_null
  - name: CALLOUT_OPTIONS_ALLOW_MERGE_FIELDS_IN_BODY
    description: Allow merge fields in body
    tests:
    - not_null
  - name: AUTH_PROVIDER_ID
    description: ID of the associated authentication provider
    tests:
    - not_null
  - name: JWT_ISSUER
    description: Issuer for JWT authentication
    tests:
    - not_null
  - name: JWT_FORMULA_SUBJECT
    description: Formula for JWT subject
    tests:
    - not_null
  - name: JWT_TEXT_SUBJECT
    description: Text value for JWT subject
    tests:
    - not_null
  - name: JWT_VALIDITY_PERIOD_SECONDS
    description: JWT token validity period in seconds
    tests:
    - not_null
  - name: JWT_AUDIENCE
    description: Audience for JWT authentication
    tests:
    - not_null
  - name: AUTH_TOKEN_ENDPOINT_URL
    description: URL for token authentication endpoint
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROCESS_NODE

Table Preview (sample only)

ID NAME DEVELOPER_NAME PROCESS_DEFINITION_ID DESCRIPTION SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_NODE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:20:17.326157+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_NODE"

stg_PROCESS_NODE.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_NODE
  description: The table is about process nodes. Each node has an ID, name, developer
    name, and process definition ID. Nodes are part of a larger process workflow.
    The table includes system metadata like modification timestamps and sync information.
    No nodes are marked as deleted in the sample data. Each node represents a distinct
    step or state in a process.
  columns:
  - name: ID
    description: Unique identifier for the process node
    tests:
    - not_null
  - name: NAME
    description: Name of the process node
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-specific name for the node
    tests:
    - not_null
  - name: PROCESS_DEFINITION_ID
    description: ID of the process this node belongs to
    tests:
    - not_null
  - name: DESCRIPTION
    description: Additional details about the node
    cocoon_meta:
      missing_reason: Optional field for additional details about the process stage.
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_INTERVIEW_LOG_ENTRY

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_INTERVIEW_LOG_ID LOG_ENTRY_TYPE ELEMENT_API_NAME LOG_ENTRY_TIMESTAMP DURATION_SINCE_START_IN_MINUTES ELEMENT_DURATION_IN_MINUTES ELEMENT_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_INTERVIEW_LOG_ENTRY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:07.763519+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_INTERVIEW_LOG_ENTRY"

stg_FLOW_INTERVIEW_LOG_ENTRY.yml (Document the table)

version: 2
models:
- name: stg_FLOW_INTERVIEW_LOG_ENTRY
  description: The table is about log entries for flow interviews. It contains details
    such as the log entry type, element API name, timestamp, duration, and element
    label. Each entry is linked to a specific flow interview log via FLOW_INTERVIEW_LOG_ID.
    The table also includes standard fields like creation date, last modified date,
    and system modstamp for tracking changes.
  columns:
  - name: ID
    description: Unique identifier for the log entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the log entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: FLOW_INTERVIEW_LOG_ID
    description: ID of the associated flow interview log
    tests:
    - not_null
  - name: LOG_ENTRY_TYPE
    description: Type of log entry
    tests:
    - not_null
  - name: ELEMENT_API_NAME
    description: API name of the flow element
    tests:
    - not_null
  - name: LOG_ENTRY_TIMESTAMP
    description: Timestamp of the log entry
    tests:
    - not_null
  - name: DURATION_SINCE_START_IN_MINUTES
    description: Minutes elapsed since flow start
    tests:
    - not_null
  - name: ELEMENT_DURATION_IN_MINUTES
    description: Duration of element execution in minutes
    tests:
    - not_null
  - name: ELEMENT_LABEL
    description: Label of the flow element
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EXT_DATA_SHARE_TARGET_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXT_DATA_SHARE_TARGET_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:44.679797+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXT_DATA_SHARE_TARGET_SHARE"

stg_EXT_DATA_SHARE_TARGET_SHARE.yml (Document the table)

version: 2
models:
- name: stg_EXT_DATA_SHARE_TARGET_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MARKET_SEGMENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION INCLUDE_CRITERIA EXCLUDE_CRITERIA PUBLISH_SCHEDULE_INTERVAL PUBLISH_SCHEDULE_START_DATE_TIME PUBLISH_SCHEDULE_END_DATE LAST_PUBLISHED_END_DATE_TIME NEXT_PUBLISH_DATE_TIME SEGMENT_STATUS LAST_SEGMENT_STATUS_DATE_TIME LAST_SEGMENT_STATUS_ERROR_CODE LAST_SEGMENT_MEMBER_COUNT LAST_SEGMENT_REMAINDER_COUNT LAST_SEGMENT_EXCLUDED_COUNT PUBLISH_STATUS LAST_PUBLISH_STATUS_DATE_TIME LAST_PUBLISH_STATUS_ERROR_CODE LAST_SEGMENT_STATUS_ERROR_DETAILS DATA_SPACE_ID SEGMENT_MEMBERSHIP_DATA_MODEL_LIST MARKET_SEGMENT_TYPE SEED_MODEL_STATUS LAST_SEED_MODEL_STATUS_DATE_TIME LAST_SEED_MODEL_STATUS_ERROR_CODE LAST_SEED_MODEL_RUN_DATE_TIME LAST_SEGMENT_TOTAL_COUNT LAST_SEGMENT_INCLUDED_COUNT PUBLISH_TYPE SEGMENT_MEMBERSHIP_TABLE IS_SEED_SEGMENT SEED_SIMILARITY_HIGH_TO_MEDIUM SEED_SIMILARITY_MEDIUM_TO_LOW SEED_SIMILARITY LAST_SEGMENT_COUNT_END_DATE_TIME DATA_GRAPH_ID PUBLISH_SCHEDULE_END_DATE_TIME LAST_SEGMENT_MEMBER_COUNT_ERROR LAST_SEGMENT_EXCLUDED_COUNT_ERROR _FIVETRAN_DELETED _FIVETRAN_SYNCED IS_PREV_SAVE_APPROX_COUNT IS_CURRENT_SAVE_APPROX_COUNT

stg_MARKET_SEGMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:58.952712+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MARKET_SEGMENT"

stg_MARKET_SEGMENT.yml (Document the table)

version: 2
models:
- name: stg_MARKET_SEGMENT
  description: The table is about market segments. It contains details such as segment
    ID, name, description, creation and modification dates, and various status indicators.
    The table tracks segment criteria, publishing schedules, member counts, and data
    model information. It also includes fields for seed model status, segment type,
    and data space associations. This comprehensive table manages the lifecycle and
    attributes of market segments for analysis and targeting purposes.
  columns:
  - name: ID
    description: Unique identifier for the market segment
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the segment has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the market segment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the segment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the segment
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the segment
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the segment was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the segment was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the market segment
    tests:
    - not_null
  - name: INCLUDE_CRITERIA
    description: Criteria for including members in the segment
    tests:
    - not_null
  - name: EXCLUDE_CRITERIA
    description: Criteria for excluding members from the segment
    tests:
    - not_null
  - name: PUBLISH_SCHEDULE_INTERVAL
    description: Interval for publishing the segment
    tests:
    - not_null
  - name: PUBLISH_SCHEDULE_START_DATE_TIME
    description: Start date and time for publishing schedule
    tests:
    - not_null
  - name: PUBLISH_SCHEDULE_END_DATE
    description: End date for publishing schedule
    tests:
    - not_null
  - name: LAST_PUBLISHED_END_DATE_TIME
    description: End date and time of last publish
    tests:
    - not_null
  - name: NEXT_PUBLISH_DATE_TIME
    description: Next scheduled publish date and time
    tests:
    - not_null
  - name: SEGMENT_STATUS
    description: Current status of the segment
    tests:
    - not_null
  - name: LAST_SEGMENT_STATUS_DATE_TIME
    description: Date and time of last segment status update
    tests:
    - not_null
  - name: LAST_SEGMENT_STATUS_ERROR_CODE
    description: Error code of last segment status update
    tests:
    - not_null
  - name: LAST_SEGMENT_MEMBER_COUNT
    description: Count of members in the last segment
    tests:
    - not_null
  - name: LAST_SEGMENT_REMAINDER_COUNT
    description: Count of remaining members in last segment
    tests:
    - not_null
  - name: LAST_SEGMENT_EXCLUDED_COUNT
    description: Count of excluded members in last segment
    tests:
    - not_null
  - name: PUBLISH_STATUS
    description: Current publish status of the segment
    tests:
    - not_null
  - name: LAST_PUBLISH_STATUS_DATE_TIME
    description: Date and time of last publish status update
    tests:
    - not_null
  - name: LAST_PUBLISH_STATUS_ERROR_CODE
    description: Error code of last publish status update
    tests:
    - not_null
  - name: LAST_SEGMENT_STATUS_ERROR_DETAILS
    description: Details of last segment status error
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the associated data space
    tests:
    - not_null
  - name: SEGMENT_MEMBERSHIP_DATA_MODEL_LIST
    description: List of data models for segment membership
    tests:
    - not_null
  - name: MARKET_SEGMENT_TYPE
    description: Type of market segment
    tests:
    - not_null
  - name: SEED_MODEL_STATUS
    description: Current status of the seed model
    tests:
    - not_null
  - name: LAST_SEED_MODEL_STATUS_DATE_TIME
    description: Timestamp of last seed model status update
    tests:
    - not_null
  - name: LAST_SEED_MODEL_STATUS_ERROR_CODE
    description: Error code from last seed model status
    tests:
    - not_null
  - name: LAST_SEED_MODEL_RUN_DATE_TIME
    description: Timestamp of last seed model run
    tests:
    - not_null
  - name: LAST_SEGMENT_TOTAL_COUNT
    description: Total count of last segment
    tests:
    - not_null
  - name: LAST_SEGMENT_INCLUDED_COUNT
    description: Count of included members in last segment
    tests:
    - not_null
  - name: PUBLISH_TYPE
    description: Type of segment publication
    tests:
    - not_null
  - name: SEGMENT_MEMBERSHIP_TABLE
    description: Table name for segment membership
    tests:
    - not_null
  - name: IS_SEED_SEGMENT
    description: Indicates if segment is a seed segment
    tests:
    - not_null
  - name: SEED_SIMILARITY_HIGH_TO_MEDIUM
    description: Similarity threshold from high to medium
    tests:
    - not_null
  - name: SEED_SIMILARITY_MEDIUM_TO_LOW
    description: Similarity threshold from medium to low
    tests:
    - not_null
  - name: SEED_SIMILARITY
    description: Overall seed similarity measure
    tests:
    - not_null
  - name: LAST_SEGMENT_COUNT_END_DATE_TIME
    description: End timestamp of last segment count
    tests:
    - not_null
  - name: DATA_GRAPH_ID
    description: Identifier for associated data graph
    tests:
    - not_null
  - name: PUBLISH_SCHEDULE_END_DATE_TIME
    description: End timestamp of publish schedule
    tests:
    - not_null
  - name: LAST_SEGMENT_MEMBER_COUNT_ERROR
    description: Error in last segment member count
    tests:
    - not_null
  - name: LAST_SEGMENT_EXCLUDED_COUNT_ERROR
    description: Error in last segment excluded count
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: IS_PREV_SAVE_APPROX_COUNT
    description: Previous save used approximate count
    tests:
    - not_null
  - name: IS_CURRENT_SAVE_APPROX_COUNT
    description: Current save uses approximate count
    tests:
    - not_null
  tests: []

stg_PAYMENT_GATEWAY_PROVIDER

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE COMMENTS IDEMPOTENCY_SUPPORTED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_GATEWAY_PROVIDER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:13:06.333501+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_GATEWAY_PROVIDER"

stg_PAYMENT_GATEWAY_PROVIDER.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_GATEWAY_PROVIDER
  description: The table is about payment gateway providers. It contains details such
    as ID, developer name, language, master label, and namespace prefix. The table
    tracks creation and modification dates, user IDs, and system timestamps. It also
    includes flags for deletion status and idempotency support. Additional fields
    store comments and Fivetran-related information for data synchronization.
  columns:
  - name: ID
    description: Unique identifier for the payment gateway provider
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the payment gateway provider for developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language used for the payment gateway provider
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the payment gateway provider
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Unique prefix for the provider's namespace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: COMMENTS
    description: Additional notes or comments about the provider
    tests:
    - not_null
  - name: IDEMPOTENCY_SUPPORTED
    description: Flag indicating support for idempotent operations
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_IFRAME_WHITE_LIST_URL

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IFRAME_WHITE_LIST_URL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:46.205904+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IFRAME_WHITE_LIST_URL"

stg_IFRAME_WHITE_LIST_URL.yml (Document the table)

version: 2
models:
- name: stg_IFRAME_WHITE_LIST_URL
  description: The table is about approved URLs for iframes. It stores details like
    the URL, context, creation date, and last modification date. The table tracks
    who created and last modified each entry. It includes system fields for tracking
    deletions and synchronization. Each entry has a unique ID and flags for deletion
    status.
  columns:
  - name: ID
    description: Unique identifier for each approved URL entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: URL
    description: The approved URL for iframe usage
    tests:
    - not_null
  - name: CONTEXT
    description: Additional context or information about the URL
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific flag for tracking deletions
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific timestamp for synchronization
    tests:
    - not_null
  tests: []

stg_EMAIL_ROUTING_ADDRESS

Table Preview (sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERSONAL_NAME ADDRESS EMAIL_SERVICES_ADDRESS_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_ROUTING_ADDRESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:33.989278+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_ROUTING_ADDRESS"

stg_EMAIL_ROUTING_ADDRESS.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_ROUTING_ADDRESS
  description: The table is about email routing addresses. It contains details of
    each address including a unique ID, creation and modification dates, personal
    name associated with the address, the actual email address, and a link to email
    services. The table also tracks who created or modified each entry and includes
    system metadata like deletion status and synchronization timestamp.
  columns:
  - name: ID
    description: Unique identifier for each email routing address
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the address was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the address
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the address
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: PERSONAL_NAME
    description: Name associated with the email address
    tests:
    - not_null
  - name: ADDRESS
    description: The actual email address
    tests:
    - not_null
  - name: EMAIL_SERVICES_ADDRESS_ID
    description: ID linking to email services
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SEARCH_ACTIVITY

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SEARCH_TERM QUERY_DATE COUNT_QUERIES COUNT_USERS AVG_NUM_RESULTS KB_CHANNEL PERIOD CLICK_RANK CLICKED_RECORD_ID QUERY_LANGUAGE CLICKED_RECORD_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SEARCH_ACTIVITY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:10.535758+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SEARCH_ACTIVITY"

stg_SEARCH_ACTIVITY.yml (Document the table)

version: 2
models:
- name: stg_SEARCH_ACTIVITY
  description: The table is about search activity records. It contains details of
    search terms, query dates, and counts of queries and users. The table includes
    information on average results, channels, and clicked records. It also tracks
    creation and modification dates, as well as user IDs for these actions. The table
    likely supports analytics and tracking of search behavior within a system.
  columns:
  - name: ID
    description: Unique identifier for the search activity record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the search activity record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: SEARCH_TERM
    description: The term or phrase used in the search
    tests:
    - not_null
  - name: QUERY_DATE
    description: Date when the search query was performed
    tests:
    - not_null
  - name: COUNT_QUERIES
    description: Number of times the search query was executed
    tests:
    - not_null
  - name: COUNT_USERS
    description: Number of unique users who performed the search
    tests:
    - not_null
  - name: AVG_NUM_RESULTS
    description: Average number of results returned for the search
    tests:
    - not_null
  - name: KB_CHANNEL
    description: Knowledge base channel associated with the search
    tests:
    - not_null
  - name: PERIOD
    description: Time period for aggregating search data
    tests:
    - not_null
  - name: CLICK_RANK
    description: Ranking of the clicked search result
    tests:
    - not_null
  - name: CLICKED_RECORD_ID
    description: ID of the record clicked in search results
    tests:
    - not_null
  - name: QUERY_LANGUAGE
    description: Language in which the search query was made
    tests:
    - not_null
  - name: CLICKED_RECORD_NAME
    description: Name of the clicked record in search results
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_GOAL_DEFINITION_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GOAL_DEFINITION_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:23.903855+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_DEFINITION_SHARE"

stg_GOAL_DEFINITION_SHARE.yml (Document the table)

version: 2
models:
- name: stg_GOAL_DEFINITION_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_PACKAGE_LICENSE

Table Preview (sample only)

ID PACKAGE_LICENSE_ID USER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PACKAGE_LICENSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:38:23.737170+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PACKAGE_LICENSE"

stg_USER_PACKAGE_LICENSE.yml (Document the table)

version: 2
models:
- name: stg_USER_PACKAGE_LICENSE
  description: The table represents the relationship between users and package licenses.
    It tracks which users have been assigned which package licenses. The table includes
    IDs to link to user and package license records. It also captures creation and
    modification metadata like dates and user IDs. The _FIVETRAN fields suggest this
    data is synced from another system.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: PACKAGE_LICENSE_ID
    description: ID of the package license assigned
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user assigned the package license
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_CONTACT_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTACT_ID MONTH_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT ALL_EMAILS_UNTRACKED_SENT_COUNT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:03:56.570576+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_MONTHLY_METRIC"

stg_CONTACT_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_MONTHLY_METRIC
  description: The table is about Contact monthly metrics. It tracks email and call
    activities for each contact on a monthly basis. Email metrics include sent, bounced,
    opened, replied, and link clicked counts. Call metrics cover different outcomes
    like meaningful connections, not interested, and voicemails. The table also includes
    system fields like creation and modification dates, and Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: CONTACT_ID
    description: Unique identifier of the contact
    tests:
    - not_null
  - name: MONTH_
    description: Month for which the metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls marked as not interested
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls marked as unqualified
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls scheduled for callback
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Number of untracked emails sent
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable emails sent for link clicks
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable emails sent for opens
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable emails sent for replies
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent for soft bounces
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent for hard bounces
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of trackable emails sent for out-of-office
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ACTIVE_PROFILE_METRIC

Table Preview (sample only)

ID METRICS_DATE USER_LICENSE_ID PROFILE_ID SYSTEM_MODSTAMP ASSIGNED_USER_COUNT ACTIVE_USER_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTIVE_PROFILE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:15.055135+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTIVE_PROFILE_METRIC"

stg_ACTIVE_PROFILE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ACTIVE_PROFILE_METRIC
  description: The table is about active profile metrics. It contains data on user
    licenses and profiles. Each row represents a snapshot of metrics for a specific
    date. The table includes counts of assigned and active users for each profile.
    It also contains system timestamps and Fivetran sync information. The metrics
    are identified by unique IDs and associated with specific user licenses and profiles.
  columns:
  - name: ID
    description: Unique identifier for each metric record
    tests:
    - not_null
  - name: METRICS_DATE
    description: Date for which the metrics are recorded
    tests:
    - not_null
  - name: USER_LICENSE_ID
    description: Identifier for the user license
    tests:
    - not_null
  - name: PROFILE_ID
    description: Identifier for the user profile
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: ASSIGNED_USER_COUNT
    description: Number of users assigned to the profile
    tests:
    - not_null
  - name: ACTIVE_USER_COUNT
    description: Number of active users for the profile
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ORG_METRIC_SCAN_RESULT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ORG_METRIC_SCAN_SUMMARY_ID URL OBJECT DATE_ TYPE PROFILE USER_ QUANTITY ITEM_STATUS FLAGS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORG_METRIC_SCAN_RESULT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:16.456440+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORG_METRIC_SCAN_RESULT"

stg_ORG_METRIC_SCAN_RESULT.yml (Document the table)

version: 2
models:
- name: stg_ORG_METRIC_SCAN_RESULT
  description: The table is about organizational metric scan results. It contains
    details such as the scan ID, name, creation and modification dates, associated
    user IDs, and scan summary ID. The table also includes specific metric information
    like URL, object, date, type, profile, user, quantity, status, and flags. This
    data likely represents the outcome of various organizational performance or compliance
    scans.
  columns:
  - name: ID
    description: Unique identifier for each scan result
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the scan result
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: ORG_METRIC_SCAN_SUMMARY_ID
    description: ID of the associated organizational metric scan summary
    tests:
    - not_null
  - name: URL
    description: URL related to the scan result
    tests:
    - not_null
  - name: OBJECT
    description: Object or entity associated with the scan
    tests:
    - not_null
  - name: DATE_
    description: Date of the scan or metric
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the scan or metric
    tests:
    - not_null
  - name: PROFILE
    description: Profile associated with the scan result
    tests:
    - not_null
  - name: USER_
    description: User associated with the scan result
    tests:
    - not_null
  - name: QUANTITY
    description: Numerical value or count for the metric
    tests:
    - not_null
  - name: ITEM_STATUS
    description: Status of the scanned item or metric
    tests:
    - not_null
  - name: FLAGS
    description: Any flags or markers associated with the result
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY

Table Preview (sample only)

ID IS_DELETED ACCOUNT_ID NAME DESCRIPTION STAGE_NAME AMOUNT PROBABILITY CLOSE_DATE TYPE NEXT_STEP LEAD_SOURCE IS_CLOSED IS_WON FORECAST_CATEGORY FORECAST_CATEGORY_NAME HAS_OPPORTUNITY_LINE_ITEM PRICEBOOK_2_ID OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE PUSH_COUNT LAST_STAGE_CHANGE_DATE FISCAL_QUARTER FISCAL_YEAR FISCAL CONTACT_ID LAST_VIEWED_DATE LAST_REFERENCED_DATE HAS_OPEN_ACTIVITY HAS_OVERDUE_TASK LAST_AMOUNT_CHANGED_HISTORY_ID LAST_CLOSE_DATE_CHANGED_HISTORY_ID ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:23.463962+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY"

stg_OPPORTUNITY.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY
  description: The table is about sales opportunities. It includes details like opportunity
    ID, account ID, name, description, stage, amount, probability, close date, and
    type. It also tracks the opportunity's status (closed/won), forecast category,
    owner, and creation/modification dates. The table contains metadata about fiscal
    periods, related activities, and system fields for tracking changes and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the opportunity
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: NAME
    description: Name of the opportunity
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the opportunity
    tests:
    - not_null
  - name: STAGE_NAME
    description: Current stage of the opportunity
    tests:
    - not_null
  - name: AMOUNT
    description: Monetary value of the opportunity
    tests:
    - not_null
  - name: PROBABILITY
    description: Likelihood of closing the opportunity
    tests:
    - not_null
  - name: CLOSE_DATE
    description: Expected or actual closing date
    tests:
    - not_null
  - name: TYPE
    description: Category or type of the opportunity
    tests:
    - not_null
  - name: NEXT_STEP
    description: Planned next action for the opportunity
    tests:
    - not_null
  - name: LEAD_SOURCE
    description: Origin of the opportunity
    tests:
    - not_null
  - name: IS_CLOSED
    description: Flag indicating if the opportunity is closed
    tests:
    - not_null
  - name: IS_WON
    description: Flag indicating if the opportunity is won
    tests:
    - not_null
  - name: FORECAST_CATEGORY
    description: Category for forecasting purposes
    tests:
    - not_null
  - name: FORECAST_CATEGORY_NAME
    description: Name of the forecast category
    tests:
    - not_null
  - name: HAS_OPPORTUNITY_LINE_ITEM
    description: Flag for associated line items
    tests:
    - not_null
  - name: PRICEBOOK_2_ID
    description: ID of the associated price book
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the opportunity owner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time of record creation
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_ACTIVITY_DATE
    description: Date of the most recent activity
    tests:
    - not_null
  - name: PUSH_COUNT
    description: Number of times close date was postponed
    tests:
    - not_null
  - name: LAST_STAGE_CHANGE_DATE
    description: Date of the most recent stage change
    tests:
    - not_null
  - name: FISCAL_QUARTER
    description: Fiscal quarter associated with the opportunity
    tests:
    - not_null
  - name: FISCAL_YEAR
    description: Fiscal year associated with the opportunity
    tests:
    - not_null
  - name: FISCAL
    description: Fiscal period information
    tests:
    - not_null
  - name: CONTACT_ID
    description: Unique identifier for the contact associated with opportunity
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the opportunity was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the opportunity was last referenced
    tests:
    - not_null
  - name: HAS_OPEN_ACTIVITY
    description: Indicates if the opportunity has any open activities
    tests:
    - not_null
  - name: HAS_OVERDUE_TASK
    description: Indicates if the opportunity has any overdue tasks
    tests:
    - not_null
  - name: LAST_AMOUNT_CHANGED_HISTORY_ID
    description: ID of last history record when amount changed
    tests:
    - not_null
  - name: LAST_CLOSE_DATE_CHANGED_HISTORY_ID
    description: ID of last history record when close date changed
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ID
    description: ID of the associated activity metric
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ROLLUP_ID
    description: ID of the associated activity metric rollup
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization in Fivetran
    tests:
    - not_null
  tests: []

stg_ACTIVITY_USR_CONNECTION_STATUS

Table Preview (sample only)

ID EXTERNAL_ID USER_ID USER_NAME CONFIGURATION_NAME EMAIL_ADDRESS CONNECTIVITY_STATUS RECOMMENDED_ACTION_TITLE RECOMMENDED_ACTION_DESCRIPTION IS_TERMS_OF_SERVICE_ACCEPTED GLOBAL_OAUTH_TERMS_STATE CONTACTS_SYNCED EVENTS_SYNCED USER_ONBOARDING_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTIVITY_USR_CONNECTION_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:23.051136+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTIVITY_USR_CONNECTION_STATUS"

stg_ACTIVITY_USR_CONNECTION_STATUS.yml (Document the table)

version: 2
models:
- name: stg_ACTIVITY_USR_CONNECTION_STATUS
  description: The table is about user connection status for an activity or application.
    It includes user identification details like ID, external ID, user name, and email.
    It tracks connectivity status, recommended actions, terms acceptance, OAuth state,
    and syncing status for contacts and events. The table also captures user onboarding
    status and Fivetran-specific fields for data synchronization tracking.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the user
    tests:
    - not_null
  - name: USER_ID
    description: Internal user identifier
    tests:
    - not_null
  - name: USER_NAME
    description: Name of the user
    tests:
    - not_null
  - name: CONFIGURATION_NAME
    description: Name of the configuration settings
    tests:
    - not_null
  - name: EMAIL_ADDRESS
    description: User's email address
    tests:
    - not_null
  - name: CONNECTIVITY_STATUS
    description: Current status of user's connection
    tests:
    - not_null
  - name: RECOMMENDED_ACTION_TITLE
    description: Title of recommended action for user
    tests:
    - not_null
  - name: RECOMMENDED_ACTION_DESCRIPTION
    description: Description of recommended action for user
    tests:
    - not_null
  - name: IS_TERMS_OF_SERVICE_ACCEPTED
    description: Indicates if user accepted terms of service
    tests:
    - not_null
  - name: GLOBAL_OAUTH_TERMS_STATE
    description: State of global OAuth terms acceptance
    tests:
    - not_null
  - name: CONTACTS_SYNCED
    description: Indicates if contacts are synced
    tests:
    - not_null
  - name: EVENTS_SYNCED
    description: Indicates if events are synced
    tests:
    - not_null
  - name: USER_ONBOARDING_STATUS
    description: Current status of user onboarding
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_BRAND_TEMPLATE

Table Preview (sample only)

ID NAME DEVELOPER_NAME IS_ACTIVE DESCRIPTION VALUE_ NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRAND_TEMPLATE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:14.010041+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRAND_TEMPLATE"

stg_BRAND_TEMPLATE.yml (Document the table)

version: 2
models:
- name: stg_BRAND_TEMPLATE
  description: The table is about brand templates. It contains details like template
    ID, name, developer name, active status, description, and value. The table also
    includes namespace prefix, creation and modification dates, user IDs for creation
    and modification, and system timestamp. Additional fields track deletion status
    and synchronization time. This table likely stores information for managing and
    tracking brand template configurations in a system.
  columns:
  - name: ID
    description: Unique identifier for the brand template
    tests:
    - not_null
  - name: NAME
    description: Name of the brand template
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-specific name for the template
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the template is currently active
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the brand template
    tests:
    - not_null
  - name: VALUE_
    description: Stored value or content of the template
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the template's namespace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the template was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the template
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the template
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_INTERVIEW_LOG

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_DEVELOPER_NAME FLOW_INTERVIEW_GUID FLOW_VERSION_NUMBER INTERVIEW_START_TIMESTAMP INTERVIEW_END_TIMESTAMP INTERVIEW_DURATION_IN_MINUTES INTERVIEW_STATUS FLOW_NAMESPACE FLOW_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_INTERVIEW_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:59.605351+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_INTERVIEW_LOG"

stg_FLOW_INTERVIEW_LOG.yml (Document the table)

version: 2
models:
- name: stg_FLOW_INTERVIEW_LOG
  description: The table is about Flow interview logs. It contains details of Flow
    interviews including the Flow name, version, start and end timestamps, duration,
    and status. The table also tracks creation and modification metadata, such as
    who created or last modified the record and when. It includes identifiers like
    Flow developer name, interview GUID, and namespace, which help in uniquely identifying
    and organizing Flow interviews.
  columns:
  - name: ID
    description: Unique identifier for the Flow interview log
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the Flow interview log
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: FLOW_DEVELOPER_NAME
    description: Developer name of the Flow
    tests:
    - not_null
  - name: FLOW_INTERVIEW_GUID
    description: Globally unique identifier for the Flow interview
    tests:
    - not_null
  - name: FLOW_VERSION_NUMBER
    description: Version number of the Flow
    tests:
    - not_null
  - name: INTERVIEW_START_TIMESTAMP
    description: Start time of the Flow interview
    tests:
    - not_null
  - name: INTERVIEW_END_TIMESTAMP
    description: End time of the Flow interview
    tests:
    - not_null
  - name: INTERVIEW_DURATION_IN_MINUTES
    description: Duration of the Flow interview in minutes
    tests:
    - not_null
  - name: INTERVIEW_STATUS
    description: Current status of the Flow interview
    tests:
    - not_null
  - name: FLOW_NAMESPACE
    description: Namespace of the Flow
    tests:
    - not_null
  - name: FLOW_LABEL
    description: User-friendly label of the Flow
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking field
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ASSET_SHARE

Table Preview (sample only)

ID ASSET_ID USER_OR_GROUP_ID ASSET_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ASSET_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:29.270077+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ASSET_SHARE"

stg_ASSET_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ASSET_SHARE
  description: The table is about asset sharing permissions. It relates assets to
    users or groups with specific access levels. Each record represents a sharing
    rule for an asset. The table tracks who modified the sharing, when it was modified,
    and if it's been deleted. It likely supports access control and auditing for a
    file or resource management system.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: ASSET_ID
    description: Identifier of the asset being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of user or group granted access
    tests:
    - not_null
  - name: ASSET_ACCESS_LEVEL
    description: Level of access granted (e.g., read, write)
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason or source for this sharing rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the rule is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_NOTE_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_NOTE_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:30.184884+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."NOTE_TAG"

stg_NOTE_TAG.yml (Document the table)

version: 2
models:
- name: stg_NOTE_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PAYMENT_GROUP

Table Preview (sample only)

ID IS_DELETED PAYMENT_GROUP_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_GROUP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:13:13.024687+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_GROUP"

stg_PAYMENT_GROUP.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_GROUP
  description: The table is about payment groups. It includes details like a unique
    ID, payment group number, creation and modification dates, and user IDs for creation
    and modification. The table also tracks if the payment group is deleted and includes
    system timestamps. It appears to be synced with an external system, possibly Fivetran,
    as indicated by the '_FIVETRAN_' prefixed columns.
  columns:
  - name: ID
    description: Unique identifier for the payment group
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the payment group is deleted
    tests:
    - not_null
  - name: PAYMENT_GROUP_NUMBER
    description: Identifier number for the payment group
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the payment group was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the payment group
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the most recent modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the group
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_LIST_VIEW

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID LIST_VIEW_ID SOBJECT_TYPE LAST_VIEWED_CHART _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_LIST_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:43.409371+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_LIST_VIEW"

stg_USER_LIST_VIEW.yml (Document the table)

version: 2
models:
- name: stg_USER_LIST_VIEW
  description: The table represents the USER_LIST_VIEW relation between users and
    list views. It tracks which users have access to specific list views. The table
    includes details like creation date, last modified date, and the object type associated
    with the list view. It also records the last viewed chart for each user-list view
    combination.
  columns:
  - name: ID
    description: Unique identifier for the user-list view relation
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with the list view
    tests:
    - not_null
  - name: LIST_VIEW_ID
    description: ID of the list view associated with the user
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of Salesforce object associated with the list view
    tests:
    - not_null
  - name: LAST_VIEWED_CHART
    description: Last chart viewed by the user for this list view
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for data synchronization
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_TASK

Table Preview (sample only)

ID WHO_ID WHAT_ID WHO_COUNT WHAT_COUNT SUBJECT ACTIVITY_DATE STATUS PRIORITY IS_HIGH_PRIORITY OWNER_ID DESCRIPTION IS_DELETED ACCOUNT_ID IS_CLOSED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ARCHIVED CALL_DURATION_IN_SECONDS CALL_TYPE CALL_DISPOSITION CALL_OBJECT REMINDER_DATE_TIME IS_REMINDER_SET RECURRENCE_ACTIVITY_ID IS_RECURRENCE RECURRENCE_START_DATE_ONLY RECURRENCE_END_DATE_ONLY RECURRENCE_TIME_ZONE_SID_KEY RECURRENCE_TYPE RECURRENCE_INTERVAL RECURRENCE_DAY_OF_WEEK_MASK RECURRENCE_DAY_OF_MONTH RECURRENCE_INSTANCE RECURRENCE_MONTH_OF_YEAR RECURRENCE_REGENERATED_TYPE TASK_SUBTYPE COMPLETED_DATE_TIME ACTION_CADENCE_STEP_TRACKER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:39.470037+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK"

stg_TASK.yml (Document the table)

version: 2
models:
- name: stg_TASK
  description: The table is about tasks or activities. It includes details such as
    task ID, who and what the task is related to, subject, date, status, priority,
    owner, and description. The table also tracks task creation and modification details,
    call-related information, recurrence settings, and various flags like high priority,
    deleted, closed, and archived. It appears to be a comprehensive tracking system
    for tasks or activities within an organization or CRM system.
  columns:
  - name: ID
    description: Unique identifier for the task
    tests:
    - not_null
  - name: WHO_ID
    description: ID of the person related to the task
    tests:
    - not_null
  - name: WHAT_ID
    description: ID of the object related to the task
    tests:
    - not_null
  - name: WHO_COUNT
    description: Count of people associated with the task
    tests:
    - not_null
  - name: WHAT_COUNT
    description: Count of objects associated with the task
    tests:
    - not_null
  - name: SUBJECT
    description: Brief description of the task
    tests:
    - not_null
  - name: ACTIVITY_DATE
    description: Date the task is scheduled for
    tests:
    - not_null
  - name: STATUS
    description: Current status of the task
    tests:
    - not_null
  - name: PRIORITY
    description: Priority level of the task
    tests:
    - not_null
  - name: IS_HIGH_PRIORITY
    description: Flag indicating if the task is high priority
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the task owner
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the task
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the task is deleted
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: IS_CLOSED
    description: Flag indicating if the task is closed
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the task was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the task
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the task
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Flag indicating if the task is archived
    tests:
    - not_null
  - name: CALL_DURATION_IN_SECONDS
    description: Duration of the call in seconds
    tests:
    - not_null
  - name: CALL_TYPE
    description: Type of call (inbound, outbound, etc.)
    tests:
    - not_null
  - name: CALL_DISPOSITION
    description: Outcome or result of the call
    tests:
    - not_null
  - name: CALL_OBJECT
    description: Object associated with the call
    tests:
    - not_null
  - name: REMINDER_DATE_TIME
    description: Date and time for task reminder
    tests:
    - not_null
  - name: IS_REMINDER_SET
    description: Flag indicating if a reminder is set
    tests:
    - not_null
  - name: RECURRENCE_ACTIVITY_ID
    description: ID of the recurring activity
    tests:
    - not_null
  - name: IS_RECURRENCE
    description: Flag indicating if the task is recurring
    tests:
    - not_null
  - name: RECURRENCE_START_DATE_ONLY
    description: Start date for recurring tasks
    tests:
    - not_null
  - name: RECURRENCE_END_DATE_ONLY
    description: End date for recurring tasks
    tests:
    - not_null
  - name: RECURRENCE_TIME_ZONE_SID_KEY
    description: Time zone identifier for recurring tasks
    tests:
    - not_null
  - name: RECURRENCE_TYPE
    description: Type of recurrence (e.g., daily, weekly, monthly)
    tests:
    - not_null
  - name: RECURRENCE_INTERVAL
    description: Interval between recurring task instances
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_WEEK_MASK
    description: Bitmask representing days of week for recurrence
    tests:
    - not_null
  - name: RECURRENCE_DAY_OF_MONTH
    description: Day of month for monthly recurring tasks
    tests:
    - not_null
  - name: RECURRENCE_INSTANCE
    description: Instance of recurrence (e.g., first, second, last)
    tests:
    - not_null
  - name: RECURRENCE_MONTH_OF_YEAR
    description: Month of year for yearly recurring tasks
    tests:
    - not_null
  - name: RECURRENCE_REGENERATED_TYPE
    description: Type of regeneration for recurring tasks
    tests:
    - not_null
  - name: TASK_SUBTYPE
    description: Subtype or category of the task
    tests:
    - not_null
  - name: COMPLETED_DATE_TIME
    description: Date and time when the task was completed
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_TRACKER_ID
    description: Identifier for action cadence step tracker
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_IDP_EVENT_LOG

Table Preview (sample only)

ID INITIATED_BY TIMESTAMP_ ERROR_CODE SAML_ENTITY_URL USER_ID AUTH_SESSION_ID SSO_TYPE APP_ID IDENTITY_USED OPTIONS_HAS_LOGOUT_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IDP_EVENT_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:39.716447+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IDP_EVENT_LOG"

stg_IDP_EVENT_LOG.yml (Document the table)

version: 2
models:
- name: stg_IDP_EVENT_LOG
  description: The table is about IDP events. It records details of authentication
    events. Each event has an ID and timestamp. The table captures who initiated the
    event, any error codes, and the SAML entity URL. It includes user and session
    IDs, SSO type, and app ID. The table also tracks the identity used and logout
    URL availability. Fivetran-specific fields indicate deletion status and sync time.
  columns:
  - name: ID
    description: Unique identifier for each IDP event
    tests:
    - not_null
  - name: INITIATED_BY
    description: Entity or system that started the authentication event
    tests:
    - not_null
  - name: TIMESTAMP_
    description: Date and time when the event occurred
    tests:
    - not_null
  - name: ERROR_CODE
    description: Code indicating any error that occurred during the event
    tests:
    - not_null
  - name: SAML_ENTITY_URL
    description: URL of the SAML entity involved in the event
    tests:
    - not_null
  - name: USER_ID
    description: Identifier of the user associated with the event
    tests:
    - not_null
  - name: AUTH_SESSION_ID
    description: Unique identifier for the authentication session
    tests:
    - not_null
  - name: SSO_TYPE
    description: Type of Single Sign-On used for the event
    tests:
    - not_null
  - name: APP_ID
    description: Identifier of the application involved in the event
    tests:
    - not_null
  - name: IDENTITY_USED
    description: Identity information used for authentication
    tests:
    - not_null
  - name: OPTIONS_HAS_LOGOUT_URL
    description: Indicates if a logout URL is available
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_TEST_RESULT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_TEST_RESULT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:20.455004+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_TEST_RESULT_SHARE"

stg_FLOW_TEST_RESULT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_FLOW_TEST_RESULT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_VIDEO_CALL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_VIDEO_CALL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:39.233307+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VIDEO_CALL_SHARE"

stg_VIDEO_CALL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_VIDEO_CALL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CALL_DISPOSITION_CATEGORY

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CATEGORY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_DISPOSITION_CATEGORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:08.136156+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_DISPOSITION_CATEGORY"

stg_CALL_DISPOSITION_CATEGORY.yml (Document the table)

version: 2
models:
- name: stg_CALL_DISPOSITION_CATEGORY
  description: The table is about call disposition categories. It contains details
    such as ID, developer name, language, master label, creation and modification
    dates, and category. The table tracks whether entries are deleted and includes
    system fields like SYSTEM_MODSTAMP. It also has Fivetran-specific fields for syncing
    and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for each call disposition category
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the call disposition category
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the call disposition category
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: CATEGORY
    description: Category of the call disposition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CASE_SHARE

Table Preview (sample only)

ID CASE_ID USER_OR_GROUP_ID CASE_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:23.511673+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_SHARE"

stg_CASE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CASE_SHARE
  description: The table represents the sharing relationships for cases. It links
    cases (CASE_ID) with users or groups (USER_OR_GROUP_ID) who have access. The CASE_ACCESS_LEVEL
    indicates the level of access granted. ROW_CAUSE explains why the sharing was
    created. The table also tracks modification details and deletion status. It appears
    to be part of a CRM or case management system with granular access control.
  columns:
  - name: ID
    description: Unique identifier for the sharing record
    tests:
    - not_null
  - name: CASE_ID
    description: Identifier of the case being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of user or group granted access
    tests:
    - not_null
  - name: CASE_ACCESS_LEVEL
    description: Level of access granted to the case
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for creating the sharing record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_WORK_LIST_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_WORK_LIST_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:09.084535+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_WORK_LIST_SHARE"

stg_USER_WORK_LIST_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_WORK_LIST_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CASE_ARTICLE

Table Preview (sample only)

ID CASE_ID KNOWLEDGE_ARTICLE_ID KNOWLEDGE_ARTICLE_VERSION_ID CREATED_BY_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED ARTICLE_LANGUAGE ARTICLE_VERSION_NUMBER IS_SHARED_BY_EMAIL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_ARTICLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:55.298022+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_ARTICLE"

stg_CASE_ARTICLE.yml (Document the table)

version: 2
models:
- name: stg_CASE_ARTICLE
  description: The table represents the relation between cases and knowledge articles.
    It links a case (CASE_ID) to a specific version of a knowledge article (KNOWLEDGE_ARTICLE_ID,
    KNOWLEDGE_ARTICLE_VERSION_ID). The table tracks when the association was created,
    by whom, and in what language. It also includes metadata like creation date, system
    modification timestamp, and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the case-article association
    tests:
    - not_null
  - name: CASE_ID
    description: Identifier of the associated case
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_ID
    description: Identifier of the associated knowledge article
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_VERSION_ID
    description: Identifier of the specific article version
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the association
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the association was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the association is deleted
    tests:
    - not_null
  - name: ARTICLE_LANGUAGE
    description: Language of the associated article
    tests:
    - not_null
  - name: ARTICLE_VERSION_NUMBER
    description: Version number of the associated article
    tests:
    - not_null
  - name: IS_SHARED_BY_EMAIL
    description: Flag indicating if article was shared by email
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_PREFERENCE

Table Preview (sample only)

ID USER_ID PREFERENCE VALUE_ SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PREFERENCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:20.715887+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PREFERENCE"

stg_USER_PREFERENCE.yml (Document the table)

version: 2
models:
- name: stg_USER_PREFERENCE
  description: The table is about user preferences. It contains details of individual
    preferences for users. Each row represents a specific preference setting for a
    user. The table includes the user ID, the type of preference, its value, and timestamps
    for modification and synchronization. It also has a flag to indicate if the preference
    has been deleted.
  columns:
  - name: ID
    description: Unique identifier for the preference record
    tests:
    - not_null
  - name: USER_ID
    description: Unique identifier for the user
    tests:
    - not_null
  - name: PREFERENCE
    description: Type or category of the preference
    tests:
    - not_null
  - name: VALUE_
    description: Specific setting or value of the preference
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_INDIVIDUAL_DLM

Table Preview (sample only)

ID SSOT_BIRTH_DATE_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_FIRST_NAME_C SSOT_ID_C SSOT_LAST_MODIFIED_DATE_C SSOT_LAST_NAME_C SSOT_PERSON_NAME_C SSOT_PHOTO_URL_C SSOT_SALUTATION_C SSOT_TITLE_NAME_C SSOT_REL_1697761151778_END_C SSOT_REL_1697761177549_END_C KQ_ID_C REL_1721117983016_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_INDIVIDUAL_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:30:34.805251+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_INDIVIDUAL_DLM"

stg_SSOT_INDIVIDUAL_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_INDIVIDUAL_DLM
  description: The table is about individual people. It contains personal information
    such as names, birth dates, and contact details. The data comes from different
    sources like Salesforce leads and contacts. Each person has a unique ID and timestamps
    for creation and modification. The table also includes fields for salutations,
    titles, and photo URLs, though these are often empty in the samples provided.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: SSOT_BIRTH_DATE_C
    description: Person's date of birth
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_CREATED_DATE_C
    description: Date and time the record was created
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier for the data source
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Type of data source object (Lead or Contact)
    tests:
    - not_null
  - name: SSOT_FIRST_NAME_C
    description: Person's first name
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Unique identifier from the original data source
    tests:
    - not_null
  - name: SSOT_LAST_MODIFIED_DATE_C
    description: Date and time of last record modification
    tests:
    - not_null
  - name: SSOT_LAST_NAME_C
    description: Person's last name
    tests:
    - not_null
  - name: SSOT_PERSON_NAME_C
    description: Full name of the person
    tests:
    - not_null
  - name: SSOT_PHOTO_URL_C
    description: URL link to person's photo
    cocoon_meta:
      missing_reason: Not all contacts or leads may have a photo.
  - name: SSOT_SALUTATION_C
    description: Formal greeting or title
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_TITLE_NAME_C
    description: Professional or honorific title
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151778_END_C
    description: Unknown relationship end date
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761177549_END_C
    description: Unknown relationship end date
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Unknown identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: REL_1721117983016_END_C
    description: Unknown relationship end date
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_TIMING

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COMM_SUBSCRIPTION_CONSENT_ID UNIT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_TIMING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:34.685864+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_TIMING"

stg_COMM_SUBSCRIPTION_TIMING.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_TIMING
  description: The table is about communication subscription timing. It contains details
    like ID, name, creation date, last modification date, and associated consent ID.
    The table tracks timing units and system metadata. It includes fields for deletion
    status and synchronization with Fivetran. This appears to be part of a larger
    system managing communication subscriptions and consents.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the communication subscription timing
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: COMM_SUBSCRIPTION_CONSENT_ID
    description: ID of the associated communication subscription consent
    tests:
    - not_null
  - name: UNIT
    description: Unit of time for the subscription timing
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PAYMENT_AUTHORIZATION

Table Preview (sample only)

ID IS_DELETED PAYMENT_AUTHORIZATION_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GROUP_ID ACCOUNT_ID DATE_ GATEWAY_DATE EXPIRATION_DATE EFFECTIVE_DATE AMOUNT STATUS PROCESSING_MODE PAYMENT_METHOD_ID COMMENTS GATEWAY_REF_DETAILS GATEWAY_REF_NUMBER GATEWAY_RESULT_CODE SF_RESULT_CODE GATEWAY_AUTH_CODE GATEWAY_RESULT_CODE_DESCRIPTION BALANCE TOTAL_PAYMENT_CAPTURE_AMOUNT IP_ADDRESS MAC_ADDRESS PHONE EMAIL PAYMENT_GATEWAY_ID PAYMENT_INTENT_GUID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_AUTHORIZATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:11:32.931545+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_AUTHORIZATION"

stg_PAYMENT_AUTHORIZATION.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_AUTHORIZATION
  description: The table is about payment authorizations. It includes details like
    authorization number, dates, amounts, and status. It also contains information
    about the payment gateway, account, and payment method. The table tracks creation
    and modification details, as well as system timestamps. It includes fields for
    gateway response codes, results, and reference numbers. Additional fields cover
    IP address, MAC address, phone, and email associated with the authorization.
  columns:
  - name: ID
    description: Unique identifier for the payment authorization
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: PAYMENT_AUTHORIZATION_NUMBER
    description: Unique number assigned to the payment authorization
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: PAYMENT_GROUP_ID
    description: ID of the associated payment group
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: DATE_
    description: Date of the payment authorization
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date recorded by the payment gateway
    tests:
    - not_null
  - name: EXPIRATION_DATE
    description: Expiration date of the payment authorization
    tests:
    - not_null
  - name: EFFECTIVE_DATE
    description: Date when the authorization becomes effective
    tests:
    - not_null
  - name: AMOUNT
    description: Authorized payment amount
    tests:
    - not_null
  - name: STATUS
    description: Current status of the payment authorization
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing for the authorization
    tests:
    - not_null
  - name: PAYMENT_METHOD_ID
    description: ID of the associated payment method
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: GATEWAY_REF_DETAILS
    description: Additional reference details from the gateway
    tests:
    - not_null
  - name: GATEWAY_REF_NUMBER
    description: Reference number provided by the gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code returned by the gateway
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Salesforce result code
    tests:
    - not_null
  - name: GATEWAY_AUTH_CODE
    description: Authorization code provided by the gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of the gateway result code
    tests:
    - not_null
  - name: BALANCE
    description: Remaining balance on the authorization
    tests:
    - not_null
  - name: TOTAL_PAYMENT_CAPTURE_AMOUNT
    description: Total amount captured from this authorization
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address associated with the authorization
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: Unique identifier for device's network interface
    tests:
    - not_null
  - name: PHONE
    description: Contact phone number associated with the authorization
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the authorization
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: Identifier for the payment gateway used
    tests:
    - not_null
  - name: PAYMENT_INTENT_GUID
    description: Globally unique identifier for payment intent
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_ENGMT_CHANNEL_TYPE_SETTINGS

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SETTING_KEY ENGAGEMENT_CHANNEL_TYPE IS_SETTING_ENABLED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ENGMT_CHANNEL_TYPE_SETTINGS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:28.909465+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ENGMT_CHANNEL_TYPE_SETTINGS"

stg_ENGMT_CHANNEL_TYPE_SETTINGS.yml (Document the table)

version: 2
models:
- name: stg_ENGMT_CHANNEL_TYPE_SETTINGS
  description: The table is about settings for engagement channel types. It includes
    fields for identification, naming, creation and modification details, and specific
    settings. The table tracks whether settings are enabled, deleted, and when they
    were last synced. It likely supports configuration of different communication
    channels for customer engagement.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: SETTING_KEY
    description: Unique key for the setting
    tests:
    - not_null
  - name: ENGAGEMENT_CHANNEL_TYPE
    description: Type of engagement channel
    tests:
    - not_null
  - name: IS_SETTING_ENABLED
    description: Flag indicating if the setting is enabled
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific last sync timestamp
    tests:
    - not_null
  tests: []

stg_STAMP

Table Preview (sample only)

ID IS_DELETED PARENT_ID MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_STAMP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:27.722826+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."STAMP"

stg_STAMP.yml (Document the table)

version: 2
models:
- name: stg_STAMP
  description: The table is about stamps or labels. It contains basic metadata fields
    like ID, creation date, and last modified date. The PARENT_ID suggests a hierarchical
    structure. MASTER_LABEL likely represents the main text or name of the stamp.
    The IS_DELETED flag indicates soft delete functionality. DESCRIPTION field allows
    for additional details about each stamp.
  columns:
  - name: ID
    description: Unique identifier for each stamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the stamp is soft-deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent stamp in hierarchy
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Main text or name of the stamp
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the stamp was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the stamp
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the stamp
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: DESCRIPTION
    description: Additional details about the stamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_WORKSPACE_PERMISSION

Table Preview (sample only)

ID NAME TYPE PERMISSIONS_MANAGE_WORKSPACE PERMISSIONS_ADD_CONTENT PERMISSIONS_ADD_CONTENT_OBO PERMISSIONS_ARCHIVE_CONTENT PERMISSIONS_DELETE_CONTENT PERMISSIONS_FEATURE_CONTENT PERMISSIONS_VIEW_COMMENTS PERMISSIONS_ADD_COMMENT PERMISSIONS_MODIFY_COMMENTS PERMISSIONS_TAG_CONTENT PERMISSIONS_DELIVER_CONTENT PERMISSIONS_CHATTER_SHARING PERMISSIONS_ORGANIZE_FILE_AND_FOLDER CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP LAST_MODIFIED_BY_ID DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_WORKSPACE_PERMISSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:15.674162+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_WORKSPACE_PERMISSION"

stg_CONTENT_WORKSPACE_PERMISSION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_WORKSPACE_PERMISSION
  description: The table is about content workspace permissions. It defines different
    roles like Library Administrator, Author, and Viewer. Each role has specific permissions
    for managing workspaces, adding content, archiving, deleting, and organizing files.
    The table includes creation and modification timestamps, user IDs, and a description
    field. It represents a permission management system for content workspaces.
  columns:
  - name: ID
    description: Unique identifier for the permission set
    tests:
    - not_null
  - name: NAME
    description: Name of the permission set or role
    tests:
    - not_null
  - name: TYPE
    description: Type of the permission set (e.g., Admin, Author, Viewer)
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_WORKSPACE
    description: Ability to manage the workspace
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CONTENT
    description: Ability to add content
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CONTENT_OBO
    description: Ability to add content on behalf of others
    tests:
    - not_null
  - name: PERMISSIONS_ARCHIVE_CONTENT
    description: Ability to archive content
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_CONTENT
    description: Ability to delete content
    tests:
    - not_null
  - name: PERMISSIONS_FEATURE_CONTENT
    description: Ability to feature content
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_COMMENTS
    description: Ability to view comments
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COMMENT
    description: Ability to add comments
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_COMMENTS
    description: Ability to modify comments
    tests:
    - not_null
  - name: PERMISSIONS_TAG_CONTENT
    description: Ability to tag content
    tests:
    - not_null
  - name: PERMISSIONS_DELIVER_CONTENT
    description: Ability to deliver content
    tests:
    - not_null
  - name: PERMISSIONS_CHATTER_SHARING
    description: Ability to share via Chatter
    tests:
    - not_null
  - name: PERMISSIONS_ORGANIZE_FILE_AND_FOLDER
    description: Ability to organize files and folders
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the permission set
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the permission set was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the permission set
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the permission set
    cocoon_meta:
      missing_reason: Optional field for additional information about the role.
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EXTERNAL_EVENT_MAPPING

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_ID EVENT_ID START_DATE END_DATE IS_RECURRING _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_EVENT_MAPPING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:18.863185+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_EVENT_MAPPING"

stg_EXTERNAL_EVENT_MAPPING.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_EVENT_MAPPING
  description: The table is about external event mappings. It contains details like
    ID, owner, name, creation and modification dates, external ID, and event ID. It
    also tracks if the event is deleted or recurring. The table includes start and
    end dates for events. It has Fivetran-specific columns for syncing and deletion
    tracking.
  columns:
  - name: ID
    description: Unique identifier for the external event mapping
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this mapping
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the mapping is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the external event mapping
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the mapping was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the mapping
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the mapping
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: Identifier for the event in an external system
    tests:
    - not_null
  - name: EVENT_ID
    description: Identifier for the associated internal event
    tests:
    - not_null
  - name: START_DATE
    description: Start date and time of the event
    tests:
    - not_null
  - name: END_DATE
    description: End date and time of the event
    tests:
    - not_null
  - name: IS_RECURRING
    description: Flag indicating if the event is recurring
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_SHARE

Table Preview (sample only)

ID USER_ID USER_OR_GROUP_ID USER_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:41:53.317034+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_SHARE"

stg_USER_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_SHARE
  description: The table represents a sharing relationship between users or groups.
    It tracks access levels granted to users or groups for specific records. The table
    includes details like the user granting access, the user or group receiving access,
    the access level, and the reason for sharing. It also captures metadata like modification
    dates, active status, and synchronization information.
  columns:
  - name: ID
    description: Unique identifier for the sharing record
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user granting access
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of user or group receiving access
    tests:
    - not_null
  - name: USER_ACCESS_LEVEL
    description: Level of access granted
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for granting access
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the sharing record is active
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag for Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FIVETRAN_PICKLIST_FIELD_VALUE

Table Preview (sample only)

INDEX_ PICKLIST_FIELD_INDEX VALUE_ LABEL _FIVETRAN_SYNCED

stg_FIVETRAN_PICKLIST_FIELD_VALUE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:09.283649+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_PICKLIST_FIELD_VALUE"

stg_FIVETRAN_PICKLIST_FIELD_VALUE.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_PICKLIST_FIELD_VALUE
  description: The table contains picklist field values. Each row represents a value
    for a specific picklist field. The table includes the field index, the value,
    an optional label, and a timestamp for when it was last synced. The data seems
    to be related to various fields like Industry, ConvictionsCount, and MailingCity,
    possibly from a CRM or similar system.
  columns:
  - name: INDEX_
    description: Unique identifier for each row
    tests:
    - not_null
  - name: PICKLIST_FIELD_INDEX
    description: Identifier for the picklist field
    tests:
    - not_null
  - name: VALUE_
    description: Name or identifier of the picklist value
    cocoon_meta:
      missing_reason: Unknown
  - name: LABEL
    description: Optional label for the picklist value
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_LEAD

Table Preview (sample only)

ID IS_DELETED MASTER_RECORD_ID LAST_NAME FIRST_NAME SALUTATION NAME TITLE COMPANY STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY PHONE EMAIL WEBSITE PHOTO_URL DESCRIPTION LEAD_SOURCE STATUS INDUSTRY RATING ANNUAL_REVENUE NUMBER_OF_EMPLOYEES OWNER_ID HAS_OPTED_OUT_OF_EMAIL IS_CONVERTED CONVERTED_DATE CONVERTED_ACCOUNT_ID CONVERTED_CONTACT_ID CONVERTED_OPPORTUNITY_ID IS_UNREAD_BY_OWNER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE JIGSAW JIGSAW_CONTACT_ID EMAIL_BOUNCED_REASON EMAIL_BOUNCED_DATE INDIVIDUAL_ID ACTION_CADENCE_ID ACTION_CADENCE_ASSIGNEE_ID ACTION_CADENCE_STATE SCHEDULED_RESUME_DATE_TIME ACTIVE_TRACKER_COUNT FIRST_CALL_DATE_TIME FIRST_EMAIL_DATE_TIME ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:56.222320+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD"

stg_LEAD.yml (Document the table)

version: 2
models:
- name: stg_LEAD
  description: The table is about sales leads. It contains personal information like
    names and contact details. The table includes business information such as company
    and industry. It tracks lead status, source, and conversion details. The table
    also stores system metadata like creation date and last modification date. Each
    lead has a unique ID and is associated with an owner.
  columns:
  - name: ID
    description: Unique identifier for each lead
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: MASTER_RECORD_ID
    description: ID of the master record if duplicates exist
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_NAME
    description: Lead's last name
    tests:
    - not_null
  - name: FIRST_NAME
    description: Lead's first name
    tests:
    - not_null
  - name: SALUTATION
    description: Formal greeting or title for the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: Full name of the lead
    tests:
    - not_null
  - name: TITLE
    description: Job title of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: COMPANY
    description: Company name associated with the lead
    tests:
    - not_null
  - name: STREET
    description: Street address of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: CITY
    description: City of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: STATE
    description: State or province of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: POSTAL_CODE
    description: Postal or zip code of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: COUNTRY
    description: Country of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: LATITUDE
    description: Latitude coordinate of the lead's location
    cocoon_meta:
      missing_reason: Unknown
  - name: LONGITUDE
    description: Longitude coordinate of the lead's location
    cocoon_meta:
      missing_reason: Unknown
  - name: GEOCODE_ACCURACY
    description: Accuracy level of the geocoded location
    cocoon_meta:
      missing_reason: Unknown
  - name: PHONE
    description: Phone number of the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL
    description: Email address of the lead
    tests:
    - not_null
  - name: WEBSITE
    description: Website associated with the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: PHOTO_URL
    description: URL of the lead's photo
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Additional description or notes about the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: LEAD_SOURCE
    description: Source from which the lead was obtained
    cocoon_meta:
      missing_reason: Unknown
  - name: STATUS
    description: Current status of the lead
    tests:
    - not_null
  - name: INDUSTRY
    description: Industry sector of the lead's company
    cocoon_meta:
      missing_reason: Unknown
  - name: RATING
    description: Rating or score assigned to the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: ANNUAL_REVENUE
    description: Annual revenue of the lead's company
    cocoon_meta:
      missing_reason: Unknown
  - name: NUMBER_OF_EMPLOYEES
    description: Number of employees in the lead's company
    cocoon_meta:
      missing_reason: Unknown
  - name: OWNER_ID
    description: Identifier of the lead owner
    tests:
    - not_null
  - name: HAS_OPTED_OUT_OF_EMAIL
    description: Flag indicating email opt-out status
    tests:
    - not_null
  - name: IS_CONVERTED
    description: Indicates if the lead has been converted
    tests:
    - not_null
  - name: CONVERTED_DATE
    description: Date when the lead was converted
    cocoon_meta:
      missing_reason: Not applicable for unconverted leads
  - name: CONVERTED_ACCOUNT_ID
    description: ID of the account created from lead conversion
    cocoon_meta:
      missing_reason: Not applicable for unconverted leads
  - name: CONVERTED_CONTACT_ID
    description: ID of the contact created from lead conversion
    cocoon_meta:
      missing_reason: Not applicable for unconverted leads
  - name: CONVERTED_OPPORTUNITY_ID
    description: ID of the opportunity created from lead conversion
    cocoon_meta:
      missing_reason: Not applicable for unconverted leads
  - name: IS_UNREAD_BY_OWNER
    description: Indicates if the lead is unread by owner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the lead was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the lead
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the lead
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_ACTIVITY_DATE
    description: Date of the last activity related to lead
    cocoon_meta:
      missing_reason: Not applicable if no activity has occurred yet
  - name: LAST_VIEWED_DATE
    description: Date when the lead was last viewed
    cocoon_meta:
      missing_reason: Not applicable if lead hasn't been viewed yet
  - name: LAST_REFERENCED_DATE
    description: Date when the lead was last referenced
    cocoon_meta:
      missing_reason: Not applicable if lead hasn't been referenced yet
  - name: JIGSAW
    description: Jigsaw (data.com) identifier for the lead
    cocoon_meta:
      missing_reason: Unknown
  - name: JIGSAW_CONTACT_ID
    description: Jigsaw (data.com) contact ID
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL_BOUNCED_REASON
    description: Reason for email bounce, if applicable
    cocoon_meta:
      missing_reason: Not applicable if email hasn't bounced
  - name: EMAIL_BOUNCED_DATE
    description: Date when email bounced, if applicable
    cocoon_meta:
      missing_reason: Not applicable if email hasn't bounced
  - name: INDIVIDUAL_ID
    description: ID of the individual associated with lead
    tests:
    - not_null
  - name: ACTION_CADENCE_ID
    description: ID of the action cadence associated with lead
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTION_CADENCE_ASSIGNEE_ID
    description: ID of the action cadence assignee
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTION_CADENCE_STATE
    description: Current state of the action cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: SCHEDULED_RESUME_DATE_TIME
    description: Scheduled date and time to resume action
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTIVE_TRACKER_COUNT
    description: Number of active trackers for the lead
    tests:
    - not_null
  - name: FIRST_CALL_DATE_TIME
    description: Date and time of the first call
    cocoon_meta:
      missing_reason: Not applicable if no call has been made
  - name: FIRST_EMAIL_DATE_TIME
    description: Date and time of the first email
    cocoon_meta:
      missing_reason: Not applicable if no email has been sent
  - name: ACTIVITY_METRIC_ID
    description: ID of the associated activity metric
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ROLLUP_ID
    description: ID of the activity metric rollup
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_AURA_DEFINITION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AURA_DEFINITION_BUNDLE_ID DEF_TYPE FORMAT SOURCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AURA_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:51.921165+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AURA_DEFINITION"

stg_AURA_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_AURA_DEFINITION
  description: The table is about Aura component definitions in Salesforce. It contains
    details like the definition ID, creation and modification timestamps, associated
    bundle ID, definition type, format, and source code. The table tracks whether
    definitions are deleted and includes system fields for syncing and modification
    tracking. It provides a comprehensive record of Aura component definitions and
    their metadata.
  columns:
  - name: ID
    description: Unique identifier for the Aura definition
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the definition is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the definition was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the definition
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the definition
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: AURA_DEFINITION_BUNDLE_ID
    description: ID of the associated Aura bundle
    tests:
    - not_null
  - name: DEF_TYPE
    description: Type of the Aura definition
    tests:
    - not_null
  - name: FORMAT
    description: Format of the Aura definition
    tests:
    - not_null
  - name: SOURCE
    description: Source code of the Aura definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_LEAD_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:04.434261+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD_TAG"

stg_LEAD_TAG.yml (Document the table)

version: 2
models:
- name: stg_LEAD_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TABLEAU_HOST_MAPPING_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TABLEAU_HOST_MAPPING_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:03.890656+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TABLEAU_HOST_MAPPING_SHARE"

stg_TABLEAU_HOST_MAPPING_SHARE.yml (Document the table)

version: 2
models:
- name: stg_TABLEAU_HOST_MAPPING_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PAYMENT_METHOD

Table Preview (sample only)

ID IMPLEMENTOR_TYPE ACCOUNT_ID NICK_NAME COMPANY_NAME STATUS COMMENTS IS_AUTO_PAY_ENABLED PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP IS_DELETED NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_METHOD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:13:24.795283+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_METHOD"

stg_PAYMENT_METHOD.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_METHOD
  description: The table is about payment methods. It includes details like ID, account
    ID, nickname, company name, status, and auto-pay settings. It stores address information
    for the payment method, including street, city, state, postal code, country, and
    geocoding data. The table also captures the type and subtype of payment method,
    along with creation and modification timestamps. It tracks whether the payment
    method is deleted and includes system metadata.
  columns:
  - name: ID
    description: Unique identifier for the payment method
    tests:
    - not_null
  - name: IMPLEMENTOR_TYPE
    description: Type of entity implementing the payment method
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Identifier of the associated account
    tests:
    - not_null
  - name: NICK_NAME
    description: User-friendly name for the payment method
    tests:
    - not_null
  - name: COMPANY_NAME
    description: Name of the company associated with the payment method
    tests:
    - not_null
  - name: STATUS
    description: Current status of the payment method
    tests:
    - not_null
  - name: COMMENTS
    description: Additional notes or remarks
    tests:
    - not_null
  - name: IS_AUTO_PAY_ENABLED
    description: Indicates if automatic payments are enabled
    tests:
    - not_null
  - name: PAYMENT_METHOD_STREET
    description: Street address for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_CITY
    description: City for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_STATE
    description: State or province for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_POSTAL_CODE
    description: Postal code for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_COUNTRY
    description: Country for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_LATITUDE
    description: Latitude coordinate of the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_LONGITUDE
    description: Longitude coordinate of the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_GEOCODE_ACCURACY
    description: Accuracy level of the geocoded address
    tests:
    - not_null
  - name: PAYMENT_METHOD_TYPE
    description: Primary classification of the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_SUB_TYPE
    description: Secondary classification of the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_DETAILS
    description: Additional details about the payment method
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of record creation
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the payment method
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OPERATING_HOURS

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION TIME_ZONE OPERATING_HOURS_ROW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPERATING_HOURS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:59.204068+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPERATING_HOURS"

stg_OPERATING_HOURS.yml (Document the table)

version: 2
models:
- name: stg_OPERATING_HOURS
  description: The table is about operating hours. It includes details like ID, owner,
    name, time zone, and type. The table tracks creation and modification dates. It
    also stores whether the record is deleted and when it was last synced. The operating
    hours seem to be associated with sales activities based on the name and type fields.
  columns:
  - name: ID
    description: Unique identifier for the operating hours record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the operating hours record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the operating hours
    cocoon_meta:
      missing_reason: Optional field for additional information about operating hours.
  - name: TIME_ZONE
    description: Time zone for the operating hours
    tests:
    - not_null
  - name: OPERATING_HOURS_ROW_TYPE
    description: Type of operating hours (e.g., Sales)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CAMPAIGN_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CAMPAIGN_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:13.609010+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CAMPAIGN_TAG"

stg_CAMPAIGN_TAG.yml (Document the table)

version: 2
models:
- name: stg_CAMPAIGN_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TASK_WHO_RELATION

Table Preview (sample only)

ID RELATION_ID TASK_ID ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK_WHO_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:03.366033+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK_WHO_RELATION"

stg_TASK_WHO_RELATION.yml (Document the table)

version: 2
models:
- name: stg_TASK_WHO_RELATION
  description: The table represents a relation between tasks and accounts. It links
    task IDs to account IDs, indicating who is associated with or responsible for
    specific tasks. The table includes creation and modification timestamps, user
    IDs for tracking changes, and a type field to categorize the relationship. It
    also has fields for soft deletion and syncing with an external system (Fivetran).
  columns:
  - name: ID
    description: Unique identifier for the relation record
    tests:
    - not_null
  - name: RELATION_ID
    description: Identifier for the specific relation
    tests:
    - not_null
  - name: TASK_ID
    description: Identifier of the associated task
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Identifier of the associated account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Categorization of the task-account relationship
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag for Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_BUSINESS_HOURS

Table Preview (sample only)

ID NAME IS_ACTIVE IS_DEFAULT SUNDAY_START_TIME SUNDAY_END_TIME MONDAY_START_TIME MONDAY_END_TIME TUESDAY_START_TIME TUESDAY_END_TIME WEDNESDAY_START_TIME WEDNESDAY_END_TIME THURSDAY_START_TIME THURSDAY_END_TIME FRIDAY_START_TIME FRIDAY_END_TIME SATURDAY_START_TIME SATURDAY_END_TIME TIME_ZONE_SID_KEY SYSTEM_MODSTAMP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID LAST_VIEWED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BUSINESS_HOURS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:59.753152+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BUSINESS_HOURS"

stg_BUSINESS_HOURS.yml (Document the table)

version: 2
models:
- name: stg_BUSINESS_HOURS
  description: The table is about business hours for an organization. It contains
    start and end times for each day of the week. The table includes fields for ID,
    name, active status, default status, and time zone. It also tracks creation and
    modification details. Each record represents a set of business hours that can
    be applied to different parts of the organization.
  columns:
  - name: ID
    description: Unique identifier for the business hours record
    tests:
    - not_null
  - name: NAME
    description: Name of the business hours set
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the business hours are currently active
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default business hours set
    tests:
    - not_null
  - name: SUNDAY_START_TIME
    description: Start time for Sunday business hours
    tests:
    - not_null
  - name: SUNDAY_END_TIME
    description: End time for Sunday business hours
    tests:
    - not_null
  - name: MONDAY_START_TIME
    description: Start time for Monday business hours
    tests:
    - not_null
  - name: MONDAY_END_TIME
    description: End time for Monday business hours
    tests:
    - not_null
  - name: TUESDAY_START_TIME
    description: Start time for Tuesday business hours
    tests:
    - not_null
  - name: TUESDAY_END_TIME
    description: End time for Tuesday business hours
    tests:
    - not_null
  - name: WEDNESDAY_START_TIME
    description: Start time for Wednesday business hours
    tests:
    - not_null
  - name: WEDNESDAY_END_TIME
    description: End time for Wednesday business hours
    tests:
    - not_null
  - name: THURSDAY_START_TIME
    description: Start time for Thursday business hours
    tests:
    - not_null
  - name: THURSDAY_END_TIME
    description: End time for Thursday business hours
    tests:
    - not_null
  - name: FRIDAY_START_TIME
    description: Start time for Friday business hours
    tests:
    - not_null
  - name: FRIDAY_END_TIME
    description: End time for Friday business hours
    tests:
    - not_null
  - name: SATURDAY_START_TIME
    description: Start time for Saturday business hours
    tests:
    - not_null
  - name: SATURDAY_END_TIME
    description: End time for Saturday business hours
    tests:
    - not_null
  - name: TIME_ZONE_SID_KEY
    description: Time zone for the business hours
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    cocoon_meta:
      missing_reason: New or never viewed records haven't been viewed yet.
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FIVETRAN_QUERY

Table Preview (sample only)

ID START DONE SOURCE_OBJECT SOURCE_API MODIFIED_FIELD MODIFIED_SINCE_INCLUSIVE QUERY MERGE_MODE ROWS_UPDATED_OR_INSERTED _FIVETRAN_SYNCED

stg_FIVETRAN_QUERY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:23.372732+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_QUERY"

stg_FIVETRAN_QUERY.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_QUERY
  description: The table is about Fivetran queries. It contains information on query
    execution, including unique IDs, start and end times, source objects and APIs,
    modified fields, query strings, and results. Each row represents a single query
    operation, with details on what data was queried, when it was run, and how many
    rows were affected. The table tracks system synchronization for various Salesforce
    objects.
  columns:
  - name: ID
    description: Unique identifier for the query operation
    tests:
    - not_null
  - name: START
    description: Start time of the query execution
    tests:
    - not_null
  - name: DONE
    description: Completion time of the query execution
    tests:
    - not_null
  - name: SOURCE_OBJECT
    description: Salesforce object being queried
    tests:
    - not_null
  - name: SOURCE_API
    description: API used for querying the data
    tests:
    - not_null
  - name: MODIFIED_FIELD
    description: Field used to track modifications
    cocoon_meta:
      missing_reason: Unknown
  - name: MODIFIED_SINCE_INCLUSIVE
    description: Timestamp for filtering modified records
    tests:
    - not_null
  - name: QUERY
    description: SQL query string used for data retrieval
    tests:
    - not_null
  - name: MERGE_MODE
    description: Mode of merging data (e.g., Replace)
    tests:
    - not_null
  - name: ROWS_UPDATED_OR_INSERTED
    description: Number of rows affected by the query
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_APEX_LOG

Table Preview (sample only)

ID LOG_USER_ID LOG_LENGTH LAST_MODIFIED_DATE REQUEST OPERATION APPLICATION STATUS DURATION_MILLISECONDS SYSTEM_MODSTAMP START_TIME LOCATION REQUEST_IDENTIFIER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APEX_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:01.965838+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APEX_LOG"

stg_APEX_LOG.yml (Document the table)

version: 2
models:
- name: stg_APEX_LOG
  description: The table is about application or system logs. It contains details
    of each log entry, including user ID, log length, request details, operation type,
    application name, status, duration, start time, and location. The table also includes
    system metadata like last modified date, system timestamp, and request identifier.
    It appears to be used for tracking and analyzing application or system activities
    and performance.
  columns:
  - name: ID
    description: Unique identifier for each log entry
    tests:
    - not_null
  - name: LOG_USER_ID
    description: User identifier associated with the log entry
    tests:
    - not_null
  - name: LOG_LENGTH
    description: Length or size of the log entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: REQUEST
    description: Details of the request made
    tests:
    - not_null
  - name: OPERATION
    description: Type of operation performed
    tests:
    - not_null
  - name: APPLICATION
    description: Name of the application involved
    tests:
    - not_null
  - name: STATUS
    description: Current status of the log entry
    tests:
    - not_null
  - name: DURATION_MILLISECONDS
    description: Duration of the operation in milliseconds
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the log entry
    tests:
    - not_null
  - name: START_TIME
    description: Start time of the operation
    tests:
    - not_null
  - name: LOCATION
    description: Location where the operation occurred
    tests:
    - not_null
  - name: REQUEST_IDENTIFIER
    description: Unique identifier for the request
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if entry was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AUTHORIZATION_FORM_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTHORIZATION_FORM_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:40.008673+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTHORIZATION_FORM_SHARE"

stg_AUTHORIZATION_FORM_SHARE.yml (Document the table)

version: 2
models:
- name: stg_AUTHORIZATION_FORM_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_ADDRESS_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_ADDRESS_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:14:51.219585+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_ADDRESS_SHARE"

stg_CONTACT_POINT_ADDRESS_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_ADDRESS_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AUTHORIZATION_FORM_DATA_USE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTHORIZATION_FORM_DATA_USE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:38.937078+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTHORIZATION_FORM_DATA_USE_SHARE"

stg_AUTHORIZATION_FORM_DATA_USE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_AUTHORIZATION_FORM_DATA_USE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_APEX_PAGE

Table Preview (sample only)

ID NAMESPACE_PREFIX NAME API_VERSION MASTER_LABEL DESCRIPTION CONTROLLER_TYPE CONTROLLER_KEY IS_AVAILABLE_IN_TOUCH IS_CONFIRMATION_TOKEN_REQUIRED MARKUP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APEX_PAGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:09.960073+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APEX_PAGE"

stg_APEX_PAGE.yml (Document the table)

version: 2
models:
- name: stg_APEX_PAGE
  description: The table is about Apex pages. It contains details such as page ID,
    namespace, name, API version, and labels. The table tracks page creation and modification
    dates, controller information, and availability in touch interfaces. It also includes
    system fields for tracking changes and synchronization status.
  columns:
  - name: ID
    description: Unique identifier for the Apex page
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the page
    tests:
    - not_null
  - name: NAME
    description: Name of the Apex page
    tests:
    - not_null
  - name: API_VERSION
    description: API version used for the page
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the page
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the Apex page
    tests:
    - not_null
  - name: CONTROLLER_TYPE
    description: Type of controller used for the page
    tests:
    - not_null
  - name: CONTROLLER_KEY
    description: Key for the page controller
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_TOUCH
    description: Indicates if page is available in touch interface
    tests:
    - not_null
  - name: IS_CONFIRMATION_TOKEN_REQUIRED
    description: Indicates if confirmation token is required
    tests:
    - not_null
  - name: MARKUP
    description: Markup content of the page
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the page was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the page
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the page
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the page
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_INDIVIDUAL_SHARE

Table Preview (sample only)

ID INDIVIDUAL_ID USER_OR_GROUP_ID INDIVIDUAL_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_INDIVIDUAL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:27.868759+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."INDIVIDUAL_SHARE"

stg_INDIVIDUAL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_INDIVIDUAL_SHARE
  description: The table is about sharing access to Individual records. It relates
    Individual records to Users or Groups. Each row defines an access level granted
    to a User/Group for an Individual. It tracks who modified the sharing, when, and
    if it's been deleted. The table supports a custom sharing model for Individual
    objects.
  columns:
  - name: ID
    description: Unique identifier for the sharing record
    tests:
    - not_null
  - name: INDIVIDUAL_ID
    description: ID of the Individual record being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the User or Group granted access
    tests:
    - not_null
  - name: INDIVIDUAL_ACCESS_LEVEL
    description: Level of access granted (e.g., Read, Edit)
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason or source for this sharing record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AUTHORIZATION_FORM

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE REVISION_NUMBER EFFECTIVE_FROM_DATE EFFECTIVE_TO_DATE DEFAULT_AUTH_FORM_TEXT_ID IS_SIGNATURE_REQUIRED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTHORIZATION_FORM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:20.524002+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTHORIZATION_FORM"

stg_AUTHORIZATION_FORM.yml (Document the table)

version: 2
models:
- name: stg_AUTHORIZATION_FORM
  description: The table is about authorization forms. It contains details such as
    form ID, owner, name, creation and modification dates, effective dates, and revision
    number. The table tracks if the form is deleted, if a signature is required, and
    links to default text. It also includes system fields for tracking views and references.
  columns:
  - name: ID
    description: Unique identifier for the authorization form
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this form
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the form is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the authorization form
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the form was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the form
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the form
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the form was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the form was last referenced
    tests:
    - not_null
  - name: REVISION_NUMBER
    description: Version number of the form
    tests:
    - not_null
  - name: EFFECTIVE_FROM_DATE
    description: Date from which the form becomes effective
    tests:
    - not_null
  - name: EFFECTIVE_TO_DATE
    description: Date until which the form remains effective
    tests:
    - not_null
  - name: DEFAULT_AUTH_FORM_TEXT_ID
    description: ID of the default text for this form
    tests:
    - not_null
  - name: IS_SIGNATURE_REQUIRED
    description: Flag indicating if a signature is required
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_ACTION_TARGET

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE TARGET_STATUS LAST_TARGET_STATUS_ERROR_CODE LAST_TARGET_STATUS_DATE_TIME LAST_SIGNING_KEY_DATE_TIME TARGET_TYPE TARGET_ENDPOINT TARGET_API_NAME API_CONTRACT MANAGED_BY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ACTION_TARGET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:35.323402+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ACTION_TARGET"

stg_DATA_ACTION_TARGET.yml (Document the table)

version: 2
models:
- name: stg_DATA_ACTION_TARGET
  description: The table is about data action targets. It contains details like target
    ID, owner, name, creation and modification dates, target status, endpoint, API
    name, and type. The table tracks the status of data targets, including errors
    and last status update times. It also includes information on signing keys and
    API contracts. This seems to be used for managing and monitoring data integration
    or API connections.
  columns:
  - name: ID
    description: Unique identifier for the data action target
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this target
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the target is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data action target
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the target was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the target
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the target
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the target was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the target was last referenced
    tests:
    - not_null
  - name: TARGET_STATUS
    description: Current status of the target
    tests:
    - not_null
  - name: LAST_TARGET_STATUS_ERROR_CODE
    description: Error code from the last status check
    tests:
    - not_null
  - name: LAST_TARGET_STATUS_DATE_TIME
    description: Timestamp of the last status check
    tests:
    - not_null
  - name: LAST_SIGNING_KEY_DATE_TIME
    description: Timestamp of the last signing key update
    tests:
    - not_null
  - name: TARGET_TYPE
    description: Type of the data action target
    tests:
    - not_null
  - name: TARGET_ENDPOINT
    description: Endpoint URL for the target
    tests:
    - not_null
  - name: TARGET_API_NAME
    description: API name for the target
    tests:
    - not_null
  - name: API_CONTRACT
    description: Contract details for the API
    tests:
    - not_null
  - name: MANAGED_BY
    description: Entity managing this target
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_LEAD_STATUS

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CONVERTED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:03.640850+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD_STATUS"

stg_LEAD_STATUS.yml (Document the table)

version: 2
models:
- name: stg_LEAD_STATUS
  description: The table is about lead statuses. It contains different stages of a
    lead's lifecycle. Each status has an ID, label, API name, and sort order. The
    table indicates which status is the default and which represents conversion. It
    includes creation and modification timestamps. The statuses are New, Contacted,
    Nurturing, Qualified, and Unqualified.
  columns:
  - name: ID
    description: Unique identifier for each lead status
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the lead status
    tests:
    - not_null
  - name: API_NAME
    description: Name used in API interactions
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numeric order for displaying statuses
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default status
    tests:
    - not_null
  - name: IS_CONVERTED
    description: Indicates if this status represents conversion
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the status
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of status creation
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the status
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CORS_WHITELIST_ENTRY

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL_PATTERN _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CORS_WHITELIST_ENTRY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:29.058970+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CORS_WHITELIST_ENTRY"

stg_CORS_WHITELIST_ENTRY.yml (Document the table)

version: 2
models:
- name: stg_CORS_WHITELIST_ENTRY
  description: The table is about CORS whitelist entries. It stores URL patterns allowed
    for cross-origin requests. Each entry has an ID, developer name, language, label,
    and namespace prefix. The table tracks creation and modification details. It includes
    a URL pattern for each entry. The table helps manage and control which external
    domains can access resources on a server.
  columns:
  - name: ID
    description: Unique identifier for each CORS whitelist entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the entry
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the entry
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the entry
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: URL_PATTERN
    description: Allowed URL pattern for cross-origin requests
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TASK_RELATION

Table Preview (sample only)

ID RELATION_ID TASK_ID IS_WHAT ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:54.539651+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK_RELATION"

stg_TASK_RELATION.yml (Document the table)

version: 2
models:
- name: stg_TASK_RELATION
  description: The table is about task relations. It links tasks to other entities
    through RELATION_ID and TASK_ID. The IS_WHAT field likely specifies the type of
    relation. It includes account association, creation and modification details,
    and system timestamps. The table tracks deletion status and syncing information,
    possibly for integration purposes.
  columns:
  - name: ID
    description: Unique identifier for the task relation
    tests:
    - not_null
  - name: RELATION_ID
    description: ID of the entity related to the task
    tests:
    - not_null
  - name: TASK_ID
    description: Unique identifier of the associated task
    tests:
    - not_null
  - name: IS_WHAT
    description: Specifies the type of relation
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account associated with the relation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the relation was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the relation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the relation
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates whether the relation is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_RECORD_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:40.579909+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD_SHARE"

stg_FLOW_RECORD_SHARE.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_ARTICLE_VIEW_STAT

Table Preview (sample only)

ID IS_DELETED PARENT_ID NORMALIZED_SCORE CHANNEL VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_ARTICLE_VIEW_STAT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:00.434784+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_ARTICLE_VIEW_STAT"

stg_KNOWLEDGE_ARTICLE_VIEW_STAT.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_ARTICLE_VIEW_STAT
  description: KNOWLEDGE_ARTICLE_VIEW_STAT tracks views for specific articles. It
    includes view counts and channels. KNOWLEDGE_VIEW_STAT likely contains overall
    view statistics. Both partitions focus on knowledge article engagement. They may
    track different levels of detail for article views.
  columns:
  - name: ID
    description: Unique identifier for the view statistic entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent knowledge article
    tests:
    - not_null
  - name: NORMALIZED_SCORE
    description: Adjusted score for the article view
    tests:
    - not_null
  - name: CHANNEL
    description: Distribution channel for the knowledge article
    tests:
    - not_null
  - name: VIEW_COUNT
    description: Number of views for the knowledge article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for sync purposes
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_EMAIL_DOMAIN_FILTER

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRIORITY_NUMBER EMAIL_RELAY_ID TO_DOMAIN FROM_DOMAIN IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_DOMAIN_FILTER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:46.995141+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_DOMAIN_FILTER"

stg_EMAIL_DOMAIN_FILTER.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_DOMAIN_FILTER
  description: The table is about email domain filters. It contains details of filter
    rules for email relays. Each rule has a priority, email relay ID, and domains
    for filtering. The table tracks creation and modification dates, associated user
    IDs, and whether the rule is active or deleted. It includes system fields for
    modification tracking and data syncing.
  columns:
  - name: ID
    description: Unique identifier for the email domain filter rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the rule has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: PRIORITY_NUMBER
    description: Priority order of the filter rule
    tests:
    - not_null
  - name: EMAIL_RELAY_ID
    description: ID of the associated email relay
    tests:
    - not_null
  - name: TO_DOMAIN
    description: Recipient domain for filtering
    tests:
    - not_null
  - name: FROM_DOMAIN
    description: Sender domain for filtering
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the rule is currently active
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking field
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_EMAIL_PREFERRED_PERSON_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_EMAIL_PREFERRED_PERSON_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:28.821665+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_EMAIL_PREFERRED_PERSON_SHARE"

stg_USER_EMAIL_PREFERRED_PERSON_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_EMAIL_PREFERRED_PERSON_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_WEAVE_RESOURCE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX IS_PROTECTED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTENT_TYPE API_VERSION BODY_LENGTH IS_GLOBAL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_WEAVE_RESOURCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:54.431333+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_WEAVE_RESOURCE"

stg_DATA_WEAVE_RESOURCE.yml (Document the table)

version: 2
models:
- name: stg_DATA_WEAVE_RESOURCE
  description: The table is about Data Weave resources. It contains metadata for these
    resources such as ID, developer name, language, and creation details. The table
    tracks if the resource is deleted, protected, or global. It also stores information
    about the resource content, including content type, API version, and body length.
    Audit fields capture creation and modification timestamps.
  columns:
  - name: ID
    description: Unique identifier for the Data Weave resource
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the resource has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the resource used by developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Programming language of the resource
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name or label of the resource
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the resource
    tests:
    - not_null
  - name: IS_PROTECTED
    description: Indicates if the resource is protected
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the resource was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the resource
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the resource
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: CONTENT_TYPE
    description: Type of content in the resource
    tests:
    - not_null
  - name: API_VERSION
    description: Version of the API used by the resource
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Length of the resource's body content
    tests:
    - not_null
  - name: IS_GLOBAL
    description: Indicates if the resource is globally accessible
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_STATIC_RESOURCE

Table Preview (sample only)

ID NAMESPACE_PREFIX NAME CONTENT_TYPE BODY_LENGTH DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CACHE_CONTROL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_STATIC_RESOURCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:54.666721+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."STATIC_RESOURCE"

stg_STATIC_RESOURCE.yml (Document the table)

version: 2
models:
- name: stg_STATIC_RESOURCE
  description: The table is about static resources. It contains details like ID, namespace
    prefix, name, content type, and body length. It also includes creation and modification
    information such as created date, created by ID, last modified date, and last
    modified by ID. The table tracks system metadata like system modstamp and cache
    control. It likely supports versioning or syncing with fields for deletion status
    and sync timestamp.
  columns:
  - name: ID
    description: Unique identifier for the static resource
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the namespace of the resource
    tests:
    - not_null
  - name: NAME
    description: Name of the static resource
    tests:
    - not_null
  - name: CONTENT_TYPE
    description: MIME type of the resource content
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Size of the resource content in bytes
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the static resource
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the resource was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the resource
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the resource
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: CACHE_CONTROL
    description: Cache control settings for the resource
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the resource is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_ACCOUNT_CONTACT_DLM

Table Preview (sample only)

ID SSOT_ACCOUNT_ID_C SSOT_ASSISTANT_NAME_C SSOT_ASSISTANT_PHONE_C SSOT_BUSINESS_PHONE_ID_C SSOT_CONTACT_EMAIL_ID_C SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DEPARTMENT_NAME_C SSOT_ID_C SSOT_INDIVIDUAL_ID_C SSOT_LAST_ACTIVITY_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_MAILING_ADDRESS_ID_C SSOT_TITLE_C SSOT_REL_1697761149145_END_C SSOT_REL_1697761149229_END_C SSOT_REL_1697761149291_END_C SSOT_REL_1697761149351_END_C SSOT_REL_1697761149412_END_C SSOT_REL_1697761149477_END_C SSOT_REL_1697761149538_END_C SSOT_REL_1697761150912_END_C SSOT_REL_1697761150977_END_C SSOT_REL_1697761151043_END_C SSOT_REL_1697761151114_END_C SSOT_REL_1697761151188_END_C SSOT_REL_1697761151256_END_C SSOT_REL_1697761151561_END_C SSOT_REL_1697761157941_END_C SSOT_REL_1697761158007_END_C SSOT_REL_1697761161232_END_C SSOT_REL_1697761162520_END_C SSOT_REL_1697761162597_END_C SSOT_REL_1697761162666_END_C SSOT_REL_1697761162737_END_C SSOT_REL_1697761175711_END_C SSOT_REL_1697761221041_END_C SSOT_REL_1697761222934_END_C KQ_ID_C KQ_BUSINESS_PHONE_ID_C KQ_CONTACT_EMAIL_ID_C KQ_INDIVIDUAL_ID_C KQ_MAILING_ADDRESS_ID_C KQ_ACCOUNT_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_ACCOUNT_CONTACT_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:28:38.343322+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_ACCOUNT_CONTACT_DLM"

stg_SSOT_ACCOUNT_CONTACT_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_ACCOUNT_CONTACT_DLM
  description: The table is about contact details. It includes unique identifiers,
    account associations, and contact information like phone numbers and email addresses.
    The table also stores metadata such as creation dates, data sources, and last
    modification dates. There are numerous empty fields with "REL" in their names,
    suggesting potential for additional relationships or data. The table appears to
    be synced from an external system, likely Salesforce.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: SSOT_ACCOUNT_ID_C
    description: Associated account identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ASSISTANT_NAME_C
    description: Name of the assistant
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ASSISTANT_PHONE_C
    description: Phone number of the assistant
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_BUSINESS_PHONE_ID_C
    description: Business phone identifier
    tests:
    - not_null
  - name: SSOT_CONTACT_EMAIL_ID_C
    description: Contact email identifier
    tests:
    - not_null
  - name: SSOT_CREATED_DATE_C
    description: Date and time the record was created
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier of the data source
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object type in the data source
    tests:
    - not_null
  - name: SSOT_DEPARTMENT_NAME_C
    description: Name of the department
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_ID_C
    description: Another identifier, possibly from source system
    tests:
    - not_null
  - name: SSOT_INDIVIDUAL_ID_C
    description: Unique identifier for the individual
    tests:
    - not_null
  - name: SSOT_LAST_ACTIVITY_DATE_C
    description: Date of the last activity
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LAST_MODIFIED_DATE_C
    description: Date and time of last modification
    tests:
    - not_null
  - name: SSOT_MAILING_ADDRESS_ID_C
    description: Identifier for the mailing address
    tests:
    - not_null
  - name: SSOT_TITLE_C
    description: Job title of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149145_END_C
    description: Relationship field 1
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149229_END_C
    description: Relationship field 2
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149291_END_C
    description: Relationship field 3
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149351_END_C
    description: Relationship field 4
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149412_END_C
    description: Relationship field 5
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149477_END_C
    description: Relationship field 6
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761149538_END_C
    description: Relationship field 7
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761150912_END_C
    description: Relationship field 8
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761150977_END_C
    description: Relationship field 9
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151043_END_C
    description: Relationship field 10
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151114_END_C
    description: Relationship field 11
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151188_END_C
    description: Relationship field 12
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151256_END_C
    description: Relationship field 13
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761151561_END_C
    description: Relationship field 14
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761157941_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761158007_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761161232_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162520_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162597_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162666_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761162737_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761175711_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761221041_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761222934_END_C
    description: Placeholder for potential relationship data
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Unique identifier for the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_BUSINESS_PHONE_ID_C
    description: Identifier for business phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_CONTACT_EMAIL_ID_C
    description: Identifier for contact email address
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_INDIVIDUAL_ID_C
    description: Identifier for individual associated with contact
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_MAILING_ADDRESS_ID_C
    description: Identifier for mailing address
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ACCOUNT_ID_C
    description: Identifier for associated account
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last sync with Fivetran
    tests:
    - not_null
  tests: []

stg_CONTENT_WORKSPACE_MEMBER

Table Preview (sample only)

ID CONTENT_WORKSPACE_ID CONTENT_WORKSPACE_PERMISSION_ID MEMBER_ID MEMBER_TYPE CREATED_BY_ID CREATED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_WORKSPACE_MEMBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:01.684788+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_WORKSPACE_MEMBER"

stg_CONTENT_WORKSPACE_MEMBER.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_WORKSPACE_MEMBER
  description: The table represents the relationship between content workspaces, members,
    and permissions. It tracks who has access to which content workspace and with
    what level of permission. The table includes unique IDs, workspace IDs, permission
    IDs, member IDs, member types, creation details, and data syncing information.
    It appears to be a junction table linking members to workspaces with specific
    permissions.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: CONTENT_WORKSPACE_ID
    description: Identifier for the content workspace
    tests:
    - not_null
  - name: CONTENT_WORKSPACE_PERMISSION_ID
    description: Identifier for the permission level
    tests:
    - not_null
  - name: MEMBER_ID
    description: Identifier for the member
    tests:
    - not_null
  - name: MEMBER_TYPE
    description: Type of member (e.g., user, group)
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_UNIFIED_CONTACT_POINT_PHONE_DLM

Table Preview (sample only)

ID SSOT_ID_C SSOT_FORMATTED_E_164_PHONE_NUMBER_C SSOT_TELEPHONE_NUMBER_C SSOT_PARTY_ID_C REL_1721117988913_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UNIFIED_CONTACT_POINT_PHONE_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:34:48.311194+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UNIFIED_CONTACT_POINT_PHONE_DLM"

stg_UNIFIED_CONTACT_POINT_PHONE_DLM.yml (Document the table)

version: 2
models:
- name: stg_UNIFIED_CONTACT_POINT_PHONE_DLM
  description: The table is about unified contact point phone details. It contains
    unique identifiers (ID and SSOT_ID_C), phone-related fields (formatted and unformatted
    numbers), and a party ID. The table also includes metadata fields for deletion
    status and synchronization timestamp. Most phone-related fields are empty in the
    sample data, suggesting incomplete or pending information.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Single Source of Truth ID for the contact
    tests:
    - not_null
  - name: SSOT_FORMATTED_E_164_PHONE_NUMBER_C
    description: Formatted phone number in E.164 standard
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_TELEPHONE_NUMBER_C
    description: Unformatted telephone number
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PARTY_ID_C
    description: Unique identifier for the associated party
    tests:
    - not_null
  - name: REL_1721117988913_END_C
    description: End date for a specific relationship
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CARD_PAYMENT_METHOD

Table Preview (sample only)

ID IS_DELETED CARD_PAYMENT_METHOD_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DISPLAY_CARD_NUMBER EXPIRY_MONTH EXPIRY_YEAR START_MONTH START_YEAR CARD_TYPE CARD_TYPE_CATEGORY AUTO_CARD_TYPE CARD_CATEGORY ACCOUNT_ID PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY NICK_NAME CARD_HOLDER_NAME CARD_BIN CARD_LAST_FOUR EMAIL COMMENTS STATUS INPUT_CARD_NUMBER CARD_HOLDER_FIRST_NAME CARD_HOLDER_LAST_NAME COMPANY_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS PAYMENT_GATEWAY_ID PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION SF_RESULT_CODE GATEWAY_DATE GATEWAY_TOKEN_ENCRYPTED IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CARD_PAYMENT_METHOD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:34.062211+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CARD_PAYMENT_METHOD"

stg_CARD_PAYMENT_METHOD.yml (Document the table)

version: 2
models:
- name: stg_CARD_PAYMENT_METHOD
  description: The table is about card payment methods. It contains details like card
    number, expiry date, card type, and cardholder information. The table also includes
    billing address, payment gateway details, and status of the card. It stores information
    about when the record was created or modified. The table likely supports payment
    processing and management for an organization's financial system.
  columns:
  - name: ID
    description: Unique identifier for the card payment method
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CARD_PAYMENT_METHOD_NUMBER
    description: Masked or encrypted card number
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: DISPLAY_CARD_NUMBER
    description: Partially masked card number for display
    tests:
    - not_null
  - name: EXPIRY_MONTH
    description: Expiration month of the card
    tests:
    - not_null
  - name: EXPIRY_YEAR
    description: Expiration year of the card
    tests:
    - not_null
  - name: START_MONTH
    description: Start month for card validity
    tests:
    - not_null
  - name: START_YEAR
    description: Start year for card validity
    tests:
    - not_null
  - name: CARD_TYPE
    description: Type of card (e.g., Visa, MasterCard)
    tests:
    - not_null
  - name: CARD_TYPE_CATEGORY
    description: Category of the card type
    tests:
    - not_null
  - name: AUTO_CARD_TYPE
    description: Automatically determined card type
    tests:
    - not_null
  - name: CARD_CATEGORY
    description: Category of the card (e.g., credit, debit)
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: PAYMENT_METHOD_STREET
    description: Street address for billing
    tests:
    - not_null
  - name: PAYMENT_METHOD_CITY
    description: City for billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_STATE
    description: State or province for billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_POSTAL_CODE
    description: Postal code for billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_COUNTRY
    description: Country for billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_LATITUDE
    description: Latitude of the billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_LONGITUDE
    description: Longitude of the billing address
    tests:
    - not_null
  - name: PAYMENT_METHOD_GEOCODE_ACCURACY
    description: Accuracy of the geocoded billing address
    tests:
    - not_null
  - name: NICK_NAME
    description: User-defined nickname for the card
    tests:
    - not_null
  - name: CARD_HOLDER_NAME
    description: Name of the cardholder
    tests:
    - not_null
  - name: CARD_BIN
    description: First 6 digits of card number
    tests:
    - not_null
  - name: CARD_LAST_FOUR
    description: Last 4 digits of card number
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the card
    tests:
    - not_null
  - name: COMMENTS
    description: Additional notes or remarks
    tests:
    - not_null
  - name: STATUS
    description: Current status of the card
    tests:
    - not_null
  - name: INPUT_CARD_NUMBER
    description: Full card number input by user
    tests:
    - not_null
  - name: CARD_HOLDER_FIRST_NAME
    description: First name of the cardholder
    tests:
    - not_null
  - name: CARD_HOLDER_LAST_NAME
    description: Last name of the cardholder
    tests:
    - not_null
  - name: COMPANY_NAME
    description: Name of the company if applicable
    tests:
    - not_null
  - name: GATEWAY_TOKEN
    description: Unique identifier for payment gateway
    tests:
    - not_null
  - name: GATEWAY_TOKEN_DETAILS
    description: Additional details about the gateway token
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: Identifier for the payment gateway
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing the payment
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address of the device used
    tests:
    - not_null
  - name: PHONE
    description: Phone number associated with the card
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address used for the transaction
    tests:
    - not_null
  - name: AUDIT_EMAIL
    description: Email used for auditing purposes
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code from the payment gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of the gateway result code
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Result code from Salesforce
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date of the gateway transaction
    tests:
    - not_null
  - name: GATEWAY_TOKEN_ENCRYPTED
    description: Encrypted version of the gateway token
    tests:
    - not_null
  - name: IS_AUTO_PAY_ENABLED
    description: Indicates if auto-pay is enabled
    tests:
    - not_null
  - name: PAYMENT_METHOD_TYPE
    description: Type of payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_SUB_TYPE
    description: Subtype of payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_DETAILS
    description: Additional details about the payment method
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET

Table Preview (sample only)

ID NAME LABEL LICENSE_ID PROFILE_ID IS_OWNED_BY_PROFILE IS_CUSTOM PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAMESPACE_PREFIX HAS_ACTIVATION_REQUIRED PERMISSION_SET_GROUP_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

stg_PERMISSION_SET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:15:45.192599+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET"

stg_PERMISSION_SET.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET
  description: The table is about permission sets in a Salesforce system. It contains
    details of various permission sets, including their IDs, names, labels, and associated
    licenses. Each row represents a different permission set with numerous boolean
    fields indicating specific permissions granted. The table also includes metadata
    like creation date, last modified date, and system information.
  columns:
  - name: ID
    description: Unique identifier for the permission set
    tests:
    - not_null
  - name: NAME
    description: Name of the permission set
    tests:
    - not_null
  - name: LABEL
    description: Label for the permission set
    tests:
    - not_null
  - name: LICENSE_ID
    description: ID of the associated license
    cocoon_meta:
      missing_reason: Unknown
  - name: PROFILE_ID
    description: ID of the associated profile
    cocoon_meta:
      missing_reason: Not applicable for entries of TYPE 'Session'
  - name: IS_OWNED_BY_PROFILE
    description: Indicates if owned by a profile
    tests:
    - not_null
  - name: IS_CUSTOM
    description: Indicates if the permission set is custom
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_SINGLE
    description: Permission to send single emails
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_MASS
    description: Permission to send mass emails
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TASK
    description: Permission to edit tasks
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_EVENT
    description: Permission to edit events
    tests:
    - not_null
  - name: PERMISSIONS_EXPORT_REPORT
    description: Permission to export reports
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_PERSONAL
    description: Permission to import personal data
    tests:
    - not_null
  - name: PERMISSIONS_DATA_EXPORT
    description: Permission to export data
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_USERS
    description: Permission to manage users
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_FILTERS
    description: Permission to edit public filters
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_TEMPLATES
    description: Permission to edit public templates
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_ALL_DATA
    description: Permission to modify all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BILLING_INFO
    description: Permission to edit billing information
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CASES
    description: Permission to manage cases
    tests:
    - not_null
  - name: PERMISSIONS_MASS_INLINE_EDIT
    description: Permission for mass inline editing
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_KNOWLEDGE
    description: Permission to edit knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE
    description: Permission to manage knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_TAG_MANAGER
    description: Permission to manage tags
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOMIZE_APPLICATION
    description: Permission to customize the application
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_READONLY_FIELDS
    description: Permission to edit read-only fields
    tests:
    - not_null
  - name: PERMISSIONS_RUN_REPORTS
    description: Permission to run reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_SETUP
    description: Permission to view setup options
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_ENTITY
    description: Permission to transfer any entity
    tests:
    - not_null
  - name: PERMISSIONS_NEW_REPORT_BUILDER
    description: Permission to use new report builder
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_LEADS
    description: Permission to import leads
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LEADS
    description: Permission to manage leads
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_LEAD
    description: Permission to transfer any lead
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_DATA
    description: Permission to view all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_DOCUMENTS
    description: Permission to edit public documents
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ENCRYPTED_DATA
    description: Permission to view encrypted data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BRAND_TEMPLATES
    description: Permission to edit brand templates
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_HTML_TEMPLATES
    description: Permission to edit HTML templates
    tests:
    - not_null
  - name: PERMISSIONS_SEND_SIT_REQUESTS
    description: Permission to send SIT requests
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REMOTE_ACCESS
    description: Permission to manage remote access
    tests:
    - not_null
  - name: PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER
    description: Permission to use new dashboard builder
    tests:
    - not_null
  - name: PERMISSIONS_CONVERT_LEADS
    description: Permission to convert leads
    tests:
    - not_null
  - name: PERMISSIONS_PASSWORD_NEVER_EXPIRES
    description: User's password never expires
    tests:
    - not_null
  - name: PERMISSIONS_INSTALL_PACKAGING
    description: Permission to install packaging
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_PACKAGING
    description: Permission to publish packaging
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE
    description: Permission to edit opportunity line item prices
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_PACKAGING
    description: Permission to create packaging
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CALL_CENTERS
    description: Permission to manage call centers
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SYNONYMS
    description: Permission to manage synonyms
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_CONTENT
    description: Permission to view content
    tests:
    - not_null
  - name: PERMISSIONS_IS_SSO_ENABLED
    description: Single Sign-On is enabled
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_INTEGRATIONS
    description: Permission to manage data integrations
    tests:
    - not_null
  - name: PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP
    description: Permission to distribute from personal workspace
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_CATEGORIES
    description: Permission to view data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_CATEGORIES
    description: Permission to manage data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_MOBILE
    description: Permission to manage mobile
    tests:
    - not_null
  - name: PERMISSIONS_API_ENABLED
    description: API access is enabled
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES
    description: Permission to manage custom report types
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_CASE_COMMENTS
    description: Permission to edit case comments
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_CASE
    description: Permission to transfer any case
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_ADMINISTRATOR
    description: Can manage all content in the system
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_WORKSPACES
    description: Ability to create new workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PERMISSIONS
    description: Can modify content access permissions
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PROPERTIES
    description: Can edit properties of content items
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_TYPES
    description: Can create and modify content types
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXCHANGE_CONFIG
    description: Can configure Exchange settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS
    description: Can set business hours and holidays
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS
    description: Can create and edit dynamic dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES
    description: Can add custom sidebar to all pages
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERACTION
    description: Can manage customer interactions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS
    description: Can view dashboards of team members
    tests:
    - not_null
  - name: PERMISSIONS_RESET_PASSWORDS
    description: Can reset user passwords
    tests:
    - not_null
  - name: PERMISSIONS_FLOW_UFLREQUIRED
    description: Can use User Flow License
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVITIES_ACCESS
    description: Can access activities in the system
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT
    description: Can import/export knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT
    description: Can manage email templates
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_ADMINISTRATION
    description: Can administer email settings
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_EMAIL_IC
    description: Can send emails as other users
    tests:
    - not_null
  - name: PERMISSIONS_CHATTER_FILE_LINK
    description: Can share files via Chatter
    tests:
    - not_null
  - name: PERMISSIONS_FORCE_TWO_FACTOR
    description: Can enforce two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NETWORKS
    description: Can manage Salesforce communities/networks
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_AUTH_PROVIDERS
    description: Can manage authentication providers
    tests:
    - not_null
  - name: PERMISSIONS_RUN_FLOW
    description: Can execute flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS
    description: Can create and modify dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_DASHBOARD_FOLDERS
    description: Can create folders for dashboards
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_DASHBOARDS
    description: Can view public dashboards
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS
    description: Can manage dashboards in public folders
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_REPORTS
    description: Can create and modify reports
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_FOLDERS
    description: Can create folders for reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_REPORTS
    description: Can view public reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS
    description: Manage reports in public folders
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_DASHBOARDS
    description: Edit user's own dashboards
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_REPORTS
    description: Edit user's own reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_USERS
    description: View all users in the organization
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_UNIVERSAL_SEARCH
    description: Allow universal search across the org
    tests:
    - not_null
  - name: PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB
    description: Connect org to Environment Hub
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_FILTERS
    description: Create and customize filters
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_HUB_USER
    description: Access Content Hub
    tests:
    - not_null
  - name: PERMISSIONS_GOVERN_NETWORKS
    description: Govern Salesforce networks
    tests:
    - not_null
  - name: PERMISSIONS_TWO_FACTOR_API
    description: Use two-factor authentication for API access
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_TOPICS
    description: Delete topics
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TOPICS
    description: Edit existing topics
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_TOPICS
    description: Create new topics
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_TOPICS
    description: Assign topics to records
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_ENABLED
    description: Enable Identity features
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_CONNECT
    description: Connect to Identity services
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_KNOWLEDGE
    description: View Knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_WORKSPACES
    description: Access Content Workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES
    description: Manage search promotion rules
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS
    description: Access custom mobile apps
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HELP_LINK
    description: View help link
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS
    description: Manage profiles and permission sets
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_PERMISSION_SETS
    description: Assign permission sets to users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ROLES
    description: Manage user roles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_IP_ADDRESSES
    description: Manage IP addresses
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SHARING
    description: Manage sharing settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERNAL_USERS
    description: Manage internal users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PASSWORD_POLICIES
    description: Manage password policies
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES
    description: Manage login access policies
    tests:
    - not_null
  - name: PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE
    description: Use standard automatic activity capture
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TWO_FACTOR
    description: Manage two-factor authentication settings
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_USER
    description: Access to use Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_ELT_EDITOR
    description: Edit Insights app ELT processes
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_UPLOAD_USER
    description: Upload data to Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_CREATE_APPLICATION
    description: Create new Insights applications
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_EXPERIENCE_USER
    description: Access Lightning Experience interface
    tests:
    - not_null
  - name: PERMISSIONS_SHARE_INTERNAL_ARTICLES
    description: Share internal knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS
    description: Manage session-based permission sets
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TEMPLATED_APP
    description: Manage templated applications
    tests:
    - not_null
  - name: PERMISSIONS_USE_TEMPLATED_APP
    description: Use templated applications
    tests:
    - not_null
  - name: PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE
    description: Automatically capture user activities
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_CUSTOM_OBJECTS
    description: Import custom objects
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINBOX
    description: Access Salesforce IQ Inbox
    tests:
    - not_null
  - name: PERMISSIONS_DELEGATED_TWO_FACTOR
    description: Delegate two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_SELECT_FILES_FROM_SALESFORCE
    description: Select files from Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_MODERATE_NETWORK_USERS
    description: Moderate network users
    tests:
    - not_null
  - name: PERMISSIONS_MERGE_TOPICS
    description: Merge topics in knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_IQFIELDS
    description: Edit IQ fields
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS
    description: Subscribe to Lightning reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS
    description: Manage private reports and dashboards
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_LIGHTNING_LOGIN
    description: Allow login through Lightning
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_ASSESSMENT
    description: View data assessment reports
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS
    description: View and edit converted leads
    tests:
    - not_null
  - name: PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE
    description: Show company name as user badge
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CMC
    description: Access Customer Management Center
    tests:
    - not_null
  - name: PERMISSIONS_ARCHIVE_ARTICLES
    description: Archive knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_ARTICLES
    description: Publish knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HEALTH_CHECK
    description: View system health check
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HEALTH_CHECK
    description: Manage system health check
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2
    description: Access to Packaging 2.0 features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES
    description: Permission to manage certificates
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_IN_LIGHTNING
    description: Create reports in Lightning Experience
    tests:
    - not_null
  - name: PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE
    description: Prevent access to Salesforce Classic interface
    tests:
    - not_null
  - name: PERMISSIONS_SUBMIT_FOR_TRANSLATION
    description: Submit content for translation
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TRANSLATION
    description: Edit translated content
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_TRANSLATION
    description: Publish translated content
    tests:
    - not_null
  - name: PERMISSIONS_LIST_EMAIL_SEND
    description: Send list emails
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_DASHBOARD_COLORS
    description: Modify dashboard color schemes
    tests:
    - not_null
  - name: PERMISSIONS_HIGH_VELOCITY_SALES_USER
    description: Access to High Velocity Sales features
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS
    description: Subscribe to reports for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS
    description: Subscribe to dashboards for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_USE_WEB_LINK
    description: Use web links
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_ASEFIELDS
    description: Edit ASE fields
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_ACTIVITIES
    description: View all activities
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS
    description: Subscribe others to reports
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER
    description: Access Lightning Console
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER
    description: Subscribe to reports as another user
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS
    description: Subscribe to Lightning dashboards
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS
    description: Subscribe others to dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB
    description: Create Lightning templates in public folders
    tests:
    - not_null
  - name: PERMISSIONS_TRANSACTIONAL_EMAIL_SEND
    description: Send transactional emails
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES
    description: View private static resources
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_FOLDER
    description: Create Lightning template folders
    tests:
    - not_null
  - name: PERMISSIONS_APEX_REST_SERVICES
    description: Access Apex REST services
    tests:
    - not_null
  - name: PERMISSIONS_GIVE_RECOGNITION_BADGE
    description: Give recognition badges
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINTERNAL
    description: Access Salesforce IQ internal features
    tests:
    - not_null
  - name: PERMISSIONS_USE_MY_SEARCH
    description: Use personalized search
    tests:
    - not_null
  - name: PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM
    description: Reserved Lightning promotion permission
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SUBSCRIPTIONS
    description: Manage subscriptions
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE
    description: Edit data preparation recipes
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS
    description: Add remote connections for analytics
    tests:
    - not_null
  - name: PERMISSIONS_USE_ASSISTANT_DIALOG
    description: Use AI assistant dialog features
    tests:
    - not_null
  - name: PERMISSIONS_USE_QUERY_SUGGESTIONS
    description: Use query suggestions in search
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ROLES
    description: View user roles in the system
    tests:
    - not_null
  - name: PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM
    description: Send outbound messages
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_DATA_CLASSIFICATION
    description: Modify data classification settings
    tests:
    - not_null
  - name: PERMISSIONS_PRIVACY_DATA_ACCESS
    description: Access privacy-related data
    tests:
    - not_null
  - name: PERMISSIONS_QUERY_ALL_FILES
    description: Query all files in the system
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_METADATA
    description: Modify metadata of records
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CMS
    description: Manage Content Management System
    tests:
    - not_null
  - name: PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP
    description: Test in community app sandbox
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_PROMPTS
    description: Edit system prompts
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_USER_PII
    description: View personally identifiable information of users
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DRAFT_ARTICLES
    description: View draft knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ARCHIVED_ARTICLES
    description: View archived knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HUB_CONNECTIONS
    description: Manage hub connections
    tests:
    - not_null
  - name: PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER
    description: Access B2B marketing analytics
    tests:
    - not_null
  - name: PERMISSIONS_TRACE_XDS_QUERIES
    description: Trace cross-data source queries
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS
    description: View all custom settings
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES
    description: View all foreign key names
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_CMSACCESS
    description: Access CMS without UI
    tests:
    - not_null
  - name: PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM
    description: End messaging sessions
    tests:
    - not_null
  - name: PERMISSIONS_CONSENT_API_UPDATE
    description: Update consent via API
    tests:
    - not_null
  - name: PERMISSIONS_PAYMENTS_APIUSER
    description: Use payments API
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_C_360_ACONNECTIONS
    description: Manage Customer 360 Audience connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_RELEASE_UPDATES
    description: Manage release updates
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_PROFILES
    description: View all user profiles
    tests:
    - not_null
  - name: PERMISSIONS_SKIP_IDENTITY_CONFIRMATION
    description: Skip identity confirmation steps
    tests:
    - not_null
  - name: PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS
    description: Send custom notifications
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2_DELETE
    description: Delete second-generation packages
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_DATA_EXPLORER
    description: Permission to access CDP Data Explorer
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER
    description: Permission to use Zoom for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PREFERENCE_CENTER
    description: Permission to manage preference center
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM
    description: Permission for Salesforce Meetings user
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_METRICS_ACCESS
    description: Permission to access Quip metrics
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS
    description: Permission to view Quip user engagement metrics
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_TARGET_ASSIGNEE
    description: Permission to change target assignee
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS
    description: Permission to manage external connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_CONTENT
    description: Permission to manage email content
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO
    description: Permission to manage global privacy center VO
    tests:
    - not_null
  - name: PERMISSIONS_NATIVE_WEBVIEW_SCROLLING
    description: Permission for native webview scrolling
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DEVELOPER_NAME
    description: Permission to view developer name
    tests:
    - not_null
  - name: PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS
    description: Permission to bypass MFA for UI logins
    tests:
    - not_null
  - name: PERMISSIONS_CLIENT_SECRET_ROTATION
    description: Permission for client secret rotation
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_SERVICE_PROCESS
    description: Permission to access service process
    tests:
    - not_null
  - name: PERMISSIONS_CMSECEAUTHORING_ACCESS
    description: Permission to access CMS ECE authoring
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER
    description: Permission to use Teams for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATASPACE_SCOPE
    description: Permission to manage dataspace scope
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_DATASPACE_SCOPE
    description: Permission to configure dataspace scope
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CAMPAIGNS
    description: Permission to manage campaigns
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_CREATE_REPORTS
    description: Permission to create CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_VIEW_REPORTS
    description: Permission to view CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_GENIE_PLATFORM
    description: Permission to access Genie platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SEGMENT
    description: Permission to access Segment
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP
    description: Permission to access Customer Data Cloud setup
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_STANDARD_CADENCE
    description: Permission to create standard cadence
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_QUICK_CADENCE
    description: Permission to create quick cadence
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS
    description: Permission to manage CDC reporting folders
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_MEET_USER
    description: Permission to use Meet for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE
    description: Permission to delete CR memo and invoice
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_NON_SETUP_FLOW
    description: Permission to view non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW
    description: Permission to create/edit non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_NON_SETUP_FLOW
    description: Permission to delete non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW
    description: Permission to activate/deactivate non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW
    description: Permission to create/modify segments/triggers in non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW
    description: Permission to add decision elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add create record elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW
    description: Permission to add wait elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NAMED_CREDENTIALS
    description: Permission to manage named credentials
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER
    description: Permission to access CDP Profile Explorer
    tests:
    - not_null
  - name: PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add update record elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_AUTHORIZE_PAYMENTS
    description: Permission to authorize payments
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_PAYMENTS
    description: Permission to configure payment settings
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS
    description: Permission to configure merchant accounts
    tests:
    - not_null
  - name: PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS
    description: Permission to capture and reverse payments
    tests:
    - not_null
  - name: PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS
    description: Permission to combine authorization and capture payments
    tests:
    - not_null
  - name: PERMISSIONS_REFUND_PAYMENTS
    description: Permission to refund payments
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PAYMENTS
    description: Permission to view payment information
    tests:
    - not_null
  - name: PERMISSIONS_MAKE_PAYMENTS
    description: Permission to make payments
    tests:
    - not_null
  - name: PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE
    description: Permission to update email messages
    tests:
    - not_null
  - name: PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS
    description: Permission to download package version zip files
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_USER
    description: Permission for digital lending user access
    tests:
    - not_null
  - name: PERMISSIONS_SEND_EMAIL
    description: Permission to send emails
    tests:
    - not_null
  - name: PERMISSIONS_PREVIEW_TEST_SEND_EMAIL
    description: Permission to preview and test send emails
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP
    description: Permission to manage email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP
    description: Permission to view email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_IPFSUPLOAD
    description: Permission to enable IPF upload
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_BCTRANSACTION_POLLING
    description: Permission to enable BC transaction polling
    tests:
    - not_null
  - name: PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS
    description: Permission for lobby management user access
    tests:
    - not_null
  - name: PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER
    description: Permission for simple CSV data import user
    tests:
    - not_null
  - name: PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER
    description: Permission for advanced CSV data import
    tests:
    - not_null
  - name: PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT
    description: Permission to query CMS email content
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT
    description: Permission to access complaint management
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT
    description: Permission to access dispute management
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS
    description: Permission for personalized finance user access
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE
    description: Permission for custom apps on FS mobile
    tests:
    - not_null
  - name: PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER
    description: Permission for stage management design
    tests:
    - not_null
  - name: PERMISSIONS_SEGMENT_INTELLIGENCE_USER
    description: Permission for segment intelligence user
    tests:
    - not_null
  - name: PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER
    description: Permission for FSCARC graph community user
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_ADMIN_USER
    description: Permission for digital lending admin
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS
    description: Permission to activate system mode flows
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS
    description: Permission to view all non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_PLATFORM
    description: Permission for personalization platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_DISPUTE_PROMPTS
    description: Permission to access dispute prompts
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the permission set
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_DATE
    description: Date when the permission set was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the set
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the set
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the permission set
    cocoon_meta:
      missing_reason: Not applicable for non-custom or non-packaged permissions.
  - name: HAS_ACTIVATION_REQUIRED
    description: Indicates if activation is required
    tests:
    - not_null
  - name: PERMISSION_SET_GROUP_ID
    description: ID of the permission set group
    cocoon_meta:
      missing_reason: Not applicable for entries of TYPE 'Session'
  - name: TYPE
    description: Type of the permission set
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add subflow to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_INTEL_USER
    description: Permission for personalization intelligence user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ACCESS_POLICIES
    description: Permission to manage access policies
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add collection filter to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_METADATA_STUDIO_USER
    description: Permission to access Metadata Studio
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SERVICE_EINSTEIN
    description: Permission to access Einstein AI services
    tests:
    - not_null
  - name: PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add loop elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add collection sort elements to flows
    tests:
    - not_null
  - name: PERMISSIONS_MONITOR_LOGIN_HISTORY
    description: Permission to monitor user login history
    tests:
    - not_null
  - name: PERMISSIONS_FREEZE_USERS
    description: Permission to freeze user accounts
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add assignment elements to flows
    tests:
    - not_null
  - name: PERMISSIONS_USER_HAS_STARTER_DCRACCESS
    description: User has starter Data Cloud Runtime access
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_PUBLISH_NUDGES
    description: Permission to publish headless nudges
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CDP_ML_MODELS
    description: Permission to manage CDP machine learning models
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add delete record elements to flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION
    description: Permission to manage certificate expirations
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY
    description: Permission to edit read-only digital lending data
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_WORKBENCH
    description: Permission to access Digital Lending Workbench
    tests:
    - not_null
  - name: PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add get record elements to flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_DOMAINS
    description: Permission to manage custom domains
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CALLS
    description: Permission to view all calls
    tests:
    - not_null
  tests: []

stg_STAMP_ASSIGNMENT

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP STAMP_ID SUBJECT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_STAMP_ASSIGNMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:35.199760+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."STAMP_ASSIGNMENT"

stg_STAMP_ASSIGNMENT.yml (Document the table)

version: 2
models:
- name: stg_STAMP_ASSIGNMENT
  description: The table represents the STAMP_ASSIGNMENT relation. It links stamps
    to subjects. Each assignment has a unique ID. The table tracks creation and modification
    details. It includes timestamps and user IDs for auditing. The IS_DELETED flag
    indicates soft deletion. FIVETRAN fields suggest data syncing. This table manages
    the association between stamps and subjects with tracking information.
  columns:
  - name: ID
    description: Unique identifier for each stamp assignment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is soft-deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the assignment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the assignment
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the assignment
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: STAMP_ID
    description: ID of the stamp associated with the subject
    tests:
    - not_null
  - name: SUBJECT_ID
    description: ID of the subject associated with the stamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FIVETRAN_FORMULA

Table Preview (sample only)

FIELD OBJECT FORMULA _FIVETRAN_SYNCED

stg_FIVETRAN_FORMULA.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:39.692840+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_FORMULA"

stg_FIVETRAN_FORMULA.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_FORMULA
  description: The table is about formulas for different objects in a system. It contains
    fields, object names, and formulas. The "_FIVETRAN_SYNCED" column suggests it's
    synced data. The "FORMULA" column is empty in the samples. This table likely stores
    metadata about calculated fields across various objects in a database or application.
  columns:
  - name: FIELD
    description: Name of the calculated or tracked field
    tests:
    - not_null
  - name: OBJECT
    description: Database or application object the field belongs to
    tests:
    - not_null
  - name: FORMULA
    description: Formula used to calculate the field (empty in samples)
    cocoon_meta:
      missing_reason: Not all fields require a formula to be calculated.
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_SELLER

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARTY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SELLER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:26.232864+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SELLER"

stg_SELLER.yml (Document the table)

version: 2
models:
- name: stg_SELLER
  description: CUSTOMER contains customer information. SELLER likely contains seller
    data. The tables store IDs, names, and timestamps. They track creation and modification
    details. The partitions are related through a buyer-seller relationship. Together,
    they represent a marketplace or e-commerce system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the customer or seller
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: PARTY_ID
    description: Unique identifier for the party (customer or seller)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROMPT_VERSION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID MASTER_LABEL DESCRIPTION DISPLAY_TYPE DISPLAY_POSITION TIMES_TO_DISPLAY DELAY_DAYS START_DATE END_DATE USER_ACCESS IS_PUBLISHED PUBLISHED_DATE PUBLISHED_BY_USER_ID HEADER DISMISS_BUTTON_LABEL SHOULD_DISPLAY_ACTION_BUTTON ACTION_BUTTON_LABEL ACTION_BUTTON_LINK TITLE VERSION_NUMBER TARGET_PAGE_TYPE TARGET_PAGE_KEY_1 TARGET_PAGE_KEY_2 TARGET_APP_NAMESPACE_PREFIX TARGET_APP_DEVELOPER_NAME BODY SHOULD_IGNORE_GLOBAL_DELAY USER_PROFILE_ACCESS VIDEO_LINK STEP_NUMBER THEME_COLOR THEME_SATURATION TARGET_PAGE_KEY_1_REF IMAGE_ALT_TEXT IMAGE_ID IMAGE_LINK IMAGE_LOCATION TARGET_PAGE_KEY_3 ELEMENT_RELATIVE_POSITION REFERENCE_ELEMENT_CONTEXT TARGET_PAGE_KEY_4 TARGET_RECORD_TYPE_ID EXPERIENCE_CONTEXT_ID EXPERIENCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT_VERSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:43.780521+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT_VERSION"

stg_PROMPT_VERSION.yml (Document the table)

version: 2
models:
- name: stg_PROMPT_VERSION
  description: The table is about prompt versions in a system. It contains details
    like ID, creation and modification dates, parent ID, master label, description,
    and display settings. It also includes information about publishing status, user
    access, button labels, target page details, and visual elements like images and
    videos. The table tracks version numbers and specific settings for displaying
    prompts to users.
  columns:
  - name: ID
    description: Unique identifier for the prompt version
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the prompt version was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the prompt version
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the prompt version
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the version
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent prompt
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Main label or title of the prompt
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the prompt version
    tests:
    - not_null
  - name: DISPLAY_TYPE
    description: Type of display for the prompt
    tests:
    - not_null
  - name: DISPLAY_POSITION
    description: Position where the prompt is displayed
    tests:
    - not_null
  - name: TIMES_TO_DISPLAY
    description: Number of times the prompt should be shown
    tests:
    - not_null
  - name: DELAY_DAYS
    description: Days to wait before displaying the prompt
    tests:
    - not_null
  - name: START_DATE
    description: Date when the prompt starts being active
    tests:
    - not_null
  - name: END_DATE
    description: Date when the prompt stops being active
    tests:
    - not_null
  - name: USER_ACCESS
    description: Access level for users to view the prompt
    tests:
    - not_null
  - name: IS_PUBLISHED
    description: Flag indicating if the prompt is published
    tests:
    - not_null
  - name: PUBLISHED_DATE
    description: Date when the prompt was published
    tests:
    - not_null
  - name: PUBLISHED_BY_USER_ID
    description: ID of the user who published the prompt
    tests:
    - not_null
  - name: HEADER
    description: Header text of the prompt
    tests:
    - not_null
  - name: DISMISS_BUTTON_LABEL
    description: Label for the dismiss button
    tests:
    - not_null
  - name: SHOULD_DISPLAY_ACTION_BUTTON
    description: Flag to show action button
    tests:
    - not_null
  - name: ACTION_BUTTON_LABEL
    description: Label for the action button
    tests:
    - not_null
  - name: ACTION_BUTTON_LINK
    description: Link for the action button
    tests:
    - not_null
  - name: TITLE
    description: Title of the prompt
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the prompt
    tests:
    - not_null
  - name: TARGET_PAGE_TYPE
    description: Type of page where the prompt is shown
    tests:
    - not_null
  - name: TARGET_PAGE_KEY_1
    description: First key for identifying target page
    tests:
    - not_null
  - name: TARGET_PAGE_KEY_2
    description: Second key for identifying target page
    tests:
    - not_null
  - name: TARGET_APP_NAMESPACE_PREFIX
    description: Namespace prefix for the target application
    tests:
    - not_null
  - name: TARGET_APP_DEVELOPER_NAME
    description: Developer name of the target application
    tests:
    - not_null
  - name: BODY
    description: Main content or text of the prompt
    tests:
    - not_null
  - name: SHOULD_IGNORE_GLOBAL_DELAY
    description: Flag to ignore global delay settings
    tests:
    - not_null
  - name: USER_PROFILE_ACCESS
    description: User profile access settings for the prompt
    tests:
    - not_null
  - name: VIDEO_LINK
    description: Link to associated video content
    tests:
    - not_null
  - name: STEP_NUMBER
    description: Step number in a multi-step prompt sequence
    tests:
    - not_null
  - name: THEME_COLOR
    description: Color theme of the prompt
    tests:
    - not_null
  - name: THEME_SATURATION
    description: Saturation level of the theme color
    tests:
    - not_null
  - name: TARGET_PAGE_KEY_1_REF
    description: Reference key for target page 1
    tests:
    - not_null
  - name: IMAGE_ALT_TEXT
    description: Alternative text for the prompt image
    tests:
    - not_null
  - name: IMAGE_ID
    description: Unique identifier for the prompt image
    tests:
    - not_null
  - name: IMAGE_LINK
    description: Link to the prompt image
    tests:
    - not_null
  - name: IMAGE_LOCATION
    description: Location or positioning of the image
    tests:
    - not_null
  - name: TARGET_PAGE_KEY_3
    description: Key for target page 3
    tests:
    - not_null
  - name: ELEMENT_RELATIVE_POSITION
    description: Relative position of the prompt element
    tests:
    - not_null
  - name: REFERENCE_ELEMENT_CONTEXT
    description: Context of the reference element
    tests:
    - not_null
  - name: TARGET_PAGE_KEY_4
    description: Key for target page 4
    tests:
    - not_null
  - name: TARGET_RECORD_TYPE_ID
    description: ID of the target record type
    tests:
    - not_null
  - name: EXPERIENCE_CONTEXT_ID
    description: ID of the experience context
    tests:
    - not_null
  - name: EXPERIENCE
    description: Type or name of the experience
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last sync by Fivetran
    tests:
    - not_null
  tests: []

stg_DATA_QUERY_WORKSPACE_TAB

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUERY_WORKSPACE_ID ENTITY ENTITY_TYPE TAB_OPTION QUERY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_QUERY_WORKSPACE_TAB.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:15.633569+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_QUERY_WORKSPACE_TAB"

stg_DATA_QUERY_WORKSPACE_TAB.yml (Document the table)

version: 2
models:
- name: stg_DATA_QUERY_WORKSPACE_TAB
  description: The table is about data query workspace tabs. It contains details such
    as the tab's name, creation date, last modification date, and associated query.
    The table tracks whether the tab is deleted and includes information about the
    users who created and last modified it. It also specifies the entity and entity
    type the tab is related to, as well as tab options and the actual query content.
  columns:
  - name: ID
    description: Unique identifier for the query workspace tab
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the tab has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the query workspace tab
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the tab was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the tab
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the tab
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: QUERY_WORKSPACE_ID
    description: ID of the associated query workspace
    tests:
    - not_null
  - name: ENTITY
    description: Entity associated with the tab
    tests:
    - not_null
  - name: ENTITY_TYPE
    description: Type of entity associated with the tab
    tests:
    - not_null
  - name: TAB_OPTION
    description: Options or settings for the tab
    tests:
    - not_null
  - name: QUERY
    description: Actual query content stored in the tab
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_DOCUMENT

Table Preview (sample only)

ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE IS_ARCHIVED ARCHIVED_BY_ID ARCHIVED_DATE IS_DELETED OWNER_ID SYSTEM_MODSTAMP TITLE PUBLISH_STATUS LATEST_PUBLISHED_VERSION_ID PARENT_ID LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION CONTENT_SIZE FILE_TYPE FILE_EXTENSION SHARING_OPTION SHARING_PRIVACY CONTENT_MODIFIED_DATE CONTENT_ASSET_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_DOCUMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:21.938697+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_DOCUMENT"

stg_CONTENT_DOCUMENT.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_DOCUMENT
  description: The table is about Content Documents. It includes details like creation,
    modification, and archival dates and users. It tracks document status, ownership,
    title, and publishing information. File-specific attributes like size, type, and
    extension are stored. The table also manages sharing options and privacy settings.
    System fields for deletion and syncing are included.
  columns:
  - name: ID
    description: Unique identifier for the content document
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the document
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the document was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the document
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Boolean indicating if the document is archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of the user who archived the document
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date and time when the document was archived
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the document is deleted
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the document owner
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TITLE
    description: Title of the content document
    tests:
    - not_null
  - name: PUBLISH_STATUS
    description: Current publishing status of the document
    tests:
    - not_null
  - name: LATEST_PUBLISHED_VERSION_ID
    description: ID of the most recent published version
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent document, if applicable
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the document was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the document was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the content document
    tests:
    - not_null
  - name: CONTENT_SIZE
    description: Size of the document content in bytes
    tests:
    - not_null
  - name: FILE_TYPE
    description: Type of file (e.g., PDF, DOC)
    tests:
    - not_null
  - name: FILE_EXTENSION
    description: File extension of the document
    tests:
    - not_null
  - name: SHARING_OPTION
    description: Option for sharing the document
    tests:
    - not_null
  - name: SHARING_PRIVACY
    description: Privacy setting for document sharing
    tests:
    - not_null
  - name: CONTENT_MODIFIED_DATE
    description: Date and time of last content modification
    tests:
    - not_null
  - name: CONTENT_ASSET_ID
    description: ID of the associated content asset
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER

Table Preview (sample only)

ID USERNAME LAST_NAME FIRST_NAME NAME COMPANY_NAME DIVISION DEPARTMENT TITLE STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY EMAIL EMAIL_PREFERENCES_AUTO_BCC EMAIL_PREFERENCES_AUTO_BCC_STAY_IN_TOUCH EMAIL_PREFERENCES_STAY_IN_TOUCH_REMINDER SENDER_EMAIL SENDER_NAME SIGNATURE STAY_IN_TOUCH_SUBJECT STAY_IN_TOUCH_SIGNATURE STAY_IN_TOUCH_NOTE PHONE FAX MOBILE_PHONE ALIAS COMMUNITY_NICKNAME BADGE_TEXT IS_ACTIVE TIME_ZONE_SID_KEY USER_ROLE_ID LOCALE_SID_KEY RECEIVES_INFO_EMAILS RECEIVES_ADMIN_INFO_EMAILS EMAIL_ENCODING_KEY PROFILE_ID USER_TYPE LANGUAGE_LOCALE_KEY EMPLOYEE_NUMBER DELEGATED_APPROVER_ID MANAGER_ID LAST_LOGIN_DATE LAST_PASSWORD_CHANGE_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NUMBER_OF_FAILED_LOGINS OFFLINE_TRIAL_EXPIRATION_DATE OFFLINE_PDA_TRIAL_EXPIRATION_DATE USER_PERMISSIONS_MARKETING_USER USER_PERMISSIONS_AVANTGO_USER USER_PERMISSIONS_CALL_CENTER_AUTO_LOGIN USER_PERMISSIONS_SFCONTENT_USER USER_PERMISSIONS_KNOWLEDGE_USER USER_PERMISSIONS_INTERACTION_USER USER_PREFERENCES_ACTIVITY_REMINDERS_POPUP USER_PREFERENCES_EVENT_REMINDERS_CHECKBOX_DEFAULT USER_PREFERENCES_TASK_REMINDERS_CHECKBOX_DEFAULT USER_PREFERENCES_REMINDER_SOUND_OFF USER_PREFERENCES_DISABLE_ALL_FEEDS_EMAIL USER_PREFERENCES_CONTENT_NO_EMAIL USER_PREFERENCES_CONTENT_EMAIL_AS_AND_WHEN USER_PREFERENCES_APEX_PAGES_DEVELOPER_MODE USER_PREFERENCES_RECEIVE_NO_NOTIFICATIONS_AS_APPROVER USER_PREFERENCES_RECEIVE_NOTIFICATIONS_AS_DELEGATED_APPROVER USER_PREFERENCES_SHOW_TITLE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_MANAGER_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_EMAIL_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_WORK_PHONE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_FAX_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_CITY_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_STATE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_POSTAL_CODE_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_COUNTRY_TO_EXTERNAL_USERS USER_PREFERENCES_SHOW_PROFILE_PIC_TO_GUEST_USERS USER_PREFERENCES_SHOW_TITLE_TO_GUEST_USERS USER_PREFERENCES_SHOW_CITY_TO_GUEST_USERS USER_PREFERENCES_SHOW_STATE_TO_GUEST_USERS USER_PREFERENCES_SHOW_POSTAL_CODE_TO_GUEST_USERS USER_PREFERENCES_SHOW_COUNTRY_TO_GUEST_USERS USER_PREFERENCES_SHOW_FORECASTING_CHANGE_SIGNALS USER_PREFERENCES_LIVE_AGENT_MIAW_SETUP_DEFLECTION USER_PREFERENCES_HIDE_S_1_BROWSER_UI USER_PREFERENCES_PATH_ASSISTANT_COLLAPSED USER_PREFERENCES_SHOW_EMAIL_TO_GUEST_USERS USER_PREFERENCES_SHOW_MANAGER_TO_GUEST_USERS USER_PREFERENCES_SHOW_WORK_PHONE_TO_GUEST_USERS USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_GUEST_USERS USER_PREFERENCES_SHOW_FAX_TO_GUEST_USERS USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_GUEST_USERS USER_PREFERENCES_LIGHTNING_EXPERIENCE_PREFERRED USER_PREFERENCES_PREVIEW_LIGHTNING USER_PREFERENCES_HIDE_END_USER_ONBOARDING_ASSISTANT_MODAL USER_PREFERENCES_HIDE_LIGHTNING_MIGRATION_MODAL USER_PREFERENCES_HIDE_SFX_WELCOME_MAT USER_PREFERENCES_HIDE_BIGGER_PHOTO_CALLOUT USER_PREFERENCES_GLOBAL_NAV_BAR_WTSHOWN USER_PREFERENCES_GLOBAL_NAV_GRID_MENU_WTSHOWN USER_PREFERENCES_CREATE_LEXAPPS_WTSHOWN USER_PREFERENCES_FAVORITES_WTSHOWN USER_PREFERENCES_RECORD_HOME_SECTION_COLLAPSE_WTSHOWN USER_PREFERENCES_RECORD_HOME_RESERVED_WTSHOWN USER_PREFERENCES_FAVORITES_SHOW_TOP_FAVORITES USER_PREFERENCES_EXCLUDE_MAIL_APP_ATTACHMENTS USER_PREFERENCES_SUPPRESS_TASK_SFXREMINDERS USER_PREFERENCES_SUPPRESS_EVENT_SFXREMINDERS USER_PREFERENCES_PREVIEW_CUSTOM_THEME USER_PREFERENCES_HAS_CELEBRATION_BADGE USER_PREFERENCES_USER_DEBUG_MODE_PREF USER_PREFERENCES_SRHOVERRIDE_ACTIVITIES USER_PREFERENCES_NEW_LIGHTNING_REPORT_RUN_PAGE_ENABLED USER_PREFERENCES_REVERSE_OPEN_ACTIVITIES_VIEW USER_PREFERENCES_HAS_SENT_WARNING_EMAIL USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_238 USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_240 USER_PREFERENCES_USE_SALESFORCE_MAILER_FOR_LEX_EMAIL USER_PREFERENCES_HUB_SPOT_IMPORT_TOS USER_PREFERENCES_HIDE_BROWSE_PRODUCT_REDIRECT_CONFIRMATION USER_PREFERENCES_HIDE_ONLINE_SALES_APP_WELCOME_MAT USER_PREFERENCES_SHOW_FORECASTING_ROUNDED_AMOUNTS CONTACT_ID ACCOUNT_ID CALL_CENTER_ID EXTENSION FEDERATION_IDENTIFIER ABOUT_ME FULL_PHOTO_URL SMALL_PHOTO_URL IS_EXT_INDICATOR_VISIBLE OUT_OF_OFFICE_MESSAGE MEDIUM_PHOTO_URL DIGEST_FREQUENCY DEFAULT_GROUP_NOTIFICATION_FREQUENCY LAST_VIEWED_DATE LAST_REFERENCED_DATE BANNER_PHOTO_URL SMALL_BANNER_PHOTO_URL MEDIUM_BANNER_PHOTO_URL IS_PROFILE_PHOTO_ACTIVE INDIVIDUAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED USER_PREFERENCES_NATIVE_EMAIL_CLIENT USER_PREFERENCES_SEND_LIST_EMAIL_THROUGH_EXTERNAL_SERVICE

stg_USER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:36:15.490819+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER"

stg_USER.yml (Document the table)

version: 2
models:
- name: stg_USER
  description: The table is about Salesforce user accounts. It contains user details
    like ID, name, email, company, and preferences. The table includes system fields
    like creation date and last login. It also has many user preference flags for
    various Salesforce features. The data shows both standard users and special system
    users like integration users.
  columns:
  - name: ID
    description: Unique identifier for the user
    tests:
    - not_null
  - name: USERNAME
    description: User's login username
    tests:
    - not_null
  - name: LAST_NAME
    description: User's last name
    tests:
    - not_null
  - name: FIRST_NAME
    description: User's first name
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: User's full name
    tests:
    - not_null
  - name: COMPANY_NAME
    description: Name of the user's company
    cocoon_meta:
      missing_reason: Unknown
  - name: DIVISION
    description: User's division within the company
    cocoon_meta:
      missing_reason: Unknown
  - name: DEPARTMENT
    description: User's department within the company
    cocoon_meta:
      missing_reason: Unknown
  - name: TITLE
    description: User's job title
    cocoon_meta:
      missing_reason: Unknown
  - name: STREET
    description: Street address of the user
    cocoon_meta:
      missing_reason: Unknown
  - name: CITY
    description: City of the user
    cocoon_meta:
      missing_reason: Unknown
  - name: STATE
    description: State or province of the user
    cocoon_meta:
      missing_reason: Unknown
  - name: POSTAL_CODE
    description: Postal or ZIP code of the user
    cocoon_meta:
      missing_reason: Unknown
  - name: COUNTRY
    description: Country of the user
    cocoon_meta:
      missing_reason: Unknown
  - name: LATITUDE
    description: Latitude coordinate of user's location
    cocoon_meta:
      missing_reason: Unknown
  - name: LONGITUDE
    description: Longitude coordinate of user's location
    cocoon_meta:
      missing_reason: Unknown
  - name: GEOCODE_ACCURACY
    description: Accuracy of the geocoded location
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL
    description: User's email address
    tests:
    - not_null
  - name: EMAIL_PREFERENCES_AUTO_BCC
    description: Auto BCC email preference
    tests:
    - not_null
  - name: EMAIL_PREFERENCES_AUTO_BCC_STAY_IN_TOUCH
    description: Auto BCC for stay-in-touch emails
    tests:
    - not_null
  - name: EMAIL_PREFERENCES_STAY_IN_TOUCH_REMINDER
    description: Stay-in-touch reminder preference
    tests:
    - not_null
  - name: SENDER_EMAIL
    description: Email address used for sending
    cocoon_meta:
      missing_reason: Unknown
  - name: SENDER_NAME
    description: Name used for sending emails
    cocoon_meta:
      missing_reason: Unknown
  - name: SIGNATURE
    description: User's email signature
    cocoon_meta:
      missing_reason: Unknown
  - name: STAY_IN_TOUCH_SUBJECT
    description: Subject for stay-in-touch emails
    cocoon_meta:
      missing_reason: Unknown
  - name: STAY_IN_TOUCH_SIGNATURE
    description: Signature for stay-in-touch emails
    cocoon_meta:
      missing_reason: Unknown
  - name: STAY_IN_TOUCH_NOTE
    description: Note for stay-in-touch emails
    cocoon_meta:
      missing_reason: Unknown
  - name: PHONE
    description: User's phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: FAX
    description: User's fax number
    cocoon_meta:
      missing_reason: Not applicable for users without a fax number.
  - name: MOBILE_PHONE
    description: User's mobile phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: ALIAS
    description: User's short identifier
    tests:
    - not_null
  - name: COMMUNITY_NICKNAME
    description: User's nickname in the community
    tests:
    - not_null
  - name: BADGE_TEXT
    description: Text displayed on user's badge
    cocoon_meta:
      missing_reason: Not applicable if user has no special badge.
  - name: IS_ACTIVE
    description: Whether the user account is active
    tests:
    - not_null
  - name: TIME_ZONE_SID_KEY
    description: User's time zone identifier
    tests:
    - not_null
  - name: USER_ROLE_ID
    description: ID of the user's role
    cocoon_meta:
      missing_reason: Unknown
  - name: LOCALE_SID_KEY
    description: User's locale identifier
    tests:
    - not_null
  - name: RECEIVES_INFO_EMAILS
    description: Whether user receives informational emails
    tests:
    - not_null
  - name: RECEIVES_ADMIN_INFO_EMAILS
    description: Whether user receives admin informational emails
    tests:
    - not_null
  - name: EMAIL_ENCODING_KEY
    description: Encoding used for user's email
    tests:
    - not_null
  - name: PROFILE_ID
    description: ID of the user's profile
    tests:
    - not_null
  - name: USER_TYPE
    description: Type of user account
    tests:
    - not_null
  - name: LANGUAGE_LOCALE_KEY
    description: User's language locale identifier
    tests:
    - not_null
  - name: EMPLOYEE_NUMBER
    description: Employee number, if applicable
    cocoon_meta:
      missing_reason: Not applicable for non-employee users or contractors.
  - name: DELEGATED_APPROVER_ID
    description: ID of delegated approver
    cocoon_meta:
      missing_reason: Not applicable if user doesn't have a delegated approver.
  - name: MANAGER_ID
    description: ID of user's manager
    cocoon_meta:
      missing_reason: Not applicable for top-level users without managers.
  - name: LAST_LOGIN_DATE
    description: Date and time of last login
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_PASSWORD_CHANGE_DATE
    description: Date of last password change
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_DATE
    description: Date and time user was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created this user
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified this user
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: NUMBER_OF_FAILED_LOGINS
    description: Count of failed login attempts
    cocoon_meta:
      missing_reason: Unknown
  - name: OFFLINE_TRIAL_EXPIRATION_DATE
    description: Expiration date for offline trial
    cocoon_meta:
      missing_reason: User may not have offline trial access
  - name: OFFLINE_PDA_TRIAL_EXPIRATION_DATE
    description: Expiration date for offline PDA trial
    cocoon_meta:
      missing_reason: User may not have PDA trial access
  - name: USER_PERMISSIONS_MARKETING_USER
    description: Whether user has marketing permissions
    tests:
    - not_null
  - name: USER_PERMISSIONS_AVANTGO_USER
    description: Whether user has AvantGo permissions
    tests:
    - not_null
  - name: USER_PERMISSIONS_CALL_CENTER_AUTO_LOGIN
    description: Whether user has call center auto-login
    tests:
    - not_null
  - name: USER_PERMISSIONS_SFCONTENT_USER
    description: Whether user has Salesforce Content permissions
    tests:
    - not_null
  - name: USER_PERMISSIONS_KNOWLEDGE_USER
    description: Access to Salesforce Knowledge features
    tests:
    - not_null
  - name: USER_PERMISSIONS_INTERACTION_USER
    description: Access to Salesforce Interaction features
    tests:
    - not_null
  - name: USER_PREFERENCES_ACTIVITY_REMINDERS_POPUP
    description: Popup reminders for activities enabled
    tests:
    - not_null
  - name: USER_PREFERENCES_EVENT_REMINDERS_CHECKBOX_DEFAULT
    description: Default checkbox for event reminders
    tests:
    - not_null
  - name: USER_PREFERENCES_TASK_REMINDERS_CHECKBOX_DEFAULT
    description: Default checkbox for task reminders
    tests:
    - not_null
  - name: USER_PREFERENCES_REMINDER_SOUND_OFF
    description: Reminder sound notifications disabled
    tests:
    - not_null
  - name: USER_PREFERENCES_DISABLE_ALL_FEEDS_EMAIL
    description: All feed email notifications disabled
    tests:
    - not_null
  - name: USER_PREFERENCES_CONTENT_NO_EMAIL
    description: Content email notifications disabled
    tests:
    - not_null
  - name: USER_PREFERENCES_CONTENT_EMAIL_AS_AND_WHEN
    description: Receive content emails as they occur
    tests:
    - not_null
  - name: USER_PREFERENCES_APEX_PAGES_DEVELOPER_MODE
    description: Developer mode for Apex pages enabled
    tests:
    - not_null
  - name: USER_PREFERENCES_RECEIVE_NO_NOTIFICATIONS_AS_APPROVER
    description: No notifications as approver
    tests:
    - not_null
  - name: USER_PREFERENCES_RECEIVE_NOTIFICATIONS_AS_DELEGATED_APPROVER
    description: Notifications as delegated approver enabled
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_TITLE_TO_EXTERNAL_USERS
    description: Show title to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_MANAGER_TO_EXTERNAL_USERS
    description: Show manager to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_EMAIL_TO_EXTERNAL_USERS
    description: Show email to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_WORK_PHONE_TO_EXTERNAL_USERS
    description: Show work phone to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_EXTERNAL_USERS
    description: Show mobile phone to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_FAX_TO_EXTERNAL_USERS
    description: Show fax to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_EXTERNAL_USERS
    description: Show street address to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_CITY_TO_EXTERNAL_USERS
    description: Show city to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_STATE_TO_EXTERNAL_USERS
    description: Show state to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_POSTAL_CODE_TO_EXTERNAL_USERS
    description: Show postal code to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_COUNTRY_TO_EXTERNAL_USERS
    description: Show country to external users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_PROFILE_PIC_TO_GUEST_USERS
    description: Show profile picture to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_TITLE_TO_GUEST_USERS
    description: Show title to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_CITY_TO_GUEST_USERS
    description: Show city to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_STATE_TO_GUEST_USERS
    description: Show state to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_POSTAL_CODE_TO_GUEST_USERS
    description: Show postal code to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_COUNTRY_TO_GUEST_USERS
    description: Show country to guest users
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_FORECASTING_CHANGE_SIGNALS
    description: Show forecasting change signals
    tests:
    - not_null
  - name: USER_PREFERENCES_LIVE_AGENT_MIAW_SETUP_DEFLECTION
    description: Live Agent Message In A Window setup deflection preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_S_1_BROWSER_UI
    description: Hide Salesforce1 browser user interface preference
    tests:
    - not_null
  - name: USER_PREFERENCES_PATH_ASSISTANT_COLLAPSED
    description: Path Assistant collapsed view preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_EMAIL_TO_GUEST_USERS
    description: Show email address to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_MANAGER_TO_GUEST_USERS
    description: Show manager information to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_WORK_PHONE_TO_GUEST_USERS
    description: Show work phone to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_MOBILE_PHONE_TO_GUEST_USERS
    description: Show mobile phone to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_FAX_TO_GUEST_USERS
    description: Show fax number to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_STREET_ADDRESS_TO_GUEST_USERS
    description: Show street address to guest users preference
    tests:
    - not_null
  - name: USER_PREFERENCES_LIGHTNING_EXPERIENCE_PREFERRED
    description: Prefer Lightning Experience interface preference
    tests:
    - not_null
  - name: USER_PREFERENCES_PREVIEW_LIGHTNING
    description: Preview Lightning Experience feature preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_END_USER_ONBOARDING_ASSISTANT_MODAL
    description: Hide end-user onboarding assistant modal preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_LIGHTNING_MIGRATION_MODAL
    description: Hide Lightning migration modal preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_SFX_WELCOME_MAT
    description: Hide Salesforce Experience welcome mat preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_BIGGER_PHOTO_CALLOUT
    description: Hide bigger photo callout preference
    tests:
    - not_null
  - name: USER_PREFERENCES_GLOBAL_NAV_BAR_WTSHOWN
    description: Global navigation bar walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_GLOBAL_NAV_GRID_MENU_WTSHOWN
    description: Global navigation grid menu walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_CREATE_LEXAPPS_WTSHOWN
    description: Create Lightning apps walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_FAVORITES_WTSHOWN
    description: Favorites walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_RECORD_HOME_SECTION_COLLAPSE_WTSHOWN
    description: Record home section collapse walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_RECORD_HOME_RESERVED_WTSHOWN
    description: Record home reserved walkthrough shown preference
    tests:
    - not_null
  - name: USER_PREFERENCES_FAVORITES_SHOW_TOP_FAVORITES
    description: Show top favorites preference
    tests:
    - not_null
  - name: USER_PREFERENCES_EXCLUDE_MAIL_APP_ATTACHMENTS
    description: Exclude mail app attachments preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SUPPRESS_TASK_SFXREMINDERS
    description: Suppress Salesforce Experience task reminders preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SUPPRESS_EVENT_SFXREMINDERS
    description: Suppress Salesforce Experience event reminders preference
    tests:
    - not_null
  - name: USER_PREFERENCES_PREVIEW_CUSTOM_THEME
    description: Preview custom theme preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HAS_CELEBRATION_BADGE
    description: Has celebration badge preference
    tests:
    - not_null
  - name: USER_PREFERENCES_USER_DEBUG_MODE_PREF
    description: User debug mode preference
    tests:
    - not_null
  - name: USER_PREFERENCES_SRHOVERRIDE_ACTIVITIES
    description: Override activities preference
    tests:
    - not_null
  - name: USER_PREFERENCES_NEW_LIGHTNING_REPORT_RUN_PAGE_ENABLED
    description: New Lightning report run page enabled preference
    tests:
    - not_null
  - name: USER_PREFERENCES_REVERSE_OPEN_ACTIVITIES_VIEW
    description: Preference to reverse open activities view
    tests:
    - not_null
  - name: USER_PREFERENCES_HAS_SENT_WARNING_EMAIL
    description: Indicates if warning email has been sent
    tests:
    - not_null
  - name: USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_238
    description: Specific warning email 238 sent status
    tests:
    - not_null
  - name: USER_PREFERENCES_HAS_SENT_WARNING_EMAIL_240
    description: Specific warning email 240 sent status
    tests:
    - not_null
  - name: USER_PREFERENCES_USE_SALESFORCE_MAILER_FOR_LEX_EMAIL
    description: Preference to use Salesforce mailer for LEX
    tests:
    - not_null
  - name: USER_PREFERENCES_HUB_SPOT_IMPORT_TOS
    description: Acceptance of HubSpot import terms of service
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_BROWSE_PRODUCT_REDIRECT_CONFIRMATION
    description: Hide product redirect confirmation preference
    tests:
    - not_null
  - name: USER_PREFERENCES_HIDE_ONLINE_SALES_APP_WELCOME_MAT
    description: Hide online sales app welcome mat
    tests:
    - not_null
  - name: USER_PREFERENCES_SHOW_FORECASTING_ROUNDED_AMOUNTS
    description: Show rounded amounts in forecasting
    tests:
    - not_null
  - name: CONTACT_ID
    description: Associated contact ID for the user
    cocoon_meta:
      missing_reason: Not applicable for internal users who aren't contacts.
  - name: ACCOUNT_ID
    description: Associated account ID for the user
    cocoon_meta:
      missing_reason: Not applicable for individual users without associated accounts.
  - name: CALL_CENTER_ID
    description: Associated call center ID for the user
    cocoon_meta:
      missing_reason: Not applicable for users not associated with call centers.
  - name: EXTENSION
    description: User's phone extension
    cocoon_meta:
      missing_reason: Not applicable if user doesn't have an office phone extension.
  - name: FEDERATION_IDENTIFIER
    description: Identifier for federated authentication
    cocoon_meta:
      missing_reason: Not applicable if user isn't federated with external systems.
  - name: ABOUT_ME
    description: User's personal description or bio
    cocoon_meta:
      missing_reason: Unknown
  - name: FULL_PHOTO_URL
    description: URL of user's full-size profile photo
    tests:
    - not_null
  - name: SMALL_PHOTO_URL
    description: URL of user's small profile photo
    tests:
    - not_null
  - name: IS_EXT_INDICATOR_VISIBLE
    description: Visibility of external indicator for user
    tests:
    - not_null
  - name: OUT_OF_OFFICE_MESSAGE
    description: User's out of office message
    cocoon_meta:
      missing_reason: Unknown
  - name: MEDIUM_PHOTO_URL
    description: URL of user's medium-size profile photo
    tests:
    - not_null
  - name: DIGEST_FREQUENCY
    description: Frequency of digest emails for user
    tests:
    - not_null
  - name: DEFAULT_GROUP_NOTIFICATION_FREQUENCY
    description: Default group notification frequency
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date the user was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date the user was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: BANNER_PHOTO_URL
    description: URL of user's banner photo
    tests:
    - not_null
  - name: SMALL_BANNER_PHOTO_URL
    description: URL of user's small banner photo
    tests:
    - not_null
  - name: MEDIUM_BANNER_PHOTO_URL
    description: URL of user's medium banner photo
    tests:
    - not_null
  - name: IS_PROFILE_PHOTO_ACTIVE
    description: Indicates if profile photo is active
    tests:
    - not_null
  - name: INDIVIDUAL_ID
    description: Associated individual ID for the user
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last data sync by Fivetran
    tests:
    - not_null
  - name: USER_PREFERENCES_NATIVE_EMAIL_CLIENT
    description: User preference for using native email client
    cocoon_meta:
      missing_reason: Not applicable for users not using native email client.
  - name: USER_PREFERENCES_SEND_LIST_EMAIL_THROUGH_EXTERNAL_SERVICE
    description: Preference for sending list emails via external service
    cocoon_meta:
      missing_reason: Unknown
  tests: []

stg_PERMISSION_SET_GROUP_COMPONENT

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_GROUP_ID PERMISSION_SET_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERMISSION_SET_GROUP_COMPONENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:16:15.157687+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_GROUP_COMPONENT"

stg_PERMISSION_SET_GROUP_COMPONENT.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_GROUP_COMPONENT
  description: The table represents the relation between Permission Set Groups and
    Permission Sets. It shows which Permission Sets are included in each Permission
    Set Group. Each row links a Permission Set Group ID to a Permission Set ID. The
    table includes metadata like creation and modification dates, and information
    about who created or modified the relationship.
  columns:
  - name: ID
    description: Unique identifier for the Permission Set Group-Permission Set relationship
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the relationship was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the relationship
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the relationship
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: PERMISSION_SET_GROUP_ID
    description: ID of the Permission Set Group
    tests:
    - not_null
  - name: PERMISSION_SET_ID
    description: ID of the Permission Set
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific field for tracking deletions
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific field for tracking synchronization
    tests:
    - not_null
  tests: []

stg_CAMPAIGN

Table Preview (sample only)

ID IS_DELETED NAME PARENT_ID TYPE STATUS START_DATE END_DATE EXPECTED_REVENUE BUDGETED_COST ACTUAL_COST EXPECTED_RESPONSE NUMBER_SENT IS_ACTIVE DESCRIPTION NUMBER_OF_LEADS NUMBER_OF_CONVERTED_LEADS NUMBER_OF_CONTACTS NUMBER_OF_RESPONSES NUMBER_OF_OPPORTUNITIES NUMBER_OF_WON_OPPORTUNITIES AMOUNT_ALL_OPPORTUNITIES AMOUNT_WON_OPPORTUNITIES OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE CAMPAIGN_MEMBER_RECORD_TYPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CAMPAIGN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:45.152543+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CAMPAIGN"

stg_CAMPAIGN.yml (Document the table)

version: 2
models:
- name: stg_CAMPAIGN
  description: The table is about marketing campaigns. It includes campaign details
    like ID, name, type, status, dates, and financial metrics. The table tracks campaign
    performance with fields for expected revenue, budgeted cost, actual cost, and
    response rates. It also records the number of leads, contacts, opportunities,
    and conversions associated with each campaign. Administrative fields like owner,
    creation date, and last modified date are included.
  columns:
  - name: ID
    description: Unique identifier for the campaign
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the campaign is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the marketing campaign
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent campaign, if any
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the campaign
    tests:
    - not_null
  - name: STATUS
    description: Current status of the campaign
    tests:
    - not_null
  - name: START_DATE
    description: Date when the campaign began
    tests:
    - not_null
  - name: END_DATE
    description: Date when the campaign ended or will end
    tests:
    - not_null
  - name: EXPECTED_REVENUE
    description: Anticipated revenue from the campaign
    tests:
    - not_null
  - name: BUDGETED_COST
    description: Planned cost for the campaign
    tests:
    - not_null
  - name: ACTUAL_COST
    description: Actual expenditure on the campaign
    tests:
    - not_null
  - name: EXPECTED_RESPONSE
    description: Anticipated response rate for the campaign
    tests:
    - not_null
  - name: NUMBER_SENT
    description: Number of campaign materials distributed
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the campaign is currently active
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the campaign
    tests:
    - not_null
  - name: NUMBER_OF_LEADS
    description: Total number of leads generated
    tests:
    - not_null
  - name: NUMBER_OF_CONVERTED_LEADS
    description: Number of leads that converted
    tests:
    - not_null
  - name: NUMBER_OF_CONTACTS
    description: Total number of contacts associated with the campaign
    tests:
    - not_null
  - name: NUMBER_OF_RESPONSES
    description: Total number of responses received
    tests:
    - not_null
  - name: NUMBER_OF_OPPORTUNITIES
    description: Total number of opportunities generated
    tests:
    - not_null
  - name: NUMBER_OF_WON_OPPORTUNITIES
    description: Number of opportunities won
    tests:
    - not_null
  - name: AMOUNT_ALL_OPPORTUNITIES
    description: Total value of all opportunities
    tests:
    - not_null
  - name: AMOUNT_WON_OPPORTUNITIES
    description: Total value of won opportunities
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the campaign owner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the campaign record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the campaign record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the campaign record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_ACTIVITY_DATE
    description: Date of the most recent activity
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the campaign record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the campaign record was last referenced
    tests:
    - not_null
  - name: CAMPAIGN_MEMBER_RECORD_TYPE_ID
    description: ID of the campaign member record type
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EVENT_RELATION

Table Preview (sample only)

ID RELATION_ID EVENT_ID IS_WHAT IS_PARENT IS_INVITEE ACCOUNT_ID STATUS RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:03.702855+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_RELATION"

stg_EVENT_RELATION.yml (Document the table)

version: 2
models:
- name: stg_EVENT_RELATION
  description: The table is about event relations. It links events to participants
    or related entities. The table tracks the status of invitees, their responses,
    and when they responded. It also includes information about the creation and modification
    of these relations. The IS_WHAT, IS_PARENT, and IS_INVITEE fields likely define
    the type of relationship. The table includes standard Salesforce fields for tracking
    changes and deletions.
  columns:
  - name: ID
    description: Unique identifier for the event relation
    tests:
    - not_null
  - name: RELATION_ID
    description: ID of the related entity or person
    tests:
    - not_null
  - name: EVENT_ID
    description: ID of the associated event
    tests:
    - not_null
  - name: IS_WHAT
    description: Indicates if this is a 'what' relationship
    tests:
    - not_null
  - name: IS_PARENT
    description: Indicates if this is a parent relationship
    tests:
    - not_null
  - name: IS_INVITEE
    description: Indicates if this entity is an invitee
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: STATUS
    description: Current status of the event relation
    tests:
    - not_null
  - name: RESPONDED_DATE
    description: Date when the invitee responded
    tests:
    - not_null
  - name: RESPONSE
    description: The invitee's response to the event
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the relation was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the relation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the relation
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TASK_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:55.970111+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK_TAG"

stg_TASK_TAG.yml (Document the table)

version: 2
models:
- name: stg_TASK_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DECLINED_EVENT_RELATION

Table Preview (sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DECLINED_EVENT_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:55.755179+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DECLINED_EVENT_RELATION"

stg_DECLINED_EVENT_RELATION.yml (Document the table)

version: 2
models:
- name: stg_DECLINED_EVENT_RELATION
  description: The table tracks event responses. It includes event IDs and account
    IDs. It records response types and dates. The partitions separate accepted, declined,
    and undecided responses. The table likely manages event attendance and participant
    status for an organization or system.
  columns:
  - name: ID
    description: Primary key or unique identifier for the record
    tests:
    - not_null
  - name: RELATION_ID
    description: ID representing a relationship (purpose unclear)
    tests:
    - not_null
  - name: EVENT_ID
    description: Unique identifier for the associated event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Unique identifier for the associated account
    tests:
    - not_null
  - name: RESPONDED_DATE
    description: Date and time when the response was submitted
    tests:
    - not_null
  - name: RESPONSE
    description: The actual response given (e.g., accepted, declined)
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating whether the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the response or event
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MY_DOMAIN_DISCOVERABLE_LOGIN

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXECUTE_APEX_HANDLER_AS_ID USERNAME_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MY_DOMAIN_DISCOVERABLE_LOGIN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:11.055411+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MY_DOMAIN_DISCOVERABLE_LOGIN"

stg_MY_DOMAIN_DISCOVERABLE_LOGIN.yml (Document the table)

version: 2
models:
- name: stg_MY_DOMAIN_DISCOVERABLE_LOGIN
  description: The table is about configurable login settings for a domain. It includes
    details like developer name, language, master label, and creation/modification
    timestamps. The table also tracks if the setting is deleted and contains a username
    label field. It appears to be used for managing custom login experiences for a
    domain or website.
  columns:
  - name: ID
    description: Unique identifier for the login setting
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the setting is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used by developers for the setting
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the login setting
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the login setting
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the setting was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the setting
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the setting
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: EXECUTE_APEX_HANDLER_AS_ID
    description: ID for executing Apex handler
    tests:
    - not_null
  - name: USERNAME_LABEL
    description: Label for username field in login form
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SETUP_ASSISTANT_STEP

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ASSISTANT_TYPE IS_COMPLETE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SETUP_ASSISTANT_STEP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:05.757850+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SETUP_ASSISTANT_STEP"

stg_SETUP_ASSISTANT_STEP.yml (Document the table)

version: 2
models:
- name: stg_SETUP_ASSISTANT_STEP
  description: The table is about setup assistant steps. It tracks details of each
    step in a setup process. The table includes the step ID, name, creation and modification
    dates, user IDs for creation and modification, completion status, and assistant
    type. It also has fields for system tracking like deletion status and synchronization
    timestamp.
  columns:
  - name: ID
    description: Unique identifier for the setup assistant step
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the step has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the setup assistant step
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the step was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the step
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the step
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: ASSISTANT_TYPE
    description: Type or category of the setup assistant
    tests:
    - not_null
  - name: IS_COMPLETE
    description: Indicates if the step has been completed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for data sync
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_DOCUMENT_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DOCUMENT_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:34.030310+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DOCUMENT_TAG"

stg_DOCUMENT_TAG.yml (Document the table)

version: 2
models:
- name: stg_DOCUMENT_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MKT_MLMODEL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ML_MODEL_API_NAME OFF_CORE_SYNC_STATUS DEPLOY_STATUS LAST_RUN_STATUS LAST_REFRESH_DATE LAST_PROCESSED_RECORDS AGGREGATED_STATUS SCORING_MODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_MLMODEL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:33.157500+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_MLMODEL"

stg_MKT_MLMODEL.yml (Document the table)

version: 2
models:
- name: stg_MKT_MLMODEL
  description: The table is about machine learning models. It includes model details
    like ID, name, description, and API name. It tracks model ownership, creation,
    and modification dates. The table also stores model status information such as
    deployment status, last run status, and sync status. It captures performance metrics
    like last refresh date and processed records. The scoring mode and aggregated
    status are also included.
  columns:
  - name: ID
    description: Unique identifier for the ML model
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the model
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the model is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the ML model
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the model was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the model
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the model
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the model
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the model was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the model was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the ML model
    tests:
    - not_null
  - name: ML_MODEL_API_NAME
    description: API name of the ML model
    tests:
    - not_null
  - name: OFF_CORE_SYNC_STATUS
    description: Synchronization status for off-core operations
    tests:
    - not_null
  - name: DEPLOY_STATUS
    description: Current deployment status of the model
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the most recent model run
    tests:
    - not_null
  - name: LAST_REFRESH_DATE
    description: Date of the last model refresh
    tests:
    - not_null
  - name: LAST_PROCESSED_RECORDS
    description: Number of records processed in the last run
    tests:
    - not_null
  - name: AGGREGATED_STATUS
    description: Overall status of the model
    tests:
    - not_null
  - name: SCORING_MODE
    description: Mode used for model scoring
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_QUICK_TEXT_USAGE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_QUICK_TEXT_USAGE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:10.016315+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."QUICK_TEXT_USAGE_SHARE"

stg_QUICK_TEXT_USAGE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_QUICK_TEXT_USAGE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ORGANIZATION

Table Preview (sample only)

ID NAME DIVISION STREET CITY STATE POSTAL_CODE COUNTRY LATITUDE LONGITUDE GEOCODE_ACCURACY PHONE FAX PRIMARY_CONTACT DEFAULT_LOCALE_SID_KEY TIME_ZONE_SID_KEY LANGUAGE_LOCALE_KEY RECEIVES_INFO_EMAILS RECEIVES_ADMIN_INFO_EMAILS PREFERENCES_REQUIRE_OPPORTUNITY_PRODUCTS PREFERENCES_CONSENT_MANAGEMENT_ENABLED PREFERENCES_AUTO_SELECT_INDIVIDUAL_ON_MERGE PREFERENCES_LIGHTNING_LOGIN_ENABLED PREFERENCES_ONLY_LLPERM_USER_ALLOWED FISCAL_YEAR_START_MONTH USES_START_DATE_AS_FISCAL_YEAR_NAME DEFAULT_ACCOUNT_ACCESS DEFAULT_CONTACT_ACCESS DEFAULT_OPPORTUNITY_ACCESS DEFAULT_LEAD_ACCESS DEFAULT_CASE_ACCESS DEFAULT_CALENDAR_ACCESS DEFAULT_PRICEBOOK_ACCESS DEFAULT_CAMPAIGN_ACCESS DELEGATED_AUTHENTICATION_SERVICE_URL SYSTEM_MODSTAMP COMPLIANCE_BCC_EMAIL UI_SKIN SIGNUP_COUNTRY_ISO_CODE TRIAL_EXPIRATION_DATE NUM_KNOWLEDGE_SERVICE ORGANIZATION_TYPE NAMESPACE_PREFIX INSTANCE_NAME IS_SANDBOX WEB_TO_CASE_DEFAULT_ORIGIN MONTHLY_PAGE_VIEWS_USED MONTHLY_PAGE_VIEWS_ENTITLEMENT IS_READ_ONLY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORGANIZATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:09:54.222703+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORGANIZATION"

stg_ORGANIZATION.yml (Document the table)

version: 2
models:
- name: stg_ORGANIZATION
  description: The table is about organization details. It includes basic information
    like name, address, and contact details. It also contains preferences, settings,
    and system-related data. The table covers fiscal details, access permissions,
    and technical configurations. It includes timestamps for creation and modification,
    and flags for various organizational features and capabilities.
  columns:
  - name: ID
    description: Unique identifier for the organization
    tests:
    - not_null
  - name: NAME
    description: Name of the organization
    tests:
    - not_null
  - name: DIVISION
    description: Division or department within the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: STREET
    description: Street address of the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: CITY
    description: City where the organization is located
    cocoon_meta:
      missing_reason: Unknown
  - name: STATE
    description: State or province of the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: POSTAL_CODE
    description: Postal or ZIP code of the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: COUNTRY
    description: Country where the organization is located
    tests:
    - not_null
  - name: LATITUDE
    description: Latitude coordinate of the organization's location
    cocoon_meta:
      missing_reason: Unknown
  - name: LONGITUDE
    description: Longitude coordinate of the organization's location
    cocoon_meta:
      missing_reason: Unknown
  - name: GEOCODE_ACCURACY
    description: Accuracy level of the geocoding
    cocoon_meta:
      missing_reason: Unknown
  - name: PHONE
    description: Phone number of the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: FAX
    description: Fax number of the organization
    cocoon_meta:
      missing_reason: Unknown
  - name: PRIMARY_CONTACT
    description: Name of the primary contact person
    tests:
    - not_null
  - name: DEFAULT_LOCALE_SID_KEY
    description: Default locale setting for the organization
    tests:
    - not_null
  - name: TIME_ZONE_SID_KEY
    description: Time zone setting for the organization
    tests:
    - not_null
  - name: LANGUAGE_LOCALE_KEY
    description: Default language setting for the organization
    tests:
    - not_null
  - name: RECEIVES_INFO_EMAILS
    description: Indicates if organization receives informational emails
    tests:
    - not_null
  - name: RECEIVES_ADMIN_INFO_EMAILS
    description: Indicates if organization receives admin emails
    tests:
    - not_null
  - name: PREFERENCES_REQUIRE_OPPORTUNITY_PRODUCTS
    description: Preference for requiring opportunity products
    tests:
    - not_null
  - name: PREFERENCES_CONSENT_MANAGEMENT_ENABLED
    description: Indicates if consent management is enabled
    tests:
    - not_null
  - name: PREFERENCES_AUTO_SELECT_INDIVIDUAL_ON_MERGE
    description: Preference for auto-selecting individuals during merges
    tests:
    - not_null
  - name: PREFERENCES_LIGHTNING_LOGIN_ENABLED
    description: Indicates if Lightning Login is enabled
    tests:
    - not_null
  - name: PREFERENCES_ONLY_LLPERM_USER_ALLOWED
    description: Preference for allowing only LLPERM users
    tests:
    - not_null
  - name: FISCAL_YEAR_START_MONTH
    description: Starting month of the fiscal year
    tests:
    - not_null
  - name: USES_START_DATE_AS_FISCAL_YEAR_NAME
    description: Indicates if start date is used as fiscal year name
    tests:
    - not_null
  - name: DEFAULT_ACCOUNT_ACCESS
    description: Default access level for accounts
    tests:
    - not_null
  - name: DEFAULT_CONTACT_ACCESS
    description: Default access level for contacts
    tests:
    - not_null
  - name: DEFAULT_OPPORTUNITY_ACCESS
    description: Default access level for opportunities
    tests:
    - not_null
  - name: DEFAULT_LEAD_ACCESS
    description: Default access level for leads
    tests:
    - not_null
  - name: DEFAULT_CASE_ACCESS
    description: Default access level for cases
    tests:
    - not_null
  - name: DEFAULT_CALENDAR_ACCESS
    description: Default access level for calendars
    tests:
    - not_null
  - name: DEFAULT_PRICEBOOK_ACCESS
    description: Default access level for pricebooks
    tests:
    - not_null
  - name: DEFAULT_CAMPAIGN_ACCESS
    description: Default access level for campaigns
    tests:
    - not_null
  - name: DELEGATED_AUTHENTICATION_SERVICE_URL
    description: URL for delegated authentication service
    cocoon_meta:
      missing_reason: Not using delegated authentication for this organization.
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: COMPLIANCE_BCC_EMAIL
    description: Email address for compliance BCC
    cocoon_meta:
      missing_reason: Unknown
  - name: UI_SKIN
    description: User interface theme
    tests:
    - not_null
  - name: SIGNUP_COUNTRY_ISO_CODE
    description: ISO code of country where signup occurred
    tests:
    - not_null
  - name: TRIAL_EXPIRATION_DATE
    description: Expiration date of trial period
    tests:
    - not_null
  - name: NUM_KNOWLEDGE_SERVICE
    description: Number of knowledge services
    tests:
    - not_null
  - name: ORGANIZATION_TYPE
    description: Type or edition of the organization
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the organization's namespace
    cocoon_meta:
      missing_reason: Unknown
  - name: INSTANCE_NAME
    description: Name of the instance
    tests:
    - not_null
  - name: IS_SANDBOX
    description: Indicates if the org is a sandbox
    tests:
    - not_null
  - name: WEB_TO_CASE_DEFAULT_ORIGIN
    description: Default origin for web-to-case
    cocoon_meta:
      missing_reason: Default origin may not be set for all cases.
  - name: MONTHLY_PAGE_VIEWS_USED
    description: Number of monthly page views used
    tests:
    - not_null
  - name: MONTHLY_PAGE_VIEWS_ENTITLEMENT
    description: Entitled monthly page views
    tests:
    - not_null
  - name: IS_READ_ONLY
    description: Indicates if the org is read-only
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the organization was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the organization
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the org
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TRANSLATION

Table Preview (sample only)

ID LANGUAGE_ IS_ACTIVE CAN_MANAGE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TRANSLATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:49.776572+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TRANSLATION"

stg_TRANSLATION.yml (Document the table)

version: 2
models:
- name: stg_TRANSLATION
  description: The table is about language translations. It contains details like
    language, active status, management permissions, and timestamps. Each translation
    has a unique ID. The table tracks creation and modification dates, as well as
    the users who made changes. It includes system-related fields for tracking modifications
    and syncing.
  columns:
  - name: ID
    description: Unique identifier for each translation entry
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code or name for the translation
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the translation is currently active
    tests:
    - not_null
  - name: CAN_MANAGE
    description: Permission flag for managing the translation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the entry was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_ATTACHMENT

Table Preview (sample only)

ID IS_DELETED PARENT_ID NAME IS_PRIVATE CONTENT_TYPE BODY_LENGTH OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ATTACHMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:44.316698+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ATTACHMENT"

stg_ATTACHMENT.yml (Document the table)

version: 2
models:
- name: stg_ATTACHMENT
  description: The table is about attachments. It contains metadata for file attachments.
    Key fields include ID, parent ID, name, content type, and body length. It tracks
    creation and modification dates, owner, privacy status, and description. The table
    also includes system fields for tracking deletions and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the attachment
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the attachment has been deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record the attachment is linked to
    tests:
    - not_null
  - name: NAME
    description: File name of the attachment
    tests:
    - not_null
  - name: IS_PRIVATE
    description: Indicates if the attachment is private
    tests:
    - not_null
  - name: CONTENT_TYPE
    description: MIME type of the attachment
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Size of the attachment in bytes
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the attachment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the attachment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the attachment
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the attachment
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking last modification timestamp
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the attachment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific field for tracking deletions
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific field for tracking synchronization
    tests:
    - not_null
  tests: []

stg_PAYMENT

Table Preview (sample only)

ID IS_DELETED PAYMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GROUP_ID ACCOUNT_ID PAYMENT_AUTHORIZATION_ID DATE_ CANCELLATION_DATE AMOUNT STATUS TYPE PROCESSING_MODE GATEWAY_REF_NUMBER CLIENT_CONTEXT GATEWAY_RESULT_CODE SF_RESULT_CODE GATEWAY_DATE CANCELLATION_GATEWAY_REF_NUMBER CANCELLATION_GATEWAY_RESULT_CODE CANCELLATION_SF_RESULT_CODE CANCELLATION_GATEWAY_DATE COMMENTS EFFECTIVE_DATE CANCELLATION_EFFECTIVE_DATE GATEWAY_RESULT_CODE_DESCRIPTION GATEWAY_REF_DETAILS IP_ADDRESS MAC_ADDRESS PHONE EMAIL PAYMENT_GATEWAY_ID PAYMENT_METHOD_ID TOTAL_APPLIED TOTAL_UNAPPLIED NET_APPLIED BALANCE PAYMENT_INTENT_GUID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:11:18.096378+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT"

stg_PAYMENT.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT
  description: The table is about payments. It contains details like payment ID, number,
    amount, status, type, and dates. It tracks payment processing information including
    gateway references, result codes, and processing modes. The table also includes
    cancellation details, client context, and payment method information. It links
    payments to accounts, payment groups, and authorizations. Additional fields store
    audit information like creation and modification dates.
  columns:
  - name: ID
    description: Unique identifier for the payment record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PAYMENT_NUMBER
    description: Unique number assigned to the payment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PAYMENT_GROUP_ID
    description: ID of the associated payment group
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: PAYMENT_AUTHORIZATION_ID
    description: ID of the associated payment authorization
    tests:
    - not_null
  - name: DATE_
    description: Date of the payment
    tests:
    - not_null
  - name: CANCELLATION_DATE
    description: Date when the payment was cancelled
    tests:
    - not_null
  - name: AMOUNT
    description: Amount of the payment
    tests:
    - not_null
  - name: STATUS
    description: Current status of the payment
    tests:
    - not_null
  - name: TYPE
    description: Type of payment
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode used for processing the payment
    tests:
    - not_null
  - name: GATEWAY_REF_NUMBER
    description: Reference number from the payment gateway
    tests:
    - not_null
  - name: CLIENT_CONTEXT
    description: Context information provided by the client
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code returned by the payment gateway
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Result code returned by Salesforce
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date and time recorded by the payment gateway
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_REF_NUMBER
    description: Gateway reference number for cancellation
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_RESULT_CODE
    description: Gateway result code for cancellation
    tests:
    - not_null
  - name: CANCELLATION_SF_RESULT_CODE
    description: Salesforce result code for cancellation
    tests:
    - not_null
  - name: CANCELLATION_GATEWAY_DATE
    description: Gateway date for cancellation
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: EFFECTIVE_DATE
    description: Date when the payment becomes effective
    tests:
    - not_null
  - name: CANCELLATION_EFFECTIVE_DATE
    description: Date when cancellation becomes effective
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of payment gateway result code
    tests:
    - not_null
  - name: GATEWAY_REF_DETAILS
    description: Reference details from payment gateway
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address used for payment transaction
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address of device used for payment
    tests:
    - not_null
  - name: PHONE
    description: Phone number associated with payment
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with payment
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: Unique identifier for the payment gateway
    tests:
    - not_null
  - name: PAYMENT_METHOD_ID
    description: Unique identifier for the payment method
    tests:
    - not_null
  - name: TOTAL_APPLIED
    description: Total amount applied to payment
    tests:
    - not_null
  - name: TOTAL_UNAPPLIED
    description: Total amount not applied to payment
    tests:
    - not_null
  - name: NET_APPLIED
    description: Net amount applied after adjustments
    tests:
    - not_null
  - name: BALANCE
    description: Remaining balance after payment
    tests:
    - not_null
  - name: PAYMENT_INTENT_GUID
    description: Globally unique identifier for payment intent
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_ALTERNATIVE_PAYMENT_METHOD_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ALTERNATIVE_PAYMENT_METHOD_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:47.234381+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ALTERNATIVE_PAYMENT_METHOD_SHARE"

stg_ALTERNATIVE_PAYMENT_METHOD_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ALTERNATIVE_PAYMENT_METHOD_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_RECORD_ACTION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RECORD_ID FLOW_DEFINITION FLOW_INTERVIEW_ID ORDER_ STATUS PINNED ACTION_TYPE ACTION_DEFINITION IS_MANDATORY IS_UI_REMOVE_HIDDEN _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_RECORD_ACTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:33.205256+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."RECORD_ACTION"

stg_RECORD_ACTION.yml (Document the table)

version: 2
models:
- name: stg_RECORD_ACTION
  description: The table is about record actions. It includes details such as the
    record ID, flow definition, action type, and status. It tracks creation and modification
    dates, user IDs, and system timestamps. The table also indicates if the action
    is deleted, mandatory, or hidden from the UI. It seems to be used for tracking
    and managing steps or actions performed on records in a system.
  columns:
  - name: ID
    description: Unique identifier for the record action
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record action is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record action was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record action
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the action
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: RECORD_ID
    description: ID of the associated record
    tests:
    - not_null
  - name: FLOW_DEFINITION
    description: Definition of the flow associated with the action
    tests:
    - not_null
  - name: FLOW_INTERVIEW_ID
    description: ID of the flow interview
    tests:
    - not_null
  - name: ORDER_
    description: Order or sequence of the action
    tests:
    - not_null
  - name: STATUS
    description: Current status of the record action
    tests:
    - not_null
  - name: PINNED
    description: Indicates if the action is pinned
    tests:
    - not_null
  - name: ACTION_TYPE
    description: Type of action being performed
    tests:
    - not_null
  - name: ACTION_DEFINITION
    description: Definition or details of the action
    tests:
    - not_null
  - name: IS_MANDATORY
    description: Indicates if the action is mandatory
    tests:
    - not_null
  - name: IS_UI_REMOVE_HIDDEN
    description: Indicates if action is hidden from UI removal
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_GOAL_ASSIGNMENT

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_RECORD_ID GOAL_DEFINITION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED TARGET_COMPLETION_PERCENTAGE TARGET

stg_GOAL_ASSIGNMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:58.511607+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_ASSIGNMENT"

stg_GOAL_ASSIGNMENT.yml (Document the table)

version: 2
models:
- name: stg_GOAL_ASSIGNMENT
  description: The table is about goal assignments. It tracks individual goals assigned
    to users or teams. The table includes goal details, ownership, creation and modification
    information, and target metrics. It relates to other entities through OWNER_ID,
    CREATED_BY_ID, LAST_MODIFIED_BY_ID, PARENT_RECORD_ID, and GOAL_DEFINITION_ID fields.
    The table also includes system fields for tracking changes and user interactions.
  columns:
  - name: ID
    description: Unique identifier for the goal assignment
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user or team assigned the goal
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the goal assignment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: PARENT_RECORD_ID
    description: ID of the parent record, if applicable
    tests:
    - not_null
  - name: GOAL_DEFINITION_ID
    description: ID of the associated goal definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  - name: TARGET_COMPLETION_PERCENTAGE
    description: Target percentage for goal completion
    tests:
    - not_null
  - name: TARGET
    description: Numeric target value for the goal
    tests:
    - not_null
  tests: []

stg_BRIEFCASE_ASSIGNMENT

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_OR_GROUP_ID BRIEFCASE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRIEFCASE_ASSIGNMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:21.511750+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRIEFCASE_ASSIGNMENT"

stg_BRIEFCASE_ASSIGNMENT.yml (Document the table)

version: 2
models:
- name: stg_BRIEFCASE_ASSIGNMENT
  description: The table represents the assignment of briefcases to users or groups.
    It tracks the creation and modification details of each assignment. The table
    includes IDs for the user/group and the briefcase. It also has system fields for
    tracking changes and deletions. The table likely supports a feature where briefcases
    (possibly containing documents or cases) are allocated to specific users or groups
    in a system.
  columns:
  - name: ID
    description: Unique identifier for the assignment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the assignment was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the assignment
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the assignment
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group assigned the briefcase
    tests:
    - not_null
  - name: BRIEFCASE_ID
    description: ID of the briefcase assigned
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_MULTI_ORG_CONNECTION

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_ORG CONNECTION_STATUS ORG_TYPE PARTNER_APP_NAME CONNECTED_BY_USER_ID RECORD_SYN_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED TENANT_KEY

stg_DATA_MULTI_ORG_CONNECTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:49.271214+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_MULTI_ORG_CONNECTION"

stg_DATA_MULTI_ORG_CONNECTION.yml (Document the table)

version: 2
models:
- name: stg_DATA_MULTI_ORG_CONNECTION
  description: The table is about multi-org connections in Salesforce. It contains
    details of connected organizations, including connection status, org type, and
    partner app name. The table tracks creation and modification dates, user IDs,
    and synchronization status. It also includes flags for deletion and Fivetran syncing.
    Each connection is uniquely identified by an ID and associated with a tenant key.
  columns:
  - name: ID
    description: Unique identifier for the multi-org connection
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the connection
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the connection
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: CONNECTED_ORG
    description: Name or identifier of the connected organization
    tests:
    - not_null
  - name: CONNECTION_STATUS
    description: Current status of the connection
    tests:
    - not_null
  - name: ORG_TYPE
    description: Type of the connected Salesforce organization
    tests:
    - not_null
  - name: PARTNER_APP_NAME
    description: Name of the partner application
    tests:
    - not_null
  - name: CONNECTED_BY_USER_ID
    description: ID of user who established the connection
    tests:
    - not_null
  - name: RECORD_SYN_STATUS
    description: Synchronization status of the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  - name: TENANT_KEY
    description: Unique identifier for the tenant
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET_ASSIGNMENT

Table Preview (sample only)

ID PERMISSION_SET_ID PERMISSION_SET_GROUP_ID ASSIGNEE_ID SYSTEM_MODSTAMP EXPIRATION_DATE IS_ACTIVE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERMISSION_SET_ASSIGNMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:15:56.993183+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_ASSIGNMENT"

stg_PERMISSION_SET_ASSIGNMENT.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_ASSIGNMENT
  description: The table is about permission set assignments. It links permission
    sets to assignees. Each row represents an assignment with a unique ID. The table
    includes details like the permission set ID, assignee ID, and active status. It
    also tracks system modification timestamps and Fivetran sync information. The
    table shows who has been granted which permission sets in a system.
  columns:
  - name: ID
    description: Unique identifier for each permission set assignment
    tests:
    - not_null
  - name: PERMISSION_SET_ID
    description: Identifier of the permission set being assigned
    tests:
    - not_null
  - name: PERMISSION_SET_GROUP_ID
    description: Identifier of the permission set group, if applicable
    cocoon_meta:
      missing_reason: Unknown
  - name: ASSIGNEE_ID
    description: Identifier of the user receiving the permission set
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last system modification
    tests:
    - not_null
  - name: EXPIRATION_DATE
    description: Date when the permission set assignment expires
    cocoon_meta:
      missing_reason: Not applicable for permissions without expiration dates.
  - name: IS_ACTIVE
    description: Indicates if the assignment is currently active
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EXTERNAL_STRING

Table Preview (sample only)

ID NAME MASTER_LABEL VALUE_ IS_PROTECTED CATEGORY LANGUAGE_ NAMESPACE_PREFIX MANAGEABLE_STATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_STRING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:26.793738+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_STRING"

stg_EXTERNAL_STRING.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_STRING
  description: The table is about external string values. It contains details such
    as ID, name, label, value, protection status, category, language, and namespace.
    The table also tracks creation and modification dates, creator and modifier IDs,
    manageable state, deletion status, and system metadata. It appears to be used
    for storing and managing localized or customizable string values in a system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: NAME
    description: Name of the external string value
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the string value
    tests:
    - not_null
  - name: VALUE_
    description: Actual string value
    tests:
    - not_null
  - name: IS_PROTECTED
    description: Protection status of the string
    tests:
    - not_null
  - name: CATEGORY
    description: Category of the string value
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the string value
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the string
    tests:
    - not_null
  - name: MANAGEABLE_STATE
    description: Current state of manageability
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Deletion status of the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_PHONE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_PHONE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:16.182867+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_PHONE_SHARE"

stg_CONTACT_POINT_PHONE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_PHONE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PROCESS_FLOW_MIGRATION

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MIGRATED_CRITERIA_LABEL MIGRATED_CRITERIA_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_FLOW_MIGRATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:33.828565+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_FLOW_MIGRATION"

stg_PROCESS_FLOW_MIGRATION.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_FLOW_MIGRATION
  description: The table is about process flow migration details. It includes information
    like developer name, language, master label, and namespace prefix. The table tracks
    creation and modification dates, as well as the users who created or modified
    the records. It also contains fields for migrated criteria label and name. The
    table includes system fields for deletion status and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer who created the process flow
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language used in the process flow
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the process flow
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the process flow
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: MIGRATED_CRITERIA_LABEL
    description: Label for the migrated criteria
    tests:
    - not_null
  - name: MIGRATED_CRITERIA_NAME
    description: Name of the migrated criteria
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CUSTOM_PERMISSION_DEPENDENCY

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_PERMISSION_ID REQUIRED_CUSTOM_PERMISSION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_PERMISSION_DEPENDENCY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:35.282214+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_PERMISSION_DEPENDENCY"

stg_CUSTOM_PERMISSION_DEPENDENCY.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_PERMISSION_DEPENDENCY
  description: The table represents a relation between custom permissions. It tracks
    dependencies where one custom permission requires another. Each record links a
    custom permission to its required permission. The table includes metadata like
    creation and modification dates, user IDs for tracking changes, and a deletion
    flag. It likely supports a permission system where certain permissions have prerequisites.
  columns:
  - name: ID
    description: Unique identifier for the permission relationship record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: CUSTOM_PERMISSION_ID
    description: ID of the custom permission
    tests:
    - not_null
  - name: REQUIRED_CUSTOM_PERMISSION_ID
    description: ID of the required prerequisite permission
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PRODUCT_2

Table Preview (sample only)

ID NAME PRODUCT_CODE DESCRIPTION IS_ACTIVE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FAMILY EXTERNAL_DATA_SOURCE_ID EXTERNAL_ID DISPLAY_URL QUANTITY_UNIT_OF_MEASURE IS_DELETED IS_ARCHIVED LAST_VIEWED_DATE LAST_REFERENCED_DATE STOCK_KEEPING_UNIT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PRODUCT_2.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:20:26.793008+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PRODUCT_2"

stg_PRODUCT_2.yml (Document the table)

version: 2
models:
- name: stg_PRODUCT_2
  description: The table is about products. It contains product details like ID, name,
    code, description, and family. It tracks product status with fields for active
    status, deletion, and archival. The table includes metadata such as creation date,
    last modification date, and system timestamp. It also stores information about
    external data sources, display URL, and stock keeping unit.
  columns:
  - name: ID
    description: Unique identifier for the product
    tests:
    - not_null
  - name: NAME
    description: Name of the product
    tests:
    - not_null
  - name: PRODUCT_CODE
    description: Unique code assigned to the product
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the product
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the product is currently active
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the product record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the product record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the most recent modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: FAMILY
    description: Product family or category
    tests:
    - not_null
  - name: EXTERNAL_DATA_SOURCE_ID
    description: ID of the external data source
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the product
    tests:
    - not_null
  - name: DISPLAY_URL
    description: URL for displaying the product
    tests:
    - not_null
  - name: QUANTITY_UNIT_OF_MEASURE
    description: Unit of measure for product quantity
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the product has been deleted
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Indicates if the product has been archived
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the product was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the product was last referenced
    tests:
    - not_null
  - name: STOCK_KEEPING_UNIT
    description: Stock Keeping Unit identifier
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_NOTE

Table Preview (sample only)

ID IS_DELETED PARENT_ID TITLE IS_PRIVATE BODY OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_NOTE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:29.546273+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."NOTE"

stg_NOTE.yml (Document the table)

version: 2
models:
- name: stg_NOTE
  description: The table is about notes. It contains details of individual notes.
    Each note has an ID, title, body, and privacy setting. Notes can have a parent
    note (PARENT_ID). The table tracks creation and modification dates. It includes
    owner and user IDs for accountability. The IS_DELETED flag indicates soft deletion.
    FIVETRAN fields suggest data syncing or migration.
  columns:
  - name: ID
    description: Unique identifier for each note
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the note is soft-deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent note, if applicable
    tests:
    - not_null
  - name: TITLE
    description: Title of the note
    tests:
    - not_null
  - name: IS_PRIVATE
    description: Flag indicating if the note is private
    tests:
    - not_null
  - name: BODY
    description: Main content of the note
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the note's owner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the note was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the note
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the note
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_SITE_IFRAME_WHITE_LIST_URL

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SITE_ID URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SITE_IFRAME_WHITE_LIST_URL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:58.083862+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SITE_IFRAME_WHITE_LIST_URL"

stg_SITE_IFRAME_WHITE_LIST_URL.yml (Document the table)

version: 2
models:
- name: stg_SITE_IFRAME_WHITE_LIST_URL
  description: The table is about whitelisted URLs for site iframes. It contains details
    such as the URL, site ID, creation and modification dates, and user IDs for creation
    and modification. The table also includes flags for deletion status and system
    timestamps. It appears to be used for managing allowed iframe sources for specific
    sites.
  columns:
  - name: ID
    description: Unique identifier for the whitelisted URL entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: SITE_ID
    description: ID of the site associated with the URL
    tests:
    - not_null
  - name: URL
    description: Whitelisted URL for iframe source
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_VERSION

Table Preview (sample only)

ID CONTENT_DOCUMENT_ID IS_LATEST CONTENT_URL CONTENT_BODY_ID VERSION_NUMBER TITLE DESCRIPTION REASON_FOR_CHANGE SHARING_OPTION SHARING_PRIVACY PATH_ON_CLIENT RATING_COUNT IS_DELETED CONTENT_MODIFIED_DATE CONTENT_MODIFIED_BY_ID POSITIVE_RATING_COUNT NEGATIVE_RATING_COUNT FEATURED_CONTENT_BOOST FEATURED_CONTENT_DATE OWNER_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP TAG_CSV FILE_TYPE PUBLISH_STATUS CONTENT_SIZE FILE_EXTENSION FIRST_PUBLISH_LOCATION_ID ORIGIN CONTENT_LOCATION TEXT_PREVIEW EXTERNAL_DOCUMENT_INFO_1 EXTERNAL_DOCUMENT_INFO_2 EXTERNAL_DATA_SOURCE_ID CHECKSUM IS_MAJOR_VERSION IS_ASSET_ENABLED VERSION_DATA_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_VERSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:21.548774+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_VERSION"

stg_CONTENT_VERSION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_VERSION
  description: The table is about content versions. It stores details of document
    versions including ID, title, description, file type, and size. It tracks version
    numbers, latest status, and modification history. The table contains sharing options,
    ratings, and file locations. It also includes metadata like checksums, publish
    status, and external source information.
  columns:
  - name: ID
    description: Unique identifier for the content version
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the associated content document
    tests:
    - not_null
  - name: IS_LATEST
    description: Indicates if this is the latest version
    tests:
    - not_null
  - name: CONTENT_URL
    description: URL to access the content
    tests:
    - not_null
  - name: CONTENT_BODY_ID
    description: ID of the content body
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the content
    tests:
    - not_null
  - name: TITLE
    description: Title of the content version
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the content version
    tests:
    - not_null
  - name: REASON_FOR_CHANGE
    description: Reason for creating this version
    tests:
    - not_null
  - name: SHARING_OPTION
    description: Option for sharing the content
    tests:
    - not_null
  - name: SHARING_PRIVACY
    description: Privacy setting for sharing
    tests:
    - not_null
  - name: PATH_ON_CLIENT
    description: File path on client system
    tests:
    - not_null
  - name: RATING_COUNT
    description: Number of ratings received
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the version is deleted
    tests:
    - not_null
  - name: CONTENT_MODIFIED_DATE
    description: Date of last content modification
    tests:
    - not_null
  - name: CONTENT_MODIFIED_BY_ID
    description: ID of user who last modified content
    tests:
    - not_null
  - name: POSITIVE_RATING_COUNT
    description: Number of positive ratings
    tests:
    - not_null
  - name: NEGATIVE_RATING_COUNT
    description: Number of negative ratings
    tests:
    - not_null
  - name: FEATURED_CONTENT_BOOST
    description: Boost value for featured content
    tests:
    - not_null
  - name: FEATURED_CONTENT_DATE
    description: Date content was featured
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the content owner
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the version
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date the version was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified version
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last version modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TAG_CSV
    description: Comma-separated list of tags
    tests:
    - not_null
  - name: FILE_TYPE
    description: Type of file
    tests:
    - not_null
  - name: PUBLISH_STATUS
    description: Status of content publication
    tests:
    - not_null
  - name: CONTENT_SIZE
    description: Size of the content in bytes
    tests:
    - not_null
  - name: FILE_EXTENSION
    description: File type extension of the document
    tests:
    - not_null
  - name: FIRST_PUBLISH_LOCATION_ID
    description: ID of the location where document was first published
    tests:
    - not_null
  - name: ORIGIN
    description: Source or origin of the document version
    tests:
    - not_null
  - name: CONTENT_LOCATION
    description: Storage location of the document content
    tests:
    - not_null
  - name: TEXT_PREVIEW
    description: Preview of the document's text content
    tests:
    - not_null
  - name: EXTERNAL_DOCUMENT_INFO_1
    description: First set of external document information
    tests:
    - not_null
  - name: EXTERNAL_DOCUMENT_INFO_2
    description: Second set of external document information
    tests:
    - not_null
  - name: EXTERNAL_DATA_SOURCE_ID
    description: ID of the external data source
    tests:
    - not_null
  - name: CHECKSUM
    description: Unique identifier for verifying document integrity
    tests:
    - not_null
  - name: IS_MAJOR_VERSION
    description: Indicates if this is a major version
    tests:
    - not_null
  - name: IS_ASSET_ENABLED
    description: Indicates if the document is enabled as asset
    tests:
    - not_null
  - name: VERSION_DATA_URL
    description: URL to access the version data
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_KA

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ARTICLE_NUMBER ARCHIVED_DATE ARCHIVED_BY_ID FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE CASE_ASSOCIATION_COUNT LAST_VIEWED_DATE LAST_REFERENCED_DATE MIGRATED_TO_FROM_ARTICLE IS_GENERATED_BY_LLM TOTAL_VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_KA.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:07.734167+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_KA"

stg_KNOWLEDGE_KA.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_KA
  description: KNOWLEDGE_ARTICLE stores article metadata. It tracks creation, modification,
    and publication dates. It includes view counts and case associations. KNOWLEDGE_KA
    likely contains the actual content of knowledge articles. Together, they form
    a complete knowledge base system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the article is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the article was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the article
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the article
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the article
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: ARTICLE_NUMBER
    description: Unique identifier for the article
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date when the article was archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of user who archived the article
    tests:
    - not_null
  - name: FIRST_PUBLISHED_DATE
    description: Date when the article was first published
    tests:
    - not_null
  - name: LAST_PUBLISHED_DATE
    description: Date when the article was last published
    tests:
    - not_null
  - name: CASE_ASSOCIATION_COUNT
    description: Number of cases associated with this article
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the article was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the article was last referenced
    tests:
    - not_null
  - name: MIGRATED_TO_FROM_ARTICLE
    description: Flag or ID for article migration status
    tests:
    - not_null
  - name: IS_GENERATED_BY_LLM
    description: Flag indicating if generated by language model
    tests:
    - not_null
  - name: TOTAL_VIEW_COUNT
    description: Total number of views for the article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran soft delete indicator
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CUSTOMER

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARTY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOMER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:40.984431+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOMER"

stg_CUSTOMER.yml (Document the table)

version: 2
models:
- name: stg_CUSTOMER
  description: CUSTOMER contains customer information. SELLER likely contains seller
    data. The tables store IDs, names, and timestamps. They track creation and modification
    details. The partitions are related through a buyer-seller relationship. Together,
    they represent a marketplace or e-commerce system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the customer or seller
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: PARTY_ID
    description: Unique identifier for the party (customer or seller)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FLOW_INTERVIEW

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CURRENT_ELEMENT INTERVIEW_LABEL PAUSE_LABEL GUID WAS_PAUSED_FROM_SCREEN FLOW_VERSION_VIEW_ID INTERVIEW_STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_INTERVIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:50.693388+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_INTERVIEW"

stg_FLOW_INTERVIEW.yml (Document the table)

version: 2
models:
- name: stg_FLOW_INTERVIEW
  description: The table is about flow interviews in a system. It contains details
    like interview ID, owner, creation and modification timestamps, current element,
    interview label, and status. The table tracks the progress and state of flow interviews,
    including whether they were paused and their GUID. It also references the flow
    version view and includes system fields for deletion and syncing status.
  columns:
  - name: ID
    description: Unique identifier for the flow interview
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the interview
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the interview is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow interview
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the interview was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the interview
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the interview
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: CURRENT_ELEMENT
    description: Current element in the flow being executed
    tests:
    - not_null
  - name: INTERVIEW_LABEL
    description: Label assigned to the interview
    tests:
    - not_null
  - name: PAUSE_LABEL
    description: Label assigned when the interview is paused
    tests:
    - not_null
  - name: GUID
    description: Globally Unique Identifier for the interview
    tests:
    - not_null
  - name: WAS_PAUSED_FROM_SCREEN
    description: Indicates if interview was paused from a screen
    tests:
    - not_null
  - name: FLOW_VERSION_VIEW_ID
    description: ID of the associated flow version view
    tests:
    - not_null
  - name: INTERVIEW_STATUS
    description: Current status of the interview
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_GROUP_MEMBER

Table Preview (sample only)

ID GROUP_ID USER_OR_GROUP_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GROUP_MEMBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:49.228761+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GROUP_MEMBER"

stg_GROUP_MEMBER.yml (Document the table)

version: 2
models:
- name: stg_GROUP_MEMBER
  description: The table is about group membership. It links groups with their members.
    Each row represents a membership relationship. The GROUP_ID column identifies
    the group. The USER_OR_GROUP_ID column identifies the member, which can be a user
    or another group. The table includes system fields for tracking modifications
    and syncing. It allows for hierarchical group structures and user-group associations.
  columns:
  - name: ID
    description: Unique identifier for each group membership record
    tests:
    - not_null
  - name: GROUP_ID
    description: Identifier of the group
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: Identifier of the member (user or group)
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CAMPAIGN_MEMBER_STATUS

Table Preview (sample only)

ID IS_DELETED CAMPAIGN_ID LABEL SORT_ORDER IS_DEFAULT HAS_RESPONDED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CAMPAIGN_MEMBER_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:06.840610+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CAMPAIGN_MEMBER_STATUS"

stg_CAMPAIGN_MEMBER_STATUS.yml (Document the table)

version: 2
models:
- name: stg_CAMPAIGN_MEMBER_STATUS
  description: The table is about campaign member statuses. It includes details like
    an ID, campaign ID, label, sort order, and whether it's the default status. It
    also tracks if the member has responded, creation and modification dates, and
    user IDs for who created or modified the status. The table likely supports campaign
    management by defining possible statuses for campaign members.
  columns:
  - name: ID
    description: Unique identifier for the campaign member status
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the status has been deleted
    tests:
    - not_null
  - name: CAMPAIGN_ID
    description: Identifier of the campaign this status belongs to
    tests:
    - not_null
  - name: LABEL
    description: Display name for the status
    tests:
    - not_null
  - name: SORT_ORDER
    description: Determines the order of status display
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default status
    tests:
    - not_null
  - name: HAS_RESPONDED
    description: Indicates if member has responded to campaign
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the status was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the status
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the status
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_PHONE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY AREA_CODE TELEPHONE_NUMBER EXTENSION_NUMBER PHONE_TYPE IS_SMS_CAPABLE FORMATTED_INTERNATIONAL_PHONE_NUMBER FORMATTED_NATIONAL_PHONE_NUMBER IS_FAX_CAPABLE IS_PERSONAL_PHONE IS_BUSINESS_PHONE PREFERENCE_RANK USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_PHONE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:03.346781+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_PHONE"

stg_CONTACT_POINT_PHONE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_PHONE
  description: The table is about phone contact information. It includes details such
    as phone number, type, owner, active dates, and contact preferences. The table
    stores primary phone flags, SMS and fax capabilities, formatted numbers, and best
    times to contact. It also tracks creation and modification metadata, as well as
    system timestamps for each record.
  columns:
  - name: ID
    description: Unique identifier for the phone record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the person or entity owning this phone
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or label for this phone record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: ACTIVE_FROM_DATE
    description: Date from which this phone is active
    tests:
    - not_null
  - name: ACTIVE_TO_DATE
    description: Date until which this phone is active
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_END_TIME
    description: End time of best contact window
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_START_TIME
    description: Start time of best contact window
    tests:
    - not_null
  - name: BEST_TIME_TO_CONTACT_TIMEZONE
    description: Timezone for best contact times
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Flag indicating if this is the primary phone
    tests:
    - not_null
  - name: AREA_CODE
    description: Area code of the phone number
    tests:
    - not_null
  - name: TELEPHONE_NUMBER
    description: Main part of the phone number
    tests:
    - not_null
  - name: EXTENSION_NUMBER
    description: Extension number if applicable
    tests:
    - not_null
  - name: PHONE_TYPE
    description: Type of phone (e.g., mobile, landline)
    tests:
    - not_null
  - name: IS_SMS_CAPABLE
    description: Flag indicating if phone can receive SMS
    tests:
    - not_null
  - name: FORMATTED_INTERNATIONAL_PHONE_NUMBER
    description: Internationally formatted phone number
    tests:
    - not_null
  - name: FORMATTED_NATIONAL_PHONE_NUMBER
    description: Nationally formatted phone number
    tests:
    - not_null
  - name: IS_FAX_CAPABLE
    description: Flag indicating if phone can receive fax
    tests:
    - not_null
  - name: IS_PERSONAL_PHONE
    description: Flag indicating if it's a personal phone
    tests:
    - not_null
  - name: IS_BUSINESS_PHONE
    description: Flag indicating if it's a business phone
    tests:
    - not_null
  - name: PREFERENCE_RANK
    description: Ranking of this phone in contact preferences
    tests:
    - not_null
  - name: USAGE_TYPE
    description: Type of usage for this phone number
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_BUSINESS_BRAND_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BUSINESS_BRAND_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:46.652045+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BUSINESS_BRAND_SHARE"

stg_BUSINESS_BRAND_SHARE.yml (Document the table)

version: 2
models:
- name: stg_BUSINESS_BRAND_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_QUICK_TEXT

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE MESSAGE CATEGORY CHANNEL FOLDER_ID FOLDER_NAME IS_INSERTABLE SOURCE_TYPE SHORTCODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_QUICK_TEXT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:59.384187+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."QUICK_TEXT"

stg_QUICK_TEXT.yml (Document the table)

version: 2
models:
- name: stg_QUICK_TEXT
  description: The table is about Quick Text entries. It contains identification fields
    like ID and OWNER_ID. The table includes metadata such as creation and modification
    dates and users. It stores the actual message content and categorization details.
    The table tracks usage information like last viewed date. It also contains folder-related
    information and flags for deletion and insertion status.
  columns:
  - name: ID
    description: Unique identifier for the Quick Text entry
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this Quick Text
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the Quick Text entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the entry was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the entry was last referenced
    tests:
    - not_null
  - name: MESSAGE
    description: Actual content of the Quick Text
    tests:
    - not_null
  - name: CATEGORY
    description: Category or classification of the Quick Text
    tests:
    - not_null
  - name: CHANNEL
    description: Communication channel for which the text is intended
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing this Quick Text
    tests:
    - not_null
  - name: FOLDER_NAME
    description: Name of the folder containing this Quick Text
    tests:
    - not_null
  - name: IS_INSERTABLE
    description: Flag indicating if the text can be inserted
    tests:
    - not_null
  - name: SOURCE_TYPE
    description: Type or origin of the Quick Text
    tests:
    - not_null
  - name: SHORTCODE
    description: Short code or abbreviation for quick access
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTACT_SHARE

Table Preview (sample only)

ID CONTACT_ID USER_OR_GROUP_ID CONTACT_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:43.982429+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_SHARE"

stg_CONTACT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_SHARE
  description: The table represents the contact sharing relation between contacts
    and users/groups. It tracks who has access to which contacts. Key fields include
    CONTACT_ID, USER_OR_GROUP_ID, and CONTACT_ACCESS_LEVEL. The table also records
    when and by whom the sharing was last modified. It includes flags for deletion
    status and syncing with an external system (likely Fivetran).
  columns:
  - name: ID
    description: Unique identifier for the sharing record
    tests:
    - not_null
  - name: CONTACT_ID
    description: ID of the contact being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group receiving access
    tests:
    - not_null
  - name: CONTACT_ACCESS_LEVEL
    description: Level of access granted to the recipient
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing record creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_AUTHORIZATION_FORM_TEXT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE AUTHORIZATION_FORM_ID FULL_AUTHORIZATION_FORM_URL SUMMARY_AUTH_FORM_TEXT LOCALE LOCALE_SELECTION CONTENT_DOCUMENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTHORIZATION_FORM_TEXT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:48.049983+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTHORIZATION_FORM_TEXT"

stg_AUTHORIZATION_FORM_TEXT.yml (Document the table)

version: 2
models:
- name: stg_AUTHORIZATION_FORM_TEXT
  description: The table is about authorization form text. It contains details like
    ID, name, creation and modification dates, and associated user IDs. It references
    an authorization form and includes URLs, summary text, and locale information.
    The table also tracks document content and system metadata like deletion status
    and sync timestamps.
  columns:
  - name: ID
    description: Unique identifier for the authorization form text
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the authorization form text
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: AUTHORIZATION_FORM_ID
    description: ID of the associated authorization form
    tests:
    - not_null
  - name: FULL_AUTHORIZATION_FORM_URL
    description: URL of the full authorization form
    tests:
    - not_null
  - name: SUMMARY_AUTH_FORM_TEXT
    description: Summary text of the authorization form
    tests:
    - not_null
  - name: LOCALE
    description: Locale of the authorization form text
    tests:
    - not_null
  - name: LOCALE_SELECTION
    description: Selected locale for the form text
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the associated content document
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ORG_WIDE_EMAIL_ADDRESS

Table Preview (sample only)

ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_VERIFIED ADDRESS DISPLAY_NAME IS_ALLOW_ALL_PROFILES PURPOSE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORG_WIDE_EMAIL_ADDRESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:32.528011+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORG_WIDE_EMAIL_ADDRESS"

stg_ORG_WIDE_EMAIL_ADDRESS.yml (Document the table)

version: 2
models:
- name: stg_ORG_WIDE_EMAIL_ADDRESS
  description: The table is about organization-wide email addresses. It contains details
    like the email address, display name, creation and modification dates, verification
    status, and purpose. The table also tracks who created and last modified the email
    address, whether it's allowed for all profiles, and if it has been deleted or
    synced.
  columns:
  - name: ID
    description: Unique identifier for the email address
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the email address
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the email address was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the email
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: IS_VERIFIED
    description: Indicates if the email address is verified
    tests:
    - not_null
  - name: ADDRESS
    description: The organization-wide email address
    tests:
    - not_null
  - name: DISPLAY_NAME
    description: Name displayed for the email address
    tests:
    - not_null
  - name: IS_ALLOW_ALL_PROFILES
    description: Indicates if all profiles can use this email
    tests:
    - not_null
  - name: PURPOSE
    description: The intended use of the email address
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_TEST_RESULT

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FLOW_VERSION_NUMBER RESULT FLOW_TEST_VIEW_ID FLOW_VERSION_VIEW_ID FLOW_DEFINITION_VIEW_ID TEST_START_DATE_TIME TEST_END_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_TEST_RESULT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:19.820555+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_TEST_RESULT"

stg_FLOW_TEST_RESULT.yml (Document the table)

version: 2
models:
- name: stg_FLOW_TEST_RESULT
  description: The table is about flow test results. It includes details like the
    test ID, owner, creation and modification dates, flow version numbers, and test
    results. The table also tracks test start and end times, and links to related
    views for the flow test, version, and definition. It has fields for deletion status
    and system timestamps, likely for data management purposes.
  columns:
  - name: ID
    description: Unique identifier for the flow test result
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this test result
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow test result
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: FLOW_VERSION_NUMBER
    description: Version number of the flow being tested
    tests:
    - not_null
  - name: RESULT
    description: Outcome of the flow test
    tests:
    - not_null
  - name: FLOW_TEST_VIEW_ID
    description: ID of the associated flow test view
    tests:
    - not_null
  - name: FLOW_VERSION_VIEW_ID
    description: ID of the associated flow version view
    tests:
    - not_null
  - name: FLOW_DEFINITION_VIEW_ID
    description: ID of the associated flow definition view
    tests:
    - not_null
  - name: TEST_START_DATE_TIME
    description: Date and time when the test started
    tests:
    - not_null
  - name: TEST_END_DATE_TIME
    description: Date and time when the test ended
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SCONTROL

Table Preview (sample only)

ID NAME DEVELOPER_NAME DESCRIPTION ENCODING_KEY HTML_WRAPPER FILENAME BODY_LENGTH CONTENT_SOURCE SUPPORTS_CACHING NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SCONTROL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:00.459780+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SCONTROL"

stg_SCONTROL.yml (Document the table)

version: 2
models:
- name: stg_SCONTROL
  description: The table is about S-Control components in Salesforce. It contains
    details such as the component's name, developer name, description, and encoding.
    The table also includes information about the HTML wrapper, file name, body length,
    and content source. It tracks creation and modification dates, creator and modifier
    IDs, and system timestamps. The table indicates whether the component supports
    caching and if it has been deleted.
  columns:
  - name: ID
    description: Unique identifier for the S-Control component
    tests:
    - not_null
  - name: NAME
    description: Name of the S-Control component
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-friendly name of the component
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the S-Control component
    tests:
    - not_null
  - name: ENCODING_KEY
    description: Encoding used for the component
    tests:
    - not_null
  - name: HTML_WRAPPER
    description: HTML wrapper for the component
    tests:
    - not_null
  - name: FILENAME
    description: File name of the S-Control component
    tests:
    - not_null
  - name: BODY_LENGTH
    description: Length of the component's body content
    tests:
    - not_null
  - name: CONTENT_SOURCE
    description: Source of the component's content
    tests:
    - not_null
  - name: SUPPORTS_CACHING
    description: Indicates if caching is supported
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the component
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the component was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the component
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the component
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the component is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SELLER_HISTORY

Table Preview (sample only)

ID IS_DELETED SELLER_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SELLER_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:32.786015+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SELLER_HISTORY"

stg_SELLER_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_SELLER_HISTORY
  description: The table is about seller history. It tracks changes made to seller
    records over time. Each row represents a modification to a seller's data. It includes
    the seller ID, field changed, old and new values, who made the change, and when.
    The table also tracks if a record was deleted and when it was synced.
  columns:
  - name: ID
    description: Unique identifier for each history record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: SELLER_ID
    description: Identifier of the seller whose data changed
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who made the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the seller attribute that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    tests:
    - not_null
  - name: NEW_VALUE
    description: Updated value of the changed field
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for syncing purposes
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last sync by Fivetran
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_CONTACT_ROLE

Table Preview (sample only)

ID OPPORTUNITY_ID CONTACT_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_CONTACT_ROLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:38.166481+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_CONTACT_ROLE"

stg_OPPORTUNITY_CONTACT_ROLE.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_CONTACT_ROLE
  description: The table represents the relationship between Opportunities and Contacts.
    It stores the roles Contacts play in Opportunities. Key fields include OPPORTUNITY_ID,
    CONTACT_ID, and ROLE. IS_PRIMARY indicates if the Contact is the primary for the
    Opportunity. The table also tracks creation and modification details. It likely
    supports many-to-many relationships between Opportunities and Contacts.
  columns:
  - name: ID
    description: Unique identifier for the opportunity-contact relationship
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: Identifier of the associated opportunity
    tests:
    - not_null
  - name: CONTACT_ID
    description: Identifier of the associated contact
    tests:
    - not_null
  - name: ROLE
    description: Role of the contact in the opportunity
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Indicates if the contact is primary for the opportunity
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_FOLDER

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_CONTENT_FOLDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_FOLDER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:34.339784+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_FOLDER"

stg_CONTENT_FOLDER.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_FOLDER
  description: The table is about content folders. It contains details like folder
    ID, name, creation date, last modification date, and whether it's deleted. The
    table tracks who created and last modified each folder. It includes a parent folder
    ID, suggesting a hierarchical folder structure. The table also has fields for
    system tracking and data syncing purposes.
  columns:
  - name: ID
    description: Unique identifier for the content folder
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the folder is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the content folder
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the folder was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the folder
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the folder
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the folder
    tests:
    - not_null
  - name: PARENT_CONTENT_FOLDER_ID
    description: ID of the parent folder
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_GRANTED_BY_LICENSE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_ID CUSTOM_PERMISSION_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GRANTED_BY_LICENSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:30.835055+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GRANTED_BY_LICENSE"

stg_GRANTED_BY_LICENSE.yml (Document the table)

version: 2
models:
- name: stg_GRANTED_BY_LICENSE
  description: The table represents a relation between permission set licenses and
    custom permissions. It tracks which custom permissions are granted by specific
    permission set licenses. The table includes fields for creation and modification
    tracking, system timestamps, and soft deletion. It also has Fivetran-specific
    fields, suggesting it's part of a data integration process.
  columns:
  - name: ID
    description: Unique identifier for the permission set license-custom permission
      relation
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been soft-deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: PERMISSION_SET_LICENSE_ID
    description: ID of the associated permission set license
    tests:
    - not_null
  - name: CUSTOM_PERMISSION_ID
    description: ID of the associated custom permission
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_WORKSPACE

Table Preview (sample only)

ID NAME DESCRIPTION TAG_MODEL CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_MODIFIED_DATE DEFAULT_RECORD_TYPE_ID IS_RESTRICT_CONTENT_TYPES IS_RESTRICT_LINKED_CONTENT_TYPES WORKSPACE_TYPE SHOULD_ADD_CREATOR_MEMBERSHIP LAST_WORKSPACE_ACTIVITY_DATE ROOT_CONTENT_FOLDER_ID NAMESPACE_PREFIX DEVELOPER_NAME WORKSPACE_IMAGE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_WORKSPACE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:48.269029+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_WORKSPACE"

stg_CONTENT_WORKSPACE.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_WORKSPACE
  description: The table is about content workspaces in a system. It contains details
    like workspace ID, name, description, creation date, last modified date, and workspace
    type. The table also includes information on content restrictions, default record
    types, and associated folder IDs. Additional fields track system metadata and
    synchronization status.
  columns:
  - name: ID
    description: Unique identifier for the content workspace
    tests:
    - not_null
  - name: NAME
    description: Name of the content workspace
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the content workspace
    cocoon_meta:
      missing_reason: Unknown
  - name: TAG_MODEL
    description: Tag model identifier
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the workspace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the workspace was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the workspace
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: DEFAULT_RECORD_TYPE_ID
    description: Default record type ID for the workspace
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_RESTRICT_CONTENT_TYPES
    description: Indicates if content types are restricted
    tests:
    - not_null
  - name: IS_RESTRICT_LINKED_CONTENT_TYPES
    description: Indicates if linked content types are restricted
    tests:
    - not_null
  - name: WORKSPACE_TYPE
    description: Type of the workspace
    tests:
    - not_null
  - name: SHOULD_ADD_CREATOR_MEMBERSHIP
    description: Indicates if creator should be added as member
    tests:
    - not_null
  - name: LAST_WORKSPACE_ACTIVITY_DATE
    description: Date of last activity in the workspace
    tests:
    - not_null
  - name: ROOT_CONTENT_FOLDER_ID
    description: ID of the root content folder
    cocoon_meta:
      missing_reason: Unknown
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the workspace
    cocoon_meta:
      missing_reason: Unknown
  - name: DEVELOPER_NAME
    description: Developer name for the workspace
    tests:
    - not_null
  - name: WORKSPACE_IMAGE_ID
    description: ID of the workspace image
    cocoon_meta:
      missing_reason: Optional feature, not all workspaces require an image.
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PARTNER_ROLE

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER REVERSE_ROLE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PARTNER_ROLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:50.987643+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PARTNER_ROLE"

stg_PARTNER_ROLE.yml (Document the table)

version: 2
models:
- name: stg_PARTNER_ROLE
  description: The table is about partner roles in a business system. It contains
    details of different roles like Advertiser, Institution, and Dealer. Each role
    has a unique ID, label, API name, and sort order. The table also includes reverse
    roles, creation and modification timestamps, and system metadata. It appears to
    be part of a partner management or CRM system.
  columns:
  - name: ID
    description: Unique identifier for each partner role
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the partner role
    tests:
    - not_null
  - name: API_NAME
    description: Name used in API interactions
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying roles
    tests:
    - not_null
  - name: REVERSE_ROLE
    description: Complementary role in the partnership
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the role
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of role creation
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the role
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_BRANDING_SET_PROPERTY

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRANDING_SET_ID PROPERTY_NAME PROPERTY_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRANDING_SET_PROPERTY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:06.907534+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRANDING_SET_PROPERTY"

stg_BRANDING_SET_PROPERTY.yml (Document the table)

version: 2
models:
- name: stg_BRANDING_SET_PROPERTY
  description: The table is about branding set properties. It contains details of
    various properties associated with branding sets. Each row represents a specific
    property of a branding set. The table includes information such as property name,
    value, creation date, last modification date, and associated user IDs. It also
    tracks whether the property has been deleted and when it was last synced.
  columns:
  - name: ID
    description: Unique identifier for each branding set property
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the property has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the property was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the property
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the property
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: BRANDING_SET_ID
    description: ID of the associated branding set
    tests:
    - not_null
  - name: PROPERTY_NAME
    description: Name of the branding set property
    tests:
    - not_null
  - name: PROPERTY_VALUE
    description: Value of the branding set property
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_VIDEO_CALL_PARTICIPANT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE VIDEO_CALL_ID EMAIL RELATED_PERSON_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_VIDEO_CALL_PARTICIPANT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:29.717130+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VIDEO_CALL_PARTICIPANT"

stg_VIDEO_CALL_PARTICIPANT.yml (Document the table)

version: 2
models:
- name: stg_VIDEO_CALL_PARTICIPANT
  description: The table is about video call participants. It contains details of
    each participant, including their name, email, and related person ID. The table
    links participants to specific video calls through the VIDEO_CALL_ID field. It
    tracks creation and modification dates, as well as who created or modified the
    record. The table also includes system fields for tracking views, references,
    and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the participant record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the participant
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: VIDEO_CALL_ID
    description: ID of the associated video call
    tests:
    - not_null
  - name: EMAIL
    description: Email address of the participant
    tests:
    - not_null
  - name: RELATED_PERSON_ID
    description: ID of the related person record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DUPLICATE_RECORD_SET

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DUPLICATE_RULE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DUPLICATE_RECORD_SET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:06.820913+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DUPLICATE_RECORD_SET"

stg_DUPLICATE_RECORD_SET.yml (Document the table)

version: 2
models:
- name: stg_DUPLICATE_RECORD_SET
  description: The table is about duplicate record sets. It contains metadata for
    duplicate records identified by a duplicate rule. The table includes fields for
    identification, creation and modification details, system timestamps, and viewing
    information. It also has a reference to the duplicate rule that identified these
    records. The IS_DELETED and _FIVETRAN fields suggest this table is part of a data
    integration or synchronization process.
  columns:
  - name: ID
    description: Unique identifier for the duplicate record set
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the duplicate record set
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: DUPLICATE_RULE_ID
    description: ID of the duplicate rule that identified these records
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for data synchronization
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of Fivetran's last synchronization
    tests:
    - not_null
  tests: []

stg_LIST_EMAIL_RECIPIENT_SOURCE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LIST_EMAIL_ID SOURCE_LIST_ID SOURCE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_EMAIL_RECIPIENT_SOURCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:13.309321+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_EMAIL_RECIPIENT_SOURCE"

stg_LIST_EMAIL_RECIPIENT_SOURCE.yml (Document the table)

version: 2
models:
- name: stg_LIST_EMAIL_RECIPIENT_SOURCE
  description: The table represents the relationship between email lists and their
    recipients. It tracks the source of recipients for a list email. Key entities
    are the list email, recipient source list, and source type. It includes metadata
    like creation and modification dates, user IDs for tracking changes, and system
    fields for data synchronization. The table likely supports email campaign management
    by linking recipients to specific email lists.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the list email recipient relationship
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: LIST_EMAIL_ID
    description: ID of the associated list email
    tests:
    - not_null
  - name: SOURCE_LIST_ID
    description: ID of the source list for recipients
    tests:
    - not_null
  - name: SOURCE_TYPE
    description: Type of source for the recipients
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_PROVISIONING_CONFIG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_APP_ID NOTES ENABLED APPROVAL_REQUIRED USER_ACCOUNT_MAPPING ENABLED_OPERATIONS ON_UPDATE_ATTRIBUTES LAST_RECON_DATE_TIME NAMED_CREDENTIAL_ID RECON_FILTER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROVISIONING_CONFIG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:30.621503+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROVISIONING_CONFIG"

stg_USER_PROVISIONING_CONFIG.yml (Document the table)

version: 2
models:
- name: stg_USER_PROVISIONING_CONFIG
  description: The table is about user provisioning configuration settings. It includes
    details like ID, developer name, language, master label, and creation/modification
    timestamps. It also contains flags for deletion status, approval requirements,
    and enabled operations. The table links to connected apps and named credentials.
    It stores configuration for user account mapping, update attributes, and reconciliation
    settings.
  columns:
  - name: ID
    description: Unique identifier for the configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the configuration
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the configuration
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: CONNECTED_APP_ID
    description: ID of the associated connected app
    tests:
    - not_null
  - name: NOTES
    description: Additional notes or comments
    tests:
    - not_null
  - name: ENABLED
    description: Flag indicating if the configuration is active
    tests:
    - not_null
  - name: APPROVAL_REQUIRED
    description: Flag indicating if approval is required
    tests:
    - not_null
  - name: USER_ACCOUNT_MAPPING
    description: Configuration for user account mapping
    tests:
    - not_null
  - name: ENABLED_OPERATIONS
    description: List of enabled operations
    tests:
    - not_null
  - name: ON_UPDATE_ATTRIBUTES
    description: Attributes to update on changes
    tests:
    - not_null
  - name: LAST_RECON_DATE_TIME
    description: Date and time of last reconciliation
    tests:
    - not_null
  - name: NAMED_CREDENTIAL_ID
    description: ID of the associated named credential
    tests:
    - not_null
  - name: RECON_FILTER
    description: Filter criteria for reconciliation
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking field
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SETUP_AUDIT_TRAIL

Table Preview (sample only)

ID ACTION_ SECTION_ CREATED_DATE CREATED_BY_ID DISPLAY DELEGATE_USER RESPONSIBLE_NAMESPACE_PREFIX CREATED_BY_CONTEXT CREATED_BY_ISSUER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SETUP_AUDIT_TRAIL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:18.310822+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SETUP_AUDIT_TRAIL"

stg_SETUP_AUDIT_TRAIL.yml (Document the table)

version: 2
models:
- name: stg_SETUP_AUDIT_TRAIL
  description: The table is about setup audit trails. It tracks changes made to system
    settings. Each row represents a specific action or change. Details include the
    action type, date, user who made the change, and a display description. The table
    also includes Fivetran sync information, suggesting it's part of a data integration
    process.
  columns:
  - name: ID
    description: Unique identifier for each audit trail entry
    tests:
    - not_null
  - name: ACTION_
    description: Type of action or setting changed
    tests:
    - not_null
  - name: SECTION_
    description: Section where the change occurred (empty in this data)
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_DATE
    description: Date and time when the change was made
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who made the change
    tests:
    - not_null
  - name: DISPLAY
    description: Description of the change made
    tests:
    - not_null
  - name: DELEGATE_USER
    description: User delegated for the action (empty in this data)
    cocoon_meta:
      missing_reason: No delegation occurred for these actions.
  - name: RESPONSIBLE_NAMESPACE_PREFIX
    description: Namespace prefix for the change (empty in this data)
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_BY_CONTEXT
    description: Context of the change (empty in this data)
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_BY_ISSUER
    description: Issuer of the change (empty in this data)
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran sync
    tests:
    - not_null
  tests: []

stg_SEARCH_PROMOTION_RULE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUERY PROMOTED_ENTITY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SEARCH_PROMOTION_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:17.447057+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SEARCH_PROMOTION_RULE"

stg_SEARCH_PROMOTION_RULE.yml (Document the table)

version: 2
models:
- name: stg_SEARCH_PROMOTION_RULE
  description: The table is about search promotion rules. It contains details of promotion
    rules including an ID, creation and modification timestamps, user IDs for creation
    and modification, a query, and a promoted entity ID. The table tracks whether
    rules are deleted and includes system metadata fields. It appears to be used for
    managing and tracking search promotion configurations.
  columns:
  - name: ID
    description: Unique identifier for the search promotion rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the rule is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: QUERY
    description: Search query associated with the promotion rule
    tests:
    - not_null
  - name: PROMOTED_ENTITY_ID
    description: ID of the entity being promoted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:09:23.456310+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_TAG"

stg_OPPORTUNITY_TAG.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CALCULATED_INSIGHT_RANGE_BOUND_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALCULATED_INSIGHT_RANGE_BOUND_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:19.369927+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALCULATED_INSIGHT_RANGE_BOUND_SHARE"

stg_CALCULATED_INSIGHT_RANGE_BOUND_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CALCULATED_INSIGHT_RANGE_BOUND_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DUPLICATE_RECORD_ITEM

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DUPLICATE_RECORD_SET_ID RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DUPLICATE_RECORD_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:59.118288+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DUPLICATE_RECORD_ITEM"

stg_DUPLICATE_RECORD_ITEM.yml (Document the table)

version: 2
models:
- name: stg_DUPLICATE_RECORD_ITEM
  description: The table is about duplicate record items. It contains details of duplicate
    records identified in a system. Each item has an ID, name, creation and modification
    timestamps, and user IDs for creators and modifiers. It references a duplicate
    record set and an original record. The table tracks deletion status and synchronization
    details, likely for data integration purposes.
  columns:
  - name: ID
    description: Unique identifier for the duplicate record item
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the duplicate record item
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: DUPLICATE_RECORD_SET_ID
    description: ID of the duplicate record set this item belongs to
    tests:
    - not_null
  - name: RECORD_ID
    description: ID of the original record that was duplicated
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ACTIVE_PERM_SET_LICENSE_METRIC

Table Preview (sample only)

ID METRICS_DATE PERMISSION_SET_LICENSE_ID SYSTEM_MODSTAMP ASSIGNED_USER_COUNT ACTIVE_USER_COUNT DEVELOPER_NAME MASTER_LABEL TOTAL_LICENSES _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTIVE_PERM_SET_LICENSE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:08.488507+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTIVE_PERM_SET_LICENSE_METRIC"

stg_ACTIVE_PERM_SET_LICENSE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ACTIVE_PERM_SET_LICENSE_METRIC
  description: The table is about permission set license metrics. It includes details
    such as the license ID, metrics date, assigned and active user counts, developer
    name, master label, and total licenses. Each row represents metrics for a specific
    permission set license on a given date. The table tracks usage and availability
    of different Salesforce feature licenses like Salesforce Meetings, Service Lightning
    Knowledge, and Salesforce Payments.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: METRICS_DATE
    description: Date for which metrics are reported
    tests:
    - not_null
  - name: PERMISSION_SET_LICENSE_ID
    description: Unique identifier for permission set license
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: ASSIGNED_USER_COUNT
    description: Number of users assigned to the license
    tests:
    - not_null
  - name: ACTIVE_USER_COUNT
    description: Number of active users for the license
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer name of the permission set license
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the permission set license
    tests:
    - not_null
  - name: TOTAL_LICENSES
    description: Total number of licenses available
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_MOBILE_APPLICATION_DETAIL

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VERSION DEVICE_PLATFORM MINIMUM_OS_VERSION DEVICE_TYPE APPLICATION_FILE_LENGTH APPLICATION_ICON IS_ENTERPRISE_APP APP_INSTALL_URL APPLICATION_BUNDLE_IDENTIFIER APPLICATION_BINARY_FILE_NAME APPLICATION_ICON_FILE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MOBILE_APPLICATION_DETAIL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:04:01.869758+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MOBILE_APPLICATION_DETAIL"

stg_MOBILE_APPLICATION_DETAIL.yml (Document the table)

version: 2
models:
- name: stg_MOBILE_APPLICATION_DETAIL
  description: The table is about mobile applications. It includes details such as
    developer name, language, label, namespace, creation date, modification dates,
    version, device platform, OS version, and device type. It also contains information
    about the application file, icon, installation URL, bundle identifier, and binary
    file name. The table tracks if the app is enterprise and if it's deleted.
  columns:
  - name: ID
    description: Unique identifier for the mobile application
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the app is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the app developer
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the application
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Primary label or name of the app
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the app
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the app was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the app
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the app
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: VERSION
    description: Version number of the application
    tests:
    - not_null
  - name: DEVICE_PLATFORM
    description: Platform the app is designed for
    tests:
    - not_null
  - name: MINIMUM_OS_VERSION
    description: Minimum required OS version for the app
    tests:
    - not_null
  - name: DEVICE_TYPE
    description: Type of device the app is for
    tests:
    - not_null
  - name: APPLICATION_FILE_LENGTH
    description: Size of the application file
    tests:
    - not_null
  - name: APPLICATION_ICON
    description: Icon of the application
    tests:
    - not_null
  - name: IS_ENTERPRISE_APP
    description: Flag indicating if it's an enterprise app
    tests:
    - not_null
  - name: APP_INSTALL_URL
    description: URL for installing the application
    tests:
    - not_null
  - name: APPLICATION_BUNDLE_IDENTIFIER
    description: Unique identifier for the app bundle
    tests:
    - not_null
  - name: APPLICATION_BINARY_FILE_NAME
    description: Name of the application's binary file
    tests:
    - not_null
  - name: APPLICATION_ICON_FILE_NAME
    description: Filename of the application's icon
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_ARTICLE_VERSION

Table Preview (sample only)

ID KNOWLEDGE_ARTICLE_ID OWNER_ID IS_DELETED VALIDATION_STATUS PUBLISH_STATUS VERSION_NUMBER IS_LATEST_VERSION IS_VISIBLE_IN_APP IS_VISIBLE_IN_PKB IS_VISIBLE_IN_CSP IS_VISIBLE_IN_PRM CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LANGUAGE_ TITLE URL_NAME ARCHIVED_DATE ARCHIVED_BY_ID SUMMARY NEXT_REVIEW_DATE LARGE_LANGUAGE_MODEL ARTICLE_NUMBER FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE ARTICLE_ARCHIVED_BY_ID ARTICLE_ARCHIVED_DATE ARTICLE_CASE_ATTACH_COUNT ARTICLE_CREATED_BY_ID ARTICLE_CREATED_DATE ARTICLE_MASTER_LANGUAGE ARTICLE_TOTAL_VIEW_COUNT SOURCE_ID ASSIGNED_TO_ID ASSIGNED_BY_ID ASSIGNMENT_DATE ASSIGNMENT_DUE_DATE ASSIGNMENT_NOTE MIGRATED_TO_FROM_ARTICLE_VERSION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_ARTICLE_VERSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:59.919012+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_ARTICLE_VERSION"

stg_KNOWLEDGE_ARTICLE_VERSION.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_ARTICLE_VERSION
  description: The table is about knowledge article versions. It contains details
    such as article ID, owner, validation and publish status, version number, visibility
    settings, creation and modification dates, language, title, and URL name. It also
    tracks archiving information, review dates, view counts, assignments, and migration
    details. The table appears to manage the lifecycle and metadata of different versions
    of knowledge articles in a knowledge base system.
  columns:
  - name: ID
    description: Unique identifier for the knowledge article version
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_ID
    description: ID of the parent knowledge article
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the article version
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the version is deleted
    tests:
    - not_null
  - name: VALIDATION_STATUS
    description: Current validation status of the version
    tests:
    - not_null
  - name: PUBLISH_STATUS
    description: Current publication status of the version
    tests:
    - not_null
  - name: VERSION_NUMBER
    description: Version number of the article
    tests:
    - not_null
  - name: IS_LATEST_VERSION
    description: Indicates if this is the latest version
    tests:
    - not_null
  - name: IS_VISIBLE_IN_APP
    description: Visibility status in the app
    tests:
    - not_null
  - name: IS_VISIBLE_IN_PKB
    description: Visibility status in public knowledge base
    tests:
    - not_null
  - name: IS_VISIBLE_IN_CSP
    description: Visibility status in customer service portal
    tests:
    - not_null
  - name: IS_VISIBLE_IN_PRM
    description: Visibility status in partner relationship management
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the version was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the version
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the version
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the article version
    tests:
    - not_null
  - name: TITLE
    description: Title of the article version
    tests:
    - not_null
  - name: URL_NAME
    description: URL-friendly name of the article
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date when the version was archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of user who archived the version
    tests:
    - not_null
  - name: SUMMARY
    description: Brief summary of the article content
    tests:
    - not_null
  - name: NEXT_REVIEW_DATE
    description: Scheduled date for next review
    tests:
    - not_null
  - name: LARGE_LANGUAGE_MODEL
    description: Indicates use of large language model
    tests:
    - not_null
  - name: ARTICLE_NUMBER
    description: Unique number assigned to the article
    tests:
    - not_null
  - name: FIRST_PUBLISHED_DATE
    description: Date of first publication
    tests:
    - not_null
  - name: LAST_PUBLISHED_DATE
    description: Date of most recent publication
    tests:
    - not_null
  - name: ARTICLE_ARCHIVED_BY_ID
    description: ID of user who archived the article
    tests:
    - not_null
  - name: ARTICLE_ARCHIVED_DATE
    description: Date when the article was archived
    tests:
    - not_null
  - name: ARTICLE_CASE_ATTACH_COUNT
    description: Number of times article attached to cases
    tests:
    - not_null
  - name: ARTICLE_CREATED_BY_ID
    description: ID of user who created the article
    tests:
    - not_null
  - name: ARTICLE_CREATED_DATE
    description: Date when the article was created
    tests:
    - not_null
  - name: ARTICLE_MASTER_LANGUAGE
    description: Primary language of the article
    tests:
    - not_null
  - name: ARTICLE_TOTAL_VIEW_COUNT
    description: Total number of views for the article
    tests:
    - not_null
  - name: SOURCE_ID
    description: Identifier for the source of the article
    tests:
    - not_null
  - name: ASSIGNED_TO_ID
    description: ID of user assigned to the article
    tests:
    - not_null
  - name: ASSIGNED_BY_ID
    description: ID of user who made the assignment
    tests:
    - not_null
  - name: ASSIGNMENT_DATE
    description: Date when the article was assigned
    tests:
    - not_null
  - name: ASSIGNMENT_DUE_DATE
    description: Due date for the article assignment
    tests:
    - not_null
  - name: ASSIGNMENT_NOTE
    description: Notes related to the article assignment
    tests:
    - not_null
  - name: MIGRATED_TO_FROM_ARTICLE_VERSION
    description: Version information for migrated articles
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_DATA_USE_PURPOSE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE LEGAL_BASIS_ID DESCRIPTION CAN_DATA_SUBJECT_OPT_OUT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_USE_PURPOSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:44.958747+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_USE_PURPOSE"

stg_DATA_USE_PURPOSE.yml (Document the table)

version: 2
models:
- name: stg_DATA_USE_PURPOSE
  description: The table is about data use purposes. It contains details like ID,
    name, description, and legal basis. It tracks creation and modification dates,
    as well as who created or modified the record. The table includes flags for deletion
    status and whether data subjects can opt out. It also references owner and user
    IDs, suggesting links to user or account tables.
  columns:
  - name: ID
    description: Unique identifier for the data use purpose
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data use purpose
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: LEGAL_BASIS_ID
    description: ID of the associated legal basis
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the data use purpose
    tests:
    - not_null
  - name: CAN_DATA_SUBJECT_OPT_OUT
    description: Flag indicating if data subjects can opt out
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_APEX_PAGE_INFO

Table Preview (sample only)

ID DURABLE_ID APEX_PAGE_ID NAME NAME_SPACE_PREFIX API_VERSION DESCRIPTION IS_AVAILABLE_IN_TOUCH MASTER_LABEL IS_SHOW_HEADER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APEX_PAGE_INFO.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:16.593001+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APEX_PAGE_INFO"

stg_APEX_PAGE_INFO.yml (Document the table)

version: 2
models:
- name: stg_APEX_PAGE_INFO
  description: The table is about Salesforce Apex pages. It contains information such
    as page IDs, names, API versions, and descriptions. The table tracks availability
    in touch interfaces and whether headers are shown. It includes durable IDs for
    stable references. The table also has Fivetran-specific columns for deletion status
    and sync timestamps.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: DURABLE_ID
    description: Stable identifier for the Apex page
    tests:
    - not_null
  - name: APEX_PAGE_ID
    description: Identifier for the Apex page
    tests:
    - not_null
  - name: NAME
    description: Name of the Apex page
    tests:
    - not_null
  - name: NAME_SPACE_PREFIX
    description: Namespace prefix for the Apex page
    tests:
    - not_null
  - name: API_VERSION
    description: API version of the Apex page
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the Apex page
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_TOUCH
    description: Indicates if available in touch interface
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the Apex page
    tests:
    - not_null
  - name: IS_SHOW_HEADER
    description: Indicates if header is shown
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_SOURCE_BUNDLE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SOURCE_BUNDLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:40.381504+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SOURCE_BUNDLE"

stg_DATA_SOURCE_BUNDLE.yml (Document the table)

version: 2
models:
- name: stg_DATA_SOURCE_BUNDLE
  description: The table is about data source bundles. It contains details such as
    the bundle ID, owner ID, name, creation date, last modification date, and deletion
    status. The table tracks who created and last modified each bundle. It also includes
    system timestamps and Fivetran sync information. This appears to be a Salesforce-related
    table capturing metadata about grouped data sources.
  columns:
  - name: ID
    description: Unique identifier for the data source bundle
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the bundle
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the bundle has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data source bundle
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the bundle was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the bundle
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the bundle
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_PROV_MOCK_TARGET

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROV_MOCK_TARGET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:41:30.360882+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROV_MOCK_TARGET"

stg_USER_PROV_MOCK_TARGET.yml (Document the table)

version: 2
models:
- name: stg_USER_PROV_MOCK_TARGET
  description: The table is about user or external user accounts. It contains basic
    user information like name, email, and external IDs. The table tracks creation
    and modification dates, as well as who created or modified the record. It includes
    flags for deletion status and synchronization with an external system (likely
    Fivetran). The table appears to be used for provisioning or managing user accounts,
    possibly in a system that integrates with external user data sources.
  columns:
  - name: ID
    description: Unique identifier for the user record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Full name or username of the user
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: EXTERNAL_USER_ID
    description: Unique identifier for the user in external system
    tests:
    - not_null
  - name: EXTERNAL_USERNAME
    description: Username of the user in external system
    tests:
    - not_null
  - name: EXTERNAL_EMAIL
    description: Email address of the user in external system
    tests:
    - not_null
  - name: EXTERNAL_FIRST_NAME
    description: First name of the user in external system
    tests:
    - not_null
  - name: EXTERNAL_LAST_NAME
    description: Last name of the user in external system
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_MKT_SGMT_DEF_CALC_INSIGHT_FLD

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_SGMT_DEF_CALC_INSIGHT_FLD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:43.391582+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_SGMT_DEF_CALC_INSIGHT_FLD"

stg_MKT_SGMT_DEF_CALC_INSIGHT_FLD.yml (Document the table)

version: 2
models:
- name: stg_MKT_SGMT_DEF_CALC_INSIGHT_FLD
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_APEX_COMPONENT

Table Preview (sample only)

ID NAMESPACE_PREFIX NAME API_VERSION MASTER_LABEL DESCRIPTION CONTROLLER_TYPE CONTROLLER_KEY MARKUP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APEX_COMPONENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:54.717796+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APEX_COMPONENT"

stg_APEX_COMPONENT.yml (Document the table)

version: 2
models:
- name: stg_APEX_COMPONENT
  description: The table is about Apex components. It contains details like component
    ID, namespace, name, API version, and label. It tracks creation and modification
    dates and users. The table includes fields for component description, controller
    type, and markup. It also has Fivetran-specific fields for syncing and deletion
    status.
  columns:
  - name: ID
    description: Unique identifier for the Apex component
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix of the component
    tests:
    - not_null
  - name: NAME
    description: Name of the Apex component
    tests:
    - not_null
  - name: API_VERSION
    description: API version of the component
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label of the component
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the component's purpose
    tests:
    - not_null
  - name: CONTROLLER_TYPE
    description: Type of controller used by the component
    tests:
    - not_null
  - name: CONTROLLER_KEY
    description: Key identifier for the controller
    tests:
    - not_null
  - name: MARKUP
    description: Markup code for the component
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the component was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the component
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the component
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the component
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_ASSESSMENT_FIELD_METRIC

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_ASSESSMENT_METRIC_ID FIELD_NAME NUM_MATCHED_IN_SYNC NUM_MATCHED_DIFFERENT NUM_MATCHED_BLANKS NUM_UNMATCHED_BLANKS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ASSESSMENT_FIELD_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:46.079617+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ASSESSMENT_FIELD_METRIC"

stg_DATA_ASSESSMENT_FIELD_METRIC.yml (Document the table)

version: 2
models:
- name: stg_DATA_ASSESSMENT_FIELD_METRIC
  description: The table is about data assessment field metrics. It contains details
    like field name, matched and unmatched counts, creation and modification timestamps.
    Each record is uniquely identified by an ID. The table tracks metrics related
    to data quality and synchronization for specific fields in a data assessment process.
    It includes system fields for tracking changes and deletion status.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data assessment field metric
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: DATA_ASSESSMENT_METRIC_ID
    description: ID of the associated data assessment metric
    tests:
    - not_null
  - name: FIELD_NAME
    description: Name of the field being assessed
    tests:
    - not_null
  - name: NUM_MATCHED_IN_SYNC
    description: Number of matched records in sync
    tests:
    - not_null
  - name: NUM_MATCHED_DIFFERENT
    description: Number of matched records with differences
    tests:
    - not_null
  - name: NUM_MATCHED_BLANKS
    description: Number of matched records with blank values
    tests:
    - not_null
  - name: NUM_UNMATCHED_BLANKS
    description: Number of unmatched records with blank values
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_LIST_EMAIL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_EMAIL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:13.925771+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_EMAIL_SHARE"

stg_LIST_EMAIL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_LIST_EMAIL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PROMPT_ERROR_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT_ERROR_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:24.543829+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT_ERROR_SHARE"

stg_PROMPT_ERROR_SHARE.yml (Document the table)

version: 2
models:
- name: stg_PROMPT_ERROR_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OAUTH_TOKEN

Table Preview (sample only)

ID ACCESS_TOKEN USER_ID REQUEST_TOKEN CREATED_DATE APP_NAME LAST_USED_DATE USE_COUNT DELETE_TOKEN APP_MENU_ITEM_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OAUTH_TOKEN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:58.494884+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OAUTH_TOKEN"

stg_OAUTH_TOKEN.yml (Document the table)

version: 2
models:
- name: stg_OAUTH_TOKEN
  description: The table is about OAuth tokens. It contains details such as access
    tokens, user IDs, creation dates, app names, last used dates, and usage counts.
    Each token is associated with a specific user and application. The table tracks
    token creation, usage, and deletion information. It also includes a Fivetran sync
    timestamp, suggesting this data is synced from another system.
  columns:
  - name: ID
    description: Unique identifier for each OAuth token
    tests:
    - not_null
  - name: ACCESS_TOKEN
    description: Encrypted access token for authentication
    tests:
    - not_null
  - name: USER_ID
    description: Unique identifier of the user associated with the token
    tests:
    - not_null
  - name: REQUEST_TOKEN
    description: Encrypted request token for OAuth flow
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the token was created
    tests:
    - not_null
  - name: APP_NAME
    description: Name of the application using the token
    tests:
    - not_null
  - name: LAST_USED_DATE
    description: Timestamp when the token was last used
    tests:
    - not_null
  - name: USE_COUNT
    description: Number of times the token has been used
    tests:
    - not_null
  - name: DELETE_TOKEN
    description: Encrypted token used for deletion
    tests:
    - not_null
  - name: APP_MENU_ITEM_ID
    description: ID of associated application menu item
    cocoon_meta:
      missing_reason: Not all apps have menu items.
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FISCAL_YEAR_SETTINGS

Table Preview (sample only)

ID PERIOD_ID START_DATE END_DATE NAME IS_STANDARD_YEAR YEAR_TYPE QUARTER_LABEL_SCHEME PERIOD_LABEL_SCHEME WEEK_LABEL_SCHEME QUARTER_PREFIX PERIOD_PREFIX WEEK_START_DAY DESCRIPTION SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FISCAL_YEAR_SETTINGS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:23.675356+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FISCAL_YEAR_SETTINGS"

stg_FISCAL_YEAR_SETTINGS.yml (Document the table)

version: 2
models:
- name: stg_FISCAL_YEAR_SETTINGS
  description: The table is about fiscal year settings. It contains details for different
    years, including start and end dates, year type, and labeling schemes for quarters,
    periods, and weeks. Each row represents a fiscal year, with a unique ID and period
    ID. The table includes standard years from 2023 to 2028. It also has system timestamps
    and Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for the fiscal year record
    tests:
    - not_null
  - name: PERIOD_ID
    description: Unique identifier for the fiscal period
    tests:
    - not_null
  - name: START_DATE
    description: Beginning date of the fiscal year
    tests:
    - not_null
  - name: END_DATE
    description: Ending date of the fiscal year
    tests:
    - not_null
  - name: NAME
    description: Name or label of the fiscal year
    tests:
    - not_null
  - name: IS_STANDARD_YEAR
    description: Indicates if it's a standard fiscal year
    tests:
    - not_null
  - name: YEAR_TYPE
    description: Type of fiscal year (e.g., Standard)
    tests:
    - not_null
  - name: QUARTER_LABEL_SCHEME
    description: Labeling scheme for quarters
    tests:
    - not_null
  - name: PERIOD_LABEL_SCHEME
    description: Labeling scheme for periods
    tests:
    - not_null
  - name: WEEK_LABEL_SCHEME
    description: Labeling scheme for weeks
    tests:
    - not_null
  - name: QUARTER_PREFIX
    description: Prefix used for quarter labels
    tests:
    - not_null
  - name: PERIOD_PREFIX
    description: Prefix used for period labels
    tests:
    - not_null
  - name: WEEK_START_DAY
    description: Day of the week when the fiscal week starts
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Additional description of the fiscal year
    cocoon_meta:
      missing_reason: Optional field for additional information, not always needed.
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last system modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MARKET_SEGMENT_DEF_MAPPING

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MARKET_SEGMENT_DEF_MAPPING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:59.636861+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MARKET_SEGMENT_DEF_MAPPING"

stg_MARKET_SEGMENT_DEF_MAPPING.yml (Document the table)

version: 2
models:
- name: stg_MARKET_SEGMENT_DEF_MAPPING
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CALL_TEMPLATE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION HTML_BODY TEMPLATE_TYPE TOTAL_CALLS_MEANINGFUL_CONNECT TOTAL_CALLS_NOT_INTERESTED TOTAL_CALLS_UNQUALIFIED TOTAL_CALLS_LEFT_VOICEMAIL TOTAL_CALLS_CALL_BACK_LATER TOTAL_CALLS_UNCATEGORIZED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_TEMPLATE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:31.387972+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_TEMPLATE"

stg_CALL_TEMPLATE.yml (Document the table)

version: 2
models:
- name: stg_CALL_TEMPLATE
  description: The table is about call templates used in a sales or customer service
    context. It includes details like template ID, owner, name, creation date, description,
    and HTML body content. The templates have specific types and track various call
    outcomes such as meaningful connections, uninterested responses, and voicemails
    left. The table also includes metadata about modifications and system timestamps.
  columns:
  - name: ID
    description: Unique identifier for the call template
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the template
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the template is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the call template
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the template was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the template
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the template
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the template was last viewed
    cocoon_meta:
      missing_reason: New template that hasn't been viewed yet
  - name: LAST_REFERENCED_DATE
    description: Date when the template was last referenced
    cocoon_meta:
      missing_reason: New template that hasn't been referenced yet
  - name: DESCRIPTION
    description: Brief description of the call template
    tests:
    - not_null
  - name: HTML_BODY
    description: HTML content of the call template
    tests:
    - not_null
  - name: TEMPLATE_TYPE
    description: Type of the call template
    tests:
    - not_null
  - name: TOTAL_CALLS_MEANINGFUL_CONNECT
    description: Count of meaningful connections made
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_CALLS_NOT_INTERESTED
    description: Count of calls where prospect not interested
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_CALLS_UNQUALIFIED
    description: Count of calls with unqualified prospects
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_CALLS_LEFT_VOICEMAIL
    description: Count of calls resulting in voicemail
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_CALLS_CALL_BACK_LATER
    description: Count of calls scheduled for callback
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_CALLS_UNCATEGORIZED
    description: Count of calls not categorized
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_EMAIL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_ID ACTIVE_FROM_DATE ACTIVE_TO_DATE BEST_TIME_TO_CONTACT_END_TIME BEST_TIME_TO_CONTACT_START_TIME BEST_TIME_TO_CONTACT_TIMEZONE IS_PRIMARY EMAIL_ADDRESS EMAIL_MAIL_BOX EMAIL_DOMAIN EMAIL_LATEST_BOUNCE_DATE_TIME EMAIL_LATEST_BOUNCE_REASON_TEXT PREFERENCE_RANK USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_EMAIL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:33:23.720197+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_EMAIL"

stg_CONTACT_POINT_EMAIL.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_EMAIL
  description: The table is about email contact points. It contains details like email
    addresses, owner IDs, creation dates, and modification dates. Each record represents
    a unique email contact point. The table includes fields for primary status, active
    dates, and best time to contact. It also stores email-specific information such
    as mailbox, domain, and bounce details. The table appears to be part of a larger
    system, possibly a CRM or contact management system.
  columns:
  - name: ID
    description: ID
    tests:
    - not_null
  - name: OWNER_ID
    description: OWNER_ID
    tests:
    - not_null
  - name: IS_DELETED
    description: IS_DELETED
    tests:
    - not_null
  - name: NAME
    description: NAME
    tests:
    - not_null
  - name: CREATED_DATE
    description: CREATED_DATE
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: CREATED_BY_ID
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: LAST_MODIFIED_DATE
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: LAST_MODIFIED_BY_ID
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: SYSTEM_MODSTAMP
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: LAST_VIEWED_DATE
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: LAST_REFERENCED_DATE
    cocoon_meta:
      missing_reason: Unknown
  - name: PARENT_ID
    description: PARENT_ID
    tests:
    - not_null
  - name: ACTIVE_FROM_DATE
    description: ACTIVE_FROM_DATE
    cocoon_meta:
      missing_reason: No active period has been set for these contacts.
  - name: ACTIVE_TO_DATE
    description: ACTIVE_TO_DATE
    cocoon_meta:
      missing_reason: No active period has been set for these contacts.
  - name: BEST_TIME_TO_CONTACT_END_TIME
    description: BEST_TIME_TO_CONTACT_END_TIME
    cocoon_meta:
      missing_reason: Unknown
  - name: BEST_TIME_TO_CONTACT_START_TIME
    description: BEST_TIME_TO_CONTACT_START_TIME
    cocoon_meta:
      missing_reason: Unknown
  - name: BEST_TIME_TO_CONTACT_TIMEZONE
    description: BEST_TIME_TO_CONTACT_TIMEZONE
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_PRIMARY
    description: IS_PRIMARY
    tests:
    - not_null
  - name: EMAIL_ADDRESS
    description: EMAIL_ADDRESS
    tests:
    - not_null
  - name: EMAIL_MAIL_BOX
    description: EMAIL_MAIL_BOX
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL_DOMAIN
    description: EMAIL_DOMAIN
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL_LATEST_BOUNCE_DATE_TIME
    description: EMAIL_LATEST_BOUNCE_DATE_TIME
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL_LATEST_BOUNCE_REASON_TEXT
    description: EMAIL_LATEST_BOUNCE_REASON_TEXT
    cocoon_meta:
      missing_reason: Unknown
  - name: PREFERENCE_RANK
    description: PREFERENCE_RANK
    cocoon_meta:
      missing_reason: Unknown
  - name: USAGE_TYPE
    description: USAGE_TYPE
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: _FIVETRAN_DELETED
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: _FIVETRAN_SYNCED
    tests:
    - not_null
  tests: []

stg_ACCOUNT_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCOUNT_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:46.461336+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCOUNT_TAG"

stg_ACCOUNT_TAG.yml (Document the table)

version: 2
models:
- name: stg_ACCOUNT_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MKT_MLMODEL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_MLMODEL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:33.777287+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_MLMODEL_SHARE"

stg_MKT_MLMODEL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_MKT_MLMODEL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_UI_FORMULA_CRITERION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RULE_ID LEFT_HAND_SIDE OPERATOR_ID RIGHT_HAND_SIDE PARENT_KEY_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UI_FORMULA_CRITERION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:57.270543+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UI_FORMULA_CRITERION"

stg_UI_FORMULA_CRITERION.yml (Document the table)

version: 2
models:
- name: stg_UI_FORMULA_CRITERION
  description: The table is about UI formula criteria. It contains details of individual
    criteria used in UI rules. Each criterion has an ID, creation and modification
    timestamps, associated rule ID, left-hand side expression, operator, and right-hand
    side value. The criteria seem to be comparing user profile IDs. The table also
    includes metadata like deletion status and synchronization timestamp.
  columns:
  - name: ID
    description: Unique identifier for the criterion
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the criterion was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the criterion
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the criterion
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: RULE_ID
    description: ID of the associated UI rule
    tests:
    - not_null
  - name: LEFT_HAND_SIDE
    description: Left-hand side expression of the criterion
    tests:
    - not_null
  - name: OPERATOR_ID
    description: ID of the operator used in the criterion
    tests:
    - not_null
  - name: RIGHT_HAND_SIDE
    description: Right-hand side value of the criterion
    tests:
    - not_null
  - name: PARENT_KEY_PREFIX
    description: Prefix of the parent key
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:04.309682+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE"

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EVENT_RELAY_CONFIG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EVENT_CHANNEL DESTINATION_RESOURCE_NAME STATE RELAY_OPTION USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_RELAY_CONFIG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:12.327307+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_RELAY_CONFIG"

stg_EVENT_RELAY_CONFIG.yml (Document the table)

version: 2
models:
- name: stg_EVENT_RELAY_CONFIG
  description: The table is about event relay configurations. It contains details
    such as the event channel, destination resource, state, and relay options. The
    table tracks creation and modification dates, as well as the users who created
    or modified the configuration. It also includes fields for developer name, language,
    and namespace prefix, suggesting it's part of a larger development ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the event relay configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the configuration is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the configuration used by developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language setting for the configuration
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the configuration
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the configuration
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the configuration was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the configuration
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the configuration
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: EVENT_CHANNEL
    description: Channel or type of event being relayed
    tests:
    - not_null
  - name: DESTINATION_RESOURCE_NAME
    description: Name of the resource receiving the relayed events
    tests:
    - not_null
  - name: STATE
    description: Current state of the event relay configuration
    tests:
    - not_null
  - name: RELAY_OPTION
    description: Option specifying how events are relayed
    tests:
    - not_null
  - name: USAGE_TYPE
    description: Type of usage for the event relay
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_DISTRIBUTION

Table Preview (sample only)

ID CREATED_DATE CREATED_BY_ID OWNER_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAME IS_DELETED CONTENT_VERSION_ID CONTENT_DOCUMENT_ID RELATED_RECORD_ID PREFERENCES_ALLOW_PDFDOWNLOAD PREFERENCES_ALLOW_ORIGINAL_DOWNLOAD PREFERENCES_PASSWORD_REQUIRED PREFERENCES_NOTIFY_ON_VISIT PREFERENCES_LINK_LATEST_VERSION PREFERENCES_ALLOW_VIEW_IN_BROWSER PREFERENCES_EXPIRES PREFERENCES_NOTIFY_RNDTN_COMPLETE EXPIRY_DATE PASSWORD VIEW_COUNT FIRST_VIEW_DATE LAST_VIEW_DATE DISTRIBUTION_PUBLIC_URL CONTENT_DOWNLOAD_URL PDF_DOWNLOAD_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_DISTRIBUTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:04.822345+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_DISTRIBUTION"

stg_CONTENT_DISTRIBUTION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_DISTRIBUTION
  description: The table is about content distribution. It includes details like ID,
    creation date, owner, content version, content document, and related record. It
    also stores distribution preferences such as download options, password requirements,
    and expiration settings. The table tracks view counts, first and last view dates,
    and provides public and download URLs for the distributed content.
  columns:
  - name: ID
    description: Unique identifier for the content distribution
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the distribution was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the distribution
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the distribution
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the distribution
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the distribution
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: NAME
    description: Name of the content distribution
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the distribution is deleted
    tests:
    - not_null
  - name: CONTENT_VERSION_ID
    description: ID of the content version being distributed
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the content document being distributed
    tests:
    - not_null
  - name: RELATED_RECORD_ID
    description: ID of a record related to this distribution
    tests:
    - not_null
  - name: PREFERENCES_ALLOW_PDFDOWNLOAD
    description: Allows PDF download of the content
    tests:
    - not_null
  - name: PREFERENCES_ALLOW_ORIGINAL_DOWNLOAD
    description: Allows original file download
    tests:
    - not_null
  - name: PREFERENCES_PASSWORD_REQUIRED
    description: Requires password for access
    tests:
    - not_null
  - name: PREFERENCES_NOTIFY_ON_VISIT
    description: Notifies owner when content is viewed
    tests:
    - not_null
  - name: PREFERENCES_LINK_LATEST_VERSION
    description: Links to the latest content version
    tests:
    - not_null
  - name: PREFERENCES_ALLOW_VIEW_IN_BROWSER
    description: Allows viewing content in browser
    tests:
    - not_null
  - name: PREFERENCES_EXPIRES
    description: Sets an expiration for the distribution
    tests:
    - not_null
  - name: PREFERENCES_NOTIFY_RNDTN_COMPLETE
    description: Notifies when rendering is complete
    tests:
    - not_null
  - name: EXPIRY_DATE
    description: Date when the distribution expires
    tests:
    - not_null
  - name: PASSWORD
    description: Password for accessing the distribution
    tests:
    - not_null
  - name: VIEW_COUNT
    description: Number of times the content was viewed
    tests:
    - not_null
  - name: FIRST_VIEW_DATE
    description: Date of first view of the content
    tests:
    - not_null
  - name: LAST_VIEW_DATE
    description: Date of most recent view of the content
    tests:
    - not_null
  - name: DISTRIBUTION_PUBLIC_URL
    description: Public URL for accessing the distribution
    tests:
    - not_null
  - name: CONTENT_DOWNLOAD_URL
    description: URL for downloading the content
    tests:
    - not_null
  - name: PDF_DOWNLOAD_URL
    description: URL for downloading PDF version
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_STREAM

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION IMPORT_RUN_STATUS DATA_STREAM_STATUS LAST_REFRESH_DATE LAST_NUMBER_OF_ROWS_ADDED_COUNT TOTAL_NUMBER_OF_ROWS_ADDED REFRESH_FREQUENCY REFRESH_HOURS IS_REFRESH_DELIVERY_HOUR_AUTOMATIC REFRESH_DAY_OF_WEEK REFRESH_DAY_OF_MONTH REFRESH_MODE EXTERNAL_RECORD_IDENTIFIER TOTAL_ROWS_PROCESSED LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE IS_NEW_FIELDS_AVAILABLE STREAM_TYPE EXTERNAL_STREAM_ERROR_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_STREAM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:27.425706+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_STREAM"

stg_DATA_STREAM.yml (Document the table)

version: 2
models:
- name: stg_DATA_STREAM
  description: The table is about data streams in a system. It contains details like
    stream ID, owner, name, status, creation date, and last modification date. Each
    row represents a unique data stream with attributes such as import run status,
    refresh frequency, and stream type. The table also tracks metrics like total rows
    processed and last refresh date. It includes fields for external identifiers and
    error codes, suggesting integration with external systems.
  columns:
  - name: ID
    description: Unique identifier for the data stream
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the stream
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the stream is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data stream
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the stream was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the stream
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the stream
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the stream was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date when the stream was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Description of the data stream
    cocoon_meta:
      missing_reason: Unknown
  - name: IMPORT_RUN_STATUS
    description: Status of the import run
    tests:
    - not_null
  - name: DATA_STREAM_STATUS
    description: Current status of the data stream
    tests:
    - not_null
  - name: LAST_REFRESH_DATE
    description: Date of the last data refresh
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_NUMBER_OF_ROWS_ADDED_COUNT
    description: Number of rows added in last refresh
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_NUMBER_OF_ROWS_ADDED
    description: Total number of rows added to stream
    cocoon_meta:
      missing_reason: Unknown
  - name: REFRESH_FREQUENCY
    description: Frequency of data refresh
    tests:
    - not_null
  - name: REFRESH_HOURS
    description: Hours at which refresh occurs
    cocoon_meta:
      missing_reason: Not applicable when REFRESH_FREQUENCY is 'NONE'
  - name: IS_REFRESH_DELIVERY_HOUR_AUTOMATIC
    description: Indicates if refresh hour is automatic
    tests:
    - not_null
  - name: REFRESH_DAY_OF_WEEK
    description: Day of week for refresh
    cocoon_meta:
      missing_reason: Not applicable when REFRESH_FREQUENCY is 'NONE'
  - name: REFRESH_DAY_OF_MONTH
    description: Day of month for refresh
    cocoon_meta:
      missing_reason: Not applicable when REFRESH_FREQUENCY is 'NONE'
  - name: REFRESH_MODE
    description: Mode of refresh (e.g., Incremental, Upsert)
    tests:
    - not_null
  - name: EXTERNAL_RECORD_IDENTIFIER
    description: External identifier for the stream
    tests:
    - not_null
  - name: TOTAL_ROWS_PROCESSED
    description: Total number of rows processed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_DATA_CHANGE_STATUS_DATE_TIME
    description: Timestamp of last data change status
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_ERROR_CODE
    description: Error code of last data change
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_NEW_FIELDS_AVAILABLE
    description: Indicates if new fields are available
    tests:
    - not_null
  - name: STREAM_TYPE
    description: Type of the data stream
    tests:
    - not_null
  - name: EXTERNAL_STREAM_ERROR_CODE
    description: Error code from external stream
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_DATA_STREAM_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_STREAM_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:42:28.083742+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_STREAM_SHARE"

stg_DATA_STREAM_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_STREAM_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_ACTION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ACTION_STATUS LAST_ACTION_STATUS_ERROR_CODE LAST_ACTION_STATUS_DATE_TIME ACTION_API_NAME DATA_SPACE_ID SHOULD_PROCESS_DAY_ZERO AFFILIATION_DMO_DEVELOPER_NAME MANAGED_BY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ACTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:13.174366+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ACTION"

stg_DATA_ACTION.yml (Document the table)

version: 2
models:
- name: stg_DATA_ACTION
  description: The table is about data actions. It includes details like action name,
    status, API name, and associated data space. The table tracks creation and modification
    dates, user IDs for these changes, and system timestamps. It also contains flags
    for deletion status and day-zero processing. The table stores error codes and
    timestamps for the last action status update. Additional fields suggest integration
    with external systems or management processes.
  columns:
  - name: ID
    description: Unique identifier for the data action
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data action
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the data action
    tests:
    - not_null
  - name: ACTION_STATUS
    description: Current status of the data action
    tests:
    - not_null
  - name: LAST_ACTION_STATUS_ERROR_CODE
    description: Error code from the last action status update
    tests:
    - not_null
  - name: LAST_ACTION_STATUS_DATE_TIME
    description: Timestamp of the last action status update
    tests:
    - not_null
  - name: ACTION_API_NAME
    description: API name of the data action
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the associated data space
    tests:
    - not_null
  - name: SHOULD_PROCESS_DAY_ZERO
    description: Flag for day-zero processing
    tests:
    - not_null
  - name: AFFILIATION_DMO_DEVELOPER_NAME
    description: Developer name for affiliation DMO
    tests:
    - not_null
  - name: MANAGED_BY
    description: Entity or process managing the data action
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SSOT_CONTACT_POINT_EMAIL_DLM

Table Preview (sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_EMAIL_ADDRESS_C SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C SSOT_ID_C SSOT_PARTY_ID_C SSOT_REL_1697761162380_END_C SSOT_REL_1697761176242_END_C SSOT_SSOT_ID_MAP_SSOT_ID_1629904018724_C KQ_ID_C KQ_PARTY_ID_C REL_1721117985404_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_CONTACT_POINT_EMAIL_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:29:56.183997+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_CONTACT_POINT_EMAIL_DLM"

stg_SSOT_CONTACT_POINT_EMAIL_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
  description: The table is about email contact points. It contains email addresses
    associated with leads or contacts. Each record includes an ID, data source information,
    email address, and party ID. The table also tracks bounce information and synchronization
    details. It appears to be a centralized repository for email contact information
    across different data sources or systems.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier for the data source
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Type of object (Lead or Contact)
    tests:
    - not_null
  - name: SSOT_EMAIL_ADDRESS_C
    description: Email address of the lead or contact
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C
    description: Date and time of the latest email bounce
    cocoon_meta:
      missing_reason: No bounce occurred for the email address.
  - name: SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C
    description: Reason for the latest email bounce
    cocoon_meta:
      missing_reason: No bounce occurred for the email address.
  - name: SSOT_ID_C
    description: Single Source of Truth ID
    tests:
    - not_null
  - name: SSOT_PARTY_ID_C
    description: Unique identifier for the party
    tests:
    - not_null
  - name: SSOT_REL_1697761162380_END_C
    description: Relationship end date (specific to 1697761162380)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_REL_1697761176242_END_C
    description: Relationship end date (specific to 1697761176242)
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_SSOT_ID_MAP_SSOT_ID_1629904018724_C
    description: SSOT ID mapping (specific to 1629904018724)
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_ID_C
    description: Key Quality ID
    cocoon_meta:
      missing_reason: Unknown
  - name: KQ_PARTY_ID_C
    description: Key Quality Party ID
    cocoon_meta:
      missing_reason: Unknown
  - name: REL_1721117985404_END_C
    description: Relationship end date (specific to 1721117985404)
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record is deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PACKAGE_LICENSE

Table Preview (sample only)

ID STATUS IS_PROVISIONED ALLOWED_LICENSES USED_LICENSES IS_AVAILABLE_FOR_INTEGRATIONS EXPIRATION_DATE CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP NAMESPACE_PREFIX _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PACKAGE_LICENSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:43.466492+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PACKAGE_LICENSE"

stg_PACKAGE_LICENSE.yml (Document the table)

version: 2
models:
- name: stg_PACKAGE_LICENSE
  description: The table is about package licenses. It includes details such as license
    status, provisioning status, allowed and used licenses, availability for integrations,
    and expiration date. Each license is associated with a namespace prefix. The table
    also tracks creation, modification, and synchronization dates. The licenses shown
    are all in "Free" status with no expiration date and no used licenses.
  columns:
  - name: ID
    description: Unique identifier for each license record
    tests:
    - not_null
  - name: STATUS
    description: Current status of the license
    tests:
    - not_null
  - name: IS_PROVISIONED
    description: Indicates if the license is provisioned
    tests:
    - not_null
  - name: ALLOWED_LICENSES
    description: Number of licenses allowed
    tests:
    - not_null
  - name: USED_LICENSES
    description: Number of licenses currently in use
    tests:
    - not_null
  - name: IS_AVAILABLE_FOR_INTEGRATIONS
    description: Availability for integrations
    tests:
    - not_null
  - name: EXPIRATION_DATE
    description: Date when the license expires
    cocoon_meta:
      missing_reason: Free licenses don't expire, so no date is needed.
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix associated with the license
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CASE_STATUS

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CLOSED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:24.249534+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_STATUS"

stg_CASE_STATUS.yml (Document the table)

version: 2
models:
- name: stg_CASE_STATUS
  description: CASE_STATUS shows different stages of a case. It includes statuses
    like New, Working, and Closed. Each status has an ID, label, and API name. The
    table tracks creation and modification dates. TASK_STATUS likely contains similar
    information for individual tasks within cases.
  columns:
  - name: ID
    description: Unique identifier for the status record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the case status
    tests:
    - not_null
  - name: API_NAME
    description: API name for the case status
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying statuses
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default status
    tests:
    - not_null
  - name: IS_CLOSED
    description: Indicates if the status represents a closed case
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the status
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the status was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the status
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SAML_SSO_CONFIG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VERSION ISSUER OPTIONS_SP_INIT_BINDING OPTIONS_USER_PROVISIONING OPTIONS_USE_CONFIG_REQUEST_METHOD OPTIONS_USE_SAME_DIGEST_ALGO_FOR_SIGNING OPTIONS_REQUIRE_MFA_SAML ATTRIBUTE_FORMAT ATTRIBUTE_NAME AUDIENCE IDENTITY_MAPPING IDENTITY_LOCATION EXECUTION_USER_ID LOGIN_URL LOGOUT_URL ERROR_URL VALIDATION_CERT REQUEST_SIGNATURE_METHOD SINGLE_LOGOUT_URL SINGLE_LOGOUT_BINDING _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SAML_SSO_CONFIG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:52.275940+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SAML_SSO_CONFIG"

stg_SAML_SSO_CONFIG.yml (Document the table)

version: 2
models:
- name: stg_SAML_SSO_CONFIG
  description: The table is about SAML Single Sign-On (SSO) configuration. It contains
    details such as issuer, audience, login URL, logout URL, and identity mapping.
    The table also includes options for user provisioning, MFA requirements, and signature
    methods. It stores metadata like creation date, last modified date, and version.
    This configuration likely manages SSO settings for an application or service.
  columns:
  - name: ID
    description: Unique identifier for the SSO configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-friendly name for the configuration
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the configuration
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the configuration
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the configuration
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the configuration was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the configuration
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the configuration
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: VERSION
    description: Version number of the configuration
    tests:
    - not_null
  - name: ISSUER
    description: Entity issuing the SAML assertion
    tests:
    - not_null
  - name: OPTIONS_SP_INIT_BINDING
    description: Service Provider initiated binding options
    tests:
    - not_null
  - name: OPTIONS_USER_PROVISIONING
    description: User provisioning options
    tests:
    - not_null
  - name: OPTIONS_USE_CONFIG_REQUEST_METHOD
    description: Use configured request method option
    tests:
    - not_null
  - name: OPTIONS_USE_SAME_DIGEST_ALGO_FOR_SIGNING
    description: Use same digest algorithm for signing option
    tests:
    - not_null
  - name: OPTIONS_REQUIRE_MFA_SAML
    description: Require MFA for SAML option
    tests:
    - not_null
  - name: ATTRIBUTE_FORMAT
    description: Format of the SAML attribute
    tests:
    - not_null
  - name: ATTRIBUTE_NAME
    description: Name of the SAML attribute
    tests:
    - not_null
  - name: AUDIENCE
    description: Intended audience for the SAML assertion
    tests:
    - not_null
  - name: IDENTITY_MAPPING
    description: Method for mapping user identities
    tests:
    - not_null
  - name: IDENTITY_LOCATION
    description: Location of the identity information
    tests:
    - not_null
  - name: EXECUTION_USER_ID
    description: ID of the user executing the SSO
    tests:
    - not_null
  - name: LOGIN_URL
    description: URL for SSO login
    tests:
    - not_null
  - name: LOGOUT_URL
    description: URL for SSO logout
    tests:
    - not_null
  - name: ERROR_URL
    description: URL to redirect on SSO error
    tests:
    - not_null
  - name: VALIDATION_CERT
    description: Certificate for validating SAML responses
    tests:
    - not_null
  - name: REQUEST_SIGNATURE_METHOD
    description: Method for signing SAML requests
    tests:
    - not_null
  - name: SINGLE_LOGOUT_URL
    description: URL for single logout
    tests:
    - not_null
  - name: SINGLE_LOGOUT_BINDING
    description: Specifies the binding method for SAML Single Logout
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_MKT_CALCULATED_INSIGHT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE CALCULATED_INSIGHT_STATUS LAST_CALC_INSIGHT_STATUS_ERROR_CODE LAST_CALC_INSIGHT_STATUS_DATE_TIME LAST_RUN_STATUS LAST_RUN_STATUS_ERROR_CODE LAST_RUN_STATUS_DATE_TIME LAST_RUN_DATE_TIME DATA_SPACE_ID EXTERNAL_ERROR_PROPERTIES _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_CALCULATED_INSIGHT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:04.425082+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_CALCULATED_INSIGHT"

stg_MKT_CALCULATED_INSIGHT.yml (Document the table)

version: 2
models:
- name: stg_MKT_CALCULATED_INSIGHT
  description: The table is about marketing calculated insights. It includes details
    like insight ID, name, creation and modification dates, status information, and
    error codes. The table tracks the execution status and timing of these insights,
    along with references to data spaces and external error properties. It also includes
    metadata fields for tracking deletions and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the marketing calculated insight
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the insight has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the marketing calculated insight
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the insight was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the insight
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the insight
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the insight
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the insight was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the insight was last referenced
    tests:
    - not_null
  - name: CALCULATED_INSIGHT_STATUS
    description: Current status of the calculated insight
    tests:
    - not_null
  - name: LAST_CALC_INSIGHT_STATUS_ERROR_CODE
    description: Error code from the last calculation attempt
    tests:
    - not_null
  - name: LAST_CALC_INSIGHT_STATUS_DATE_TIME
    description: Timestamp of the last calculation status update
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the most recent insight execution
    tests:
    - not_null
  - name: LAST_RUN_STATUS_ERROR_CODE
    description: Error code from the most recent execution
    tests:
    - not_null
  - name: LAST_RUN_STATUS_DATE_TIME
    description: Timestamp of the last run status update
    tests:
    - not_null
  - name: LAST_RUN_DATE_TIME
    description: Timestamp of the most recent execution
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the associated data space
    tests:
    - not_null
  - name: EXTERNAL_ERROR_PROPERTIES
    description: Properties of any external errors encountered
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_VISUALFORCE_ACCESS_METRICS

Table Preview (sample only)

ID METRICS_DATE APEX_PAGE_ID PROFILE_ID SYSTEM_MODSTAMP DAILY_PAGE_VIEW_COUNT LOG_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_VISUALFORCE_ACCESS_METRICS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:52.349002+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VISUALFORCE_ACCESS_METRICS"

stg_VISUALFORCE_ACCESS_METRICS.yml (Document the table)

version: 2
models:
- name: stg_VISUALFORCE_ACCESS_METRICS
  description: The table is about Visualforce page access metrics. It tracks daily
    page view counts for specific Visualforce pages. Each record includes the date
    of metrics, Apex page ID, profile ID, and view count. The table also contains
    system metadata like ID and system modification timestamp. It appears to be used
    for monitoring and analyzing the usage of Visualforce pages across different user
    profiles.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: METRICS_DATE
    description: Date for which the metrics are recorded
    tests:
    - not_null
  - name: APEX_PAGE_ID
    description: Identifier of the Visualforce page
    tests:
    - not_null
  - name: PROFILE_ID
    description: Identifier of the user profile
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: DAILY_PAGE_VIEW_COUNT
    description: Number of page views for the day
    tests:
    - not_null
  - name: LOG_DATE
    description: Date when the log entry was created
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_CUSTOMER_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOMER_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:41.573821+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOMER_SHARE"

stg_CUSTOMER_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CUSTOMER_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ORG_EMAIL_ADDRESS_SECURITY

Table Preview (sample only)

ID PARENT_ID ORG_WIDE_EMAIL_ADDRESS_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORG_EMAIL_ADDRESS_SECURITY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:00.369210+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORG_EMAIL_ADDRESS_SECURITY"

stg_ORG_EMAIL_ADDRESS_SECURITY.yml (Document the table)

version: 2
models:
- name: stg_ORG_EMAIL_ADDRESS_SECURITY
  description: The table represents email address security settings for an organization.
    It links organizational entities (PARENT_ID) with specific email addresses (ORG_WIDE_EMAIL_ADDRESS_ID).
    The table tracks modifications (SYSTEM_MODSTAMP) and synchronization status (_FIVETRAN_SYNCED).
    It also indicates whether records have been deleted (_FIVETRAN_DELETED). This
    structure allows for managing email security across different levels of an organization.
  columns:
  - name: ID
    description: Unique identifier for each email security setting
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent organizational entity
    tests:
    - not_null
  - name: ORG_WIDE_EMAIL_ADDRESS_ID
    description: ID of the associated organization-wide email address
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification to the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_MKT_DATA_LAKE_MAPPING

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TARGET_OBJECT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_DATA_LAKE_MAPPING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:11.922062+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_DATA_LAKE_MAPPING"

stg_MKT_DATA_LAKE_MAPPING.yml (Document the table)

version: 2
models:
- name: stg_MKT_DATA_LAKE_MAPPING
  description: The table is about data lake mappings for marketing. It contains metadata
    for each mapping, including its ID, name, language, label, and target object.
    The table tracks creation and modification details. It also includes Fivetran-specific
    fields, suggesting integration with that data pipeline tool. The IS_DELETED field
    likely indicates soft delete functionality.
  columns:
  - name: ID
    description: Unique identifier for the mapping
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the mapping is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-friendly name for the mapping
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the mapping
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the mapping
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the mapping was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the mapping
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the mapping
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TARGET_OBJECT_ID
    description: ID of the target object for the mapping
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_DUPLICATE_RULE

Table Preview (sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE SOBJECT_SUBTYPE LAST_VIEWED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DUPLICATE_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:21.095927+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DUPLICATE_RULE"

stg_DUPLICATE_RULE.yml (Document the table)

version: 2
models:
- name: stg_DUPLICATE_RULE
  description: The table is about duplicate rules in a Salesforce system. It contains
    details of standard duplicate rules for Account, Lead, and Contact objects. Each
    rule has an ID, object type, developer name, label, creation date, last modified
    date, and active status. The rules are created by the same user and are all active.
    The table also includes metadata about when the records were last synced.
  columns:
  - name: ID
    description: Unique identifier for the duplicate rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Salesforce object type the rule applies to
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the duplicate rule
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the rule (empty in this case)
    cocoon_meta:
      missing_reason: Default language; no specific language setting needed.
  - name: MASTER_LABEL
    description: User-friendly name of the duplicate rule
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages (empty here)
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the rule is currently active
    tests:
    - not_null
  - name: SOBJECT_SUBTYPE
    description: Subtype of the Salesforce object (empty here)
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_VIEWED_DATE
    description: Date when the rule was last viewed (empty)
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CUSTOM_BRAND

Table Preview (sample only)

ID PARENT_ID CREATED_BY_ID CREATED_DATE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_BRAND.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:37:48.260832+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_BRAND"

stg_CUSTOM_BRAND.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_BRAND
  description: The table is about custom brands. It stores brand information with
    hierarchical structure. Each brand has an ID and may have a parent brand. The
    table tracks creation and modification details. It includes audit fields for tracking
    changes and deletion status. The _FIVETRAN_SYNCED column suggests integration
    with Fivetran for data synchronization.
  columns:
  - name: ID
    description: Unique identifier for each brand
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent brand, if any
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the brand
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the brand was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the brand
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_AUTH_CONFIG_PROVIDERS

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AUTH_CONFIG_ID AUTH_PROVIDER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTH_CONFIG_PROVIDERS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:56:03.082117+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTH_CONFIG_PROVIDERS"

stg_AUTH_CONFIG_PROVIDERS.yml (Document the table)

version: 2
models:
- name: stg_AUTH_CONFIG_PROVIDERS
  description: The table represents a relationship between authentication configurations
    and authentication providers. It tracks which providers are associated with specific
    auth configs. The table includes standard fields like creation and modification
    dates, as well as system fields for tracking changes. It also has Fivetran-specific
    columns for data synchronization purposes.
  columns:
  - name: ID
    description: Unique identifier for the relationship
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: AUTH_CONFIG_ID
    description: ID of the associated authentication configuration
    tests:
    - not_null
  - name: AUTH_PROVIDER_ID
    description: ID of the associated authentication provider
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_CONTACT_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:44.550621+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_TAG"

stg_CONTACT_TAG.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROFILE

Table Preview (sample only)

ID NAME PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_MULTIFORCE PERMISSIONS_PUBLISH_MULTIFORCE PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_MULTIFORCE PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS USER_LICENSE_ID USER_TYPE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_SSO_ENABLED DESCRIPTION LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

stg_PROFILE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:22:57.655220+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROFILE"

stg_PROFILE.yml (Document the table)

version: 2
models:
- name: stg_PROFILE
  description: The table is about user profiles in a Salesforce system. It contains
    various permission settings for different user types. Each row represents a profile
    with a unique ID and name. The columns show boolean values for numerous permissions,
    indicating whether each profile has specific access rights or capabilities. The
    profiles include Sales Insights Integration User, Minimum Access - Salesforce,
    Chatter Free User, Contract Manager, and Marketing User.
  columns:
  - name: ID
    description: Unique identifier for the user profile
    tests:
    - not_null
  - name: NAME
    description: Name of the user profile
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_SINGLE
    description: Permission to send individual emails
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_MASS
    description: Permission to send mass emails
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TASK
    description: Permission to edit tasks
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_EVENT
    description: Permission to edit events
    tests:
    - not_null
  - name: PERMISSIONS_EXPORT_REPORT
    description: Permission to export reports
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_PERSONAL
    description: Permission to import personal data
    tests:
    - not_null
  - name: PERMISSIONS_DATA_EXPORT
    description: Permission to export data
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_USERS
    description: Permission to manage users
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_FILTERS
    description: Permission to edit public filters
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_TEMPLATES
    description: Permission to edit public templates
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_ALL_DATA
    description: Permission to modify all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BILLING_INFO
    description: Permission to edit billing information
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CASES
    description: Permission to manage cases
    tests:
    - not_null
  - name: PERMISSIONS_MASS_INLINE_EDIT
    description: Permission to perform mass inline edits
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_KNOWLEDGE
    description: Permission to edit knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE
    description: Permission to manage knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_TAG_MANAGER
    description: Permission to manage tags
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOMIZE_APPLICATION
    description: Permission to customize the application
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_READONLY_FIELDS
    description: Permission to edit read-only fields
    tests:
    - not_null
  - name: PERMISSIONS_RUN_REPORTS
    description: Permission to run reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_SETUP
    description: Permission to view setup options
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_ENTITY
    description: Permission to transfer any entity
    tests:
    - not_null
  - name: PERMISSIONS_NEW_REPORT_BUILDER
    description: Permission to use new report builder
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_LEADS
    description: Permission to import leads
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LEADS
    description: Permission to manage leads
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_LEAD
    description: Permission to transfer any lead
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_DATA
    description: Permission to view all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_DOCUMENTS
    description: Permission to edit public documents
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ENCRYPTED_DATA
    description: Can view encrypted data in the system
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BRAND_TEMPLATES
    description: Can edit branding templates
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_HTML_TEMPLATES
    description: Can edit HTML templates
    tests:
    - not_null
  - name: PERMISSIONS_SEND_SIT_REQUESTS
    description: Can send Stay-in-Touch requests
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REMOTE_ACCESS
    description: Can manage remote access settings
    tests:
    - not_null
  - name: PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER
    description: Can use the new dashboard builder
    tests:
    - not_null
  - name: PERMISSIONS_CONVERT_LEADS
    description: Can convert leads to opportunities
    tests:
    - not_null
  - name: PERMISSIONS_PASSWORD_NEVER_EXPIRES
    description: User's password never expires
    tests:
    - not_null
  - name: PERMISSIONS_INSTALL_MULTIFORCE
    description: Can install multiforce applications
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_MULTIFORCE
    description: Can publish multiforce applications
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE
    description: Can edit opportunity line item unit prices
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_MULTIFORCE
    description: Can create multiforce applications
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CALL_CENTERS
    description: Can manage call center settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SYNONYMS
    description: Can manage synonym groups
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_CONTENT
    description: Can view content in the system
    tests:
    - not_null
  - name: PERMISSIONS_IS_SSO_ENABLED
    description: Single Sign-On is enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_INTEGRATIONS
    description: Can manage data integration settings
    tests:
    - not_null
  - name: PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP
    description: Can distribute from personal workspace
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_CATEGORIES
    description: Can view data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_CATEGORIES
    description: Can manage data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_MOBILE
    description: Can manage mobile settings
    tests:
    - not_null
  - name: PERMISSIONS_API_ENABLED
    description: API access is enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES
    description: Can manage custom report types
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_CASE_COMMENTS
    description: Can edit comments on cases
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_CASE
    description: Can transfer any case
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_ADMINISTRATOR
    description: Has content administrator privileges
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_WORKSPACES
    description: Can create workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PERMISSIONS
    description: Can manage content permissions
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PROPERTIES
    description: Can manage content properties
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_TYPES
    description: Can manage content types
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXCHANGE_CONFIG
    description: Manage exchange configuration settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS
    description: Manage business hours and holidays
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS
    description: Manage dynamic dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES
    description: Enable custom sidebar on all pages
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERACTION
    description: Manage user interactions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS
    description: View team dashboards
    tests:
    - not_null
  - name: PERMISSIONS_RESET_PASSWORDS
    description: Reset user passwords
    tests:
    - not_null
  - name: PERMISSIONS_FLOW_UFLREQUIRED
    description: Require user flow licensing
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVITIES_ACCESS
    description: Access to activities
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT
    description: Manage knowledge import and export
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT
    description: Manage email templates
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_ADMINISTRATION
    description: Administer email settings
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_EMAIL_IC
    description: Allow email for internal communications
    tests:
    - not_null
  - name: PERMISSIONS_CHATTER_FILE_LINK
    description: Share Chatter files externally
    tests:
    - not_null
  - name: PERMISSIONS_FORCE_TWO_FACTOR
    description: Enforce two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NETWORKS
    description: Manage Salesforce networks
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_AUTH_PROVIDERS
    description: Manage authentication providers
    tests:
    - not_null
  - name: PERMISSIONS_RUN_FLOW
    description: Run flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS
    description: Create and customize dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_DASHBOARD_FOLDERS
    description: Create dashboard folders
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_DASHBOARDS
    description: View public dashboards
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS
    description: Manage dashboards in public folders
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_REPORTS
    description: Create and customize reports
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_FOLDERS
    description: Create report folders
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_REPORTS
    description: View public reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS
    description: Manage reports in public folders
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_DASHBOARDS
    description: Edit own dashboards
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_REPORTS
    description: Edit own reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_USERS
    description: View all users
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_UNIVERSAL_SEARCH
    description: Allow universal search
    tests:
    - not_null
  - name: PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB
    description: Connect organization to Environment Hub
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_FILTERS
    description: Create and customize filters
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_HUB_USER
    description: Access Content Hub
    tests:
    - not_null
  - name: PERMISSIONS_GOVERN_NETWORKS
    description: Manage and govern networks
    tests:
    - not_null
  - name: PERMISSIONS_TWO_FACTOR_API
    description: Use two-factor authentication API
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_TOPICS
    description: Delete topics
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TOPICS
    description: Edit topics
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_TOPICS
    description: Create topics
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_TOPICS
    description: Assign topics
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_ENABLED
    description: Enable identity features
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_CONNECT
    description: Connect identity services
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_KNOWLEDGE
    description: View knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_WORKSPACES
    description: Access content workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES
    description: Manage search promotion rules
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS
    description: Access custom mobile apps
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HELP_LINK
    description: View help link
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS
    description: Manage profiles and permission sets
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_PERMISSION_SETS
    description: Assign permission sets
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ROLES
    description: Manage user roles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_IP_ADDRESSES
    description: Manage IP addresses
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SHARING
    description: Manage sharing settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERNAL_USERS
    description: Manage internal users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PASSWORD_POLICIES
    description: Manage password policies
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES
    description: Manage login access policies
    tests:
    - not_null
  - name: PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE
    description: Use standard automatic activity capture
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TWO_FACTOR
    description: Manage two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_USER
    description: Use Insights app
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_ELT_EDITOR
    description: Edit Insights app ELT
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_UPLOAD_USER
    description: Upload data to Insights app
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_CREATE_APPLICATION
    description: Create Insights applications
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_EXPERIENCE_USER
    description: Access to Salesforce Lightning Experience interface
    tests:
    - not_null
  - name: PERMISSIONS_SHARE_INTERNAL_ARTICLES
    description: Ability to share articles within the organization
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS
    description: Manage session-based permission sets
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TEMPLATED_APP
    description: Manage templated applications
    tests:
    - not_null
  - name: PERMISSIONS_USE_TEMPLATED_APP
    description: Use templated applications
    tests:
    - not_null
  - name: PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE
    description: Automatically capture user activities
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_CUSTOM_OBJECTS
    description: Import custom objects into Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINBOX
    description: Access to Salesforce IQ Inbox
    tests:
    - not_null
  - name: PERMISSIONS_DELEGATED_TWO_FACTOR
    description: Manage delegated two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_SELECT_FILES_FROM_SALESFORCE
    description: Select files from Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_MODERATE_NETWORK_USERS
    description: Moderate network users
    tests:
    - not_null
  - name: PERMISSIONS_MERGE_TOPICS
    description: Merge topics in Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_IQFIELDS
    description: Edit IQ fields
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS
    description: Subscribe to Lightning reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS
    description: Manage private reports and dashboards
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_LIGHTNING_LOGIN
    description: Allow login through Lightning
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_ASSESSMENT
    description: View data assessment reports
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS
    description: View and edit converted leads
    tests:
    - not_null
  - name: PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE
    description: Display company name as user badge
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CMC
    description: Access to Content Management System
    tests:
    - not_null
  - name: PERMISSIONS_ARCHIVE_ARTICLES
    description: Archive articles in Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_ARTICLES
    description: Publish articles in Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HEALTH_CHECK
    description: View health check reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HEALTH_CHECK
    description: Manage health check settings
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2
    description: Access to Packaging 2.0 features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES
    description: Manage security certificates
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_IN_LIGHTNING
    description: Create reports in Lightning Experience
    tests:
    - not_null
  - name: PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE
    description: Prevent access to Salesforce Classic interface
    tests:
    - not_null
  - name: PERMISSIONS_SUBMIT_FOR_TRANSLATION
    description: Submit content for translation
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TRANSLATION
    description: Edit translated content
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_TRANSLATION
    description: Ability to publish translations
    tests:
    - not_null
  - name: PERMISSIONS_LIST_EMAIL_SEND
    description: Permission to send list emails
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_DASHBOARD_COLORS
    description: Ability to modify dashboard color schemes
    tests:
    - not_null
  - name: PERMISSIONS_HIGH_VELOCITY_SALES_USER
    description: Access to high velocity sales features
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS
    description: Subscribe to reports for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS
    description: Subscribe to dashboards for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_USE_WEB_LINK
    description: Ability to use web links
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_ASEFIELDS
    description: Permission to edit ASE fields
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_ACTIVITIES
    description: Access to view all activities
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS
    description: Subscribe others to reports
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER
    description: Access to Lightning Console
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER
    description: Run subscribed reports as user
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS
    description: Subscribe to Lightning dashboards
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS
    description: Subscribe others to dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB
    description: Create Lightning templates in public
    tests:
    - not_null
  - name: PERMISSIONS_TRANSACTIONAL_EMAIL_SEND
    description: Send transactional emails
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES
    description: View private static resources
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_FOLDER
    description: Create Lightning template folders
    tests:
    - not_null
  - name: PERMISSIONS_APEX_REST_SERVICES
    description: Access to Apex REST services
    tests:
    - not_null
  - name: PERMISSIONS_GIVE_RECOGNITION_BADGE
    description: Ability to give recognition badges
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINTERNAL
    description: Access to Salesforce IQ internal
    tests:
    - not_null
  - name: PERMISSIONS_USE_MY_SEARCH
    description: Use personalized search feature
    tests:
    - not_null
  - name: PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM
    description: Reserved Lightning promotion permission
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SUBSCRIPTIONS
    description: Manage subscriptions
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE
    description: Edit data preparation recipes
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS
    description: Add remote connections for analytics
    tests:
    - not_null
  - name: PERMISSIONS_USE_ASSISTANT_DIALOG
    description: Use assistant dialog feature
    tests:
    - not_null
  - name: PERMISSIONS_USE_QUERY_SUGGESTIONS
    description: Access query suggestions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ROLES
    description: Permission to view roles
    tests:
    - not_null
  - name: PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM
    description: Use outbound messaging
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_DATA_CLASSIFICATION
    description: Ability to change data classification
    tests:
    - not_null
  - name: PERMISSIONS_PRIVACY_DATA_ACCESS
    description: Access to privacy-related data
    tests:
    - not_null
  - name: PERMISSIONS_QUERY_ALL_FILES
    description: Can query all files in the system
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_METADATA
    description: Can modify metadata of records
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CMS
    description: Manage Content Management System
    tests:
    - not_null
  - name: PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP
    description: Can test in community app sandbox
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_PROMPTS
    description: Ability to edit system prompts
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_USER_PII
    description: Can view personally identifiable information
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DRAFT_ARTICLES
    description: Access to view draft articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ARCHIVED_ARTICLES
    description: Can view archived articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HUB_CONNECTIONS
    description: Manage connections in Salesforce hub
    tests:
    - not_null
  - name: PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER
    description: Access to B2B marketing analytics
    tests:
    - not_null
  - name: PERMISSIONS_TRACE_XDS_QUERIES
    description: Can trace cross-data source queries
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS
    description: View all custom settings
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES
    description: Can see all foreign key names
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_CMSACCESS
    description: Access to headless CMS
    tests:
    - not_null
  - name: PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM
    description: Manage Live Message sessions
    tests:
    - not_null
  - name: PERMISSIONS_CONSENT_API_UPDATE
    description: Can update consent via API
    tests:
    - not_null
  - name: PERMISSIONS_PAYMENTS_APIUSER
    description: Access to payments API
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_C_360_ACONNECTIONS
    description: Manage Customer 360 Audiences connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_RELEASE_UPDATES
    description: Can manage release updates
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_PROFILES
    description: View all user profiles
    tests:
    - not_null
  - name: PERMISSIONS_SKIP_IDENTITY_CONFIRMATION
    description: Skip identity confirmation steps
    tests:
    - not_null
  - name: PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS
    description: Send custom notifications
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2_DELETE
    description: Delete second-generation packages
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_DATA_EXPLORER
    description: Access Customer Data Platform explorer
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER
    description: Use Zoom for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PREFERENCE_CENTER
    description: Manage user preference center
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM
    description: Access to Salesforce Meetings
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_METRICS_ACCESS
    description: Access Quip metrics data
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS
    description: Access to Quip user engagement metrics
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_TARGET_ASSIGNEE
    description: Ability to change target assignee
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS
    description: Manage external connections and integrations
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_CONTENT
    description: Control over email content management
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO
    description: Manage global privacy center settings
    tests:
    - not_null
  - name: PERMISSIONS_NATIVE_WEBVIEW_SCROLLING
    description: Enable native webview scrolling
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DEVELOPER_NAME
    description: View developer names in the system
    tests:
    - not_null
  - name: PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS
    description: Bypass multi-factor authentication for UI logins
    tests:
    - not_null
  - name: PERMISSIONS_CLIENT_SECRET_ROTATION
    description: Manage client secret rotation
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_SERVICE_PROCESS
    description: Access to service process functionality
    tests:
    - not_null
  - name: PERMISSIONS_CMSECEAUTHORING_ACCESS
    description: Access to CMS ECE authoring
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER
    description: Use video conferencing in Teams
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATASPACE_SCOPE
    description: Manage dataspace scope settings
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_DATASPACE_SCOPE
    description: Configure dataspace scope settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CAMPAIGNS
    description: Manage marketing campaigns
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_CREATE_REPORTS
    description: Create CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_VIEW_REPORTS
    description: View CDC reports
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_GENIE_PLATFORM
    description: Access to Genie platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SEGMENT
    description: Access to segment functionality
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP
    description: Access Customer Data Cloud setup
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_STANDARD_CADENCE
    description: Create standard cadence
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_QUICK_CADENCE
    description: Create quick cadence
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS
    description: Manage CDC reporting folders
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_MEET_USER
    description: Use video conferencing in Meet
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE
    description: Delete credit memos and invoices
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_NON_SETUP_FLOW
    description: View non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW
    description: Create and edit non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_NON_SETUP_FLOW
    description: Delete non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW
    description: Activate or deactivate non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW
    description: Create/modify segment triggers for non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW
    description: Add decision element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add create record element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW
    description: Add wait element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NAMED_CREDENTIALS
    description: Manage named credentials in Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER
    description: Access Customer Data Platform profile explorer
    tests:
    - not_null
  - name: PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add update record element to non-setup flow
    tests:
    - not_null
  - name: PERMISSIONS_AUTHORIZE_PAYMENTS
    description: Authorize payment transactions
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_PAYMENTS
    description: Configure payment settings and options
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS
    description: Configure merchant accounts for payments
    tests:
    - not_null
  - name: PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS
    description: Capture and reverse payment transactions
    tests:
    - not_null
  - name: PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS
    description: Combine authorization and capture for payments
    tests:
    - not_null
  - name: PERMISSIONS_REFUND_PAYMENTS
    description: Process refunds for payment transactions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PAYMENTS
    description: View payment transaction details
    tests:
    - not_null
  - name: PERMISSIONS_MAKE_PAYMENTS
    description: Initiate payment transactions
    tests:
    - not_null
  - name: PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE
    description: Update email message content
    tests:
    - not_null
  - name: PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS
    description: Download package version zip files
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_USER
    description: Access digital lending features
    tests:
    - not_null
  - name: PERMISSIONS_SEND_EMAIL
    description: Send emails through Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_PREVIEW_TEST_SEND_EMAIL
    description: Preview and test send emails
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP
    description: Manage email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP
    description: View email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_IPFSUPLOAD
    description: Enable IPF file upload
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_BCTRANSACTION_POLLING
    description: Enable BC transaction polling
    tests:
    - not_null
  - name: PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS
    description: Access lobby management features
    tests:
    - not_null
  - name: PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER
    description: Perform simple CSV data imports
    tests:
    - not_null
  - name: PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER
    description: Perform advanced CSV data imports
    tests:
    - not_null
  - name: PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT
    description: Query CMS email content using UMA
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT
    description: Access complaint management features
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT
    description: Access dispute management features
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS
    description: Access personalized finance features
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE
    description: Permission to use custom apps on FS Mobile
    tests:
    - not_null
  - name: PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER
    description: Access to stage management design features
    tests:
    - not_null
  - name: PERMISSIONS_SEGMENT_INTELLIGENCE_USER
    description: Access to segment intelligence features
    tests:
    - not_null
  - name: PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER
    description: Permission to use FSCARC graph community features
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_ADMIN_USER
    description: Administrative access to digital lending features
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS
    description: Ability to activate system mode flows
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS
    description: Permission to view all non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_PLATFORM
    description: Access to personalization platform features
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_DISPUTE_PROMPTS
    description: Permission to access dispute prompts
    tests:
    - not_null
  - name: USER_LICENSE_ID
    description: Unique identifier for user license
    tests:
    - not_null
  - name: USER_TYPE
    description: Type of user account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the profile was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the profile
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the profile
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_SSO_ENABLED
    description: Indicates if Single Sign-On is enabled
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the user profile
    cocoon_meta:
      missing_reason: Optional field, not all profiles require a description.
  - name: LAST_VIEWED_DATE
    description: Date the profile was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date the profile was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add subflow elements to non-setup flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_PERSONALIZATION_INTEL_USER
    description: Access to personalization intelligence features
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_MANAGE_ACCESS_POLICIES
    description: Permission to manage access policies
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection filter to non-setup flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_METADATA_STUDIO_USER
    description: Access to metadata studio features
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_ACCESS_SERVICE_EINSTEIN
    description: Permission to access Service Einstein
    cocoon_meta:
      missing_reason: Feature not relevant or enabled for certain profiles.
  - name: PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW
    description: Add loop elements to non-setup flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection sort to non-setup flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_MONITOR_LOGIN_HISTORY
    description: Can view user login history
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_FREEZE_USERS
    description: Ability to freeze user accounts
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW
    description: Can add assignment elements to non-setup flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_USER_HAS_STARTER_DCRACCESS
    description: Has starter Data Cloud Resilience access
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_HEADLESS_PUBLISH_NUDGES
    description: Can publish nudges without UI
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_MANAGE_CDP_ML_MODELS
    description: Can manage Customer Data Platform ML models
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Can add delete record elements to flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION
    description: Can manage certificate expirations
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY
    description: Can edit read-only digital lending data
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_DIGITAL_LENDING_WORKBENCH
    description: Access to digital lending workbench
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Can add get record elements to flows
    cocoon_meta:
      missing_reason: Flow-related permission not applicable to all profile types.
  - name: PERMISSIONS_MANAGE_CUSTOM_DOMAINS
    description: Can manage custom domains
    cocoon_meta:
      missing_reason: Unknown
  - name: PERMISSIONS_VIEW_ALL_CALLS
    description: Can view all call records
    cocoon_meta:
      missing_reason: Unknown
  tests: []

stg_EXPRESSION_SET_VIEW

Table Preview (sample only)

ID DURABLE_ID NAME DESCRIPTION NAMESPACE_PREFIX IS_TEMPLATE LAST_MODIFIED_BY LAST_MODIFIED_DATE EXPRESSION_SET_DETAILS IS_EXECUTABLE USAGE_TYPE HAS_CONTEXT_DEFINITION_REF _FIVETRAN_DELETED _FIVETRAN_SYNCED USAGE_TYPE_LABEL

stg_EXPRESSION_SET_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:36.723090+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXPRESSION_SET_VIEW"

stg_EXPRESSION_SET_VIEW.yml (Document the table)

version: 2
models:
- name: stg_EXPRESSION_SET_VIEW
  description: The table is about expression sets. It contains details such as ID,
    name, description, and namespace prefix. The table tracks if the set is a template
    and executable. It includes information on last modification, usage type, and
    context definition references. The table also has Fivetran-specific fields for
    deletion and sync status.
  columns:
  - name: ID
    description: Unique identifier for the expression set
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the expression set
    tests:
    - not_null
  - name: NAME
    description: Name of the expression set
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the expression set
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the expression set's namespace
    tests:
    - not_null
  - name: IS_TEMPLATE
    description: Indicates if the set is a template
    tests:
    - not_null
  - name: LAST_MODIFIED_BY
    description: User who last modified the set
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: EXPRESSION_SET_DETAILS
    description: Additional details about the expression set
    tests:
    - not_null
  - name: IS_EXECUTABLE
    description: Indicates if the set can be executed
    tests:
    - not_null
  - name: USAGE_TYPE
    description: Type of usage for the expression set
    tests:
    - not_null
  - name: HAS_CONTEXT_DEFINITION_REF
    description: Has reference to context definition
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: USAGE_TYPE_LABEL
    description: Human-readable label for usage type
    tests:
    - not_null
  tests: []

stg_CONTACT

Table Preview (sample only)

ID IS_DELETED MASTER_RECORD_ID ACCOUNT_ID LAST_NAME FIRST_NAME SALUTATION NAME OTHER_STREET OTHER_CITY OTHER_STATE OTHER_POSTAL_CODE OTHER_COUNTRY OTHER_LATITUDE OTHER_LONGITUDE OTHER_GEOCODE_ACCURACY MAILING_STREET MAILING_CITY MAILING_STATE MAILING_POSTAL_CODE MAILING_COUNTRY MAILING_LATITUDE MAILING_LONGITUDE MAILING_GEOCODE_ACCURACY PHONE FAX MOBILE_PHONE HOME_PHONE OTHER_PHONE ASSISTANT_PHONE REPORTS_TO_ID EMAIL TITLE DEPARTMENT ASSISTANT_NAME LEAD_SOURCE BIRTHDATE DESCRIPTION OWNER_ID HAS_OPTED_OUT_OF_EMAIL ACTION_CADENCE_ID ACTION_CADENCE_ASSIGNEE_ID ACTION_CADENCE_STATE SCHEDULED_RESUME_DATE_TIME ACTIVE_TRACKER_COUNT CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_CUREQUEST_DATE LAST_CUUPDATE_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE EMAIL_BOUNCED_REASON EMAIL_BOUNCED_DATE IS_EMAIL_BOUNCED PHOTO_URL JIGSAW JIGSAW_CONTACT_ID INDIVIDUAL_ID FIRST_CALL_DATE_TIME FIRST_EMAIL_DATE_TIME ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED CONTACT_SOURCE

stg_CONTACT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:03:24.219698+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT"

stg_CONTACT.yml (Document the table)

version: 2
models:
- name: stg_CONTACT
  description: The table is about Contact information. It contains personal details
    like name, email, and location. It also includes system fields such as ID, creation
    date, and modification date. The table tracks email preferences, activity metrics,
    and other CRM-related information. Each row represents a unique contact with a
    distinct ID.
  columns:
  - name: ID
    description: Unique identifier for each contact
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: MASTER_RECORD_ID
    description: ID of the master record if this is a duplicate
    cocoon_meta:
      missing_reason: Unknown
  - name: ACCOUNT_ID
    description: ID of the associated account
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_NAME
    description: Contact's last name
    tests:
    - not_null
  - name: FIRST_NAME
    description: Contact's first name
    tests:
    - not_null
  - name: SALUTATION
    description: Formal greeting or title
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: Full name of the contact
    tests:
    - not_null
  - name: OTHER_STREET
    description: Secondary address street
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_CITY
    description: Secondary address city
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_STATE
    description: Secondary address state
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_POSTAL_CODE
    description: Secondary address postal code
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_COUNTRY
    description: Secondary address country
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_LATITUDE
    description: Latitude of secondary address
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_LONGITUDE
    description: Longitude of secondary address
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: OTHER_GEOCODE_ACCURACY
    description: Accuracy of secondary address geocoding
    cocoon_meta:
      missing_reason: Secondary address not provided or not relevant.
  - name: MAILING_STREET
    description: Primary mailing address street
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_CITY
    description: Primary mailing address city
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_STATE
    description: Primary mailing address state
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_POSTAL_CODE
    description: Primary mailing address postal code
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_COUNTRY
    description: Primary mailing address country
    tests:
    - not_null
  - name: MAILING_LATITUDE
    description: Latitude of primary mailing address
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_LONGITUDE
    description: Longitude of primary mailing address
    cocoon_meta:
      missing_reason: Unknown
  - name: MAILING_GEOCODE_ACCURACY
    description: Accuracy of primary address geocoding
    cocoon_meta:
      missing_reason: Unknown
  - name: PHONE
    description: Primary phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: FAX
    description: Fax number
    cocoon_meta:
      missing_reason: Only applicable if contact uses fax communication.
  - name: MOBILE_PHONE
    description: Mobile phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: HOME_PHONE
    description: Home phone number
    cocoon_meta:
      missing_reason: Unknown
  - name: OTHER_PHONE
    description: Additional phone number
    cocoon_meta:
      missing_reason: Secondary phone number not provided or not relevant.
  - name: ASSISTANT_PHONE
    description: Phone number of the contact's assistant
    cocoon_meta:
      missing_reason: Only applicable if contact has an assistant.
  - name: REPORTS_TO_ID
    description: ID of the person this contact reports to
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL
    description: Email address of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: TITLE
    description: Job title of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: DEPARTMENT
    description: Department the contact works in
    cocoon_meta:
      missing_reason: Unknown
  - name: ASSISTANT_NAME
    description: Name of the contact's assistant
    cocoon_meta:
      missing_reason: Only applicable if contact has an assistant.
  - name: LEAD_SOURCE
    description: Source from which the lead was acquired
    cocoon_meta:
      missing_reason: Unknown
  - name: BIRTHDATE
    description: Date of birth of the contact
    cocoon_meta:
      missing_reason: May be optional personal information, not required for all contacts.
  - name: DESCRIPTION
    description: Additional details about the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: OWNER_ID
    description: ID of the user who owns this contact
    tests:
    - not_null
  - name: HAS_OPTED_OUT_OF_EMAIL
    description: Indicates if contact opted out of emails
    tests:
    - not_null
  - name: ACTION_CADENCE_ID
    description: ID of the associated action cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTION_CADENCE_ASSIGNEE_ID
    description: ID of user assigned to action cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTION_CADENCE_STATE
    description: Current state of the action cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: SCHEDULED_RESUME_DATE_TIME
    description: Scheduled date to resume cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTIVE_TRACKER_COUNT
    description: Number of active trackers for contact
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the contact was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the contact
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified contact
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_ACTIVITY_DATE
    description: Date of last activity with contact
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_CUREQUEST_DATE
    description: Date of last customer request
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_CUUPDATE_DATE
    description: Date of last customer update
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_VIEWED_DATE
    description: Date contact was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date contact was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL_BOUNCED_REASON
    description: Reason for email bounce
    cocoon_meta:
      missing_reason: Only applicable if email has bounced.
  - name: EMAIL_BOUNCED_DATE
    description: Date of last email bounce
    cocoon_meta:
      missing_reason: Only applicable if email has bounced.
  - name: IS_EMAIL_BOUNCED
    description: Indicates if email has bounced
    tests:
    - not_null
  - name: PHOTO_URL
    description: URL of contact's photo
    cocoon_meta:
      missing_reason: Unknown
  - name: JIGSAW
    description: Jigsaw identifier for the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: JIGSAW_CONTACT_ID
    description: Unique identifier for Jigsaw contact
    cocoon_meta:
      missing_reason: Unknown
  - name: INDIVIDUAL_ID
    description: Unique identifier for individual in the system
    tests:
    - not_null
  - name: FIRST_CALL_DATE_TIME
    description: Date and time of first call with contact
    cocoon_meta:
      missing_reason: Unknown
  - name: FIRST_EMAIL_DATE_TIME
    description: Date and time of first email with contact
    cocoon_meta:
      missing_reason: Unknown
  - name: ACTIVITY_METRIC_ID
    description: Identifier for specific activity metric
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ROLLUP_ID
    description: Identifier for aggregated activity metrics
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  - name: CONTACT_SOURCE
    description: Source from which contact information was obtained
    cocoon_meta:
      missing_reason: Unknown
  tests: []

stg_LIST_EMAIL_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LIST_EMAIL_ID MONTH_ ALL_EMAILS_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_EMAIL_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:05.668929+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_EMAIL_MONTHLY_METRIC"

stg_LIST_EMAIL_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_LIST_EMAIL_MONTHLY_METRIC
  description: The table is about monthly email metrics for list emails. It includes
    details like the number of emails sent, opened, replied to, and clicked. It also
    tracks bounces, out-of-office replies, and unique interactions. The table contains
    identifiers, timestamps, and various counts related to email performance. Each
    record represents metrics for a specific list email in a particular month.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LIST_EMAIL_ID
    description: ID of the list email
    tests:
    - not_null
  - name: MONTH_
    description: Month for which metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_SENT_COUNT
    description: Total number of emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_OPENED_COUNT
    description: Total number of emails opened
    tests:
    - not_null
  - name: ALL_EMAILS_REPLIED_COUNT
    description: Total number of emails replied to
    tests:
    - not_null
  - name: ALL_EMAILS_LINK_CLICKED_COUNT
    description: Total number of emails with links clicked
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Total number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Total number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Total number of out-of-office responses
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable link click sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable open sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable reply sends
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable soft bounce sends
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable hard bounce sends
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of trackable out-of-office sends
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SITE_HISTORY

Table Preview (sample only)

ID IS_DELETED SITE_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SITE_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:27:51.277940+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SITE_HISTORY"

stg_SITE_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_SITE_HISTORY
  description: The table is about site history. It records changes made to site information.
    Each row represents a single change event. It includes the site ID, who made the
    change, when it was made, which field was changed, and the old and new values.
    The table also tracks if the record was deleted and when it was last synced.
  columns:
  - name: ID
    description: Unique identifier for each change event
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: SITE_ID
    description: Identifier of the site being modified
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who made the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the site field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the modified field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the modified field
    tests:
    - not_null
  - name: NEW_VALUE
    description: Updated value of the modified field
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for data sync
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_CASE

Table Preview (sample only)

ID IS_DELETED MASTER_RECORD_ID CASE_NUMBER CONTACT_ID ACCOUNT_ID PARENT_ID TYPE STATUS REASON ORIGIN SUBJECT PRIORITY DESCRIPTION IS_CLOSED CLOSED_DATE IS_ESCALATED OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTACT_PHONE CONTACT_MOBILE CONTACT_EMAIL CONTACT_FAX COMMENTS LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:48.061086+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE"

stg_CASE.yml (Document the table)

version: 2
models:
- name: stg_CASE
  description: The table is about customer support cases. It includes case details
    like ID, number, type, status, priority, and subject. It also contains related
    information such as contact and account IDs, owner, creation and modification
    dates. The table tracks case lifecycle with fields for closure, escalation, and
    comments. Contact information like phone, email, and fax are included for communication
    purposes.
  columns:
  - name: ID
    description: Unique identifier for the case
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the case is deleted
    tests:
    - not_null
  - name: MASTER_RECORD_ID
    description: ID of the master record if duplicates exist
    tests:
    - not_null
  - name: CASE_NUMBER
    description: Unique number assigned to the case
    tests:
    - not_null
  - name: CONTACT_ID
    description: ID of the contact associated with the case
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account associated with the case
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent case if applicable
    tests:
    - not_null
  - name: TYPE
    description: Category or type of the case
    tests:
    - not_null
  - name: STATUS
    description: Current status of the case
    tests:
    - not_null
  - name: REASON
    description: Reason for opening the case
    tests:
    - not_null
  - name: ORIGIN
    description: Source or channel through which case was created
    tests:
    - not_null
  - name: SUBJECT
    description: Brief description of the case
    tests:
    - not_null
  - name: PRIORITY
    description: Urgency or importance of the case
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed explanation of the case
    tests:
    - not_null
  - name: IS_CLOSED
    description: Flag indicating if the case is closed
    tests:
    - not_null
  - name: CLOSED_DATE
    description: Date and time when the case was closed
    tests:
    - not_null
  - name: IS_ESCALATED
    description: Flag indicating if the case is escalated
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user assigned to the case
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the case was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the case
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the case
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: CONTACT_PHONE
    description: Phone number of the associated contact
    tests:
    - not_null
  - name: CONTACT_MOBILE
    description: Mobile number of the associated contact
    tests:
    - not_null
  - name: CONTACT_EMAIL
    description: Email address of the associated contact
    tests:
    - not_null
  - name: CONTACT_FAX
    description: Fax number of the associated contact
    tests:
    - not_null
  - name: COMMENTS
    description: Additional notes or comments on the case
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when case was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when case was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization with Fivetran
    tests:
    - not_null
  tests: []

stg_MATCHING_RULE

Table Preview (sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MATCH_ENGINE BOOLEAN_FILTER DESCRIPTION RULE_STATUS SOBJECT_SUBTYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MATCHING_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:21.992407+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MATCHING_RULE"

stg_MATCHING_RULE.yml (Document the table)

version: 2
models:
- name: stg_MATCHING_RULE
  description: The table is about matching rules in a CRM system. It contains details
    for different object types like Lead, Account, and Contact. Each rule has a unique
    ID, developer name, language, label, and status. The table includes creation and
    modification dates, matching engine type, and rule descriptions. All rules use
    FuzzyMatchEngine and are currently active.
  columns:
  - name: ID
    description: Unique identifier for the matching rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the rule has been deleted
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of Salesforce object the rule applies to
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the rule
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the rule
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for packaged rules
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: MATCH_ENGINE
    description: Type of matching engine used
    tests:
    - not_null
  - name: BOOLEAN_FILTER
    description: Boolean filter for the rule
    cocoon_meta:
      missing_reason: Optional filter not used for these matching rules.
  - name: DESCRIPTION
    description: Description of the matching rule
    tests:
    - not_null
  - name: RULE_STATUS
    description: Current status of the rule
    tests:
    - not_null
  - name: SOBJECT_SUBTYPE
    description: Subtype of Salesforce object, if applicable
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MUTING_PERMISSION_SET

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSIONS_EMAIL_SINGLE PERMISSIONS_EMAIL_MASS PERMISSIONS_EDIT_TASK PERMISSIONS_EDIT_EVENT PERMISSIONS_EXPORT_REPORT PERMISSIONS_IMPORT_PERSONAL PERMISSIONS_DATA_EXPORT PERMISSIONS_MANAGE_USERS PERMISSIONS_EDIT_PUBLIC_FILTERS PERMISSIONS_EDIT_PUBLIC_TEMPLATES PERMISSIONS_MODIFY_ALL_DATA PERMISSIONS_EDIT_BILLING_INFO PERMISSIONS_MANAGE_CASES PERMISSIONS_MASS_INLINE_EDIT PERMISSIONS_EDIT_KNOWLEDGE PERMISSIONS_MANAGE_KNOWLEDGE PERMISSIONS_TAG_MANAGER PERMISSIONS_CUSTOMIZE_APPLICATION PERMISSIONS_EDIT_READONLY_FIELDS PERMISSIONS_RUN_REPORTS PERMISSIONS_VIEW_SETUP PERMISSIONS_TRANSFER_ANY_ENTITY PERMISSIONS_NEW_REPORT_BUILDER PERMISSIONS_IMPORT_LEADS PERMISSIONS_MANAGE_LEADS PERMISSIONS_TRANSFER_ANY_LEAD PERMISSIONS_VIEW_ALL_DATA PERMISSIONS_EDIT_PUBLIC_DOCUMENTS PERMISSIONS_VIEW_ENCRYPTED_DATA PERMISSIONS_EDIT_BRAND_TEMPLATES PERMISSIONS_EDIT_HTML_TEMPLATES PERMISSIONS_SEND_SIT_REQUESTS PERMISSIONS_MANAGE_REMOTE_ACCESS PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER PERMISSIONS_CONVERT_LEADS PERMISSIONS_PASSWORD_NEVER_EXPIRES PERMISSIONS_INSTALL_PACKAGING PERMISSIONS_PUBLISH_PACKAGING PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE PERMISSIONS_CREATE_PACKAGING PERMISSIONS_MANAGE_CALL_CENTERS PERMISSIONS_MANAGE_SYNONYMS PERMISSIONS_VIEW_CONTENT PERMISSIONS_IS_SSO_ENABLED PERMISSIONS_MANAGE_DATA_INTEGRATIONS PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP PERMISSIONS_VIEW_DATA_CATEGORIES PERMISSIONS_MANAGE_DATA_CATEGORIES PERMISSIONS_MANAGE_MOBILE PERMISSIONS_API_ENABLED PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES PERMISSIONS_EDIT_CASE_COMMENTS PERMISSIONS_TRANSFER_ANY_CASE PERMISSIONS_CONTENT_ADMINISTRATOR PERMISSIONS_CREATE_WORKSPACES PERMISSIONS_MANAGE_CONTENT_PERMISSIONS PERMISSIONS_MANAGE_CONTENT_PROPERTIES PERMISSIONS_MANAGE_CONTENT_TYPES PERMISSIONS_MANAGE_EXCHANGE_CONFIG PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES PERMISSIONS_MANAGE_INTERACTION PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS PERMISSIONS_RESET_PASSWORDS PERMISSIONS_FLOW_UFLREQUIRED PERMISSIONS_ACTIVITIES_ACCESS PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT PERMISSIONS_EMAIL_ADMINISTRATION PERMISSIONS_ALLOW_EMAIL_IC PERMISSIONS_CHATTER_FILE_LINK PERMISSIONS_FORCE_TWO_FACTOR PERMISSIONS_MANAGE_NETWORKS PERMISSIONS_MANAGE_AUTH_PROVIDERS PERMISSIONS_RUN_FLOW PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS PERMISSIONS_CREATE_DASHBOARD_FOLDERS PERMISSIONS_VIEW_PUBLIC_DASHBOARDS PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS PERMISSIONS_CREATE_CUSTOMIZE_REPORTS PERMISSIONS_CREATE_REPORT_FOLDERS PERMISSIONS_VIEW_PUBLIC_REPORTS PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS PERMISSIONS_EDIT_MY_DASHBOARDS PERMISSIONS_EDIT_MY_REPORTS PERMISSIONS_VIEW_ALL_USERS PERMISSIONS_ALLOW_UNIVERSAL_SEARCH PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB PERMISSIONS_CREATE_CUSTOMIZE_FILTERS PERMISSIONS_CONTENT_HUB_USER PERMISSIONS_GOVERN_NETWORKS PERMISSIONS_TWO_FACTOR_API PERMISSIONS_DELETE_TOPICS PERMISSIONS_EDIT_TOPICS PERMISSIONS_CREATE_TOPICS PERMISSIONS_ASSIGN_TOPICS PERMISSIONS_IDENTITY_ENABLED PERMISSIONS_IDENTITY_CONNECT PERMISSIONS_ALLOW_VIEW_KNOWLEDGE PERMISSIONS_CONTENT_WORKSPACES PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS PERMISSIONS_VIEW_HELP_LINK PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS PERMISSIONS_ASSIGN_PERMISSION_SETS PERMISSIONS_MANAGE_ROLES PERMISSIONS_MANAGE_IP_ADDRESSES PERMISSIONS_MANAGE_SHARING PERMISSIONS_MANAGE_INTERNAL_USERS PERMISSIONS_MANAGE_PASSWORD_POLICIES PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_MANAGE_TWO_FACTOR PERMISSIONS_INSIGHTS_APP_USER PERMISSIONS_INSIGHTS_APP_ELT_EDITOR PERMISSIONS_INSIGHTS_APP_UPLOAD_USER PERMISSIONS_INSIGHTS_CREATE_APPLICATION PERMISSIONS_LIGHTNING_EXPERIENCE_USER PERMISSIONS_SHARE_INTERNAL_ARTICLES PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS PERMISSIONS_MANAGE_TEMPLATED_APP PERMISSIONS_USE_TEMPLATED_APP PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE PERMISSIONS_IMPORT_CUSTOM_OBJECTS PERMISSIONS_SALESFORCE_IQINBOX PERMISSIONS_DELEGATED_TWO_FACTOR PERMISSIONS_SELECT_FILES_FROM_SALESFORCE PERMISSIONS_MODERATE_NETWORK_USERS PERMISSIONS_MERGE_TOPICS PERMISSIONS_EDIT_IQFIELDS PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS PERMISSIONS_ALLOW_LIGHTNING_LOGIN PERMISSIONS_VIEW_DATA_ASSESSMENT PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE PERMISSIONS_ACCESS_CMC PERMISSIONS_ARCHIVE_ARTICLES PERMISSIONS_PUBLISH_ARTICLES PERMISSIONS_VIEW_HEALTH_CHECK PERMISSIONS_MANAGE_HEALTH_CHECK PERMISSIONS_PACKAGING_2 PERMISSIONS_MANAGE_CERTIFICATES PERMISSIONS_CREATE_REPORT_IN_LIGHTNING PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE PERMISSIONS_SUBMIT_FOR_TRANSLATION PERMISSIONS_EDIT_TRANSLATION PERMISSIONS_PUBLISH_TRANSLATION PERMISSIONS_LIST_EMAIL_SEND PERMISSIONS_CHANGE_DASHBOARD_COLORS PERMISSIONS_HIGH_VELOCITY_SALES_USER PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS PERMISSIONS_USE_WEB_LINK PERMISSIONS_EDIT_ASEFIELDS PERMISSIONS_VIEW_ALL_ACTIVITIES PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB PERMISSIONS_TRANSACTIONAL_EMAIL_SEND PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES PERMISSIONS_CREATE_LTNG_TEMP_FOLDER PERMISSIONS_APEX_REST_SERVICES PERMISSIONS_GIVE_RECOGNITION_BADGE PERMISSIONS_SALESFORCE_IQINTERNAL PERMISSIONS_USE_MY_SEARCH PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM PERMISSIONS_MANAGE_SUBSCRIPTIONS PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS PERMISSIONS_USE_ASSISTANT_DIALOG PERMISSIONS_USE_QUERY_SUGGESTIONS PERMISSIONS_VIEW_ROLES PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM PERMISSIONS_MODIFY_DATA_CLASSIFICATION PERMISSIONS_PRIVACY_DATA_ACCESS PERMISSIONS_QUERY_ALL_FILES PERMISSIONS_MODIFY_METADATA PERMISSIONS_MANAGE_CMS PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP PERMISSIONS_CAN_EDIT_PROMPTS PERMISSIONS_VIEW_USER_PII PERMISSIONS_VIEW_DRAFT_ARTICLES PERMISSIONS_VIEW_ARCHIVED_ARTICLES PERMISSIONS_MANAGE_HUB_CONNECTIONS PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER PERMISSIONS_TRACE_XDS_QUERIES PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES PERMISSIONS_HEADLESS_CMSACCESS PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM PERMISSIONS_CONSENT_API_UPDATE PERMISSIONS_PAYMENTS_APIUSER PERMISSIONS_MANAGE_C_360_ACONNECTIONS PERMISSIONS_MANAGE_RELEASE_UPDATES PERMISSIONS_VIEW_ALL_PROFILES PERMISSIONS_SKIP_IDENTITY_CONFIRMATION PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS PERMISSIONS_PACKAGING_2_DELETE PERMISSIONS_ACCESS_CDP_DATA_EXPLORER PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER PERMISSIONS_MANAGE_PREFERENCE_CENTER PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM PERMISSIONS_QUIP_METRICS_ACCESS PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS PERMISSIONS_CHANGE_TARGET_ASSIGNEE PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS PERMISSIONS_MANAGE_EMAIL_CONTENT PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO PERMISSIONS_NATIVE_WEBVIEW_SCROLLING PERMISSIONS_VIEW_DEVELOPER_NAME PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS PERMISSIONS_CLIENT_SECRET_ROTATION PERMISSIONS_ACCESS_TO_SERVICE_PROCESS PERMISSIONS_CMSECEAUTHORING_ACCESS PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER PERMISSIONS_MANAGE_DATASPACE_SCOPE PERMISSIONS_CONFIGURE_DATASPACE_SCOPE PERMISSIONS_MANAGE_CAMPAIGNS PERMISSIONS_CDC_REPORTING_CREATE_REPORTS PERMISSIONS_CDC_REPORTING_VIEW_REPORTS PERMISSIONS_ACCESS_GENIE_PLATFORM PERMISSIONS_ACCESS_SEGMENT PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP PERMISSIONS_CREATE_STANDARD_CADENCE PERMISSIONS_CREATE_QUICK_CADENCE PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS PERMISSIONS_VIDEO_CONFERENCE_MEET_USER PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE PERMISSIONS_VIEW_NON_SETUP_FLOW PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW PERMISSIONS_DELETE_NON_SETUP_FLOW PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_NAMED_CREDENTIALS PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_AUTHORIZE_PAYMENTS PERMISSIONS_CONFIGURE_PAYMENTS PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS PERMISSIONS_REFUND_PAYMENTS PERMISSIONS_VIEW_PAYMENTS PERMISSIONS_MAKE_PAYMENTS PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS PERMISSIONS_DIGITAL_LENDING_USER PERMISSIONS_SEND_EMAIL PERMISSIONS_PREVIEW_TEST_SEND_EMAIL PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP PERMISSIONS_ENABLE_IPFSUPLOAD PERMISSIONS_ENABLE_BCTRANSACTION_POLLING PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER PERMISSIONS_SEGMENT_INTELLIGENCE_USER PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER PERMISSIONS_DIGITAL_LENDING_ADMIN_USER PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS PERMISSIONS_PERSONALIZATION_PLATFORM PERMISSIONS_ACCESS_DISPUTE_PROMPTS _FIVETRAN_DELETED _FIVETRAN_SYNCED PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_PERSONALIZATION_INTEL_USER PERMISSIONS_MANAGE_ACCESS_POLICIES PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_METADATA_STUDIO_USER PERMISSIONS_ACCESS_SERVICE_EINSTEIN PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MONITOR_LOGIN_HISTORY PERMISSIONS_FREEZE_USERS PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_USER_HAS_STARTER_DCRACCESS PERMISSIONS_HEADLESS_PUBLISH_NUDGES PERMISSIONS_MANAGE_CDP_ML_MODELS PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY PERMISSIONS_DIGITAL_LENDING_WORKBENCH PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW PERMISSIONS_MANAGE_CUSTOM_DOMAINS PERMISSIONS_VIEW_ALL_CALLS

stg_MUTING_PERMISSION_SET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:03.022261+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MUTING_PERMISSION_SET"

stg_MUTING_PERMISSION_SET.yml (Document the table)

version: 2
models:
- name: stg_MUTING_PERMISSION_SET
  description: The table is about permission sets in a system. It contains an ID,
    basic metadata like creation and modification dates, and a large number of boolean
    permission flags. These flags control various user capabilities across different
    areas of the system, such as email, data management, reporting, customization,
    and administrative functions. The table appears to be a comprehensive list of
    granular permissions that can be assigned to users or roles.
  columns:
  - name: ID
    description: Unique identifier for the permission set
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the permission set
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the permission set
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly name of the permission set
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_SINGLE
    description: Permission to send individual emails
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_MASS
    description: Permission to send mass emails
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TASK
    description: Permission to edit tasks
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_EVENT
    description: Permission to edit events
    tests:
    - not_null
  - name: PERMISSIONS_EXPORT_REPORT
    description: Permission to export reports
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_PERSONAL
    description: Permission to import personal data
    tests:
    - not_null
  - name: PERMISSIONS_DATA_EXPORT
    description: Permission to export data
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_USERS
    description: Permission to manage user accounts
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_FILTERS
    description: Permission to edit public filters
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_TEMPLATES
    description: Permission to edit public templates
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_ALL_DATA
    description: Permission to modify all data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BILLING_INFO
    description: Permission to edit billing information
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CASES
    description: Permission to manage cases
    tests:
    - not_null
  - name: PERMISSIONS_MASS_INLINE_EDIT
    description: Permission to perform mass inline edits
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_KNOWLEDGE
    description: Permission to edit knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE
    description: Permission to manage knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_TAG_MANAGER
    description: Permission to manage tags
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOMIZE_APPLICATION
    description: Permission to customize the application
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_READONLY_FIELDS
    description: Permission to edit read-only fields
    tests:
    - not_null
  - name: PERMISSIONS_RUN_REPORTS
    description: Permission to run reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_SETUP
    description: Can view system setup and configuration
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_ENTITY
    description: Ability to transfer ownership of any entity
    tests:
    - not_null
  - name: PERMISSIONS_NEW_REPORT_BUILDER
    description: Access to create reports with new builder
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_LEADS
    description: Can import lead data into the system
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LEADS
    description: Ability to manage and modify leads
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_LEAD
    description: Can transfer ownership of any lead
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_DATA
    description: Access to view all data in the system
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_PUBLIC_DOCUMENTS
    description: Can edit publicly accessible documents
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ENCRYPTED_DATA
    description: Ability to view encrypted data
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_BRAND_TEMPLATES
    description: Can modify branding templates
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_HTML_TEMPLATES
    description: Ability to edit HTML email templates
    tests:
    - not_null
  - name: PERMISSIONS_SEND_SIT_REQUESTS
    description: Can send system integration testing requests
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REMOTE_ACCESS
    description: Manage remote access settings
    tests:
    - not_null
  - name: PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER
    description: Access to new dashboard creation tool
    tests:
    - not_null
  - name: PERMISSIONS_CONVERT_LEADS
    description: Ability to convert leads to opportunities
    tests:
    - not_null
  - name: PERMISSIONS_PASSWORD_NEVER_EXPIRES
    description: User's password does not expire
    tests:
    - not_null
  - name: PERMISSIONS_INSTALL_PACKAGING
    description: Can install packaged applications
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_PACKAGING
    description: Ability to publish packaged applications
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE
    description: Can edit opportunity line item prices
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_PACKAGING
    description: Can create new packaged applications
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CALL_CENTERS
    description: Ability to manage call center settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SYNONYMS
    description: Can manage synonym groups for search
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_CONTENT
    description: Access to view content in the system
    tests:
    - not_null
  - name: PERMISSIONS_IS_SSO_ENABLED
    description: Single Sign-On is enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_INTEGRATIONS
    description: Can manage data integration settings
    tests:
    - not_null
  - name: PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP
    description: Distribute from personal workspace
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_CATEGORIES
    description: Can view data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATA_CATEGORIES
    description: Ability to manage data categories
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_MOBILE
    description: Can manage mobile app settings
    tests:
    - not_null
  - name: PERMISSIONS_API_ENABLED
    description: API access is enabled for user
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES
    description: Manage creation and editing of custom report types
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_CASE_COMMENTS
    description: Edit comments on support cases
    tests:
    - not_null
  - name: PERMISSIONS_TRANSFER_ANY_CASE
    description: Transfer any case to another user
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_ADMINISTRATOR
    description: Administer content across the system
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_WORKSPACES
    description: Create new workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PERMISSIONS
    description: Manage permissions for content items
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_PROPERTIES
    description: Manage properties of content items
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CONTENT_TYPES
    description: Manage different types of content
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXCHANGE_CONFIG
    description: Manage Exchange server configuration
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS
    description: Manage business hours and holidays
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS
    description: Create and manage dynamic dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES
    description: Add custom sidebar to all pages
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERACTION
    description: Manage user interactions
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS
    description: View dashboards of user's team
    tests:
    - not_null
  - name: PERMISSIONS_RESET_PASSWORDS
    description: Reset passwords for other users
    tests:
    - not_null
  - name: PERMISSIONS_FLOW_UFLREQUIRED
    description: Manage user flow requirements
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVITIES_ACCESS
    description: Access activity records
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT
    description: Manage knowledge base import/export
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT
    description: Manage email templates
    tests:
    - not_null
  - name: PERMISSIONS_EMAIL_ADMINISTRATION
    description: Administer email settings
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_EMAIL_IC
    description: Allow email for internal communications
    tests:
    - not_null
  - name: PERMISSIONS_CHATTER_FILE_LINK
    description: Share files via Chatter
    tests:
    - not_null
  - name: PERMISSIONS_FORCE_TWO_FACTOR
    description: Enforce two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NETWORKS
    description: Manage network settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_AUTH_PROVIDERS
    description: Manage authentication providers
    tests:
    - not_null
  - name: PERMISSIONS_RUN_FLOW
    description: Run automated flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS
    description: Create and customize dashboards
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_DASHBOARD_FOLDERS
    description: Create folders for dashboards
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_DASHBOARDS
    description: View publicly shared dashboards
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS
    description: Manage dashboards in public folders
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_REPORTS
    description: Create and customize reports
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_FOLDERS
    description: Create folders for organizing reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PUBLIC_REPORTS
    description: View publicly accessible reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS
    description: Manage reports in public folders
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_DASHBOARDS
    description: Edit user's own dashboards
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_MY_REPORTS
    description: Edit user's own reports
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_USERS
    description: View information of all users
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_UNIVERSAL_SEARCH
    description: Perform universal search across the system
    tests:
    - not_null
  - name: PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB
    description: Connect organization to environment hub
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_CUSTOMIZE_FILTERS
    description: Create and customize data filters
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_HUB_USER
    description: Access and use content hub
    tests:
    - not_null
  - name: PERMISSIONS_GOVERN_NETWORKS
    description: Manage and govern networks
    tests:
    - not_null
  - name: PERMISSIONS_TWO_FACTOR_API
    description: Use two-factor authentication for API
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_TOPICS
    description: Delete discussion topics
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TOPICS
    description: Edit discussion topics
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_TOPICS
    description: Create new discussion topics
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_TOPICS
    description: Assign topics to users or groups
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_ENABLED
    description: Enable identity verification features
    tests:
    - not_null
  - name: PERMISSIONS_IDENTITY_CONNECT
    description: Connect to identity verification services
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_KNOWLEDGE
    description: View knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_CONTENT_WORKSPACES
    description: Access and use content workspaces
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES
    description: Manage search promotion rules
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS
    description: Access custom mobile applications
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HELP_LINK
    description: View help documentation links
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS
    description: Manage user profiles and permission sets
    tests:
    - not_null
  - name: PERMISSIONS_ASSIGN_PERMISSION_SETS
    description: Assign permission sets to users
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ROLES
    description: Manage user roles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_IP_ADDRESSES
    description: Manage IP address restrictions
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SHARING
    description: Manage data sharing settings
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_INTERNAL_USERS
    description: Manage internal user accounts
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PASSWORD_POLICIES
    description: Manage password policies for the organization
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES
    description: Manage login access policies for the organization
    tests:
    - not_null
  - name: PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE
    description: Enable standard automatic activity capture
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TWO_FACTOR
    description: Manage two-factor authentication settings
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_USER
    description: Access Insights application as a user
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_ELT_EDITOR
    description: Edit ELT in Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_APP_UPLOAD_USER
    description: Upload data to Insights application
    tests:
    - not_null
  - name: PERMISSIONS_INSIGHTS_CREATE_APPLICATION
    description: Create new applications in Insights
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_EXPERIENCE_USER
    description: Access Lightning Experience interface
    tests:
    - not_null
  - name: PERMISSIONS_SHARE_INTERNAL_ARTICLES
    description: Share internal knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS
    description: Manage session-based permission sets
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_TEMPLATED_APP
    description: Manage templated applications
    tests:
    - not_null
  - name: PERMISSIONS_USE_TEMPLATED_APP
    description: Use templated applications
    tests:
    - not_null
  - name: PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE
    description: Enable automatic activity capture
    tests:
    - not_null
  - name: PERMISSIONS_IMPORT_CUSTOM_OBJECTS
    description: Import custom objects into the system
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINBOX
    description: Access Salesforce IQ Inbox
    tests:
    - not_null
  - name: PERMISSIONS_DELEGATED_TWO_FACTOR
    description: Manage delegated two-factor authentication
    tests:
    - not_null
  - name: PERMISSIONS_SELECT_FILES_FROM_SALESFORCE
    description: Select files from Salesforce
    tests:
    - not_null
  - name: PERMISSIONS_MODERATE_NETWORK_USERS
    description: Moderate network users
    tests:
    - not_null
  - name: PERMISSIONS_MERGE_TOPICS
    description: Merge topics in knowledge base
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_IQFIELDS
    description: Edit IQ fields
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS
    description: Subscribe to Lightning reports
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS
    description: Manage private reports and dashboards
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_LIGHTNING_LOGIN
    description: Allow login through Lightning interface
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DATA_ASSESSMENT
    description: View data assessment reports
    tests:
    - not_null
  - name: PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS
    description: View and edit converted leads
    tests:
    - not_null
  - name: PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE
    description: Display company name as user badge
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CMC
    description: Access Customer Marketing Center
    tests:
    - not_null
  - name: PERMISSIONS_ARCHIVE_ARTICLES
    description: Archive knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_ARTICLES
    description: Publish knowledge base articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_HEALTH_CHECK
    description: Allows viewing of system health check results
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HEALTH_CHECK
    description: Enables management of system health check settings
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2
    description: Grants access to second-generation packaging features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES
    description: Allows management of security certificates
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_REPORT_IN_LIGHTNING
    description: Enables report creation in Lightning Experience
    tests:
    - not_null
  - name: PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE
    description: Restricts access to Salesforce Classic interface
    tests:
    - not_null
  - name: PERMISSIONS_SUBMIT_FOR_TRANSLATION
    description: Allows submission of content for translation
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_TRANSLATION
    description: Enables editing of translated content
    tests:
    - not_null
  - name: PERMISSIONS_PUBLISH_TRANSLATION
    description: Allows publishing of translated content
    tests:
    - not_null
  - name: PERMISSIONS_LIST_EMAIL_SEND
    description: Enables sending of list emails
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_DASHBOARD_COLORS
    description: Allows customization of dashboard color schemes
    tests:
    - not_null
  - name: PERMISSIONS_HIGH_VELOCITY_SALES_USER
    description: Grants access to High Velocity Sales features
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS
    description: Allows subscribing to reports for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS
    description: Enables dashboard subscriptions for roles/groups
    tests:
    - not_null
  - name: PERMISSIONS_USE_WEB_LINK
    description: Allows usage of web links
    tests:
    - not_null
  - name: PERMISSIONS_EDIT_ASEFIELDS
    description: Enables editing of ASE fields
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_ACTIVITIES
    description: Allows viewing all user activities
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS
    description: Enables report subscriptions for other users
    tests:
    - not_null
  - name: PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER
    description: Grants access to Lightning Console
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER
    description: Allows running subscribed reports as user
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS
    description: Enables subscription to Lightning dashboards
    tests:
    - not_null
  - name: PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS
    description: Allows dashboard subscriptions for other users
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB
    description: Enables creation of Lightning templates in public
    tests:
    - not_null
  - name: PERMISSIONS_TRANSACTIONAL_EMAIL_SEND
    description: Allows sending of transactional emails
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES
    description: Enables viewing of private static resources
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_LTNG_TEMP_FOLDER
    description: Allows creation of Lightning template folders
    tests:
    - not_null
  - name: PERMISSIONS_APEX_REST_SERVICES
    description: Grants access to Apex REST services
    tests:
    - not_null
  - name: PERMISSIONS_GIVE_RECOGNITION_BADGE
    description: Allows giving recognition badges to users
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_IQINTERNAL
    description: Enables access to Salesforce IQ internal features
    tests:
    - not_null
  - name: PERMISSIONS_USE_MY_SEARCH
    description: Allows usage of personalized search features
    tests:
    - not_null
  - name: PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM
    description: Lightning promotion user permission
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_SUBSCRIPTIONS
    description: Manage subscription-based services
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE
    description: Edit data preparation recipes
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS
    description: Add remote connections for analytics
    tests:
    - not_null
  - name: PERMISSIONS_USE_ASSISTANT_DIALOG
    description: Use AI assistant dialog feature
    tests:
    - not_null
  - name: PERMISSIONS_USE_QUERY_SUGGESTIONS
    description: Use query suggestions in search
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ROLES
    description: View user roles in the system
    tests:
    - not_null
  - name: PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM
    description: Send outbound messages
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_DATA_CLASSIFICATION
    description: Modify data classification settings
    tests:
    - not_null
  - name: PERMISSIONS_PRIVACY_DATA_ACCESS
    description: Access privacy-related data
    tests:
    - not_null
  - name: PERMISSIONS_QUERY_ALL_FILES
    description: Query all files in the system
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_METADATA
    description: Modify metadata of system objects
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CMS
    description: Manage Content Management System
    tests:
    - not_null
  - name: PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP
    description: Test in community app sandbox
    tests:
    - not_null
  - name: PERMISSIONS_CAN_EDIT_PROMPTS
    description: Edit system prompts
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_USER_PII
    description: View users' personally identifiable information
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DRAFT_ARTICLES
    description: View draft knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ARCHIVED_ARTICLES
    description: View archived knowledge articles
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_HUB_CONNECTIONS
    description: Manage hub connections
    tests:
    - not_null
  - name: PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER
    description: Access B2B marketing analytics
    tests:
    - not_null
  - name: PERMISSIONS_TRACE_XDS_QUERIES
    description: Trace cross-data-source queries
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS
    description: View all custom settings
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES
    description: View all foreign key names
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_CMSACCESS
    description: Access headless CMS
    tests:
    - not_null
  - name: PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM
    description: End messaging sessions
    tests:
    - not_null
  - name: PERMISSIONS_CONSENT_API_UPDATE
    description: Update consent via API
    tests:
    - not_null
  - name: PERMISSIONS_PAYMENTS_APIUSER
    description: Use payments API
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_C_360_ACONNECTIONS
    description: Manage Customer 360 Audiences connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_RELEASE_UPDATES
    description: Manage system release updates
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_PROFILES
    description: View all user profiles
    tests:
    - not_null
  - name: PERMISSIONS_SKIP_IDENTITY_CONFIRMATION
    description: Skip identity verification process
    tests:
    - not_null
  - name: PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS
    description: Send custom notifications to users
    tests:
    - not_null
  - name: PERMISSIONS_PACKAGING_2_DELETE
    description: Delete second-generation packages
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_DATA_EXPLORER
    description: Access Customer Data Platform explorer
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER
    description: Use Zoom for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_PREFERENCE_CENTER
    description: Manage user preference center
    tests:
    - not_null
  - name: PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM
    description: Access Salesforce Meetings features
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_METRICS_ACCESS
    description: Access Quip metrics and analytics
    tests:
    - not_null
  - name: PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS
    description: View Quip user engagement data
    tests:
    - not_null
  - name: PERMISSIONS_CHANGE_TARGET_ASSIGNEE
    description: Change target assignee for tasks
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS
    description: Manage external system connections
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_CONTENT
    description: Manage email content and templates
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO
    description: Manage global privacy center settings
    tests:
    - not_null
  - name: PERMISSIONS_NATIVE_WEBVIEW_SCROLLING
    description: Enable native webview scrolling
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_DEVELOPER_NAME
    description: View developer names for components
    tests:
    - not_null
  - name: PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS
    description: Bypass MFA for UI logins
    tests:
    - not_null
  - name: PERMISSIONS_CLIENT_SECRET_ROTATION
    description: Rotate client secrets for security
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_SERVICE_PROCESS
    description: Access service process features
    tests:
    - not_null
  - name: PERMISSIONS_CMSECEAUTHORING_ACCESS
    description: Access CMS ECE authoring tools
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER
    description: Use Microsoft Teams for video conferencing
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_DATASPACE_SCOPE
    description: Manage dataspace scope settings
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_DATASPACE_SCOPE
    description: Configure dataspace scope options
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CAMPAIGNS
    description: Manage marketing campaigns
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_CREATE_REPORTS
    description: Create Customer Data Cloud reports
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_VIEW_REPORTS
    description: View Customer Data Cloud reports
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_GENIE_PLATFORM
    description: Access Genie AI platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SEGMENT
    description: Access customer segmentation features
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP
    description: Access Customer Data Cloud setup
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_STANDARD_CADENCE
    description: Create standard engagement cadences
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_QUICK_CADENCE
    description: Create quick engagement cadences
    tests:
    - not_null
  - name: PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS
    description: Manage folders for CDC reporting
    tests:
    - not_null
  - name: PERMISSIONS_VIDEO_CONFERENCE_MEET_USER
    description: Access video conferencing features
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE
    description: Delete credit memos and invoices
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_NON_SETUP_FLOW
    description: View non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW
    description: Create and edit non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_DELETE_NON_SETUP_FLOW
    description: Delete non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW
    description: Activate or deactivate non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW
    description: Create/modify segment triggers for non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW
    description: Add decision elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add create record elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW
    description: Add wait elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_NAMED_CREDENTIALS
    description: Manage named credentials
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER
    description: Access CDP Profile Explorer
    tests:
    - not_null
  - name: PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add update record elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_AUTHORIZE_PAYMENTS
    description: Authorize payments
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_PAYMENTS
    description: Configure payment settings
    tests:
    - not_null
  - name: PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS
    description: Configure merchant accounts
    tests:
    - not_null
  - name: PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS
    description: Capture and reverse payments
    tests:
    - not_null
  - name: PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS
    description: Combine authorization and capture for payments
    tests:
    - not_null
  - name: PERMISSIONS_REFUND_PAYMENTS
    description: Process payment refunds
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_PAYMENTS
    description: View payment information
    tests:
    - not_null
  - name: PERMISSIONS_MAKE_PAYMENTS
    description: Make payments
    tests:
    - not_null
  - name: PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE
    description: Update email messages
    tests:
    - not_null
  - name: PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS
    description: Download package version ZIP files
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_USER
    description: Access digital lending features
    tests:
    - not_null
  - name: PERMISSIONS_SEND_EMAIL
    description: Send emails
    tests:
    - not_null
  - name: PERMISSIONS_PREVIEW_TEST_SEND_EMAIL
    description: Preview and test send emails
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP
    description: Manage email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP
    description: View email messaging setup
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_IPFSUPLOAD
    description: Enable IPF file uploads
    tests:
    - not_null
  - name: PERMISSIONS_ENABLE_BCTRANSACTION_POLLING
    description: Enable blockchain transaction polling
    tests:
    - not_null
  - name: PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS
    description: Access to lobby management features
    tests:
    - not_null
  - name: PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER
    description: Ability to import simple CSV data
    tests:
    - not_null
  - name: PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER
    description: Ability to import advanced CSV data
    tests:
    - not_null
  - name: PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT
    description: Query CMS email content
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT
    description: Access to complaint management system
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT
    description: Access to dispute management system
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS
    description: Access to personalized finance features
    tests:
    - not_null
  - name: PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE
    description: Use custom apps on mobile platform
    tests:
    - not_null
  - name: PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER
    description: Design stage management processes
    tests:
    - not_null
  - name: PERMISSIONS_SEGMENT_INTELLIGENCE_USER
    description: Access to segment intelligence features
    tests:
    - not_null
  - name: PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER
    description: Access to graph community features
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_ADMIN_USER
    description: Administer digital lending features
    tests:
    - not_null
  - name: PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS
    description: Activate system mode flows
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS
    description: View all non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_PLATFORM
    description: Access to personalization platform
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_DISPUTE_PROMPTS
    description: Access dispute prompts
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW
    description: Add subflow elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_PERSONALIZATION_INTEL_USER
    description: Access personalization intelligence features
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_ACCESS_POLICIES
    description: Manage access policies
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection filter to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_METADATA_STUDIO_USER
    description: Access to metadata studio
    tests:
    - not_null
  - name: PERMISSIONS_ACCESS_SERVICE_EINSTEIN
    description: Access Einstein services
    tests:
    - not_null
  - name: PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW
    description: Add loop elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW
    description: Add collection sort to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MONITOR_LOGIN_HISTORY
    description: Monitor user login history
    tests:
    - not_null
  - name: PERMISSIONS_FREEZE_USERS
    description: Ability to freeze user accounts
    tests:
    - not_null
  - name: PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW
    description: Add assignment to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_USER_HAS_STARTER_DCRACCESS
    description: User has starter data access
    tests:
    - not_null
  - name: PERMISSIONS_HEADLESS_PUBLISH_NUDGES
    description: Can publish nudges without user interface
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CDP_ML_MODELS
    description: Can manage customer data platform machine learning models
    tests:
    - not_null
  - name: PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add/delete recommended elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION
    description: Can manage certificate expiration dates
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY
    description: Can edit read-only fields in digital lending
    tests:
    - not_null
  - name: PERMISSIONS_DIGITAL_LENDING_WORKBENCH
    description: Access to digital lending workbench
    tests:
    - not_null
  - name: PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Add/get recommended elements to non-setup flows
    tests:
    - not_null
  - name: PERMISSIONS_MANAGE_CUSTOM_DOMAINS
    description: Can manage custom domains
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_CALLS
    description: Can view all call records
    tests:
    - not_null
  tests: []

stg_CASE_COMMENT

Table Preview (sample only)

ID PARENT_ID IS_PUBLISHED COMMENT_BODY CREATED_BY_ID CREATED_DATE SYSTEM_MODSTAMP LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_COMMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:02.532430+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_COMMENT"

stg_CASE_COMMENT.yml (Document the table)

version: 2
models:
- name: stg_CASE_COMMENT
  description: The table is about case comments. It contains details of comments made
    on cases. Each comment has an ID, parent case ID, publication status, body text,
    author, creation date, and modification information. The table tracks if comments
    are deleted or synced. It provides a comprehensive record of communication and
    updates related to specific cases.
  columns:
  - name: ID
    description: Unique identifier for each comment
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the case to which the comment belongs
    tests:
    - not_null
  - name: IS_PUBLISHED
    description: Indicates if the comment is publicly visible
    tests:
    - not_null
  - name: COMMENT_BODY
    description: The text content of the comment
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the comment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the comment was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the comment
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the comment has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_APP_MENU_CUSTOMIZATION_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_APP_MENU_CUSTOMIZATION_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:36:32.355793+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_APP_MENU_CUSTOMIZATION_SHARE"

stg_USER_APP_MENU_CUSTOMIZATION_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_APP_MENU_CUSTOMIZATION_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ORG_METRIC

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LATEST_ORG_METRIC_SCAN_SUMMARY_ID FEATURE_TYPE CATEGORY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORG_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:07.689017+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORG_METRIC"

stg_ORG_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ORG_METRIC
  description: The table is about organizational metrics. It contains details like
    metric ID, name, feature type, and category. The table tracks creation and modification
    dates, as well as the users who created or modified the metric. It also includes
    a flag for deleted metrics and a reference to the latest metric scan summary.
    The table is likely used for monitoring and analyzing various organizational features
    or performance indicators.
  columns:
  - name: ID
    description: Unique identifier for the organizational metric
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the metric has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the organizational metric
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the metric was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the metric
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the metric was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the metric
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LATEST_ORG_METRIC_SCAN_SUMMARY_ID
    description: ID of the latest metric scan summary
    tests:
    - not_null
  - name: FEATURE_TYPE
    description: Type of feature the metric represents
    tests:
    - not_null
  - name: CATEGORY
    description: Category of the organizational metric
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_ASSET

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTENT_DOCUMENT_ID IS_VISIBLE_BY_EXTERNAL_USERS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_ASSET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:52.676580+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_ASSET"

stg_CONTENT_ASSET.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_ASSET
  description: The table is about content assets. It contains details like asset ID,
    developer name, language, label, and document ID. The table tracks creation and
    modification dates, along with user IDs for these actions. It also includes flags
    for deletion status and external visibility. The presence of namespace prefix
    suggests it may be part of a larger system or package.
  columns:
  - name: ID
    description: Unique identifier for the content asset
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the asset is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the asset
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the content asset
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the asset
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the package or organization
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the asset was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the asset
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the asset
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: ID of the associated content document
    tests:
    - not_null
  - name: IS_VISIBLE_BY_EXTERNAL_USERS
    description: Flag indicating external user visibility
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TASK_STATUS

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_CLOSED CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:55.382252+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK_STATUS"

stg_TASK_STATUS.yml (Document the table)

version: 2
models:
- name: stg_TASK_STATUS
  description: CASE_STATUS shows different stages of a case. It includes statuses
    like New, Working, and Closed. Each status has an ID, label, and API name. The
    table tracks creation and modification dates. TASK_STATUS likely contains similar
    information for individual tasks within cases.
  columns:
  - name: ID
    description: Unique identifier for the status record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the case status
    tests:
    - not_null
  - name: API_NAME
    description: API name for the case status
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying statuses
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Indicates if this is the default status
    tests:
    - not_null
  - name: IS_CLOSED
    description: Indicates if the status represents a closed case
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the status
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the status was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the status
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SESSION_PERM_SET_ACTIVATION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP AUTH_SESSION_ID PERMISSION_SET_ID USER_ID DESCRIPTION PERMISSION_SET_GROUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SESSION_PERM_SET_ACTIVATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:58.951095+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SESSION_PERM_SET_ACTIVATION"

stg_SESSION_PERM_SET_ACTIVATION.yml (Document the table)

version: 2
models:
- name: stg_SESSION_PERM_SET_ACTIVATION
  description: The table is about session permission set activations. It records when
    permission sets are activated for users during specific authentication sessions.
    Each row represents an activation event, including details like the user, permission
    set, auth session, and integration name. The table tracks creation and modification
    timestamps, as well as who performed these actions. It also includes flags for
    deletion status and sync information.
  columns:
  - name: ID
    description: Unique identifier for each activation record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: AUTH_SESSION_ID
    description: ID of the authentication session
    tests:
    - not_null
  - name: PERMISSION_SET_ID
    description: ID of the activated permission set
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user for whom the permission set was activated
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the activation event
    tests:
    - not_null
  - name: PERMISSION_SET_GROUP_ID
    description: ID of the permission set group, if applicable
    cocoon_meta:
      missing_reason: Not all permission sets belong to a group.
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_ACTION_CDNC_STP_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_STEP_ID MONTH_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT ALL_EMAILS_UNTRACKED_SENT_COUNT TEMPLATE_ID IS_COMPOUND_METRIC HAS_TEMPLATE_ASSIGNED LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS LINK_CLK_TRACKABLE_RECIPIENT_SENDS OPEN_TRACKABLE_RECIPIENT_SENDS REPLY_TRACKABLE_RECIPIENT_SENDS SFT_BNC_TRACKABLE_RECIPIENT_SENDS HRD_BNC_TRACKABLE_RECIPIENT_SENDS OOO_TRACKABLE_RECIPIENT_SENDS RECIPIENT_SENDS RECIPIENT_REPLIES RECIPIENTS_HARD_BOUNCED RECIPIENTS_SOFT_BOUNCED RECIPIENTS_OUT_OF_OFFICE ALL_EMAILS_NOT_DELIVERED_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CDNC_STP_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:51:38.700688+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CDNC_STP_MONTHLY_METRIC"

stg_ACTION_CDNC_STP_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CDNC_STP_MONTHLY_METRIC
  description: The table is about monthly metrics for action cadence steps. It tracks
    various email-related counts like sent, opened, replied, and bounced emails. It
    also records call outcomes such as meaningful connects and voicemails. The table
    includes both aggregate and unique recipient metrics. It captures data for a specific
    month and action cadence step ID. The table also tracks template usage and various
    trackable send metrics.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_ID
    description: ID of the associated action cadence step
    tests:
    - not_null
  - name: MONTH_
    description: Month for which the metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Total number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_OPENED_COUNT
    description: Total number of emails opened
    tests:
    - not_null
  - name: ALL_EMAILS_REPLIED_COUNT
    description: Total number of emails replied to
    tests:
    - not_null
  - name: ALL_EMAILS_LINK_CLICKED_COUNT
    description: Total number of email links clicked
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Total number of emails that hard bounced
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Total number of emails that soft bounced
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Total number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful connections made through calls
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls resulting in 'not interested'
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls with unqualified prospects
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls scheduled for callback
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of calls not categorized
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique recipients who opened emails
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique recipients who replied to emails
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique recipients who clicked email links
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Total number of untracked emails sent
    tests:
    - not_null
  - name: TEMPLATE_ID
    description: ID of the email template used
    tests:
    - not_null
  - name: IS_COMPOUND_METRIC
    description: Indicates if the metric is compound
    tests:
    - not_null
  - name: HAS_TEMPLATE_ASSIGNED
    description: Indicates if a template is assigned
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Count of trackable sends with link clicks
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Count of trackable sends that were opened
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Count of trackable sends that received replies
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Count of trackable sends resulting in soft bounces
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Count of trackable sends resulting in hard bounces
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Count of trackable sends receiving out-of-office replies
    tests:
    - not_null
  - name: LINK_CLK_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients who clicked links in trackable sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients who opened trackable sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients who replied to trackable sends
    tests:
    - not_null
  - name: SFT_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients with soft bounces in trackable sends
    tests:
    - not_null
  - name: HRD_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients with hard bounces in trackable sends
    tests:
    - not_null
  - name: OOO_TRACKABLE_RECIPIENT_SENDS
    description: Unique recipients with out-of-office replies in trackable sends
    tests:
    - not_null
  - name: RECIPIENT_SENDS
    description: Total number of emails sent to recipients
    tests:
    - not_null
  - name: RECIPIENT_REPLIES
    description: Total number of replies received from recipients
    tests:
    - not_null
  - name: RECIPIENTS_HARD_BOUNCED
    description: Number of recipients with hard bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_SOFT_BOUNCED
    description: Number of recipients with soft bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_OUT_OF_OFFICE
    description: Number of recipients with out-of-office replies
    tests:
    - not_null
  - name: ALL_EMAILS_NOT_DELIVERED_COUNT
    description: Total count of undelivered emails
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_DATA_CATEGORY_SELECTION

Table Preview (sample only)

ID PARENT_ID DATA_CATEGORY_GROUP_NAME DATA_CATEGORY_NAME CREATED_DATE CREATED_BY_ID IS_DELETED SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_DATA_CATEGORY_SELECTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:06.818622+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_DATA_CATEGORY_SELECTION"

stg_KNOWLEDGE_DATA_CATEGORY_SELECTION.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_DATA_CATEGORY_SELECTION
  description: The table is about knowledge data categories. It contains information
    on category groups and names. Each category may have a parent category. The table
    tracks creation date, creator, deletion status, and system modification timestamp.
    It likely supports a knowledge management or content classification system.
  columns:
  - name: ID
    description: Unique identifier for each category
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent category, if any
    tests:
    - not_null
  - name: DATA_CATEGORY_GROUP_NAME
    description: Name of the group the category belongs to
    tests:
    - not_null
  - name: DATA_CATEGORY_NAME
    description: Name of the specific category
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the category was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the category
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the category has been deleted
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last system modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_SOURCE_BUNDLE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SOURCE_BUNDLE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:40.968198+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SOURCE_BUNDLE_SHARE"

stg_DATA_SOURCE_BUNDLE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_SOURCE_BUNDLE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OBJECT_DATA_IMPORT

Table Preview (sample only)

ID OWNER_ID IS_DELETED OBJECT_DATA_IMPORT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE PRIMARY_OBJECT STATUS RESULT END_DATE FILE_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OBJECT_DATA_IMPORT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:24.210323+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OBJECT_DATA_IMPORT"

stg_OBJECT_DATA_IMPORT.yml (Document the table)

version: 2
models:
- name: stg_OBJECT_DATA_IMPORT
  description: The table is about object data import operations. It tracks details
    of import jobs including the owner, status, result, and associated file. The table
    stores metadata like creation and modification dates. It also includes fields
    for system tracking such as IS_DELETED and SYSTEM_MODSTAMP. The PRIMARY_OBJECT
    field likely indicates the main object being imported.
  columns:
  - name: ID
    description: Unique identifier for the import operation
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this import operation
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: OBJECT_DATA_IMPORT_NUMBER
    description: Unique number for the import operation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking last modification timestamp
    tests:
    - not_null
  - name: TYPE
    description: Type of the import operation
    tests:
    - not_null
  - name: PRIMARY_OBJECT
    description: Main object being imported
    tests:
    - not_null
  - name: STATUS
    description: Current status of the import operation
    tests:
    - not_null
  - name: RESULT
    description: Result of the import operation
    tests:
    - not_null
  - name: END_DATE
    description: Date and time when the import operation ended
    tests:
    - not_null
  - name: FILE_NAME
    description: Name of the file used for import
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DOMAIN_SITE

Table Preview (sample only)

ID DOMAIN_ID SITE_ID PATH_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DOMAIN_SITE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:52.090156+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DOMAIN_SITE"

stg_DOMAIN_SITE.yml (Document the table)

version: 2
models:
- name: stg_DOMAIN_SITE
  description: The table represents the relationship between Domains and Sites. Each
    record links a Domain to a Site with a specific path prefix. It includes creation
    and modification details like dates and user IDs. The table tracks system modifications
    and Fivetran sync status. This structure allows for managing multiple sites under
    different domains with unique paths.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: DOMAIN_ID
    description: Identifier of the associated domain
    tests:
    - not_null
  - name: SITE_ID
    description: Identifier of the associated site
    tests:
    - not_null
  - name: PATH_PREFIX
    description: Specific path for the site under the domain
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_VERSION_RATING

Table Preview (sample only)

ID USER_ID CONTENT_VERSION_ID RATING USER_COMMENT LAST_MODIFIED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_VERSION_RATING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:33.109011+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_VERSION_RATING"

stg_CONTENT_VERSION_RATING.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_VERSION_RATING
  description: The table represents the Content Version Rating relation between users
    and content versions. It stores ratings and comments given by users for specific
    content versions. Each entry includes a unique ID, user ID, content version ID,
    rating value, user comment, and timestamp. The table tracks user feedback on different
    versions of content, allowing for analysis of content quality and user satisfaction
    over time.
  columns:
  - name: ID
    description: Unique identifier for each rating entry
    tests:
    - not_null
  - name: USER_ID
    description: Identifier of the user who provided the rating
    tests:
    - not_null
  - name: CONTENT_VERSION_ID
    description: Identifier of the specific content version rated
    tests:
    - not_null
  - name: RATING
    description: Numerical value representing the user's rating
    tests:
    - not_null
  - name: USER_COMMENT
    description: Text feedback provided by the user
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification to the rating
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONNECTED_APPLICATION

Table Preview (sample only)

ID NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OPTIONS_ALLOW_ADMIN_APPROVED_USERS_ONLY OPTIONS_REFRESH_TOKEN_VALIDITY_METRIC OPTIONS_HAS_SESSION_LEVEL_POLICY OPTIONS_IS_INTERNAL OPTIONS_FULL_CONTENT_PUSH_NOTIFICATIONS OPTIONS_CODE_CREDENTIAL_GUEST_ENABLED OPTIONS_APP_ISSUE_JWT_TOKEN_ENABLED OPTIONS_TOKEN_EXCHANGE_MANAGE_BIT_ENABLED MOBILE_SESSION_TIMEOUT PIN_LENGTH START_URL MOBILE_START_URL REFRESH_TOKEN_VALIDITY_PERIOD UVID_TIMEOUT NAMED_USER_UVID_TIMEOUT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONNECTED_APPLICATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:52.365752+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONNECTED_APPLICATION"

stg_CONNECTED_APPLICATION.yml (Document the table)

version: 2
models:
- name: stg_CONNECTED_APPLICATION
  description: The table is about connected applications in a system. It contains
    details like application name, creation and modification dates, and various configuration
    options. The options include settings for user approval, token validity, session
    policies, and push notifications. The table also stores timeout values and URLs
    related to the application. This likely represents external applications integrated
    with a main system, tracking their settings and access configurations.
  columns:
  - name: ID
    description: Unique identifier for the connected application
    tests:
    - not_null
  - name: NAME
    description: Name of the connected application
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the application was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the application
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the application
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: OPTIONS_ALLOW_ADMIN_APPROVED_USERS_ONLY
    description: Flag for admin-approved users only
    tests:
    - not_null
  - name: OPTIONS_REFRESH_TOKEN_VALIDITY_METRIC
    description: Metric for refresh token validity
    tests:
    - not_null
  - name: OPTIONS_HAS_SESSION_LEVEL_POLICY
    description: Flag for session-level policy
    tests:
    - not_null
  - name: OPTIONS_IS_INTERNAL
    description: Flag indicating if the application is internal
    tests:
    - not_null
  - name: OPTIONS_FULL_CONTENT_PUSH_NOTIFICATIONS
    description: Flag for full content push notifications
    tests:
    - not_null
  - name: OPTIONS_CODE_CREDENTIAL_GUEST_ENABLED
    description: Flag for code credential guest access
    tests:
    - not_null
  - name: OPTIONS_APP_ISSUE_JWT_TOKEN_ENABLED
    description: Flag for JWT token issuance
    tests:
    - not_null
  - name: OPTIONS_TOKEN_EXCHANGE_MANAGE_BIT_ENABLED
    description: Flag for token exchange manage bit
    tests:
    - not_null
  - name: MOBILE_SESSION_TIMEOUT
    description: Timeout duration for mobile sessions
    tests:
    - not_null
  - name: PIN_LENGTH
    description: Length of PIN required
    tests:
    - not_null
  - name: START_URL
    description: Starting URL for the application
    tests:
    - not_null
  - name: MOBILE_START_URL
    description: Starting URL for mobile application
    tests:
    - not_null
  - name: REFRESH_TOKEN_VALIDITY_PERIOD
    description: Validity period for refresh tokens
    tests:
    - not_null
  - name: UVID_TIMEOUT
    description: Timeout for User Verification ID
    tests:
    - not_null
  - name: NAMED_USER_UVID_TIMEOUT
    description: Timeout for named user UVID
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EMAIL_RELAY

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP HOST PORT TLS_SETTING IS_REQUIRE_AUTH USERNAME PASSWORD AUTH_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_RELAY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:27.146260+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_RELAY"

stg_EMAIL_RELAY.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_RELAY
  description: The table is about email relay settings. It contains details for configuring
    an email relay server. The table includes host and port information, TLS settings,
    and authentication requirements. It also stores username and password for authentication
    if needed. The table tracks creation and modification dates, as well as the users
    who made these changes.
  columns:
  - name: ID
    description: Unique identifier for each email relay setting
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for internal use
    tests:
    - not_null
  - name: HOST
    description: Hostname or IP address of the email relay server
    tests:
    - not_null
  - name: PORT
    description: Port number for the email relay server
    tests:
    - not_null
  - name: TLS_SETTING
    description: TLS (Transport Layer Security) configuration
    tests:
    - not_null
  - name: IS_REQUIRE_AUTH
    description: Flag indicating if authentication is required
    tests:
    - not_null
  - name: USERNAME
    description: Username for authentication if required
    tests:
    - not_null
  - name: PASSWORD
    description: Password for authentication if required
    tests:
    - not_null
  - name: AUTH_TYPE
    description: Type of authentication used
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_EMAIL_MESSAGE_RELATION

Table Preview (sample only)

ID EMAIL_MESSAGE_ID RELATION_ID RELATION_TYPE RELATION_ADDRESS RELATION_OBJECT_TYPE CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_MESSAGE_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:19.653077+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_MESSAGE_RELATION"

stg_EMAIL_MESSAGE_RELATION.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_MESSAGE_RELATION
  description: The table is about email message relations. It links email messages
    to various entities. The table includes the type of relation, address, and object
    type. It tracks creation date, creator, and system modification timestamp. The
    table also indicates if the relation is deleted and includes Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for the email message relation
    tests:
    - not_null
  - name: EMAIL_MESSAGE_ID
    description: ID of the associated email message
    tests:
    - not_null
  - name: RELATION_ID
    description: ID of the related entity
    tests:
    - not_null
  - name: RELATION_TYPE
    description: Type of relationship between email and entity
    tests:
    - not_null
  - name: RELATION_ADDRESS
    description: Email address of the related entity
    tests:
    - not_null
  - name: RELATION_OBJECT_TYPE
    description: Type of object the email is related to
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the relation was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the relation
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp by the system
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the relation is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CONTENT_DISTRIBUTION_VIEW

Table Preview (sample only)

ID DISTRIBUTION_ID PARENT_VIEW_ID CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP IS_DELETED IS_INTERNAL IS_DOWNLOAD _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_DISTRIBUTION_VIEW.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:11.250224+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_DISTRIBUTION_VIEW"

stg_CONTENT_DISTRIBUTION_VIEW.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_DISTRIBUTION_VIEW
  description: The table is about content distribution records. It contains details
    like distribution ID, parent view ID, creation date, creator ID, and system modification
    timestamp. It also includes boolean flags for deletion status, internal status,
    and download capability. The table likely tracks how content is distributed and
    accessed within a system.
  columns:
  - name: ID
    description: Unique identifier for the content distribution record
    tests:
    - not_null
  - name: DISTRIBUTION_ID
    description: Identifier for the specific distribution
    tests:
    - not_null
  - name: PARENT_VIEW_ID
    description: ID of the parent view associated with the distribution
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the distribution record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the distribution record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last system modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: IS_INTERNAL
    description: Flag indicating if the distribution is internal
    tests:
    - not_null
  - name: IS_DOWNLOAD
    description: Flag indicating if the content is downloadable
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MATCHING_INFORMATION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EMAIL_ADDRESS EXTERNAL_ID SFDCID_ID IS_PICKED_AS_PREFERRED USER_ID PREFERENCE_USED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MATCHING_INFORMATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:07.721066+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MATCHING_INFORMATION"

stg_MATCHING_INFORMATION.yml (Document the table)

version: 2
models:
- name: stg_MATCHING_INFORMATION
  description: The table is about user matching information. It contains user details
    like email address, external ID, and SFDC ID. The table tracks creation and modification
    dates, as well as who created or modified the record. It includes flags for deletion
    status and preference selection. The table likely serves for user identification
    and preference management across systems.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the user or record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: EMAIL_ADDRESS
    description: Email address of the user
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the user
    tests:
    - not_null
  - name: SFDCID_ID
    description: Salesforce ID of the user
    tests:
    - not_null
  - name: IS_PICKED_AS_PREFERRED
    description: Flag indicating if this is the preferred record
    tests:
    - not_null
  - name: USER_ID
    description: Internal user identifier
    tests:
    - not_null
  - name: PREFERENCE_USED
    description: Indicates if user preference was applied
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_RECORD_TYPE

Table Preview (sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX DESCRIPTION BUSINESS_PROCESS_ID SOBJECT_TYPE IS_ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_RECORD_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:40.560379+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."RECORD_TYPE"

stg_RECORD_TYPE.yml (Document the table)

version: 2
models:
- name: stg_RECORD_TYPE
  description: The table is about record types. It includes details like ID, name,
    developer name, namespace prefix, and description. It also tracks the associated
    object type, active status, and business process. Creation and modification timestamps
    are recorded. The table likely supports a system for organizing and categorizing
    different types of records or data entries.
  columns:
  - name: ID
    description: Unique identifier for the record type
    tests:
    - not_null
  - name: NAME
    description: Name of the record type
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name used by developers
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the record type
    tests:
    - not_null
  - name: BUSINESS_PROCESS_ID
    description: ID of associated business process
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of Salesforce object this applies to
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the record type is active
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time of record creation
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran soft delete indicator
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_MATCHING_RULE_ITEM

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP MATCHING_RULE_ID SORT_ORDER FIELD MATCHING_METHOD BLANK_VALUE_BEHAVIOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MATCHING_RULE_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:29.518823+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MATCHING_RULE_ITEM"

stg_MATCHING_RULE_ITEM.yml (Document the table)

version: 2
models:
- name: stg_MATCHING_RULE_ITEM
  description: The table is about matching rule items. It contains information on
    the rule's ID, creation and modification details, associated matching rule, field
    to match on, matching method, and behavior for blank values. The table tracks
    changes with deletion and synchronization flags. It likely supports a matching
    or deduplication system in a CRM or similar application.
  columns:
  - name: ID
    description: Unique identifier for the matching rule item
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the item is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the item was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the item
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the item
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: MATCHING_RULE_ID
    description: ID of the associated matching rule
    tests:
    - not_null
  - name: SORT_ORDER
    description: Order for sorting the matching rule items
    tests:
    - not_null
  - name: FIELD
    description: Field used for matching
    tests:
    - not_null
  - name: MATCHING_METHOD
    description: Method used for matching
    tests:
    - not_null
  - name: BLANK_VALUE_BEHAVIOR
    description: How blank values are handled
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OBJECT_PERMISSIONS

Table Preview (sample only)

ID PARENT_ID SOBJECT_TYPE PERMISSIONS_CREATE PERMISSIONS_READ PERMISSIONS_EDIT PERMISSIONS_DELETE PERMISSIONS_VIEW_ALL_RECORDS PERMISSIONS_MODIFY_ALL_RECORDS CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OBJECT_PERMISSIONS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:39.091591+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OBJECT_PERMISSIONS"

stg_OBJECT_PERMISSIONS.yml (Document the table)

version: 2
models:
- name: stg_OBJECT_PERMISSIONS
  description: The table is about object permissions. It lists different Salesforce
    objects and their associated permissions. Each row represents a specific object
    type with its permission settings. Permissions include create, read, edit, delete,
    view all records, and modify all records. The table also tracks creation and modification
    dates, as well as the users who made these changes.
  columns:
  - name: ID
    description: Unique identifier for the permission record
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent object or record
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Salesforce object type
    tests:
    - not_null
  - name: PERMISSIONS_CREATE
    description: Whether create permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_READ
    description: Whether read permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_EDIT
    description: Whether edit permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_DELETE
    description: Whether delete permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_VIEW_ALL_RECORDS
    description: Whether view all records permission is granted
    tests:
    - not_null
  - name: PERMISSIONS_MODIFY_ALL_RECORDS
    description: Whether modify all records permission is granted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_USER_DEFINED_LABEL_ASSIGNMENT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_DEFINED_LABEL_ASSIGNMENT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:20.381972+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DEFINED_LABEL_ASSIGNMENT_SHARE"

stg_USER_DEFINED_LABEL_ASSIGNMENT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_DEFINED_LABEL_ASSIGNMENT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OPERATING_HOURS_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPERATING_HOURS_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:07.589090+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPERATING_HOURS_SHARE"

stg_OPERATING_HOURS_SHARE.yml (Document the table)

version: 2
models:
- name: stg_OPERATING_HOURS_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_GROUP

Table Preview (sample only)

ID NAME DEVELOPER_NAME RELATED_ID TYPE EMAIL OWNER_ID DOES_SEND_EMAIL_TO_MEMBERS DOES_INCLUDE_BOSSES CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GROUP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:43.625568+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GROUP"

stg_GROUP.yml (Document the table)

version: 2
models:
- name: stg_GROUP
  description: The table is about groups in an organizational system. It contains
    details such as group ID, name, type, developer name, and related settings. Groups
    can be queues, organizational units, or content roles. The table tracks creation
    and modification dates, ownership, and email settings for each group. It also
    includes flags for system management and data synchronization.
  columns:
  - name: ID
    description: Unique identifier for the group
    tests:
    - not_null
  - name: NAME
    description: Name of the group
    cocoon_meta:
      missing_reason: Unknown
  - name: DEVELOPER_NAME
    description: Developer-friendly name for the group
    tests:
    - not_null
  - name: RELATED_ID
    description: ID of a related entity
    cocoon_meta:
      missing_reason: Unknown
  - name: TYPE
    description: Type of group (e.g., Queue, Organization, Role)
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the group
    cocoon_meta:
      missing_reason: Not all group types require an email address.
  - name: OWNER_ID
    description: ID of the group owner
    tests:
    - not_null
  - name: DOES_SEND_EMAIL_TO_MEMBERS
    description: Indicates if emails are sent to group members
    tests:
    - not_null
  - name: DOES_INCLUDE_BOSSES
    description: Indicates if supervisors are included in the group
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the group was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the group
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the group
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OAUTH_TOKEN_EXCHANGE_HANDLER

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_ENABLED SUPPORTED_TOKEN_TYPES_ACCESS_TOKEN SUPPORTED_TOKEN_TYPES_REFRESH_TOKEN SUPPORTED_TOKEN_TYPES_ID_TOKEN SUPPORTED_TOKEN_TYPES_SAML_2 SUPPORTED_TOKEN_TYPES_JWT IS_USER_CREATION_ALLOWED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OAUTH_TOKEN_EXCHANGE_HANDLER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:08.164269+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OAUTH_TOKEN_EXCHANGE_HANDLER"

stg_OAUTH_TOKEN_EXCHANGE_HANDLER.yml (Document the table)

version: 2
models:
- name: stg_OAUTH_TOKEN_EXCHANGE_HANDLER
  description: The table is about OAuth token exchange handlers. It contains details
    like ID, developer name, language, label, and namespace. It tracks creation and
    modification dates, and the users who made changes. The table specifies supported
    token types (access, refresh, ID, SAML2, JWT) and whether user creation is allowed.
    It also includes flags for deletion status and enablement.
  columns:
  - name: ID
    description: Unique identifier for the OAuth token exchange handler
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the handler used by developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the handler
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the handler
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the handler
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the OAuth token exchange handler
    tests:
    - not_null
  - name: IS_ENABLED
    description: Flag indicating if the handler is enabled
    tests:
    - not_null
  - name: SUPPORTED_TOKEN_TYPES_ACCESS_TOKEN
    description: Supports access token type
    tests:
    - not_null
  - name: SUPPORTED_TOKEN_TYPES_REFRESH_TOKEN
    description: Supports refresh token type
    tests:
    - not_null
  - name: SUPPORTED_TOKEN_TYPES_ID_TOKEN
    description: Supports ID token type
    tests:
    - not_null
  - name: SUPPORTED_TOKEN_TYPES_SAML_2
    description: Supports SAML2 token type
    tests:
    - not_null
  - name: SUPPORTED_TOKEN_TYPES_JWT
    description: Supports JWT token type
    tests:
    - not_null
  - name: IS_USER_CREATION_ALLOWED
    description: Flag indicating if user creation is allowed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_DEFINED_LABEL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE COLOR TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_DEFINED_LABEL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:11.245615+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DEFINED_LABEL"

stg_USER_DEFINED_LABEL.yml (Document the table)

version: 2
models:
- name: stg_USER_DEFINED_LABEL
  description: The table is about user-defined labels. It contains details such as
    the label's ID, name, owner, creation and modification dates, color, and type.
    The table tracks whether the label is deleted and includes system fields for data
    synchronization. It also stores information about when the label was last viewed
    or referenced.
  columns:
  - name: ID
    description: Unique identifier for the label
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the label
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the label is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the label
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the label was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the label
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the label
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the label was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the label was last referenced
    tests:
    - not_null
  - name: COLOR
    description: Color assigned to the label
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the label
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:50:18.411112+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_SHARE"

stg_ACTION_CADENCE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_UNDECIDED_EVENT_RELATION

Table Preview (sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID RESPONDED_DATE RESPONSE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UNDECIDED_EVENT_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:34:10.828601+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UNDECIDED_EVENT_RELATION"

stg_UNDECIDED_EVENT_RELATION.yml (Document the table)

version: 2
models:
- name: stg_UNDECIDED_EVENT_RELATION
  description: The table tracks event responses. It includes event IDs and account
    IDs. It records response types and dates. The partitions separate accepted, declined,
    and undecided responses. The table likely manages event attendance and participant
    status for an organization or system.
  columns:
  - name: ID
    description: Primary key or unique identifier for the record
    tests:
    - not_null
  - name: RELATION_ID
    description: ID representing a relationship (purpose unclear)
    tests:
    - not_null
  - name: EVENT_ID
    description: Unique identifier for the associated event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Unique identifier for the associated account
    tests:
    - not_null
  - name: RESPONDED_DATE
    description: Date and time when the response was submitted
    tests:
    - not_null
  - name: RESPONSE
    description: The actual response given (e.g., accepted, declined)
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating whether the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the response or event
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTACT_POINT_EMAIL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_POINT_EMAIL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:33:48.408225+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_POINT_EMAIL_SHARE"

stg_CONTACT_POINT_EMAIL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_POINT_EMAIL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD_VERSION_OCCURRENCE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_VERSION_ID FLOW_RECORD_ID SCHEDULED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_RECORD_VERSION_OCCURRENCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:03.071209+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD_VERSION_OCCURRENCE"

stg_FLOW_RECORD_VERSION_OCCURRENCE.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD_VERSION_OCCURRENCE
  description: The table tracks occurrences of flow record versions. It links flow
    record versions to specific records. The table includes metadata fields like creation
    and modification dates. It also has scheduled dates for occurrences. The table
    uses Salesforce-style naming conventions. It includes Fivetran-specific fields
    for syncing and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the flow record version
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: FLOW_RECORD_VERSION_ID
    description: ID of the specific flow record version
    tests:
    - not_null
  - name: FLOW_RECORD_ID
    description: ID of the associated flow record
    tests:
    - not_null
  - name: SCHEDULED_DATE
    description: Date scheduled for the flow record version occurrence
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PROCESS_INSTANCE

Table Preview (sample only)

ID PROCESS_DEFINITION_ID TARGET_OBJECT_ID STATUS COMPLETED_DATE LAST_ACTOR_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES SUBMITTED_BY_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_INSTANCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:42.232473+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_INSTANCE"

stg_PROCESS_INSTANCE.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_INSTANCE
  description: The table is about process instances. It contains details such as process
    definition ID, target object ID, status, completion date, and actor information.
    The table tracks elapsed time in days, hours, and minutes. It also includes creation
    and modification metadata, as well as a deletion flag. The table likely represents
    workflow or business process execution data within a system.
  columns:
  - name: ID
    description: Unique identifier for the process instance
    tests:
    - not_null
  - name: PROCESS_DEFINITION_ID
    description: Identifier for the process definition
    tests:
    - not_null
  - name: TARGET_OBJECT_ID
    description: ID of the object the process is running on
    tests:
    - not_null
  - name: STATUS
    description: Current status of the process instance
    tests:
    - not_null
  - name: COMPLETED_DATE
    description: Date and time when the process was completed
    tests:
    - not_null
  - name: LAST_ACTOR_ID
    description: ID of the last user who acted on the process
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_DAYS
    description: Duration of the process in days
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_HOURS
    description: Duration of the process in hours
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_MINUTES
    description: Duration of the process in minutes
    tests:
    - not_null
  - name: SUBMITTED_BY_ID
    description: ID of the user who submitted the process
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_INDIVIDUAL

Table Preview (sample only)

ID OWNER_ID IS_DELETED LAST_NAME FIRST_NAME SALUTATION NAME LAST_VIEWED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_INDIVIDUAL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:08.266844+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."INDIVIDUAL"

stg_INDIVIDUAL.yml (Document the table)

version: 2
models:
- name: stg_INDIVIDUAL
  description: The table is about individuals. It contains personal information such
    as ID, name, and salutation. The table includes system fields like creation date,
    last modified date, and owner ID. Each record represents a unique individual with
    their first and last name. The table also tracks whether the record is deleted
    and when it was last synced.
  columns:
  - name: ID
    description: Unique identifier for each individual
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: LAST_NAME
    description: Last name of the individual
    tests:
    - not_null
  - name: FIRST_NAME
    description: First name of the individual
    tests:
    - not_null
  - name: SALUTATION
    description: Formal greeting or title of the individual
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: Full name of the individual
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    cocoon_meta:
      missing_reason: New or unviewed records haven't been viewed yet.
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EXTERNAL_DATA_SRC_DESCRIPTOR

Table Preview (sample only)

ID IS_DELETED EXTERNAL_DATA_SOURCE_ID DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE SYSTEM_VERSION DESCRIPTOR_VERSION SUBTYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_DATA_SRC_DESCRIPTOR.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:54.525724+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_DATA_SRC_DESCRIPTOR"

stg_EXTERNAL_DATA_SRC_DESCRIPTOR.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_DATA_SRC_DESCRIPTOR
  description: The table is about external data source descriptors. It contains details
    like ID, deletion status, external data source ID, developer name, language, label,
    and namespace. It also includes creation and modification timestamps, user IDs
    for creation and modification, system metadata, type, version information, and
    subtype. The table likely supports integration with external data sources in a
    system.
  columns:
  - name: ID
    description: Unique identifier for the descriptor
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: EXTERNAL_DATA_SOURCE_ID
    description: ID of the associated external data source
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the descriptor
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the descriptor
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the descriptor
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the descriptor
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the descriptor was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the descriptor
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the descriptor
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TYPE
    description: Type of the descriptor
    tests:
    - not_null
  - name: SYSTEM_VERSION
    description: Version of the system
    tests:
    - not_null
  - name: DESCRIPTOR_VERSION
    description: Version of the descriptor
    tests:
    - not_null
  - name: SUBTYPE
    description: Subtype of the descriptor
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TAG_DEFINITION

Table Preview (sample only)

ID NAME LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TAG_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:21.683071+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TAG_DEFINITION"

stg_TAG_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_TAG_DEFINITION
  description: The table is about tag definitions. It contains details like the tag's
    ID, name, and type. It tracks who last modified the tag and when. The table also
    includes system fields for deletion status and syncing with an external system
    (Fivetran). Each row represents a unique tag definition with its associated metadata.
  columns:
  - name: ID
    description: Unique identifier for the tag definition
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the tag
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the tag is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the tag
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last sync with Fivetran
    tests:
    - not_null
  tests: []

stg_LOGIN_IP

Table Preview (sample only)

ID USERS_ID SOURCE_IP CREATED_DATE IS_AUTHENTICATED CHALLENGE_SENT_DATE CHALLENGE_METHOD _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LOGIN_IP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:55.675819+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LOGIN_IP"

stg_LOGIN_IP.yml (Document the table)

version: 2
models:
- name: stg_LOGIN_IP
  description: The table is about login IP records. It contains details of user login
    attempts, including user ID, source IP address, login date, authentication status,
    and challenge information. Each record represents a single login event with a
    unique ID. The table also includes metadata fields for deletion status and sync
    time.
  columns:
  - name: ID
    description: Unique identifier for each login record
    tests:
    - not_null
  - name: USERS_ID
    description: Unique identifier for the user
    tests:
    - not_null
  - name: SOURCE_IP
    description: IP address from which the login attempt was made
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of the login attempt
    tests:
    - not_null
  - name: IS_AUTHENTICATED
    description: Boolean indicating if authentication was successful
    tests:
    - not_null
  - name: CHALLENGE_SENT_DATE
    description: Timestamp of when a challenge was sent, if applicable
    cocoon_meta:
      missing_reason: Not applicable when no challenge was sent.
  - name: CHALLENGE_METHOD
    description: Method used for authentication challenge, if any
    cocoon_meta:
      missing_reason: Not applicable when authentication doesn't require a challenge.
  - name: _FIVETRAN_DELETED
    description: Boolean flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of when the record was last synced
    tests:
    - not_null
  tests: []

stg_EMAIL_SERVICES_FUNCTION

Table Preview (sample only)

ID IS_ACTIVE FUNCTION_NAME AUTHORIZED_SENDERS IS_AUTHENTICATION_REQUIRED IS_TLS_REQUIRED ATTACHMENT_OPTION OVER_LIMIT_ACTION FUNCTION_INACTIVE_ACTION ADDRESS_INACTIVE_ACTION AUTHENTICATION_FAILURE_ACTION AUTHORIZATION_FAILURE_ACTION IS_ERROR_ROUTING_ENABLED ERROR_ROUTING_ADDRESS IS_TEXT_ATTACHMENTS_AS_BINARY CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_SERVICES_FUNCTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:55.834939+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_SERVICES_FUNCTION"

stg_EMAIL_SERVICES_FUNCTION.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_SERVICES_FUNCTION
  description: The table is about email service functions in a system. It contains
    details such as function name, active status, sender authorization, security settings,
    and attachment handling. Each function has specific actions for various scenarios
    like over-limit, inactive function, and authentication failures. The table also
    includes creation and modification timestamps, and a flag for deletion status.
  columns:
  - name: ID
    description: Unique identifier for the email service function
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the function is currently active
    tests:
    - not_null
  - name: FUNCTION_NAME
    description: Name of the email service function
    tests:
    - not_null
  - name: AUTHORIZED_SENDERS
    description: List of email addresses allowed to use the function
    cocoon_meta:
      missing_reason: Optional field for specifying allowed email senders.
  - name: IS_AUTHENTICATION_REQUIRED
    description: Indicates if authentication is needed
    tests:
    - not_null
  - name: IS_TLS_REQUIRED
    description: Indicates if TLS encryption is required
    tests:
    - not_null
  - name: ATTACHMENT_OPTION
    description: Specifies how attachments are handled
    tests:
    - not_null
  - name: OVER_LIMIT_ACTION
    description: Action taken when email limit is exceeded
    tests:
    - not_null
  - name: FUNCTION_INACTIVE_ACTION
    description: Action taken when function is inactive
    tests:
    - not_null
  - name: ADDRESS_INACTIVE_ACTION
    description: Action taken when email address is inactive
    tests:
    - not_null
  - name: AUTHENTICATION_FAILURE_ACTION
    description: Action taken when authentication fails
    tests:
    - not_null
  - name: AUTHORIZATION_FAILURE_ACTION
    description: Action taken when authorization fails
    tests:
    - not_null
  - name: IS_ERROR_ROUTING_ENABLED
    description: Indicates if error routing is enabled
    tests:
    - not_null
  - name: ERROR_ROUTING_ADDRESS
    description: Email address for routing errors
    cocoon_meta:
      missing_reason: Not needed when IS_ERROR_ROUTING_ENABLED is False.
  - name: IS_TEXT_ATTACHMENTS_AS_BINARY
    description: Treats text attachments as binary
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the function
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when function was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the function
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_DIGITAL_CONTENT_DLM

Table Preview (sample only)

ID SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_ID_C SSOT_NAME_C KQ_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_DIGITAL_CONTENT_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:30:19.627802+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_DIGITAL_CONTENT_DLM"

stg_SSOT_DIGITAL_CONTENT_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_DIGITAL_CONTENT_DLM
  description: The table is about digital content items. It contains identifiers like
    ID, SSOT_ID_C, and KQ_ID_C. The table includes the content name (SSOT_NAME_C)
    and source information (SSOT_DATA_SOURCE_ID_C, SSOT_DATA_SOURCE_OBJECT_ID_C).
    It also has metadata columns for tracking deletions (_FIVETRAN_DELETED) and synchronization
    (_FIVETRAN_SYNCED). This table likely serves as a central repository for digital
    content metadata across different systems.
  columns:
  - name: ID
    description: Unique identifier for the content item
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier for the data source system
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object ID in the source system
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Single Source of Truth identifier
    tests:
    - not_null
  - name: SSOT_NAME_C
    description: Name of the content item
    tests:
    - not_null
  - name: KQ_ID_C
    description: Alternative identifier, possibly for another system
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_TRACKER_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_TRACKER_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:51:18.076374+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_TRACKER_SHARE"

stg_ACTION_CADENCE_TRACKER_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_TRACKER_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PERIOD

Table Preview (sample only)

ID FISCAL_YEAR_SETTINGS_ID TYPE START_DATE END_DATE SYSTEM_MODSTAMP IS_FORECAST_PERIOD QUARTER_LABEL PERIOD_LABEL NUMBER FULLY_QUALIFIED_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERIOD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:13:35.921515+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERIOD"

stg_PERIOD.yml (Document the table)

version: 2
models:
- name: stg_PERIOD
  description: The table is about fiscal periods. It contains details like period
    ID, fiscal year, type (Month or Quarter), start and end dates, forecast status,
    and labels. Each row represents a specific fiscal period with its unique identifier
    and associated information. The table includes system-related fields for tracking
    modifications and syncing.
  columns:
  - name: ID
    description: Unique identifier for the fiscal period
    tests:
    - not_null
  - name: FISCAL_YEAR_SETTINGS_ID
    description: Identifier for the fiscal year settings
    tests:
    - not_null
  - name: TYPE
    description: Type of fiscal period (Month or Quarter)
    tests:
    - not_null
  - name: START_DATE
    description: Start date of the fiscal period
    tests:
    - not_null
  - name: END_DATE
    description: End date of the fiscal period
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last system modification
    tests:
    - not_null
  - name: IS_FORECAST_PERIOD
    description: Indicates if the period is used for forecasting
    tests:
    - not_null
  - name: QUARTER_LABEL
    description: Label for the fiscal quarter
    cocoon_meta:
      missing_reason: Not applicable for Month TYPE records
  - name: PERIOD_LABEL
    description: Label for the fiscal period
    cocoon_meta:
      missing_reason: Not applicable for Quarter TYPE records
  - name: NUMBER
    description: Numeric representation of the period within the year
    tests:
    - not_null
  - name: FULLY_QUALIFIED_LABEL
    description: Complete label including period and fiscal year
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_DATA_ACTION_JOB_SUMMARY_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ACTION_JOB_SUMMARY_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:25.579073+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ACTION_JOB_SUMMARY_SHARE"

stg_DATA_ACTION_JOB_SUMMARY_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_ACTION_JOB_SUMMARY_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ADDITIONAL_NUMBER

Table Preview (sample only)

ID IS_DELETED CALL_CENTER_ID NAME DESCRIPTION PHONE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ADDITIONAL_NUMBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:30.363444+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ADDITIONAL_NUMBER"

stg_ADDITIONAL_NUMBER.yml (Document the table)

version: 2
models:
- name: stg_ADDITIONAL_NUMBER
  description: The table is about additional phone numbers. It contains details like
    ID, call center ID, name, description, and phone number. The table tracks creation
    and modification dates, as well as who created or modified the entry. It includes
    flags for deletion status and system modification timestamp. The table likely
    supports a call center or customer service system.
  columns:
  - name: ID
    description: Unique identifier for each additional phone number entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry has been deleted
    tests:
    - not_null
  - name: CALL_CENTER_ID
    description: Identifier of the associated call center
    tests:
    - not_null
  - name: NAME
    description: Name or label for the additional phone number
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the phone number entry
    tests:
    - not_null
  - name: PHONE
    description: The additional phone number
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CAMPAIGN_SHARE

Table Preview (sample only)

ID CAMPAIGN_ID USER_OR_GROUP_ID CAMPAIGN_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CAMPAIGN_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:00:13.071352+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CAMPAIGN_SHARE"

stg_CAMPAIGN_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CAMPAIGN_SHARE
  description: The table represents the sharing of campaigns with users or groups.
    It links campaigns to users/groups and specifies their access level. Each record
    shows who has access to a campaign, what level of access they have, and why they
    were granted access. It also tracks when and by whom the sharing was last modified,
    and if it has been deleted.
  columns:
  - name: ID
    description: Unique identifier for each sharing record
    tests:
    - not_null
  - name: CAMPAIGN_ID
    description: ID of the campaign being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of user or group receiving access
    tests:
    - not_null
  - name: CAMPAIGN_ACCESS_LEVEL
    description: Level of access granted to the recipient
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for granting access
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_CALL_DISPOSITION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DISPOSITION_CATEGORY_ID DISPOSITION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_DISPOSITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:01.024075+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_DISPOSITION"

stg_CALL_DISPOSITION.yml (Document the table)

version: 2
models:
- name: stg_CALL_DISPOSITION
  description: The table is about call dispositions. It includes system fields like
    ID, creation and modification details. The DISPOSITION_CATEGORY_ID suggests categorization
    of dispositions. The DISPOSITION field likely contains the actual disposition
    outcome. The table tracks deletion status and syncing information, possibly for
    data management purposes.
  columns:
  - name: ID
    description: Unique identifier for each disposition record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: DISPOSITION_CATEGORY_ID
    description: ID of the category the disposition belongs to
    tests:
    - not_null
  - name: DISPOSITION
    description: Actual disposition outcome or result
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag for Fivetran's deletion tracking
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CALCULATED_INSIGHT_RANGE_BOUND

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE INSIGHT_NAME LOWER_BOUND_RANGE UPPER_BOUND_RANGE OPERATOR _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALCULATED_INSIGHT_RANGE_BOUND.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:18.867692+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALCULATED_INSIGHT_RANGE_BOUND"

stg_CALCULATED_INSIGHT_RANGE_BOUND.yml (Document the table)

version: 2
models:
- name: stg_CALCULATED_INSIGHT_RANGE_BOUND
  description: The table is about calculated insight range bounds. It contains metrics
    like return rates, average order values, and conversion rates. Each row defines
    a lower and upper bound for a specific insight. The table includes metadata such
    as creation date, last modification date, and owner ID. It appears to be used
    for setting thresholds or expected ranges for business analytics purposes.
  columns:
  - name: ID
    description: Unique identifier for the insight range
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this insight range
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Descriptive name of the insight range
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    cocoon_meta:
      missing_reason: Not applicable if the record hasn't been viewed yet.
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    cocoon_meta:
      missing_reason: Not applicable if the record hasn't been referenced yet.
  - name: INSIGHT_NAME
    description: Name of the insight being measured
    tests:
    - not_null
  - name: LOWER_BOUND_RANGE
    description: Lower limit of the insight range
    tests:
    - not_null
  - name: UPPER_BOUND_RANGE
    description: Upper limit of the insight range
    tests:
    - not_null
  - name: OPERATOR
    description: Operator used in the insight calculation (if any)
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ACCOUNT_SHARE

Table Preview (sample only)

ID ACCOUNT_ID USER_OR_GROUP_ID ACCOUNT_ACCESS_LEVEL OPPORTUNITY_ACCESS_LEVEL CASE_ACCESS_LEVEL CONTACT_ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCOUNT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:45.778128+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCOUNT_SHARE"

stg_ACCOUNT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ACCOUNT_SHARE
  description: The table is about account sharing permissions. It relates accounts
    to users or groups. The table defines access levels for accounts, opportunities,
    cases, and contacts. It includes information about who modified the sharing, when
    it was modified, and why it was shared. The table also tracks deletion status
    and synchronization details.
  columns:
  - name: ID
    description: Unique identifier for the sharing record
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account being shared
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group receiving access
    tests:
    - not_null
  - name: ACCOUNT_ACCESS_LEVEL
    description: Level of access granted for the account
    tests:
    - not_null
  - name: OPPORTUNITY_ACCESS_LEVEL
    description: Level of access granted for opportunities
    tests:
    - not_null
  - name: CASE_ACCESS_LEVEL
    description: Level of access granted for cases
    tests:
    - not_null
  - name: CONTACT_ACCESS_LEVEL
    description: Level of access granted for contacts
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for granting this sharing access
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ACCOUNT_PARTNER

Table Preview (sample only)

ID ACCOUNT_FROM_ID ACCOUNT_TO_ID OPPORTUNITY_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCOUNT_PARTNER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:38.336373+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCOUNT_PARTNER"

stg_ACCOUNT_PARTNER.yml (Document the table)

version: 2
models:
- name: stg_ACCOUNT_PARTNER
  description: ACCOUNT_PARTNER links accounts and opportunities. It tracks primary
    partnerships. PARTNER likely contains detailed partner information. Both partitions
    relate to business partnerships. They may include partner roles, creation dates,
    and modification details. The system tracks deletions and synchronization.
  columns:
  - name: ID
    description: Unique identifier for the account partner record
    tests:
    - not_null
  - name: ACCOUNT_FROM_ID
    description: ID of the account initiating the partnership
    tests:
    - not_null
  - name: ACCOUNT_TO_ID
    description: ID of the account receiving the partnership
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: ID of the associated opportunity
    tests:
    - not_null
  - name: ROLE
    description: Role of the partner in this relationship
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Indicates if this is the primary partnership
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: REVERSE_PARTNER_ID
    description: ID of the reverse partnership record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_LOGIN

Table Preview (sample only)

ID USER_ID IS_FROZEN IS_PASSWORD_LOCKED LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_LOGIN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:56.829906+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_LOGIN"

stg_USER_LOGIN.yml (Document the table)

version: 2
models:
- name: stg_USER_LOGIN
  description: The table is about user login details. It includes a unique ID for
    each login record and a user ID. It tracks if the account is frozen or password-locked.
    The table also records the last modification date and who made the modification.
    Additional fields indicate if the record was deleted and when it was last synced,
    likely for data management purposes.
  columns:
  - name: ID
    description: Unique identifier for each login record
    tests:
    - not_null
  - name: USER_ID
    description: Unique identifier for each user
    tests:
    - not_null
  - name: IS_FROZEN
    description: Indicates if the account is frozen
    tests:
    - not_null
  - name: IS_PASSWORD_LOCKED
    description: Indicates if the password is locked
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last data sync
    tests:
    - not_null
  tests: []

stg_CASE_CONTACT_ROLE

Table Preview (sample only)

ID CASES_ID CONTACT_ID ROLE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_CONTACT_ROLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:09.325411+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_CONTACT_ROLE"

stg_CASE_CONTACT_ROLE.yml (Document the table)

version: 2
models:
- name: stg_CASE_CONTACT_ROLE
  description: The table represents the Case Contact Role relation. It links cases
    (CASES_ID) with contacts (CONTACT_ID) and specifies their role in the case. Each
    entry has a unique ID and includes creation and modification details. The table
    tracks when and by whom entries were created or modified. It also has fields for
    deletion status and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for each case contact role entry
    tests:
    - not_null
  - name: CASES_ID
    description: Foreign key referencing the associated case
    tests:
    - not_null
  - name: CONTACT_ID
    description: Foreign key referencing the associated contact
    tests:
    - not_null
  - name: ROLE
    description: Specifies the role of the contact in the case
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the entry is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FORMULA_FUNCTION_CATEGORY

Table Preview (sample only)

ID DURABLE_ID NAME LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FORMULA_FUNCTION_CATEGORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:50.233460+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FORMULA_FUNCTION_CATEGORY"

stg_FORMULA_FUNCTION_CATEGORY.yml (Document the table)

version: 2
models:
- name: stg_FORMULA_FUNCTION_CATEGORY
  description: The table is about formula function categories. It contains unique
    identifiers, names, and labels for different function categories. The table also
    tracks if a category has been deleted and when it was last synchronized. This
    structure allows for organizing and categorizing various formula functions within
    a system.
  columns:
  - name: ID
    description: Unique identifier for the function category
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the category
    tests:
    - not_null
  - name: NAME
    description: Name of the function category
    tests:
    - not_null
  - name: LABEL
    description: Display label for the function category
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the category has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:25.146013+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_SHARE"

stg_KNOWLEDGE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FIVETRAN_API_CALL

Table Preview (sample only)

START METHOD URI UPDATE_ID _FIVETRAN_SYNCED

stg_FIVETRAN_API_CALL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:30.077534+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_API_CALL"

stg_FIVETRAN_API_CALL.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_API_CALL
  description: The table is about Salesforce API calls. It contains details of each
    API request. The table includes the start time of the call, HTTP method used,
    URI of the request, an update ID, and a sync timestamp. Most calls are GET requests
    to query Salesforce data. The URIs show different Salesforce objects being queried,
    such as ActionLinkTemplate, Opportunity, and AuthorizationFormConsent. This table
    likely tracks API usage for monitoring or debugging purposes.
  columns:
  - name: START
    description: Timestamp of when the API call started
    tests:
    - not_null
  - name: METHOD
    description: HTTP method used for the API request
    tests:
    - not_null
  - name: URI
    description: Full URL of the Salesforce API endpoint called
    tests:
    - not_null
  - name: UPDATE_ID
    description: Unique identifier for the update operation
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of when the record was synced
    tests:
    - not_null
  tests: []

stg_PROFILE_CALL_LOG_QUICK_ACTION

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROFILE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROFILE_CALL_LOG_QUICK_ACTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:04.097490+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROFILE_CALL_LOG_QUICK_ACTION"

stg_PROFILE_CALL_LOG_QUICK_ACTION.yml (Document the table)

version: 2
models:
- name: stg_PROFILE_CALL_LOG_QUICK_ACTION
  description: The table is about profile call log quick actions. It contains details
    like creation date, last modification date, and associated profile ID. The table
    tracks system metadata such as who created or modified the record and when. It
    also includes fields for synchronization and deletion status, likely used for
    data management purposes.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: PROFILE_ID
    description: ID of the associated profile
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EVENT_WHO_RELATION

Table Preview (sample only)

ID RELATION_ID EVENT_ID ACCOUNT_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_WHO_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:29.215397+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_WHO_RELATION"

stg_EVENT_WHO_RELATION.yml (Document the table)

version: 2
models:
- name: stg_EVENT_WHO_RELATION
  description: The table is about the relationship between events and accounts. It
    links events to accounts through a relation ID. The table includes creation and
    modification details. It tracks who created or modified the entry and when. The
    table also has a type field and deletion status. It appears to be part of a larger
    system with syncing capabilities.
  columns:
  - name: ID
    description: Unique identifier for the relation record
    tests:
    - not_null
  - name: RELATION_ID
    description: Identifier for the specific relation
    tests:
    - not_null
  - name: EVENT_ID
    description: Identifier of the associated event
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: Identifier of the associated account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: TYPE
    description: Type of the relation between event and account
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_TAB_DEFINITION

Table Preview (sample only)

ID DURABLE_ID NAME LABEL IS_CUSTOM SOBJECT_NAME URL IS_AVAILABLE_IN_ALOHA IS_AVAILABLE_IN_LIGHTNING IS_AVAILABLE_IN_MOBILE IS_AVAILABLE_IN_DESKTOP MOBILE_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TAB_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:16.047426+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TAB_DEFINITION"

stg_TAB_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_TAB_DEFINITION
  description: The table is about Salesforce tab definitions. It contains details
    like ID, name, label, and availability across different Salesforce interfaces
    (Aloha, Lightning, Mobile, Desktop). It also includes information on whether the
    tab is custom, its associated sObject name, and URLs for access. The table tracks
    deletion status and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for the tab
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the tab
    tests:
    - not_null
  - name: NAME
    description: API name of the tab
    tests:
    - not_null
  - name: LABEL
    description: Display label for the tab
    tests:
    - not_null
  - name: IS_CUSTOM
    description: Indicates if the tab is custom
    tests:
    - not_null
  - name: SOBJECT_NAME
    description: Name of the associated Salesforce object
    tests:
    - not_null
  - name: URL
    description: Web URL for accessing the tab
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_ALOHA
    description: Availability in Salesforce Classic interface
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_LIGHTNING
    description: Availability in Lightning Experience interface
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_MOBILE
    description: Availability in Salesforce mobile app
    tests:
    - not_null
  - name: IS_AVAILABLE_IN_DESKTOP
    description: Availability in desktop interface
    tests:
    - not_null
  - name: MOBILE_URL
    description: Mobile-specific URL for the tab
    cocoon_meta:
      missing_reason: Not applicable for non-mobile accessible items.
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_FIVETRAN_PICKLIST_FIELD

Table Preview (sample only)

INDEX_ ENTITY_NAME FIELD_NAME _FIVETRAN_SYNCED

stg_FIVETRAN_PICKLIST_FIELD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:51:00.138025+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_PICKLIST_FIELD"

stg_FIVETRAN_PICKLIST_FIELD.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_PICKLIST_FIELD
  description: The table is about ListViewChart configurations. It contains different
    fields related to ListViewChart such as Language, GroupingField, AggregateField,
    AggregateType, and SobjectType. Each row represents a specific field of ListViewChart
    with an index and the time it was last synced. This table likely serves as a reference
    for picklist fields available in ListViewChart entities.
  columns:
  - name: INDEX_
    description: Unique identifier for each row
    tests:
    - not_null
  - name: ENTITY_NAME
    description: Name of the entity, always 'ListViewChart'
    tests:
    - not_null
  - name: FIELD_NAME
    description: Specific field of ListViewChart configuration
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET_LICENSE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PERMISSION_SET_LICENSE_KEY TOTAL_LICENSES STATUS EXPIRATION_DATE MAXIMUM_PERMISSIONS_EMAIL_SINGLE MAXIMUM_PERMISSIONS_EMAIL_MASS MAXIMUM_PERMISSIONS_EDIT_TASK MAXIMUM_PERMISSIONS_EDIT_EVENT MAXIMUM_PERMISSIONS_EXPORT_REPORT MAXIMUM_PERMISSIONS_IMPORT_PERSONAL MAXIMUM_PERMISSIONS_DATA_EXPORT MAXIMUM_PERMISSIONS_MANAGE_USERS MAXIMUM_PERMISSIONS_EDIT_PUBLIC_FILTERS MAXIMUM_PERMISSIONS_EDIT_PUBLIC_TEMPLATES MAXIMUM_PERMISSIONS_MODIFY_ALL_DATA MAXIMUM_PERMISSIONS_EDIT_BILLING_INFO MAXIMUM_PERMISSIONS_MANAGE_CASES MAXIMUM_PERMISSIONS_MASS_INLINE_EDIT MAXIMUM_PERMISSIONS_EDIT_KNOWLEDGE MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE MAXIMUM_PERMISSIONS_TAG_MANAGER MAXIMUM_PERMISSIONS_CUSTOMIZE_APPLICATION MAXIMUM_PERMISSIONS_EDIT_READONLY_FIELDS MAXIMUM_PERMISSIONS_RUN_REPORTS MAXIMUM_PERMISSIONS_VIEW_SETUP MAXIMUM_PERMISSIONS_TRANSFER_ANY_ENTITY MAXIMUM_PERMISSIONS_NEW_REPORT_BUILDER MAXIMUM_PERMISSIONS_IMPORT_LEADS MAXIMUM_PERMISSIONS_MANAGE_LEADS MAXIMUM_PERMISSIONS_TRANSFER_ANY_LEAD MAXIMUM_PERMISSIONS_VIEW_ALL_DATA MAXIMUM_PERMISSIONS_EDIT_PUBLIC_DOCUMENTS MAXIMUM_PERMISSIONS_VIEW_ENCRYPTED_DATA MAXIMUM_PERMISSIONS_EDIT_BRAND_TEMPLATES MAXIMUM_PERMISSIONS_EDIT_HTML_TEMPLATES MAXIMUM_PERMISSIONS_SEND_SIT_REQUESTS MAXIMUM_PERMISSIONS_MANAGE_REMOTE_ACCESS MAXIMUM_PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER MAXIMUM_PERMISSIONS_CONVERT_LEADS MAXIMUM_PERMISSIONS_PASSWORD_NEVER_EXPIRES MAXIMUM_PERMISSIONS_INSTALL_PACKAGING MAXIMUM_PERMISSIONS_PUBLISH_PACKAGING MAXIMUM_PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE MAXIMUM_PERMISSIONS_CREATE_PACKAGING MAXIMUM_PERMISSIONS_MANAGE_CALL_CENTERS MAXIMUM_PERMISSIONS_MANAGE_SYNONYMS MAXIMUM_PERMISSIONS_VIEW_CONTENT MAXIMUM_PERMISSIONS_IS_SSO_ENABLED MAXIMUM_PERMISSIONS_MANAGE_DATA_INTEGRATIONS MAXIMUM_PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP MAXIMUM_PERMISSIONS_VIEW_DATA_CATEGORIES MAXIMUM_PERMISSIONS_MANAGE_DATA_CATEGORIES MAXIMUM_PERMISSIONS_MANAGE_MOBILE MAXIMUM_PERMISSIONS_API_ENABLED MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES MAXIMUM_PERMISSIONS_EDIT_CASE_COMMENTS MAXIMUM_PERMISSIONS_TRANSFER_ANY_CASE MAXIMUM_PERMISSIONS_CONTENT_ADMINISTRATOR MAXIMUM_PERMISSIONS_CREATE_WORKSPACES MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PERMISSIONS MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PROPERTIES MAXIMUM_PERMISSIONS_MANAGE_CONTENT_TYPES MAXIMUM_PERMISSIONS_MANAGE_EXCHANGE_CONFIG MAXIMUM_PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS MAXIMUM_PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS MAXIMUM_PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES MAXIMUM_PERMISSIONS_MANAGE_INTERACTION MAXIMUM_PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS MAXIMUM_PERMISSIONS_RESET_PASSWORDS MAXIMUM_PERMISSIONS_FLOW_UFLREQUIRED MAXIMUM_PERMISSIONS_ACTIVITIES_ACCESS MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT MAXIMUM_PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT MAXIMUM_PERMISSIONS_EMAIL_ADMINISTRATION MAXIMUM_PERMISSIONS_ALLOW_EMAIL_IC MAXIMUM_PERMISSIONS_CHATTER_FILE_LINK MAXIMUM_PERMISSIONS_FORCE_TWO_FACTOR MAXIMUM_PERMISSIONS_MANAGE_NETWORKS MAXIMUM_PERMISSIONS_MANAGE_AUTH_PROVIDERS MAXIMUM_PERMISSIONS_RUN_FLOW MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS MAXIMUM_PERMISSIONS_CREATE_DASHBOARD_FOLDERS MAXIMUM_PERMISSIONS_VIEW_PUBLIC_DASHBOARDS MAXIMUM_PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_REPORTS MAXIMUM_PERMISSIONS_CREATE_REPORT_FOLDERS MAXIMUM_PERMISSIONS_VIEW_PUBLIC_REPORTS MAXIMUM_PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS MAXIMUM_PERMISSIONS_EDIT_MY_DASHBOARDS MAXIMUM_PERMISSIONS_EDIT_MY_REPORTS MAXIMUM_PERMISSIONS_VIEW_ALL_USERS MAXIMUM_PERMISSIONS_ALLOW_UNIVERSAL_SEARCH MAXIMUM_PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_FILTERS MAXIMUM_PERMISSIONS_CONTENT_HUB_USER MAXIMUM_PERMISSIONS_GOVERN_NETWORKS MAXIMUM_PERMISSIONS_TWO_FACTOR_API MAXIMUM_PERMISSIONS_DELETE_TOPICS MAXIMUM_PERMISSIONS_EDIT_TOPICS MAXIMUM_PERMISSIONS_CREATE_TOPICS MAXIMUM_PERMISSIONS_ASSIGN_TOPICS MAXIMUM_PERMISSIONS_IDENTITY_ENABLED MAXIMUM_PERMISSIONS_IDENTITY_CONNECT MAXIMUM_PERMISSIONS_ALLOW_VIEW_KNOWLEDGE MAXIMUM_PERMISSIONS_CONTENT_WORKSPACES MAXIMUM_PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES MAXIMUM_PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS MAXIMUM_PERMISSIONS_VIEW_HELP_LINK MAXIMUM_PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS MAXIMUM_PERMISSIONS_ASSIGN_PERMISSION_SETS MAXIMUM_PERMISSIONS_MANAGE_ROLES MAXIMUM_PERMISSIONS_MANAGE_IP_ADDRESSES MAXIMUM_PERMISSIONS_MANAGE_SHARING MAXIMUM_PERMISSIONS_MANAGE_INTERNAL_USERS MAXIMUM_PERMISSIONS_MANAGE_PASSWORD_POLICIES MAXIMUM_PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES MAXIMUM_PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE MAXIMUM_PERMISSIONS_MANAGE_TWO_FACTOR MAXIMUM_PERMISSIONS_INSIGHTS_APP_USER MAXIMUM_PERMISSIONS_INSIGHTS_APP_ELT_EDITOR MAXIMUM_PERMISSIONS_INSIGHTS_APP_UPLOAD_USER MAXIMUM_PERMISSIONS_INSIGHTS_CREATE_APPLICATION MAXIMUM_PERMISSIONS_LIGHTNING_EXPERIENCE_USER MAXIMUM_PERMISSIONS_SHARE_INTERNAL_ARTICLES MAXIMUM_PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS MAXIMUM_PERMISSIONS_MANAGE_TEMPLATED_APP MAXIMUM_PERMISSIONS_USE_TEMPLATED_APP MAXIMUM_PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE MAXIMUM_PERMISSIONS_IMPORT_CUSTOM_OBJECTS MAXIMUM_PERMISSIONS_SALESFORCE_IQINBOX MAXIMUM_PERMISSIONS_DELEGATED_TWO_FACTOR MAXIMUM_PERMISSIONS_SELECT_FILES_FROM_SALESFORCE MAXIMUM_PERMISSIONS_MODERATE_NETWORK_USERS MAXIMUM_PERMISSIONS_MERGE_TOPICS MAXIMUM_PERMISSIONS_EDIT_IQFIELDS MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS MAXIMUM_PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS MAXIMUM_PERMISSIONS_ALLOW_LIGHTNING_LOGIN MAXIMUM_PERMISSIONS_VIEW_DATA_ASSESSMENT MAXIMUM_PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS MAXIMUM_PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE MAXIMUM_PERMISSIONS_ACCESS_CMC MAXIMUM_PERMISSIONS_ARCHIVE_ARTICLES MAXIMUM_PERMISSIONS_PUBLISH_ARTICLES MAXIMUM_PERMISSIONS_VIEW_HEALTH_CHECK MAXIMUM_PERMISSIONS_MANAGE_HEALTH_CHECK MAXIMUM_PERMISSIONS_PACKAGING_2 MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES MAXIMUM_PERMISSIONS_CREATE_REPORT_IN_LIGHTNING MAXIMUM_PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE MAXIMUM_PERMISSIONS_SUBMIT_FOR_TRANSLATION MAXIMUM_PERMISSIONS_EDIT_TRANSLATION MAXIMUM_PERMISSIONS_PUBLISH_TRANSLATION MAXIMUM_PERMISSIONS_LIST_EMAIL_SEND MAXIMUM_PERMISSIONS_CHANGE_DASHBOARD_COLORS MAXIMUM_PERMISSIONS_HIGH_VELOCITY_SALES_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS MAXIMUM_PERMISSIONS_USE_WEB_LINK MAXIMUM_PERMISSIONS_EDIT_ASEFIELDS MAXIMUM_PERMISSIONS_VIEW_ALL_ACTIVITIES MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS MAXIMUM_PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB MAXIMUM_PERMISSIONS_TRANSACTIONAL_EMAIL_SEND MAXIMUM_PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_FOLDER MAXIMUM_PERMISSIONS_APEX_REST_SERVICES MAXIMUM_PERMISSIONS_GIVE_RECOGNITION_BADGE MAXIMUM_PERMISSIONS_SALESFORCE_IQINTERNAL MAXIMUM_PERMISSIONS_USE_MY_SEARCH MAXIMUM_PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM MAXIMUM_PERMISSIONS_MANAGE_SUBSCRIPTIONS MAXIMUM_PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE MAXIMUM_PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS MAXIMUM_PERMISSIONS_USE_ASSISTANT_DIALOG MAXIMUM_PERMISSIONS_USE_QUERY_SUGGESTIONS MAXIMUM_PERMISSIONS_VIEW_ROLES MAXIMUM_PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM MAXIMUM_PERMISSIONS_MODIFY_DATA_CLASSIFICATION MAXIMUM_PERMISSIONS_PRIVACY_DATA_ACCESS MAXIMUM_PERMISSIONS_QUERY_ALL_FILES MAXIMUM_PERMISSIONS_MODIFY_METADATA MAXIMUM_PERMISSIONS_MANAGE_CMS MAXIMUM_PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP MAXIMUM_PERMISSIONS_CAN_EDIT_PROMPTS MAXIMUM_PERMISSIONS_VIEW_USER_PII MAXIMUM_PERMISSIONS_VIEW_DRAFT_ARTICLES MAXIMUM_PERMISSIONS_VIEW_ARCHIVED_ARTICLES MAXIMUM_PERMISSIONS_MANAGE_HUB_CONNECTIONS MAXIMUM_PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER MAXIMUM_PERMISSIONS_TRACE_XDS_QUERIES MAXIMUM_PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS MAXIMUM_PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES MAXIMUM_PERMISSIONS_HEADLESS_CMSACCESS MAXIMUM_PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM MAXIMUM_PERMISSIONS_CONSENT_API_UPDATE MAXIMUM_PERMISSIONS_PAYMENTS_APIUSER MAXIMUM_PERMISSIONS_MANAGE_C_360_ACONNECTIONS MAXIMUM_PERMISSIONS_MANAGE_RELEASE_UPDATES MAXIMUM_PERMISSIONS_VIEW_ALL_PROFILES MAXIMUM_PERMISSIONS_SKIP_IDENTITY_CONFIRMATION MAXIMUM_PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS MAXIMUM_PERMISSIONS_PACKAGING_2_DELETE MAXIMUM_PERMISSIONS_ACCESS_CDP_DATA_EXPLORER MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER MAXIMUM_PERMISSIONS_MANAGE_PREFERENCE_CENTER MAXIMUM_PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM MAXIMUM_PERMISSIONS_QUIP_METRICS_ACCESS MAXIMUM_PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS MAXIMUM_PERMISSIONS_CHANGE_TARGET_ASSIGNEE MAXIMUM_PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS MAXIMUM_PERMISSIONS_MANAGE_EMAIL_CONTENT MAXIMUM_PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO MAXIMUM_PERMISSIONS_NATIVE_WEBVIEW_SCROLLING MAXIMUM_PERMISSIONS_VIEW_DEVELOPER_NAME MAXIMUM_PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS MAXIMUM_PERMISSIONS_CLIENT_SECRET_ROTATION MAXIMUM_PERMISSIONS_ACCESS_TO_SERVICE_PROCESS MAXIMUM_PERMISSIONS_CMSECEAUTHORING_ACCESS MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER MAXIMUM_PERMISSIONS_MANAGE_DATASPACE_SCOPE MAXIMUM_PERMISSIONS_CONFIGURE_DATASPACE_SCOPE MAXIMUM_PERMISSIONS_MANAGE_CAMPAIGNS MAXIMUM_PERMISSIONS_CDC_REPORTING_CREATE_REPORTS MAXIMUM_PERMISSIONS_CDC_REPORTING_VIEW_REPORTS MAXIMUM_PERMISSIONS_ACCESS_GENIE_PLATFORM MAXIMUM_PERMISSIONS_ACCESS_SEGMENT MAXIMUM_PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP MAXIMUM_PERMISSIONS_CREATE_STANDARD_CADENCE MAXIMUM_PERMISSIONS_CREATE_QUICK_CADENCE MAXIMUM_PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_MEET_USER MAXIMUM_PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE MAXIMUM_PERMISSIONS_VIEW_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_DELETE_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_MANAGE_NAMED_CREDENTIALS MAXIMUM_PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER MAXIMUM_PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_AUTHORIZE_PAYMENTS MAXIMUM_PERMISSIONS_CONFIGURE_PAYMENTS MAXIMUM_PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS MAXIMUM_PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS MAXIMUM_PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS MAXIMUM_PERMISSIONS_REFUND_PAYMENTS MAXIMUM_PERMISSIONS_VIEW_PAYMENTS MAXIMUM_PERMISSIONS_MAKE_PAYMENTS MAXIMUM_PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE MAXIMUM_PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS MAXIMUM_PERMISSIONS_DIGITAL_LENDING_USER MAXIMUM_PERMISSIONS_SEND_EMAIL MAXIMUM_PERMISSIONS_PREVIEW_TEST_SEND_EMAIL MAXIMUM_PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP MAXIMUM_PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP MAXIMUM_PERMISSIONS_ENABLE_IPFSUPLOAD MAXIMUM_PERMISSIONS_ENABLE_BCTRANSACTION_POLLING MAXIMUM_PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS MAXIMUM_PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER MAXIMUM_PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER MAXIMUM_PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT MAXIMUM_PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT MAXIMUM_PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT MAXIMUM_PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS MAXIMUM_PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE MAXIMUM_PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER MAXIMUM_PERMISSIONS_SEGMENT_INTELLIGENCE_USER MAXIMUM_PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER MAXIMUM_PERMISSIONS_DIGITAL_LENDING_ADMIN_USER MAXIMUM_PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS MAXIMUM_PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS MAXIMUM_PERMISSIONS_PERSONALIZATION_PLATFORM MAXIMUM_PERMISSIONS_ACCESS_DISPUTE_PROMPTS USED_LICENSES MIGRATABLE_LICENSES IS_AVAILABLE_FOR_INTEGRATIONS LICENSE_EXPIRATION_POLICY IS_SUPPLEMENT_LICENSE _FIVETRAN_DELETED _FIVETRAN_SYNCED MAXIMUM_PERMISSIONS_ACCESS_SERVICE_EINSTEIN MAXIMUM_PERMISSIONS_PERSONALIZATION_INTEL_USER MAXIMUM_PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_DIGITAL_LENDING_WORKBENCH MAXIMUM_PERMISSIONS_MANAGE_CDP_ML_MODELS MAXIMUM_PERMISSIONS_METADATA_STUDIO_USER MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_DOMAINS MAXIMUM_PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_USER_HAS_STARTER_DCRACCESS MAXIMUM_PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_FREEZE_USERS MAXIMUM_PERMISSIONS_MANAGE_ACCESS_POLICIES MAXIMUM_PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY MAXIMUM_PERMISSIONS_HEADLESS_PUBLISH_NUDGES MAXIMUM_PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW MAXIMUM_PERMISSIONS_MONITOR_LOGIN_HISTORY MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION MAXIMUM_PERMISSIONS_VIEW_ALL_CALLS

stg_PERMISSION_SET_LICENSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:18:30.211010+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_LICENSE"

stg_PERMISSION_SET_LICENSE.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_LICENSE
  description: The table is about Permission Set Licenses. It contains details like
    ID, name, status, expiration date, and maximum permissions for various Salesforce
    features. Each row represents a different license type with its specific set of
    allowed permissions. The table tracks which capabilities are enabled or disabled
    for each license, covering a wide range of Salesforce functionalities.
  columns:
  - name: ID
    description: Unique identifier for the Permission Set License
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the Permission Set License
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the Permission Set License
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the Permission Set License
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: PERMISSION_SET_LICENSE_KEY
    description: Unique key for the Permission Set License
    tests:
    - not_null
  - name: TOTAL_LICENSES
    description: Total number of licenses available
    tests:
    - not_null
  - name: STATUS
    description: Current status of the Permission Set License
    tests:
    - not_null
  - name: EXPIRATION_DATE
    description: Date when the Permission Set License expires
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EMAIL_SINGLE
    description: Permission to send single emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EMAIL_MASS
    description: Permission to send mass emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_TASK
    description: Permission to edit tasks
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_EVENT
    description: Permission to edit events
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EXPORT_REPORT
    description: Permission to export reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IMPORT_PERSONAL
    description: Permission to import personal data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DATA_EXPORT
    description: Permission to export data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_USERS
    description: Permission to manage users
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_PUBLIC_FILTERS
    description: Permission to edit public filters
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_PUBLIC_TEMPLATES
    description: Permission to edit public templates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MODIFY_ALL_DATA
    description: Permission to modify all data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_BILLING_INFO
    description: Permission to edit billing information
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CASES
    description: Permission to manage cases
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MASS_INLINE_EDIT
    description: Permission to perform mass inline edits
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_KNOWLEDGE
    description: Permission to edit knowledge articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE
    description: Permission to manage knowledge base
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TAG_MANAGER
    description: Permission to manage tags
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CUSTOMIZE_APPLICATION
    description: Permission to customize the application
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_READONLY_FIELDS
    description: Permission to edit read-only fields
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_RUN_REPORTS
    description: Permission to run reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_SETUP
    description: Permission to view setup pages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TRANSFER_ANY_ENTITY
    description: Permission to transfer any entity
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_NEW_REPORT_BUILDER
    description: Permission to use new report builder
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IMPORT_LEADS
    description: Permission to import leads
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_LEADS
    description: Permission to manage leads
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TRANSFER_ANY_LEAD
    description: Permission to transfer any lead
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_DATA
    description: Permission to view all data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_PUBLIC_DOCUMENTS
    description: Permission to edit public documents
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ENCRYPTED_DATA
    description: Permission to view encrypted data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_BRAND_TEMPLATES
    description: Permission to edit brand templates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_HTML_TEMPLATES
    description: Permission to edit HTML templates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SEND_SIT_REQUESTS
    description: Permission to send SIT requests
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_REMOTE_ACCESS
    description: Permission to manage remote access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CAN_USE_NEW_DASHBOARD_BUILDER
    description: Permission to use new dashboard builder
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONVERT_LEADS
    description: Permission to convert leads
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PASSWORD_NEVER_EXPIRES
    description: Permission for non-expiring password
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_INSTALL_PACKAGING
    description: Permission to install packages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PUBLISH_PACKAGING
    description: Permission to publish packages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_OPP_LINE_ITEM_UNIT_PRICE
    description: Permission to edit opportunity line item prices
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_PACKAGING
    description: Permission to create packages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CALL_CENTERS
    description: Permission to manage call centers
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_SYNONYMS
    description: Permission to manage synonyms
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_CONTENT
    description: Permission to view content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IS_SSO_ENABLED
    description: Permission for Single Sign-On
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_DATA_INTEGRATIONS
    description: Permission to manage data integrations
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DISTRIBUTE_FROM_PERS_WKSP
    description: Permission to distribute from personal workspace
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_DATA_CATEGORIES
    description: Permission to view data categories
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_DATA_CATEGORIES
    description: Permission to manage data categories
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_MOBILE
    description: Permission to manage mobile settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_API_ENABLED
    description: Permission to use Salesforce API
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_REPORT_TYPES
    description: Permission to manage custom report types
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_CASE_COMMENTS
    description: Permission to edit case comments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TRANSFER_ANY_CASE
    description: Permission to transfer any case
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONTENT_ADMINISTRATOR
    description: Permission to administer content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_WORKSPACES
    description: Permission to create workspaces
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PERMISSIONS
    description: Permission to manage content permissions
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CONTENT_PROPERTIES
    description: Permission to manage content properties
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CONTENT_TYPES
    description: Permission to manage content types
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_EXCHANGE_CONFIG
    description: Permission to manage Exchange configuration
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_BUSINESS_HOUR_HOLIDAYS
    description: Permission to manage business hours and holidays
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_DYNAMIC_DASHBOARDS
    description: Permission to manage dynamic dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CUSTOM_SIDEBAR_ON_ALL_PAGES
    description: Permission for custom sidebar on all pages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_INTERACTION
    description: Permission to manage interaction settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_MY_TEAMS_DASHBOARDS
    description: Permission to view team dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_RESET_PASSWORDS
    description: Permission to reset user passwords
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_FLOW_UFLREQUIRED
    description: Permission for Flow User Field Level Security
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACTIVITIES_ACCESS
    description: Permission to access activities
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_KNOWLEDGE_IMPORT_EXPORT
    description: Permission to manage knowledge import/export
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EMAIL_TEMPLATE_MANAGEMENT
    description: Permission to manage email templates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EMAIL_ADMINISTRATION
    description: Permission for email administration
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ALLOW_EMAIL_IC
    description: Permission to allow email Insecure Content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CHATTER_FILE_LINK
    description: Permission to create Chatter file links
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_FORCE_TWO_FACTOR
    description: Permission to enforce two-factor authentication
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_NETWORKS
    description: Permission to manage communities/networks
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_AUTH_PROVIDERS
    description: Permission to manage authentication providers
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_RUN_FLOW
    description: Permission to run flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_DASHBOARDS
    description: Permission to create and customize dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_DASHBOARD_FOLDERS
    description: Permission to create dashboard folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_PUBLIC_DASHBOARDS
    description: Permission to view public dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_DASHBDS_IN_PUB_FOLDERS
    description: Permission to manage dashboards in public folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_REPORTS
    description: Permission to create and customize reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_REPORT_FOLDERS
    description: Permission to create report folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_PUBLIC_REPORTS
    description: Permission to view public reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_REPORTS_IN_PUB_FOLDERS
    description: Permission to manage reports in public folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_MY_DASHBOARDS
    description: Permission to edit own dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_MY_REPORTS
    description: Permission to edit own reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_USERS
    description: Permission to view all users
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ALLOW_UNIVERSAL_SEARCH
    description: Permission to use universal search
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONNECT_ORG_TO_ENVIRONMENT_HUB
    description: Permission to connect org to Environment Hub
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_CUSTOMIZE_FILTERS
    description: Permission to create and customize filters
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONTENT_HUB_USER
    description: Permission to access Content Hub
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_GOVERN_NETWORKS
    description: Permission to govern networks
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TWO_FACTOR_API
    description: Permission to use two-factor API
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DELETE_TOPICS
    description: Permission to delete topics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_TOPICS
    description: Permission to edit topics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_TOPICS
    description: Permission to create topics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ASSIGN_TOPICS
    description: Permission to assign topics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IDENTITY_ENABLED
    description: Permission to use Identity features
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IDENTITY_CONNECT
    description: Permission to use Identity Connect
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ALLOW_VIEW_KNOWLEDGE
    description: Permission to view Knowledge articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONTENT_WORKSPACES
    description: Permission to use Content Workspaces
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_SEARCH_PROMOTION_RULES
    description: Permission to manage search promotion rules
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CUSTOM_MOBILE_APPS_ACCESS
    description: Permission to access custom mobile apps
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_HELP_LINK
    description: Permission to view help link
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_PROFILES_PERMISSIONSETS
    description: Permission to manage profiles and permission sets
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ASSIGN_PERMISSION_SETS
    description: Permission to assign permission sets
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_ROLES
    description: Permission to manage user roles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_IP_ADDRESSES
    description: Permission to manage IP address restrictions
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_SHARING
    description: Permission to manage sharing settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_INTERNAL_USERS
    description: Permission to manage internal user accounts
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_PASSWORD_POLICIES
    description: Permission to manage password policies
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_LOGIN_ACCESS_POLICIES
    description: Permission to manage login access policies
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_STD_AUTOMATIC_ACTIVITY_CAPTURE
    description: Permission for standard automatic activity capture
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_TWO_FACTOR
    description: Permission to manage two-factor authentication
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_INSIGHTS_APP_USER
    description: Permission to use Insights app
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_INSIGHTS_APP_ELT_EDITOR
    description: Permission to edit Insights app ELT
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_INSIGHTS_APP_UPLOAD_USER
    description: Permission to upload data to Insights app
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_INSIGHTS_CREATE_APPLICATION
    description: Permission to create Insights applications
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LIGHTNING_EXPERIENCE_USER
    description: Permission to use Lightning Experience
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SHARE_INTERNAL_ARTICLES
    description: Permission to share internal knowledge articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_SESSION_PERMISSION_SETS
    description: Permission to manage session-based permission sets
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_TEMPLATED_APP
    description: Permission to manage templated apps
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USE_TEMPLATED_APP
    description: Permission to use templated apps
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_AUTOMATIC_ACTIVITY_CAPTURE
    description: Permission for automatic activity capture
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_IMPORT_CUSTOM_OBJECTS
    description: Permission to import custom objects
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SALESFORCE_IQINBOX
    description: Permission to use Salesforce IQ Inbox
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DELEGATED_TWO_FACTOR
    description: Permission for delegated two-factor authentication
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SELECT_FILES_FROM_SALESFORCE
    description: Permission to select files from Salesforce
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MODERATE_NETWORK_USERS
    description: Permission to moderate network users
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MERGE_TOPICS
    description: Permission to merge topics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_IQFIELDS
    description: Permission to edit IQ fields
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_REPORTS
    description: Permission to subscribe to Lightning reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_PVT_RPTS_AND_DASHBDS
    description: Permission to manage private reports and dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ALLOW_LIGHTNING_LOGIN
    description: Permission to allow Lightning Login
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_DATA_ASSESSMENT
    description: Permission to view data assessment
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ALLOW_VIEW_EDIT_CONVERTED_LEADS
    description: Permission to view and edit converted leads
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SHOW_COMPANY_NAME_AS_USER_BADGE
    description: Permission to display company name as user badge
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_CMC
    description: Permission to access Content Management Center
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ARCHIVE_ARTICLES
    description: Permission to archive knowledge articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PUBLISH_ARTICLES
    description: Permission to publish knowledge articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_HEALTH_CHECK
    description: Permission to view Health Check dashboard
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_HEALTH_CHECK
    description: Permission to manage Health Check settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PACKAGING_2
    description: Permission for second-generation packaging
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES
    description: Permission to manage security certificates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_REPORT_IN_LIGHTNING
    description: Permission to create reports in Lightning Experience
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PREVENT_CLASSIC_EXPERIENCE
    description: Permission to restrict access to Classic interface
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBMIT_FOR_TRANSLATION
    description: Permission to submit content for translation
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_TRANSLATION
    description: Permission to edit translated content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PUBLISH_TRANSLATION
    description: Permission to publish translated content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LIST_EMAIL_SEND
    description: Permission to send list emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CHANGE_DASHBOARD_COLORS
    description: Permission to modify dashboard color schemes
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_HIGH_VELOCITY_SALES_USER
    description: Permission to use High Velocity Sales
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_ROLES_GRPS
    description: Permission to subscribe reports to roles/groups
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_ROLES_GRPS
    description: Permission to subscribe dashboards to roles/groups
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USE_WEB_LINK
    description: Permission to use web links
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_EDIT_ASEFIELDS
    description: Permission to edit ASE fields
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_ACTIVITIES
    description: Permission to view all activities
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORT_TO_OTHER_USERS
    description: Permission to subscribe reports to other users
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LIGHTNING_CONSOLE_ALLOWED_FOR_USER
    description: Permission to use Lightning Console
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_REPORTS_RUN_AS_USER
    description: Permission to subscribe to reports as user
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_TO_LIGHTNING_DASHBOARDS
    description: Permission to subscribe to Lightning dashboards
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SUBSCRIBE_DASHBOARD_TO_OTHER_USERS
    description: Permission to subscribe dashboards to other users
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_IN_PUB
    description: Permission to create Lightning templates in public
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TRANSACTIONAL_EMAIL_SEND
    description: Permission to send transactional emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_PRIVATE_STATIC_RESOURCES
    description: Permission to view private static resources
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_LTNG_TEMP_FOLDER
    description: Permission to create Lightning template folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_APEX_REST_SERVICES
    description: Allows access to Apex REST services
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_GIVE_RECOGNITION_BADGE
    description: Permits giving recognition badges to others
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SALESFORCE_IQINTERNAL
    description: Enables internal Salesforce IQ features
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USE_MY_SEARCH
    description: Allows use of personalized search feature
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LTNG_PROMO_RESERVED_01_USER_PERM
    description: Reserved Lightning promotion permission
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_SUBSCRIPTIONS
    description: Enables management of subscriptions
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CAN_EDIT_DATA_PREP_RECIPE
    description: Allows editing of data preparation recipes
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_ANALYTICS_REMOTE_CONNECTIONS
    description: Permits adding remote connections for analytics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USE_ASSISTANT_DIALOG
    description: Enables use of assistant dialog feature
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USE_QUERY_SUGGESTIONS
    description: Allows use of query suggestions
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ROLES
    description: Permits viewing of user roles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LMOUTBOUND_MESSAGING_USER_PERM
    description: Allows outbound messaging for LiveMessage
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MODIFY_DATA_CLASSIFICATION
    description: Enables modification of data classification
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PRIVACY_DATA_ACCESS
    description: Permits access to privacy data
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_QUERY_ALL_FILES
    description: Allows querying all files
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MODIFY_METADATA
    description: Enables modification of metadata
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CMS
    description: Allows management of Content Management System
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SANDBOX_TESTING_IN_COMMUNITY_APP
    description: Permits sandbox testing in community app
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CAN_EDIT_PROMPTS
    description: Allows editing of prompts
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_USER_PII
    description: Permits viewing of user's PII
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_DRAFT_ARTICLES
    description: Allows viewing of draft articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ARCHIVED_ARTICLES
    description: Permits viewing of archived articles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_HUB_CONNECTIONS
    description: Enables management of hub connections
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_B_2_BMARKETING_ANALYTICS_USER
    description: Allows B2B marketing analytics usage
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_TRACE_XDS_QUERIES
    description: Permits tracing of XDS queries
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_CUSTOM_SETTINGS
    description: Allows viewing all custom settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_FOREIGN_KEY_NAMES
    description: Permits viewing all foreign key names
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_HEADLESS_CMSACCESS
    description: Enables headless CMS access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LMEND_MESSAGING_SESSION_USER_PERM
    description: Allows ending LiveMessage sessions
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONSENT_API_UPDATE
    description: Permits updates via Consent API
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PAYMENTS_APIUSER
    description: Permission to use Payments API
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_C_360_ACONNECTIONS
    description: Manage Customer 360 Audience connections
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_RELEASE_UPDATES
    description: Manage Salesforce release updates
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_PROFILES
    description: View all user profiles
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SKIP_IDENTITY_CONFIRMATION
    description: Skip identity confirmation steps
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SEND_CUSTOM_NOTIFICATIONS
    description: Send custom notifications
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PACKAGING_2_DELETE
    description: Delete second-generation packages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_CDP_DATA_EXPLORER
    description: Access Customer Data Platform explorer
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_ZOOM_USER
    description: Use Zoom for video conferencing
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_PREFERENCE_CENTER
    description: Manage preference center
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SALESFORCE_MEETINGS_USER_PERM
    description: Use Salesforce Meetings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_QUIP_METRICS_ACCESS
    description: Access Quip metrics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_QUIP_USER_ENGAGEMENT_METRICS
    description: View Quip user engagement metrics
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CHANGE_TARGET_ASSIGNEE
    description: Change target assignee
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_EXTERNAL_CONNECTIONS
    description: Manage external connections
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_EMAIL_CONTENT
    description: Manage email content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_GLOBAL_PRIVACY_CENTER_VO
    description: Manage global privacy center
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_NATIVE_WEBVIEW_SCROLLING
    description: Enable native webview scrolling
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_DEVELOPER_NAME
    description: View developer names
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_BYPASS_MFAFOR_UI_LOGINS
    description: Bypass MFA for UI logins
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CLIENT_SECRET_ROTATION
    description: Rotate client secrets
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_TO_SERVICE_PROCESS
    description: Access service processes
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CMSECEAUTHORING_ACCESS
    description: Access CMS ECE authoring
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_TEAMS_USER
    description: Use Microsoft Teams for conferencing
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_DATASPACE_SCOPE
    description: Manage dataspace scope
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONFIGURE_DATASPACE_SCOPE
    description: Configure dataspace scope
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CAMPAIGNS
    description: Manage marketing campaigns
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CDC_REPORTING_CREATE_REPORTS
    description: Create CDC reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CDC_REPORTING_VIEW_REPORTS
    description: View CDC reports
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_GENIE_PLATFORM
    description: Access Genie platform
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_SEGMENT
    description: Permission to access segments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_CUSTOMER_DATA_CLOUD_SETUP
    description: Permission to access Customer Data Cloud setup
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_STANDARD_CADENCE
    description: Permission to create standard cadences
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_QUICK_CADENCE
    description: Permission to create quick cadences
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CDC_REPORTING_MANAGE_FOLDERS
    description: Permission to manage CDC reporting folders
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIDEO_CONFERENCE_MEET_USER
    description: Permission to use video conferencing
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DELETE_CR_MEMO_AND_INVOICE
    description: Permission to delete credit memos and invoices
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_NON_SETUP_FLOW
    description: Permission to view non-setup flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_EDIT_NON_SETUP_FLOW
    description: Permission to create/edit non-setup flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DELETE_NON_SETUP_FLOW
    description: Permission to delete non-setup flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACTIVATE_DEACTIVATE_NON_SETUP_FLOW
    description: Permission to activate/deactivate non-setup flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CREATE_MOD_SGMT_TRIG_NON_SETUP_FLOW
    description: Permission to create segment triggers in flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_DECISION_ELMNT_NON_SETUP_FLOW
    description: Permission to add decision elements to flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_CREA_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add create record elements
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_WAIT_TO_NON_SETUP_FLOW
    description: Permission to add wait elements to flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_NAMED_CREDENTIALS
    description: Permission to manage named credentials
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_CDP_PROFILE_EXPLORER
    description: Permission to access CDP Profile Explorer
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_UPDT_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add update record elements
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_AUTHORIZE_PAYMENTS
    description: Permission to authorize payments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONFIGURE_PAYMENTS
    description: Permission to configure payment settings
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CONFIGURE_MERCHANT_ACCOUNTS
    description: Permission to configure merchant accounts
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CAPTURE_AND_REVERSE_PAYMENTS
    description: Permission to capture and reverse payments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_COMB_AUTH_AND_CAP_PAYMENTS
    description: Permission to combine auth and capture payments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_REFUND_PAYMENTS
    description: Permission to refund payments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_PAYMENTS
    description: Permission to view payment information
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MAKE_PAYMENTS
    description: Permission to make payments
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CAN_UPDATE_EMAIL_MESSAGE
    description: Permission to update email messages
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DOWNLOAD_PACKAGE_VERSION_ZIPS
    description: Permission to download package version zips
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DIGITAL_LENDING_USER
    description: Permission for digital lending user access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SEND_EMAIL
    description: Permission to send emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PREVIEW_TEST_SEND_EMAIL
    description: Permission to preview and test send emails
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_EMAIL_MESSAGING_SETUP
    description: Permission to manage email messaging setup
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_EMAIL_MESSAGING_SETUP
    description: Permission to view email messaging setup
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ENABLE_IPFSUPLOAD
    description: Permission to enable IPFS upload
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ENABLE_BCTRANSACTION_POLLING
    description: Permission to enable blockchain transaction polling
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_LOBBY_MANAGEMENT_USER_ACCESS
    description: Permission for lobby management user access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SIMPLE_CSV_DATA_IMPORT_USER
    description: Permission for simple CSV data import
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADVANCED_CSV_DATA_IMPORT_USER
    description: Permission for advanced CSV data import
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_UMA_QUERY_CMSEMAIL_CONTENT
    description: Permission to query CMS email content
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_TO_COMPLAINT_MGMT
    description: Permission to access complaint management
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_TO_DISPUTE_MANAGEMENT
    description: Permission to access dispute management
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PERSONALIZED_FINANCE_USER_ACCESS
    description: Permission for personalized finance user access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_CUSTOM_APPS_ON_FSMOBILE
    description: Permission for custom apps on mobile
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_STAGE_MANAGEMENT_DESIGN_USER
    description: Permission for stage management design
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_SEGMENT_INTELLIGENCE_USER
    description: Permission for segment intelligence user
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_FSCARC_GRAPH_COMMUNITY_USER
    description: Permission for FSCARC graph community user
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DIGITAL_LENDING_ADMIN_USER
    description: Permission for digital lending admin user
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACTIVATE_SYSTEM_MODE_FLOWS
    description: Permission to activate system mode flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_NON_SETUP_FLOWS
    description: Permission to view all non-setup flows
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PERSONALIZATION_PLATFORM
    description: Permission for personalization platform
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_DISPUTE_PROMPTS
    description: Permission to access dispute prompts
    tests:
    - not_null
  - name: USED_LICENSES
    description: Number of licenses currently in use
    tests:
    - not_null
  - name: MIGRATABLE_LICENSES
    description: Number of licenses that can be migrated
    tests:
    - not_null
  - name: IS_AVAILABLE_FOR_INTEGRATIONS
    description: Availability for integrations
    tests:
    - not_null
  - name: LICENSE_EXPIRATION_POLICY
    description: Policy for license expiration
    cocoon_meta:
      missing_reason: Not applicable for licenses without expiration policies.
  - name: IS_SUPPLEMENT_LICENSE
    description: Indicates if it's a supplement license
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ACCESS_SERVICE_EINSTEIN
    description: Permission to access Service Einstein
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_PERSONALIZATION_INTEL_USER
    description: Permission for personalization intelligence user
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_COLL_SRT_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add collection sort element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DIGITAL_LENDING_WORKBENCH
    description: Permission to access digital lending workbench
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CDP_ML_MODELS
    description: Permission to manage Customer Data Platform ML models
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_METADATA_STUDIO_USER
    description: Permission to use Metadata Studio
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CUSTOM_DOMAINS
    description: Permission to manage custom domains
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_SUBFLOW_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add subflow element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_USER_HAS_STARTER_DCRACCESS
    description: Permission for starter DCR access
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_ASGNT_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add assignment element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_FREEZE_USERS
    description: Permission to freeze user accounts
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_ACCESS_POLICIES
    description: Permission to manage access policies
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_DIGITAL_LENDING_EDIT_READ_ONLY
    description: Permission to edit read-only fields in digital lending
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_HEADLESS_PUBLISH_NUDGES
    description: Permission to publish headless nudges
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_GET_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add get record element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_DEL_REC_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add delete record element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_LOOP_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add loop element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_ADD_COLL_FLTR_ELMNT_TO_NON_SETUP_FLOW
    description: Permission to add collection filter element to non-setup flow
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MONITOR_LOGIN_HISTORY
    description: Permission to monitor login history
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_MANAGE_CERTIFICATES_EXPIRATION
    description: Permission to manage certificate expirations
    tests:
    - not_null
  - name: MAXIMUM_PERMISSIONS_VIEW_ALL_CALLS
    description: Permission to view all calls
    tests:
    - not_null
  tests: []

stg_PLATFORM_EVENT_USAGE_METRIC

Table Preview (sample only)

ID EXTERNAL_ID NAME START_DATE END_DATE VALUE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PLATFORM_EVENT_USAGE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:18:53.653053+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PLATFORM_EVENT_USAGE_METRIC"

stg_PLATFORM_EVENT_USAGE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_PLATFORM_EVENT_USAGE_METRIC
  description: The table is about platform event usage metrics. It tracks event metrics
    with unique IDs, names, start and end dates, and values. The table includes fields
    for external IDs, deletion status, and synchronization timestamps. It specifically
    captures data like "CHANGE_EVENTS_PUBLISHED" with corresponding numeric values
    over defined time periods.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier (if any)
    cocoon_meta:
      missing_reason: Not required for internal system-generated identifiers.
  - name: NAME
    description: Name of the event metric being tracked
    tests:
    - not_null
  - name: START_DATE
    description: Start date and time of the measurement period
    tests:
    - not_null
  - name: END_DATE
    description: End date and time of the measurement period
    tests:
    - not_null
  - name: VALUE_
    description: Numeric value of the measured metric
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_CUSTOM_NOTIFICATION_TYPE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_NOTIF_TYPE_NAME DESCRIPTION DESKTOP MOBILE IS_SLACK _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_NOTIFICATION_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:20.883340+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_NOTIFICATION_TYPE"

stg_CUSTOM_NOTIFICATION_TYPE.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_NOTIFICATION_TYPE
  description: The table is about custom notification types in a system. It includes
    details like ID, name, language, label, and creation information. The table tracks
    whether notifications are for desktop, mobile, or Slack. It also stores metadata
    like creation date, last modified date, and system timestamp. The table allows
    for soft deletion and namespace prefixing, likely for multi-tenant systems or
    package management.
  columns:
  - name: ID
    description: Unique identifier for the custom notification type
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been soft deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the custom notification type
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the notification type
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the notification type
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for package management
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: CUSTOM_NOTIF_TYPE_NAME
    description: Name of the custom notification type
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the notification type
    tests:
    - not_null
  - name: DESKTOP
    description: Indicates if the notification is for desktop
    tests:
    - not_null
  - name: MOBILE
    description: Indicates if the notification is for mobile
    tests:
    - not_null
  - name: IS_SLACK
    description: Indicates if the notification is for Slack
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_LEAD_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LEAD_ID MONTH_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT ALL_EMAILS_UNTRACKED_SENT_COUNT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:58:56.062938+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD_MONTHLY_METRIC"

stg_LEAD_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_LEAD_MONTHLY_METRIC
  description: The table is about lead metrics tracked monthly. It contains various
    email and call engagement statistics for each lead. Metrics include email counts
    (sent, bounced, opened, replied), call outcomes (connected, not interested, voicemail),
    and link click data. Each row represents a specific lead's metrics for a given
    month, identified by LEAD_ID and MONTH_ fields. The table also includes system
    fields for tracking record creation and modification.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LEAD_ID
    description: Unique identifier for the lead
    tests:
    - not_null
  - name: MONTH_
    description: Month for which metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls with not interested response
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls with unqualified leads
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls scheduled for callback
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Number of untracked emails sent
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable emails sent for link clicks
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable emails sent for opens
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable emails sent for replies
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent that soft bounced
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent that hard bounced
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of trackable emails sent that got OOO replies
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag for data synchronization
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_LEAD_DAILY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LEAD_ID DATE_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT DAILY_CUT_OFF_TIME_STAMP ALL_EMAILS_UNTRACKED_SENT_COUNT DATE_INT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD_DAILY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:58:13.729814+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD_DAILY_METRIC"

stg_LEAD_DAILY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_LEAD_DAILY_METRIC
  description: The table is about daily metrics for sales leads. It tracks various
    email and call activities for each lead on a specific date. Email metrics include
    sent, bounced, opened, and clicked counts. Call metrics cover different outcomes
    like meaningful connects and voicemails. The table also includes system fields
    like creation and modification timestamps. This data likely helps sales teams
    analyze lead engagement and activity over time.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LEAD_ID
    description: Unique identifier for the associated lead
    tests:
    - not_null
  - name: DATE_
    description: Date of the metrics
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls with 'not interested' outcome
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls with 'unqualified' outcome
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls with 'call back later' outcome
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: DAILY_CUT_OFF_TIME_STAMP
    description: Daily cut-off timestamp for data collection
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Number of untracked emails sent
    tests:
    - not_null
  - name: DATE_INT
    description: Integer representation of the date
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable emails sent with clickable links
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable emails sent for open tracking
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable emails sent for reply tracking
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent that soft bounced
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails sent that hard bounced
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Count of trackable emails sent to out-of-office recipients
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization in Fivetran
    tests:
    - not_null
  tests: []

stg_CONTACT_DAILY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONTACT_ID DATE_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT DAILY_CUT_OFF_TIME_STAMP ALL_EMAILS_UNTRACKED_SENT_COUNT DATE_INT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_DAILY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:03:40.067599+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_DAILY_METRIC"

stg_CONTACT_DAILY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_DAILY_METRIC
  description: The table is about daily contact metrics. It tracks various email and
    call statistics for each contact on a given date. Email metrics include sent,
    bounced, opened, replied, and link clicked counts. Call metrics cover different
    call outcomes like meaningful connects, not interested, and voicemails. The table
    also includes system fields like creation and modification dates.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: CONTACT_ID
    description: Unique identifier for the contact
    tests:
    - not_null
  - name: DATE_
    description: Date of the metrics
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Number of out-of-office responses received
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Number of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Number of calls with 'not interested' outcome
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Number of calls with unqualified leads
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Number of calls resulting in voicemail
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Number of calls with 'call back later' outcome
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Number of uncategorized calls
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: DAILY_CUT_OFF_TIME_STAMP
    description: Daily cut-off timestamp for metrics
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Number of untracked emails sent
    tests:
    - not_null
  - name: DATE_INT
    description: Integer representation of the date
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of trackable link click email sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of trackable email open sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of trackable email reply sends
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable soft bounce email sends
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable hard bounce email sends
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Count of trackable emails sent to out-of-office contacts
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization in Fivetran
    tests:
    - not_null
  tests: []

stg_CONTENT_WORKSPACE_DOC

Table Preview (sample only)

ID CONTENT_WORKSPACE_ID CONTENT_DOCUMENT_ID CREATED_DATE SYSTEM_MODSTAMP IS_OWNER IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_WORKSPACE_DOC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:54.877905+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_WORKSPACE_DOC"

stg_CONTENT_WORKSPACE_DOC.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_WORKSPACE_DOC
  description: The table represents the relationship between content workspaces and
    content documents. It tracks which documents belong to which workspaces. The table
    includes creation dates, ownership status, and deletion flags. It also has fields
    for syncing and tracking changes (_FIVETRAN_DELETED, _FIVETRAN_SYNCED). This table
    likely supports a content management system where documents are organized into
    workspaces.
  columns:
  - name: ID
    description: Unique identifier for the relationship
    tests:
    - not_null
  - name: CONTENT_WORKSPACE_ID
    description: Identifier of the workspace
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: Identifier of the document
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the relationship was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp
    tests:
    - not_null
  - name: IS_OWNER
    description: Indicates if the user owns the document
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the relationship is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for syncing
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_MKT_MLPREDICTION_JOB

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE ACTIVATION_STATUS LAST_RUN_DATE DURATION LAST_RUN_STATUS LAST_PROCESSED_RECORDS SCORE_UPDATED OFF_CORE_SYNC_STATUS DATA_SPACE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_MLPREDICTION_JOB.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:42.713887+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_MLPREDICTION_JOB"

stg_MKT_MLPREDICTION_JOB.yml (Document the table)

version: 2
models:
- name: stg_MKT_MLPREDICTION_JOB
  description: The table is about machine learning prediction jobs. It includes details
    like job ID, name, creation and modification dates, activation status, last run
    date and status, duration, and number of processed records. The table also tracks
    if the job is deleted, when it was last viewed or referenced, and its sync status
    with external systems.
  columns:
  - name: ID
    description: Unique identifier for the ML prediction job
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the job has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the ML prediction job
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the job was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the job
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the job
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the job was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the job was last referenced
    tests:
    - not_null
  - name: ACTIVATION_STATUS
    description: Current activation status of the job
    tests:
    - not_null
  - name: LAST_RUN_DATE
    description: Date and time of the job's last run
    tests:
    - not_null
  - name: DURATION
    description: Duration of the job's last run
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the job's last run
    tests:
    - not_null
  - name: LAST_PROCESSED_RECORDS
    description: Number of records processed in the last run
    tests:
    - not_null
  - name: SCORE_UPDATED
    description: Flag indicating if the score was updated
    tests:
    - not_null
  - name: OFF_CORE_SYNC_STATUS
    description: Sync status with off-core systems
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: Identifier for the data space used
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_REFUND_LINE_PAYMENT

Table Preview (sample only)

ID IS_DELETED REFUND_LINE_PAYMENT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PAYMENT_ID REFUND_ID AMOUNT TYPE HAS_BEEN_UNAPPLIED COMMENTS DATE_ APPLIED_DATE EFFECTIVE_DATE UNAPPLIED_DATE ASSOCIATED_ACCOUNT_ID ASSOCIATED_REFUND_LINE_PAYMENT_ID REFUND_BALANCE PAYMENT_BALANCE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_REFUND_LINE_PAYMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:14.536556+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."REFUND_LINE_PAYMENT"

stg_REFUND_LINE_PAYMENT.yml (Document the table)

version: 2
models:
- name: stg_REFUND_LINE_PAYMENT
  description: The table represents the relationship between refund lines and payments.
    It contains details of refund payments, including amount, type, and various dates.
    The table links refunds to payments and accounts. It tracks the status of refunds,
    such as whether they have been unapplied. The table also includes audit fields
    like creation and modification dates, and system metadata.
  columns:
  - name: ID
    description: Unique identifier for the refund line payment
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: REFUND_LINE_PAYMENT_NUMBER
    description: Unique number for the refund line payment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: PAYMENT_ID
    description: ID of the associated payment
    tests:
    - not_null
  - name: REFUND_ID
    description: ID of the associated refund
    tests:
    - not_null
  - name: AMOUNT
    description: Amount of the refund line payment
    tests:
    - not_null
  - name: TYPE
    description: Type of the refund line payment
    tests:
    - not_null
  - name: HAS_BEEN_UNAPPLIED
    description: Indicates if the refund has been unapplied
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: DATE_
    description: Date of the refund line payment
    tests:
    - not_null
  - name: APPLIED_DATE
    description: Date when the refund was applied
    tests:
    - not_null
  - name: EFFECTIVE_DATE
    description: Date when the refund becomes effective
    tests:
    - not_null
  - name: UNAPPLIED_DATE
    description: Date when the refund was unapplied
    tests:
    - not_null
  - name: ASSOCIATED_ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: ASSOCIATED_REFUND_LINE_PAYMENT_ID
    description: ID of associated refund line payment
    tests:
    - not_null
  - name: REFUND_BALANCE
    description: Remaining balance of the refund
    tests:
    - not_null
  - name: PAYMENT_BALANCE
    description: Remaining balance of the payment
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_MULTI_ORG_SYNC_STATUS

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DATA_SPACE_NAME OWNED_BY_ORG LAST_PROCESSED_TRANSACTION LAST_SYNCED_ON RECORD_SYN_STATUS METADATA_SYN_STATUS ERRORS DATA_MULTI_ORG_CONNECTION_ID DATA_SPACE_SYNC_STATUS MULTI_ORG_CHANGE_SET_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_MULTI_ORG_SYNC_STATUS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:59.259945+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_MULTI_ORG_SYNC_STATUS"

stg_DATA_MULTI_ORG_SYNC_STATUS.yml (Document the table)

version: 2
models:
- name: stg_DATA_MULTI_ORG_SYNC_STATUS
  description: The table is about data synchronization status across multiple organizations.
    It includes details like developer name, language, creation and modification dates,
    data space name, owned organization, last processed transaction, sync status for
    records and metadata, errors, connection ID, and change set type. The table tracks
    the synchronization process, including when it last occurred and any issues encountered.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer associated with the record
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: DATA_SPACE_NAME
    description: Name of the data space
    tests:
    - not_null
  - name: OWNED_BY_ORG
    description: Organization that owns the record
    tests:
    - not_null
  - name: LAST_PROCESSED_TRANSACTION
    description: Timestamp of the last processed transaction
    tests:
    - not_null
  - name: LAST_SYNCED_ON
    description: Date when the record was last synchronized
    tests:
    - not_null
  - name: RECORD_SYN_STATUS
    description: Synchronization status of the record
    tests:
    - not_null
  - name: METADATA_SYN_STATUS
    description: Synchronization status of the metadata
    tests:
    - not_null
  - name: ERRORS
    description: Error messages encountered during synchronization
    tests:
    - not_null
  - name: DATA_MULTI_ORG_CONNECTION_ID
    description: ID for multi-organization data connection
    tests:
    - not_null
  - name: DATA_SPACE_SYNC_STATUS
    description: Synchronization status of the data space
    tests:
    - not_null
  - name: MULTI_ORG_CHANGE_SET_TYPE
    description: Type of multi-organization change set
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CUSTOM_HELP_MENU_ITEM

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID MASTER_LABEL LINK_URL SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_HELP_MENU_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:03.798825+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_HELP_MENU_ITEM"

stg_CUSTOM_HELP_MENU_ITEM.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_HELP_MENU_ITEM
  description: The table is about custom help menu items. It contains details like
    ID, creation and modification dates, labels, URLs, and sorting order. The PARENT_ID
    suggests a hierarchical structure. The table tracks deletion status and includes
    system fields for modification tracking. It appears to be used for managing and
    displaying custom help menu items in a system or application.
  columns:
  - name: ID
    description: Unique identifier for the custom help menu item
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the item has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the item was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the item
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the item
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent item, indicating hierarchical structure
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the help menu item
    tests:
    - not_null
  - name: LINK_URL
    description: URL associated with the help menu item
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for sorting menu items
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ORG_METRIC_SCAN_SUMMARY

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ORG_METRIC_ID STATUS IMPLEMENTATION_EFFORT ERROR_MESSAGE ITEM_COUNT FEATURE_LIMIT UNIT PERCENT_USAGE SCAN_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ORG_METRIC_SCAN_SUMMARY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:10:25.550857+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ORG_METRIC_SCAN_SUMMARY"

stg_ORG_METRIC_SCAN_SUMMARY.yml (Document the table)

version: 2
models:
- name: stg_ORG_METRIC_SCAN_SUMMARY
  description: The table is about organizational metric scan summaries. It includes
    details such as scan status, implementation effort, error messages, item counts,
    and feature limits. The table tracks usage percentages and scan dates. It also
    contains metadata like creation and modification dates, user IDs, and system timestamps.
    The table likely relates to a parent 'ORG_METRIC' table via the ORG_METRIC_ID
    field.
  columns:
  - name: ID
    description: Unique identifier for each scan summary
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the scan summary
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: ORG_METRIC_ID
    description: ID of the associated organizational metric
    tests:
    - not_null
  - name: STATUS
    description: Current status of the scan
    tests:
    - not_null
  - name: IMPLEMENTATION_EFFORT
    description: Effort required to implement the metric
    tests:
    - not_null
  - name: ERROR_MESSAGE
    description: Error message if scan encountered issues
    tests:
    - not_null
  - name: ITEM_COUNT
    description: Number of items scanned or affected
    tests:
    - not_null
  - name: FEATURE_LIMIT
    description: Maximum limit for the feature
    tests:
    - not_null
  - name: UNIT
    description: Unit of measurement for the metric
    tests:
    - not_null
  - name: PERCENT_USAGE
    description: Percentage of feature usage
    tests:
    - not_null
  - name: SCAN_DATE
    description: Date when the scan was performed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MANAGED_CONTENT_VARIANT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP VARIANT_TYPE LANGUAGE_ URL_NAME MANAGED_CONTENT_ID IS_READY MANAGED_CONTENT_KEY MANAGED_CONTENT_VARIANT_STATUS HAS_LOCKS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MANAGED_CONTENT_VARIANT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:37.683141+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MANAGED_CONTENT_VARIANT"

stg_MANAGED_CONTENT_VARIANT.yml (Document the table)

version: 2
models:
- name: stg_MANAGED_CONTENT_VARIANT
  description: The table is about managed content variants. It includes details such
    as ID, name, creation date, last modification date, language, URL name, content
    ID, and status. Each row represents a specific variant of managed content with
    its associated metadata. The table tracks whether the variant is ready, has locks,
    and its current status in the content management system.
  columns:
  - name: ID
    description: Unique identifier for the content variant
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the variant has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the content variant
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the variant was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the variant
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the variant
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: VARIANT_TYPE
    description: Type of the content variant
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the content variant
    tests:
    - not_null
  - name: URL_NAME
    description: URL-friendly name of the content variant
    tests:
    - not_null
  - name: MANAGED_CONTENT_ID
    description: ID of the associated managed content
    tests:
    - not_null
  - name: IS_READY
    description: Indicates if the variant is ready for use
    tests:
    - not_null
  - name: MANAGED_CONTENT_KEY
    description: Unique key for the managed content
    tests:
    - not_null
  - name: MANAGED_CONTENT_VARIANT_STATUS
    description: Current status of the content variant
    tests:
    - not_null
  - name: HAS_LOCKS
    description: Indicates if the variant has any locks
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TABLEAU_HOST_MAPPING

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SITE_LUID URL_MATCH HOST_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TABLEAU_HOST_MAPPING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:02.914895+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TABLEAU_HOST_MAPPING"

stg_TABLEAU_HOST_MAPPING.yml (Document the table)

version: 2
models:
- name: stg_TABLEAU_HOST_MAPPING
  description: The table is about Tableau host mapping configurations. It includes
    details like owner, name, creation and modification timestamps, site LUID, URL
    match pattern, and host type. The table tracks whether entries are deleted and
    when they were last synced. It likely supports routing and access control for
    Tableau integrations within a system.
  columns:
  - name: ID
    description: Unique identifier for the host mapping configuration
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the configuration is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the host mapping configuration
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the configuration was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the configuration
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the configuration
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: SITE_LUID
    description: Logical Unique Identifier for the Tableau site
    tests:
    - not_null
  - name: URL_MATCH
    description: URL pattern for matching and routing
    tests:
    - not_null
  - name: HOST_TYPE
    description: Type of host for this configuration
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MANAGED_CONTENT_SPACE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION DEFAULT_LANGUAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED API_NAME

stg_MANAGED_CONTENT_SPACE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:29.846346+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MANAGED_CONTENT_SPACE"

stg_MANAGED_CONTENT_SPACE.yml (Document the table)

version: 2
models:
- name: stg_MANAGED_CONTENT_SPACE
  description: The table is about managed content spaces. It includes details such
    as the space's ID, name, API name, creation date, last modification date, description,
    and default language. The table also tracks who created and last modified the
    space, and when it was last viewed or referenced. Additional fields indicate if
    the space is deleted and track Fivetran syncing information.
  columns:
  - name: ID
    description: Unique identifier for the content workspace
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the workspace is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the content workspace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the workspace was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the workspace
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the workspace
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the workspace was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the workspace was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the content workspace
    tests:
    - not_null
  - name: DEFAULT_LANGUAGE
    description: Default language of the content workspace
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last Fivetran sync
    tests:
    - not_null
  - name: API_NAME
    description: API name of the content workspace
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_ARTICLE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ARTICLE_NUMBER ARCHIVED_DATE ARCHIVED_BY_ID FIRST_PUBLISHED_DATE LAST_PUBLISHED_DATE CASE_ASSOCIATION_COUNT LAST_VIEWED_DATE LAST_REFERENCED_DATE MIGRATED_TO_FROM_ARTICLE IS_GENERATED_BY_LLM TOTAL_VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_ARTICLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:44.131622+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_ARTICLE"

stg_KNOWLEDGE_ARTICLE.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_ARTICLE
  description: KNOWLEDGE_ARTICLE stores article metadata. It tracks creation, modification,
    and publication dates. It includes view counts and case associations. KNOWLEDGE_KA
    likely contains the actual content of knowledge articles. Together, they form
    a complete knowledge base system.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the article is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the article was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of user who created the article
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the article
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the article
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: ARTICLE_NUMBER
    description: Unique identifier for the article
    tests:
    - not_null
  - name: ARCHIVED_DATE
    description: Date when the article was archived
    tests:
    - not_null
  - name: ARCHIVED_BY_ID
    description: ID of user who archived the article
    tests:
    - not_null
  - name: FIRST_PUBLISHED_DATE
    description: Date when the article was first published
    tests:
    - not_null
  - name: LAST_PUBLISHED_DATE
    description: Date when the article was last published
    tests:
    - not_null
  - name: CASE_ASSOCIATION_COUNT
    description: Number of cases associated with this article
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the article was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the article was last referenced
    tests:
    - not_null
  - name: MIGRATED_TO_FROM_ARTICLE
    description: Flag or ID for article migration status
    tests:
    - not_null
  - name: IS_GENERATED_BY_LLM
    description: Flag indicating if generated by language model
    tests:
    - not_null
  - name: TOTAL_VIEW_COUNT
    description: Total number of views for the article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran soft delete indicator
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EMAIL_TEMPLATE_MONTHLY_METRIC

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EMAIL_TEMPLATE_ID MONTH_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_OPENED_COUNT ALL_EMAILS_REPLIED_COUNT ALL_EMAILS_LINK_CLICKED_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT MONTH_INT ALL_EMAILS_UNTRACKED_SENT_COUNT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS LINK_CLK_TRACKABLE_RECIPIENT_SENDS OPEN_TRACKABLE_RECIPIENT_SENDS REPLY_TRACKABLE_RECIPIENT_SENDS SFT_BNC_TRACKABLE_RECIPIENT_SENDS HRD_BNC_TRACKABLE_RECIPIENT_SENDS OOO_TRACKABLE_RECIPIENT_SENDS RECIPIENT_SENDS RECIPIENT_REPLIES RECIPIENTS_HARD_BOUNCED RECIPIENTS_SOFT_BOUNCED RECIPIENTS_OUT_OF_OFFICE ALL_EMAILS_NOT_DELIVERED_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_TEMPLATE_MONTHLY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:46:53.046362+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_TEMPLATE_MONTHLY_METRIC"

stg_EMAIL_TEMPLATE_MONTHLY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_TEMPLATE_MONTHLY_METRIC
  description: The table is about email template monthly metrics. It tracks various
    email-related statistics for each template on a monthly basis. These include counts
    for sent, opened, replied, clicked, bounced, and out-of-office emails. It also
    records unique interactions and recipient-specific metrics. The table includes
    identifiers, timestamps, and user IDs for tracking changes to the records.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: EMAIL_TEMPLATE_ID
    description: Unique identifier for the email template
    tests:
    - not_null
  - name: MONTH_
    description: Month for which metrics are recorded
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Total number of tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_OPENED_COUNT
    description: Total number of emails opened
    tests:
    - not_null
  - name: ALL_EMAILS_REPLIED_COUNT
    description: Total number of emails replied to
    tests:
    - not_null
  - name: ALL_EMAILS_LINK_CLICKED_COUNT
    description: Total number of emails with links clicked
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Total number of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Total number of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Total number of out-of-office responses
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Number of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Number of unique emails replied to
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Number of unique emails with links clicked
    tests:
    - not_null
  - name: MONTH_INT
    description: Integer representation of the month
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Total number of untracked emails sent
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Number of link-click trackable sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Number of open-trackable sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Number of reply-trackable sends
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Number of soft-bounce trackable sends
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of hard-bounce trackable sends
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of out-of-office trackable sends
    tests:
    - not_null
  - name: LINK_CLK_TRACKABLE_RECIPIENT_SENDS
    description: Number of link-click trackable recipient sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_RECIPIENT_SENDS
    description: Number of open-trackable recipient sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_RECIPIENT_SENDS
    description: Number of reply-trackable recipient sends
    tests:
    - not_null
  - name: SFT_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Count of trackable soft bounced recipient sends
    tests:
    - not_null
  - name: HRD_BNC_TRACKABLE_RECIPIENT_SENDS
    description: Count of trackable hard bounced recipient sends
    tests:
    - not_null
  - name: OOO_TRACKABLE_RECIPIENT_SENDS
    description: Count of trackable out-of-office recipient sends
    tests:
    - not_null
  - name: RECIPIENT_SENDS
    description: Total number of emails sent to recipients
    tests:
    - not_null
  - name: RECIPIENT_REPLIES
    description: Number of replies received from recipients
    tests:
    - not_null
  - name: RECIPIENTS_HARD_BOUNCED
    description: Count of recipients with hard bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_SOFT_BOUNCED
    description: Count of recipients with soft bounced emails
    tests:
    - not_null
  - name: RECIPIENTS_OUT_OF_OFFICE
    description: Count of recipients with out-of-office responses
    tests:
    - not_null
  - name: ALL_EMAILS_NOT_DELIVERED_COUNT
    description: Total count of undelivered emails
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_PRICEBOOK_ENTRY

Table Preview (sample only)

ID NAME PRICEBOOK_2_ID PRODUCT_2_ID UNIT_PRICE IS_ACTIVE USE_STANDARD_PRICE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRODUCT_CODE IS_DELETED IS_ARCHIVED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PRICEBOOK_ENTRY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:13.184007+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PRICEBOOK_ENTRY"

stg_PRICEBOOK_ENTRY.yml (Document the table)

version: 2
models:
- name: stg_PRICEBOOK_ENTRY
  description: The table is about price book entries. It contains pricing information
    for products. Each entry links a product to a price book. It includes details
    like unit price, active status, and creation/modification dates. The table references
    related entities like price books, products, and users who created or modified
    entries.
  columns:
  - name: ID
    description: Unique identifier for the price book entry
    tests:
    - not_null
  - name: NAME
    description: Name of the price book entry
    tests:
    - not_null
  - name: PRICEBOOK_2_ID
    description: ID of the associated price book
    tests:
    - not_null
  - name: PRODUCT_2_ID
    description: ID of the associated product
    tests:
    - not_null
  - name: UNIT_PRICE
    description: Price per unit of the product
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the entry is currently active
    tests:
    - not_null
  - name: USE_STANDARD_PRICE
    description: Indicates if standard pricing is used
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the entry was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the entry
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the entry
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: PRODUCT_CODE
    description: Code associated with the product
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the entry has been deleted
    tests:
    - not_null
  - name: IS_ARCHIVED
    description: Indicates if the entry has been archived
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EVENT_BUS_SUBSCRIBER

Table Preview (sample only)

ID EXTERNAL_ID NAME TYPE TOPIC POSITION_ TIP RETRIES LAST_ERROR STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_BUS_SUBSCRIBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:54.492866+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_BUS_SUBSCRIBER"

stg_EVENT_BUS_SUBSCRIBER.yml (Document the table)

version: 2
models:
- name: stg_EVENT_BUS_SUBSCRIBER
  description: The table is about event bus subscribers. It contains details like
    subscriber ID, name, type, and topic. It tracks the subscriber's position, retry
    attempts, and last error. The status field likely indicates the subscriber's current
    state. External ID may link to external systems. The table includes Fivetran-specific
    fields for syncing and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the subscriber
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: Identifier linking to external systems
    tests:
    - not_null
  - name: NAME
    description: Name of the subscriber
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the subscriber
    tests:
    - not_null
  - name: TOPIC
    description: Event topic the subscriber is interested in
    tests:
    - not_null
  - name: POSITION_
    description: Current position in the event stream
    tests:
    - not_null
  - name: TIP
    description: Latest position in the event stream
    tests:
    - not_null
  - name: RETRIES
    description: Number of retry attempts
    tests:
    - not_null
  - name: LAST_ERROR
    description: Most recent error message
    tests:
    - not_null
  - name: STATUS
    description: Current state of the subscriber
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_ACCOUNT_CONTACT_ROLE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACCOUNT_ID CONTACT_ID ROLE IS_PRIMARY _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCOUNT_CONTACT_ROLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:37.714288+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCOUNT_CONTACT_ROLE"

stg_ACCOUNT_CONTACT_ROLE.yml (Document the table)

version: 2
models:
- name: stg_ACCOUNT_CONTACT_ROLE
  description: The table represents the Account-Contact Role relation. It links accounts
    to contacts and defines their roles. Key fields include Account ID, Contact ID,
    Role, and Is Primary. The table tracks creation and modification details. It also
    has Fivetran sync information, suggesting it's part of a data integration process.
  columns:
  - name: ID
    description: Unique identifier for the Account-Contact Role record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the associated account
    tests:
    - not_null
  - name: CONTACT_ID
    description: ID of the associated contact
    tests:
    - not_null
  - name: ROLE
    description: Role of the contact in relation to the account
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Flag indicating if this is the primary contact
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LIST_EMAIL_ID RECIPIENT_ID ACTION_CADENCE_STEP_TRACKER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:52.976062+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_EMAIL_INDIVIDUAL_RECIPIENT"

stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT.yml (Document the table)

version: 2
models:
- name: stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT
  description: The table represents the relationship between email lists and individual
    recipients. It tracks recipients added to email lists. Each record links a recipient
    to a specific email list. It includes metadata like creation and modification
    dates. The table also associates recipients with action cadence step trackers.
    This allows tracking recipient interactions within email campaigns or sequences.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the email list-recipient association
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for the record
    tests:
    - not_null
  - name: LIST_EMAIL_ID
    description: ID of the email list
    tests:
    - not_null
  - name: RECIPIENT_ID
    description: ID of the recipient
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_TRACKER_ID
    description: ID of the associated action cadence step tracker
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for the record
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of Fivetran's last sync for the record
    tests:
    - not_null
  tests: []

stg_MERCH_ACC_PAYMENT_METHOD_TYPE

Table Preview (sample only)

ID IS_DELETED PAYMENT_METHOD_SET_TYPE_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PAYMENT_METHOD_SET_ID PAYMENT_INSTRUMENT_TYPE SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MERCH_ACC_PAYMENT_METHOD_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:53.934806+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MERCH_ACC_PAYMENT_METHOD_TYPE"

stg_MERCH_ACC_PAYMENT_METHOD_TYPE.yml (Document the table)

version: 2
models:
- name: stg_MERCH_ACC_PAYMENT_METHOD_TYPE
  description: The table is about payment method types for merchant accounts. It includes
    details like ID, creation and modification dates, payment method set ID, payment
    instrument type, and sort order. The table tracks whether each record is deleted
    and when it was last synced. It appears to be part of a larger system managing
    merchant payment options.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PAYMENT_METHOD_SET_TYPE_NUMBER
    description: Numerical identifier for payment method set type
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: PAYMENT_METHOD_SET_ID
    description: Identifier for the payment method set
    tests:
    - not_null
  - name: PAYMENT_INSTRUMENT_TYPE
    description: Type of payment instrument
    tests:
    - not_null
  - name: SORT_ORDER
    description: Order for sorting payment methods
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_LIGHTNING_EXPERIENCE_THEME

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEFAULT_BRANDING_SET_ID SHOULD_OVERRIDE_LOADING_IMAGE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIGHTNING_EXPERIENCE_THEME.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:13.419930+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIGHTNING_EXPERIENCE_THEME"

stg_LIGHTNING_EXPERIENCE_THEME.yml (Document the table)

version: 2
models:
- name: stg_LIGHTNING_EXPERIENCE_THEME
  description: The table is about Lightning Experience themes in Salesforce. It contains
    details like theme name, developer name, creation date, and modification history.
    The table also includes information on branding sets, language, and namespace.
    It tracks whether the theme is deleted and if it should override the loading image.
    The _FIVETRAN columns suggest data synchronization with Fivetran.
  columns:
  - name: ID
    description: Unique identifier for the Lightning Experience theme
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the theme has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the theme
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly name of the theme
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the theme was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the theme
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the theme
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: DEFAULT_BRANDING_SET_ID
    description: ID of the default branding set
    tests:
    - not_null
  - name: SHOULD_OVERRIDE_LOADING_IMAGE
    description: Indicates if loading image should be overridden
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the theme
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_IMAGE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IMAGE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:56.423932+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IMAGE_SHARE"

stg_IMAGE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_IMAGE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_VIDEO_CALL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE EVENT_ID RELATED_RECORD_ID VENDOR_MEETING_UUID EXTERNAL_ID VENDOR_MEETING_KEY VENDOR_NAME START_DATE_TIME END_DATE_TIME DURATION_IN_SECONDS IS_RECORDED DESCRIPTION INTELLIGENCE_SCORE IS_CALL_COACHING_INCLUDED HOST_ID IS_DIARIZATION_OPT_IN TRANSCRIBED_LANGUAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED MEETING_TYPE

stg_VIDEO_CALL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:21.208651+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VIDEO_CALL"

stg_VIDEO_CALL.yml (Document the table)

version: 2
models:
- name: stg_VIDEO_CALL
  description: The table is about video calls. It includes details such as call owner,
    name, creation date, event ID, related record, vendor information, start and end
    times, duration, recording status, description, and intelligence score. The table
    also tracks system metadata like last modified date and user IDs for creation
    and modification. Additional fields cover call coaching, host information, transcription
    language, and meeting type.
  columns:
  - name: ID
    description: Unique identifier for the video call record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this call record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the video call
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: EVENT_ID
    description: ID of the associated event
    tests:
    - not_null
  - name: RELATED_RECORD_ID
    description: ID of a related record
    tests:
    - not_null
  - name: VENDOR_MEETING_UUID
    description: Unique identifier for the meeting from vendor
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the call
    tests:
    - not_null
  - name: VENDOR_MEETING_KEY
    description: Vendor-specific key for the meeting
    tests:
    - not_null
  - name: VENDOR_NAME
    description: Name of the video call vendor
    tests:
    - not_null
  - name: START_DATE_TIME
    description: Start date and time of the call
    tests:
    - not_null
  - name: END_DATE_TIME
    description: End date and time of the call
    tests:
    - not_null
  - name: DURATION_IN_SECONDS
    description: Duration of the call in seconds
    tests:
    - not_null
  - name: IS_RECORDED
    description: Indicates if the call was recorded
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description or notes about the call
    tests:
    - not_null
  - name: INTELLIGENCE_SCORE
    description: Score indicating call intelligence or quality
    tests:
    - not_null
  - name: IS_CALL_COACHING_INCLUDED
    description: Indicates if call coaching was included
    tests:
    - not_null
  - name: HOST_ID
    description: ID of the call host
    tests:
    - not_null
  - name: IS_DIARIZATION_OPT_IN
    description: Indicates opt-in for speaker diarization
    tests:
    - not_null
  - name: TRANSCRIBED_LANGUAGE
    description: Language used for call transcription
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: MEETING_TYPE
    description: Type or category of the meeting
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE STATE ACTIVATED_DATE TYPE ERROR_MESSAGE DESCRIPTION FOLDER_ID FOLDER_NAME LAST_EDITED_DATE_TIME IS_WAIT_ALLOWED_BEFORE_DAISY_CHAIN ACTIVE_TARGETS TOTAL_TARGETS SUCCESSFUL_COMPLETIONS TOTAL_STEPS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:50:01.670734+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE"

stg_ACTION_CADENCE.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE
  description: The table is about action cadences. It contains details like cadence
    ID, owner, name, creation date, state, type, and description. Each cadence has
    a specific purpose, such as recovering lost opportunities or engaging prospects.
    The table includes metadata like folder information, activation dates, and system
    timestamps. It also tracks cadence performance metrics like active targets and
    successful completions.
  columns:
  - name: ID
    description: Unique identifier for the cadence
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the cadence owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the cadence is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the cadence
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the cadence was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the cadence
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the cadence
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the cadence was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date when the cadence was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: STATE
    description: Current state of the cadence
    tests:
    - not_null
  - name: ACTIVATED_DATE
    description: Date when the cadence was activated
    tests:
    - not_null
  - name: TYPE
    description: Type of the cadence
    tests:
    - not_null
  - name: ERROR_MESSAGE
    description: Error message associated with the cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Description of the cadence
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing the cadence
    tests:
    - not_null
  - name: FOLDER_NAME
    description: Name of the folder containing the cadence
    tests:
    - not_null
  - name: LAST_EDITED_DATE_TIME
    description: Date and time of last edit
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_WAIT_ALLOWED_BEFORE_DAISY_CHAIN
    description: Flag for wait before daisy chain
    tests:
    - not_null
  - name: ACTIVE_TARGETS
    description: Number of active targets in the cadence
    cocoon_meta:
      missing_reason: Not applicable for newly created or inactive cadences.
  - name: TOTAL_TARGETS
    description: Total number of targets in the cadence
    cocoon_meta:
      missing_reason: Unknown
  - name: SUCCESSFUL_COMPLETIONS
    description: Number of successful completions
    cocoon_meta:
      missing_reason: Not applicable for newly created or ongoing cadences.
  - name: TOTAL_STEPS
    description: Total number of steps in the cadence
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ACTIVE_FEATURE_LICENSE_METRIC

Table Preview (sample only)

ID METRICS_DATE FEATURE_TYPE SYSTEM_MODSTAMP ASSIGNED_USER_COUNT ACTIVE_USER_COUNT TOTAL_LICENSE_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTIVE_FEATURE_LICENSE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:52:02.035536+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTIVE_FEATURE_LICENSE_METRIC"

stg_ACTIVE_FEATURE_LICENSE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ACTIVE_FEATURE_LICENSE_METRIC
  description: The table is about feature license usage metrics in a system. It tracks
    assigned users, active users, and total licenses for different feature types like
    MarketingUser and KnowledgeUser. Each row represents metrics for a specific date
    and feature type. The table includes system timestamps and data syncing information.
    It allows monitoring of license utilization and user activity over time.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: METRICS_DATE
    description: Date for which metrics are reported
    tests:
    - not_null
  - name: FEATURE_TYPE
    description: Type of feature or license being tracked
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last modification in the system
    tests:
    - not_null
  - name: ASSIGNED_USER_COUNT
    description: Number of users assigned to the feature
    tests:
    - not_null
  - name: ACTIVE_USER_COUNT
    description: Number of active users for the feature
    tests:
    - not_null
  - name: TOTAL_LICENSE_COUNT
    description: Total number of licenses available
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_BUSINESS_PROCESS

Table Preview (sample only)

ID NAME NAMESPACE_PREFIX DESCRIPTION TABLE_ENUM_OR_ID IS_ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BUSINESS_PROCESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:06.647294+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BUSINESS_PROCESS"

stg_BUSINESS_PROCESS.yml (Document the table)

version: 2
models:
- name: stg_BUSINESS_PROCESS
  description: The table is about business processes. It contains details like ID,
    name, namespace prefix, and description of each process. The table tracks whether
    a process is active, when it was created and modified, and by whom. It also includes
    system metadata fields for tracking changes and synchronization status.
  columns:
  - name: ID
    description: Unique identifier for the business process
    tests:
    - not_null
  - name: NAME
    description: Name of the business process
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the process namespace
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the business process
    tests:
    - not_null
  - name: TABLE_ENUM_OR_ID
    description: Table enumeration or identifier
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the process is currently active
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the process
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the process was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the process
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CUSTOM_HTTP_HEADER

Table Preview (sample only)

ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID HEADER_FIELD_NAME HEADER_FIELD_VALUE IS_ACTIVE DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_HTTP_HEADER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:12.097488+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_HTTP_HEADER"

stg_CUSTOM_HTTP_HEADER.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_HTTP_HEADER
  description: The table is about custom HTTP headers. It contains information like
    header field name, value, and status. The table includes metadata such as creation
    date, last modified date, and IDs of users who created or modified the header.
    It also has a parent ID field, suggesting these headers may be associated with
    other entities. The table tracks whether each header is active and includes a
    description field.
  columns:
  - name: ID
    description: Unique identifier for the custom HTTP header
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the header was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the header
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the header
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent entity associated with this header
    tests:
    - not_null
  - name: HEADER_FIELD_NAME
    description: Name of the custom HTTP header field
    tests:
    - not_null
  - name: HEADER_FIELD_VALUE
    description: Value of the custom HTTP header field
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Boolean indicating if the header is currently active
    tests:
    - not_null
  - name: DESCRIPTION
    description: Text description of the custom HTTP header
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PAYMENT_GATEWAY

Table Preview (sample only)

ID IS_DELETED PAYMENT_GATEWAY_NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_PROVIDER_ID MERCHANT_CREDENTIAL_ID STATUS COMMENTS EXTERNAL_REFERENCE MERCHANT_ACCOUNT_ID PAYMENT_PROCESSOR PROVIDER_ACCOUNT PAYMENT_STATUS PAYOUT_STATUS GATEWAY_MODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_GATEWAY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:12:46.964521+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_GATEWAY"

stg_PAYMENT_GATEWAY.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_GATEWAY
  description: The table is about payment gateways. It contains details such as gateway
    name, provider, merchant credentials, status, and external references. The table
    tracks creation and modification dates, user IDs for auditing, and system timestamps.
    It also includes fields for payment and payout status, gateway mode, and any comments.
    The table likely supports integration with various payment processors and manages
    gateway configurations for financial transactions.
  columns:
  - name: ID
    description: Unique identifier for the payment gateway
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_NAME
    description: Name of the payment gateway
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the record was last referenced
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_PROVIDER_ID
    description: ID of the payment gateway provider
    tests:
    - not_null
  - name: MERCHANT_CREDENTIAL_ID
    description: ID of the merchant credentials
    tests:
    - not_null
  - name: STATUS
    description: Current status of the payment gateway
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes
    tests:
    - not_null
  - name: EXTERNAL_REFERENCE
    description: External reference identifier for the gateway
    tests:
    - not_null
  - name: MERCHANT_ACCOUNT_ID
    description: ID of the associated merchant account
    tests:
    - not_null
  - name: PAYMENT_PROCESSOR
    description: Name or type of payment processor used
    tests:
    - not_null
  - name: PROVIDER_ACCOUNT
    description: Account information for the provider
    tests:
    - not_null
  - name: PAYMENT_STATUS
    description: Status of payments through this gateway
    tests:
    - not_null
  - name: PAYOUT_STATUS
    description: Status of payouts through this gateway
    tests:
    - not_null
  - name: GATEWAY_MODE
    description: Operating mode of the gateway (e.g., test, live)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CASE_EXTERNAL_DOCUMENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CASE_ID EXTERNAL_ID TITLE DISPLAY_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CASE_EXTERNAL_DOCUMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:16.676410+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CASE_EXTERNAL_DOCUMENT"

stg_CASE_EXTERNAL_DOCUMENT.yml (Document the table)

version: 2
models:
- name: stg_CASE_EXTERNAL_DOCUMENT
  description: The table is about external documents associated with cases. It contains
    details like document ID, name, title, and URL. The table tracks creation and
    modification dates, as well as the users who created or modified the document.
    It links to cases via CASE_ID and has an EXTERNAL_ID for external system reference.
    Deletion status and system timestamps are also included.
  columns:
  - name: ID
    description: Unique identifier for the document
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the document is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the document
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the document was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the document
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the document
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: CASE_ID
    description: ID of the associated case
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External system reference ID
    tests:
    - not_null
  - name: TITLE
    description: Title of the document
    tests:
    - not_null
  - name: DISPLAY_URL
    description: URL for displaying the document
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_BRIEFCASE_RULE_FILTER

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BRIEFCASE_RULE_ID TARGET_ENTITY_FIELD FILTER_OPERATOR FILTER_VALUE FILTER_SEQ_NUMBER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRIEFCASE_RULE_FILTER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:57:45.484698+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRIEFCASE_RULE_FILTER"

stg_BRIEFCASE_RULE_FILTER.yml (Document the table)

version: 2
models:
- name: stg_BRIEFCASE_RULE_FILTER
  description: The table is about briefcase rule filters. It contains details like
    ID, creation and modification dates, associated briefcase rule ID, target entity
    field, filter operator, filter value, and sequence number. The table also tracks
    if the record is deleted and when it was last synced. It appears to store configuration
    for filtering data in briefcases or similar data containers.
  columns:
  - name: ID
    description: Unique identifier for the briefcase rule filter
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp for internal use
    tests:
    - not_null
  - name: BRIEFCASE_RULE_ID
    description: ID of the associated briefcase rule
    tests:
    - not_null
  - name: TARGET_ENTITY_FIELD
    description: Field in the target entity for filtering
    tests:
    - not_null
  - name: FILTER_OPERATOR
    description: Operator used for filter comparison
    tests:
    - not_null
  - name: FILTER_VALUE
    description: Value used in the filter condition
    tests:
    - not_null
  - name: FILTER_SEQ_NUMBER
    description: Sequence number of the filter
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CUSTOM_PERMISSION

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX IS_PROTECTED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_LICENSED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_PERMISSION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:28.562054+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_PERMISSION"

stg_CUSTOM_PERMISSION.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_PERMISSION
  description: The table is about custom permissions in a software system. It includes
    details like the permission's unique ID, name, label, creation date, and last
    modified date. The table also tracks if the permission is deleted, protected,
    or licensed. Additional fields store information about who created and last modified
    the permission, as well as namespace and language details.
  columns:
  - name: ID
    description: Unique identifier for the custom permission
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the permission is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the custom permission
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the permission
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the custom permission
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the permission
    tests:
    - not_null
  - name: IS_PROTECTED
    description: Indicates if the permission is protected
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the permission was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the permission
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the permission
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the custom permission
    tests:
    - not_null
  - name: IS_LICENSED
    description: Indicates if the permission is licensed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_PARTNER

Table Preview (sample only)

ID OPPORTUNITY_ID ACCOUNT_TO_ID ROLE IS_PRIMARY CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED REVERSE_PARTNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_PARTNER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:55.021299+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_PARTNER"

stg_OPPORTUNITY_PARTNER.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_PARTNER
  description: The table represents a relationship between opportunities and partner
    accounts. It tracks the role of each partner in an opportunity, indicating if
    they are the primary partner. The table includes creation and modification timestamps,
    user IDs for accountability, and a flag for deleted records. It also has a reverse
    partner ID field, suggesting bidirectional relationships between partners.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: ID of the associated opportunity
    tests:
    - not_null
  - name: ACCOUNT_TO_ID
    description: ID of the partner account
    tests:
    - not_null
  - name: ROLE
    description: Role of the partner in the opportunity
    tests:
    - not_null
  - name: IS_PRIMARY
    description: Indicates if this is the primary partner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: REVERSE_PARTNER_ID
    description: ID of the reverse partner relationship
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_FIVETRAN_FORMULA_FAILURE_REASON

Table Preview (sample only)

_FIVETRAN_ID OBJECT FIELD FAILURE_REASON FAILURE_DETAIL_1 FAILURE_DETAIL_2 _FIVETRAN_SYNCED

stg_FIVETRAN_FORMULA_FAILURE_REASON.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:49.412858+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_FORMULA_FAILURE_REASON"

stg_FIVETRAN_FORMULA_FAILURE_REASON.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_FORMULA_FAILURE_REASON
  description: The table is about formula failures in a Fivetran data pipeline. It
    contains information on objects and fields that failed, the reason for failure,
    and additional details. Each row represents a specific failure instance. The table
    includes timestamps for when the data was synced. The common failure reason is
    "ROLLUP_SUMMARY_DEFINITION_CANT_BE_FETCHED", suggesting issues with retrieving
    rollup summary definitions for various objects and fields.
  columns:
  - name: _FIVETRAN_ID
    description: Unique identifier for each failure record
    tests:
    - not_null
  - name: OBJECT
    description: Name of the object where the failure occurred
    tests:
    - not_null
  - name: FIELD
    description: Specific field within the object that failed
    tests:
    - not_null
  - name: FAILURE_REASON
    description: General reason for the failure
    tests:
    - not_null
  - name: FAILURE_DETAIL_1
    description: Additional detail about the failure
    tests:
    - not_null
  - name: FAILURE_DETAIL_2
    description: Secondary detail about the failure
    cocoon_meta:
      missing_reason: Not needed when FAILURE_DETAIL_1 is sufficient to describe error.
  - name: _FIVETRAN_SYNCED
    description: Timestamp of when the data was synced
    tests:
    - not_null
  tests: []

stg_USER_ROLE

Table Preview (sample only)

ID NAME PARENT_ROLE_ID ROLLUP_DESCRIPTION OPPORTUNITY_ACCESS_FOR_ACCOUNT_OWNER CASE_ACCESS_FOR_ACCOUNT_OWNER CONTACT_ACCESS_FOR_ACCOUNT_OWNER MAY_FORECAST_MANAGER_SHARE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEVELOPER_NAME PORTAL_ACCOUNT_ID PORTAL_TYPE PORTAL_ACCOUNT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_ROLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:41:39.417584+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_ROLE"

stg_USER_ROLE.yml (Document the table)

version: 2
models:
- name: stg_USER_ROLE
  description: The table is about user roles in a system. It contains role details
    like name, hierarchy, access permissions for accounts, cases, contacts, and forecasting.
    The table includes system fields for tracking modifications. It also has fields
    related to portal accounts, suggesting integration with external portals. The
    role structure allows for parent-child relationships between roles.
  columns:
  - name: ID
    description: Unique identifier for the role
    tests:
    - not_null
  - name: NAME
    description: Name of the role
    tests:
    - not_null
  - name: PARENT_ROLE_ID
    description: ID of the parent role in the hierarchy
    tests:
    - not_null
  - name: ROLLUP_DESCRIPTION
    description: Description of the role's position in hierarchy
    tests:
    - not_null
  - name: OPPORTUNITY_ACCESS_FOR_ACCOUNT_OWNER
    description: Access level for opportunities to account owners
    tests:
    - not_null
  - name: CASE_ACCESS_FOR_ACCOUNT_OWNER
    description: Access level for cases to account owners
    tests:
    - not_null
  - name: CONTACT_ACCESS_FOR_ACCOUNT_OWNER
    description: Access level for contacts to account owners
    tests:
    - not_null
  - name: MAY_FORECAST_MANAGER_SHARE
    description: Permission for forecast sharing with managers
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the role
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the role
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and managed packages
    tests:
    - not_null
  - name: PORTAL_ACCOUNT_ID
    description: ID of associated portal account
    tests:
    - not_null
  - name: PORTAL_TYPE
    description: Type of portal associated with the role
    tests:
    - not_null
  - name: PORTAL_ACCOUNT_OWNER_ID
    description: ID of the portal account owner
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CONTACT_REQUEST

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE WHAT_ID WHO_ID PREFERRED_PHONE PREFERRED_CHANNEL STATUS REQUEST_REASON REQUEST_DESCRIPTION IS_CALLBACK _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTACT_REQUEST.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:34:36.406043+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTACT_REQUEST"

stg_CONTACT_REQUEST.yml (Document the table)

version: 2
models:
- name: stg_CONTACT_REQUEST
  description: The table is about contact requests. It includes details like the request
    owner, status, reason, and description. The table tracks creation and modification
    dates, as well as who created or modified the request. It references related entities
    through WHAT_ID and WHO_ID fields. The table also includes preferences for communication
    and whether a callback is required.
  columns:
  - name: ID
    description: Unique identifier for the contact request
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this request
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the request is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the contact request
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the request was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the request
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the request
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the request was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the request was last referenced
    tests:
    - not_null
  - name: WHAT_ID
    description: ID of the related object (e.g., account, opportunity)
    tests:
    - not_null
  - name: WHO_ID
    description: ID of the related person (e.g., contact, lead)
    tests:
    - not_null
  - name: PREFERRED_PHONE
    description: Preferred phone number for contact
    tests:
    - not_null
  - name: PREFERRED_CHANNEL
    description: Preferred communication channel
    tests:
    - not_null
  - name: STATUS
    description: Current status of the contact request
    tests:
    - not_null
  - name: REQUEST_REASON
    description: Reason for the contact request
    tests:
    - not_null
  - name: REQUEST_DESCRIPTION
    description: Detailed description of the contact request
    tests:
    - not_null
  - name: IS_CALLBACK
    description: Flag indicating if a callback is required
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_TENANT_USAGE_ENTITLEMENT

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP RESOURCE_GROUP_KEY SETTING START_DATE END_DATE CURRENT_AMOUNT_ALLOWED FREQUENCY IS_PERSISTENT_RESOURCE HAS_ROLLOVER OVERAGE_GRACE AMOUNT_USED USAGE_DATE MASTER_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TENANT_USAGE_ENTITLEMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:19.247602+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TENANT_USAGE_ENTITLEMENT"

stg_TENANT_USAGE_ENTITLEMENT.yml (Document the table)

version: 2
models:
- name: stg_TENANT_USAGE_ENTITLEMENT
  description: The table is about tenant usage entitlements. It tracks resource allocations
    and limits for various Salesforce features. Each row represents a specific entitlement.
    The table includes details such as resource type, allowed amount, usage frequency,
    start and end dates, and whether the resource is persistent. It also tracks creation
    and modification metadata. The entitlements cover diverse areas like B2B Commerce,
    API requests, email sends, and public experience page views.
  columns:
  - name: ID
    description: Unique identifier for the entitlement
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: RESOURCE_GROUP_KEY
    description: Key identifying the resource group
    tests:
    - not_null
  - name: SETTING
    description: Specific setting or feature being tracked
    tests:
    - not_null
  - name: START_DATE
    description: Start date of the entitlement
    tests:
    - not_null
  - name: END_DATE
    description: End date of the entitlement
    tests:
    - not_null
  - name: CURRENT_AMOUNT_ALLOWED
    description: Current allowed amount for the resource
    tests:
    - not_null
  - name: FREQUENCY
    description: Frequency of resource allocation or reset
    tests:
    - not_null
  - name: IS_PERSISTENT_RESOURCE
    description: Indicates if the resource is persistent
    tests:
    - not_null
  - name: HAS_ROLLOVER
    description: Indicates if unused resources roll over
    tests:
    - not_null
  - name: OVERAGE_GRACE
    description: Grace amount for exceeding the limit
    tests:
    - not_null
  - name: AMOUNT_USED
    description: Amount of the resource used
    cocoon_meta:
      missing_reason: Resource limits not yet consumed or tracked.
  - name: USAGE_DATE
    description: Date of resource usage
    cocoon_meta:
      missing_reason: Unknown
  - name: MASTER_LABEL
    description: Human-readable label for the entitlement
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_MONTHLY_METRIC_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_MONTHLY_METRIC_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:38:17.369240+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_MONTHLY_METRIC_SHARE"

stg_USER_MONTHLY_METRIC_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_MONTHLY_METRIC_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_HISTORY

Table Preview (sample only)

ID IS_DELETED COMM_SUBSCRIPTION_CHANNEL_TYPE_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:02:03.756564+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION_CHANNEL_TYPE_HISTORY"

stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_HISTORY
  description: The table is about tracking changes to communication subscription channel
    types. It records details like the ID of the changed item, who made the change,
    when it occurred, which field changed, the data type, and the old and new values.
    It also includes metadata like deletion status and synchronization timestamp.
  columns:
  - name: ID
    description: Unique identifier for the change record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: COMM_SUBSCRIPTION_CHANNEL_TYPE_ID
    description: ID of the communication subscription channel type
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who made the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    cocoon_meta:
      missing_reason: No change made, so no old value to record.
  - name: NEW_VALUE
    description: New value of the changed field
    cocoon_meta:
      missing_reason: No change made, so no new value to record.
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CALL_TEMPLATE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_TEMPLATE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:31.938480+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_TEMPLATE_SHARE"

stg_CALL_TEMPLATE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CALL_TEMPLATE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EMAIL_SERVICES_ADDRESS

Table Preview (sample only)

ID IS_ACTIVE LOCAL_PART EMAIL_DOMAIN_NAME AUTHORIZED_SENDERS RUN_AS_USER_ID FUNCTION_ID DEVELOPER_NAME CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_SERVICES_ADDRESS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:45:42.336536+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_SERVICES_ADDRESS"

stg_EMAIL_SERVICES_ADDRESS.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_SERVICES_ADDRESS
  description: The table is about email service addresses. It contains information
    such as the local part and domain of the email, active status, authorized senders,
    and associated user and function IDs. The table also includes metadata like creation
    date, last modification date, and system timestamp. It tracks the developer name
    and IDs of users who created or modified the record.
  columns:
  - name: ID
    description: Unique identifier for the email service address
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the email service is currently active
    tests:
    - not_null
  - name: LOCAL_PART
    description: The part of the email address before the @ symbol
    tests:
    - not_null
  - name: EMAIL_DOMAIN_NAME
    description: The domain part of the email address
    tests:
    - not_null
  - name: AUTHORIZED_SENDERS
    description: List of email addresses allowed to use this service
    tests:
    - not_null
  - name: RUN_AS_USER_ID
    description: ID of the user under whose context the service runs
    tests:
    - not_null
  - name: FUNCTION_ID
    description: ID of the associated function for this email service
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name given by the developer for this email service
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created this record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when this record was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified this record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time when this record was last modified
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System's last modification timestamp for this record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_COMM_SUBSCRIPTION

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_COMM_SUBSCRIPTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:01:41.862915+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."COMM_SUBSCRIPTION"

stg_COMM_SUBSCRIPTION.yml (Document the table)

version: 2
models:
- name: stg_COMM_SUBSCRIPTION
  description: BUSINESS_BRAND contains brand information. It has fields for ID, name,
    and creation details. COMM_SUBSCRIPTION likely holds subscription data for communications.
    Together, they represent a business communication platform with brands and subscriptions.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the brand or subscription
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_LINE_ITEM

Table Preview (sample only)

ID OPPORTUNITY_ID SORT_ORDER PRICEBOOK_ENTRY_ID PRODUCT_2_ID PRODUCT_CODE NAME QUANTITY TOTAL_PRICE UNIT_PRICE LIST_PRICE SERVICE_DATE DESCRIPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_DELETED LAST_VIEWED_DATE LAST_REFERENCED_DATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_LINE_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:08:47.308784+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_LINE_ITEM"

stg_OPPORTUNITY_LINE_ITEM.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_LINE_ITEM
  description: The table represents the Opportunity Line Item relation between Opportunities
    and Products. It contains details of individual product items within an opportunity.
    Key fields include opportunity ID, product ID, quantity, price, and dates. It
    also tracks creation, modification, and deletion information for each line item.
    This table allows for multiple products to be associated with a single opportunity.
  columns:
  - name: ID
    description: Unique identifier for the opportunity line item
    tests:
    - not_null
  - name: OPPORTUNITY_ID
    description: Foreign key to the associated opportunity
    tests:
    - not_null
  - name: SORT_ORDER
    description: Order of the line item within the opportunity
    tests:
    - not_null
  - name: PRICEBOOK_ENTRY_ID
    description: Foreign key to the price book entry
    tests:
    - not_null
  - name: PRODUCT_2_ID
    description: Foreign key to the associated product
    tests:
    - not_null
  - name: PRODUCT_CODE
    description: Unique code identifying the product
    tests:
    - not_null
  - name: NAME
    description: Name of the product
    tests:
    - not_null
  - name: QUANTITY
    description: Number of units of the product
    tests:
    - not_null
  - name: TOTAL_PRICE
    description: Total price for this line item
    tests:
    - not_null
  - name: UNIT_PRICE
    description: Price per unit of the product
    tests:
    - not_null
  - name: LIST_PRICE
    description: Standard list price of the product
    tests:
    - not_null
  - name: SERVICE_DATE
    description: Date of service for the product
    tests:
    - not_null
  - name: DESCRIPTION
    description: Additional details about the line item
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Date and time of last system modification
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_LIST_EMAIL

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE SUBJECT HTML_BODY TEXT_BODY FROM_NAME FROM_ADDRESS STATUS HAS_ATTACHMENT SCHEDULED_DATE TOTAL_SENT TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_OPENS UNIQUE_OPENS TOTAL_TRACKED_LINK_CLICKS UNIQUE_TRACKED_LINK_CLICKS CAMPAIGN_ID IS_TRACKED EMAIL_CONTENT_ID UNIQUE_REPLIES TOTAL_REPLIES TOTAL_OUT_OF_OFFICE ACTION_CADENCE_STEP_ID PRE_HEADER MESSAGE_PURPOSE IS_OPEN_TRACKING_ENABLED IS_CLICK_TRACKING_ENABLED MANAGED_CONTENT_ID FLOW_RECORD_ELEMENT_ID SEGMENT_ID RELATED_TO_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_EMAIL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:45.723333+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_EMAIL"

stg_LIST_EMAIL.yml (Document the table)

version: 2
models:
- name: stg_LIST_EMAIL
  description: The table is about email lists. It contains details such as the list
    name, owner, creation date, subject, body content, and sender information. It
    also tracks email performance metrics like total sent, bounces, opens, and clicks.
    The table includes flags for tracking and scheduling, as well as references to
    related campaigns and cadence steps.
  columns:
  - name: ID
    description: Unique identifier for the email list
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this email list
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the email list is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the email list
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the email list was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the email list
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the email list
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the email list
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the email list was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the email list was last referenced
    tests:
    - not_null
  - name: SUBJECT
    description: Subject line of the email
    tests:
    - not_null
  - name: HTML_BODY
    description: HTML content of the email body
    tests:
    - not_null
  - name: TEXT_BODY
    description: Plain text content of the email body
    tests:
    - not_null
  - name: FROM_NAME
    description: Name of the email sender
    tests:
    - not_null
  - name: FROM_ADDRESS
    description: Email address of the sender
    tests:
    - not_null
  - name: STATUS
    description: Current status of the email list
    tests:
    - not_null
  - name: HAS_ATTACHMENT
    description: Flag indicating if email has attachments
    tests:
    - not_null
  - name: SCHEDULED_DATE
    description: Date when the email is scheduled to send
    tests:
    - not_null
  - name: TOTAL_SENT
    description: Total number of emails sent
    tests:
    - not_null
  - name: TOTAL_SOFT_BOUNCED
    description: Number of soft bounces
    tests:
    - not_null
  - name: TOTAL_HARD_BOUNCED
    description: Number of hard bounces
    tests:
    - not_null
  - name: TOTAL_OPENS
    description: Total number of email opens
    tests:
    - not_null
  - name: UNIQUE_OPENS
    description: Number of unique email opens
    tests:
    - not_null
  - name: TOTAL_TRACKED_LINK_CLICKS
    description: Total number of tracked link clicks
    tests:
    - not_null
  - name: UNIQUE_TRACKED_LINK_CLICKS
    description: Number of unique tracked link clicks
    tests:
    - not_null
  - name: CAMPAIGN_ID
    description: ID of the associated campaign
    tests:
    - not_null
  - name: IS_TRACKED
    description: Flag indicating if email is tracked
    tests:
    - not_null
  - name: EMAIL_CONTENT_ID
    description: ID of the email content
    tests:
    - not_null
  - name: UNIQUE_REPLIES
    description: Number of unique replies to the email
    tests:
    - not_null
  - name: TOTAL_REPLIES
    description: Total number of replies received for the email
    tests:
    - not_null
  - name: TOTAL_OUT_OF_OFFICE
    description: Total number of out-of-office responses received
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_ID
    description: Identifier for the step in the email cadence
    tests:
    - not_null
  - name: PRE_HEADER
    description: Short summary text displayed in email preview
    tests:
    - not_null
  - name: MESSAGE_PURPOSE
    description: Purpose or type of the email message
    tests:
    - not_null
  - name: IS_OPEN_TRACKING_ENABLED
    description: Flag indicating if open tracking is enabled
    tests:
    - not_null
  - name: IS_CLICK_TRACKING_ENABLED
    description: Flag indicating if click tracking is enabled
    tests:
    - not_null
  - name: MANAGED_CONTENT_ID
    description: Identifier for the managed content used
    tests:
    - not_null
  - name: FLOW_RECORD_ELEMENT_ID
    description: Identifier for the flow record element
    tests:
    - not_null
  - name: SEGMENT_ID
    description: Identifier for the target audience segment
    tests:
    - not_null
  - name: RELATED_TO_ID
    description: Identifier for related entity (e.g., campaign)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_SECURITY_CUSTOM_BASELINE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP BASELINE IS_DEFAULT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SECURITY_CUSTOM_BASELINE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:25.503245+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SECURITY_CUSTOM_BASELINE"

stg_SECURITY_CUSTOM_BASELINE.yml (Document the table)

version: 2
models:
- name: stg_SECURITY_CUSTOM_BASELINE
  description: The table is about security custom baselines. It contains details like
    ID, developer name, language, master label, and namespace prefix. The table tracks
    creation and modification dates, associated user IDs, and system metadata. It
    includes boolean flags for deletion status, default status, and Fivetran sync
    information. The baseline field likely contains the actual security configuration
    details.
  columns:
  - name: ID
    description: Unique identifier for the security custom baseline
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the baseline for API reference
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the baseline
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the baseline
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed package
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the baseline was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the baseline
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the baseline
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: BASELINE
    description: Actual security configuration details
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Flag indicating if this is the default baseline
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SALES_WORK_QUEUE_SETTINGS

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FEATURE_NAME TARGET_ENTITY TARGET_FIELD _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SALES_WORK_QUEUE_SETTINGS.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:25:38.423658+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SALES_WORK_QUEUE_SETTINGS"

stg_SALES_WORK_QUEUE_SETTINGS.yml (Document the table)

version: 2
models:
- name: stg_SALES_WORK_QUEUE_SETTINGS
  description: The table is about sales work queue settings. It contains configuration
    details for a feature related to sales workflows. The table includes fields for
    the feature name, target entity, and target field. It also tracks creation and
    modification dates, user IDs for creators and modifiers, and system timestamps.
    The table allows for soft deletion and includes Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: FEATURE_NAME
    description: Name of the sales workflow feature
    tests:
    - not_null
  - name: TARGET_ENTITY
    description: Entity targeted by the feature
    tests:
    - not_null
  - name: TARGET_FIELD
    description: Specific field targeted by the feature
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_OPPORTUNITY_STAGE

Table Preview (sample only)

ID MASTER_LABEL API_NAME IS_ACTIVE SORT_ORDER IS_CLOSED IS_WON FORECAST_CATEGORY FORECAST_CATEGORY_NAME DEFAULT_PROBABILITY DESCRIPTION CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OPPORTUNITY_STAGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:09:22.842838+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OPPORTUNITY_STAGE"

stg_OPPORTUNITY_STAGE.yml (Document the table)

version: 2
models:
- name: stg_OPPORTUNITY_STAGE
  description: The table is about opportunity stages. It contains details such as
    stage name, API name, and forecast category. Each stage has attributes like active
    status, sort order, closure status, and probability. The table also tracks creation
    and modification details. It represents the various phases an opportunity goes
    through in a sales process, from qualification to closure.
  columns:
  - name: ID
    description: Unique identifier for each opportunity stage
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the opportunity stage
    tests:
    - not_null
  - name: API_NAME
    description: API name of the opportunity stage
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the stage is currently active
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying stages
    cocoon_meta:
      missing_reason: Not applicable for closed or non-pipeline stages.
  - name: IS_CLOSED
    description: Indicates if the stage represents a closed opportunity
    tests:
    - not_null
  - name: IS_WON
    description: Indicates if the stage represents a won opportunity
    tests:
    - not_null
  - name: FORECAST_CATEGORY
    description: Category used for sales forecasting
    tests:
    - not_null
  - name: FORECAST_CATEGORY_NAME
    description: Display name of the forecast category
    tests:
    - not_null
  - name: DEFAULT_PROBABILITY
    description: Default probability percentage for the stage
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Additional details about the stage
    cocoon_meta:
      missing_reason: Unknown
  - name: CREATED_BY_ID
    description: ID of the user who created the stage
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the stage was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the stage
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_CALENDAR_VIEW_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALENDAR_VIEW_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:41.101470+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALENDAR_VIEW_SHARE"

stg_CALENDAR_VIEW_SHARE.yml (Document the table)

version: 2
models:
- name: stg_CALENDAR_VIEW_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_INTERVIEW_LOG_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_INTERVIEW_LOG_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:08.533616+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_INTERVIEW_LOG_SHARE"

stg_FLOW_INTERVIEW_LOG_SHARE.yml (Document the table)

version: 2
models:
- name: stg_FLOW_INTERVIEW_LOG_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_SPACE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE STATUS DESCRIPTION DATA_SPACE_API_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_SPACE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:41:48.494078+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_SPACE"

stg_DATA_SPACE.yml (Document the table)

version: 2
models:
- name: stg_DATA_SPACE
  description: The table is about data spaces in a system. It contains details like
    ID, name, status, description, and API name for each data space. The table also
    tracks creation and modification dates, user IDs for creators and modifiers, and
    system timestamps. It includes flags for deletion status and Fivetran syncing
    information.
  columns:
  - name: ID
    description: Unique identifier for the data space
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the data space is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data space
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the data space was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the data space
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the data space
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the data space was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the data space was last referenced
    tests:
    - not_null
  - name: STATUS
    description: Current status of the data space
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the data space
    tests:
    - not_null
  - name: DATA_SPACE_API_NAME
    description: API name for the data space
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_OAUTH_CUSTOM_SCOPE_APP

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OAUTH_CUSTOM_SCOPE_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OAUTH_CUSTOM_SCOPE_APP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:46.615186+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OAUTH_CUSTOM_SCOPE_APP"

stg_OAUTH_CUSTOM_SCOPE_APP.yml (Document the table)

version: 2
models:
- name: stg_OAUTH_CUSTOM_SCOPE_APP
  description: The table is about OAuth custom scope applications. It tracks the association
    between OAuth custom scopes and applications. The table includes system fields
    like creation and modification dates, user IDs for creators and modifiers, and
    a deletion flag. It also has a reference to the OAuth custom scope ID. The table
    likely manages permissions or access rights for custom OAuth scopes within specific
    applications.
  columns:
  - name: ID
    description: Unique identifier for the OAuth custom scope application
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: OAUTH_CUSTOM_SCOPE_ID
    description: ID of the associated OAuth custom scope
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CAMPAIGN_MEMBER

Table Preview (sample only)

ID IS_DELETED CAMPAIGN_ID LEAD_ID CONTACT_ID STATUS HAS_RESPONDED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FIRST_RESPONDED_DATE SALUTATION NAME FIRST_NAME LAST_NAME TITLE STREET CITY STATE POSTAL_CODE COUNTRY EMAIL PHONE FAX MOBILE_PHONE DESCRIPTION DO_NOT_CALL HAS_OPTED_OUT_OF_EMAIL HAS_OPTED_OUT_OF_FAX LEAD_SOURCE COMPANY_OR_ACCOUNT TYPE LEAD_OR_CONTACT_ID LEAD_OR_CONTACT_OWNER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CAMPAIGN_MEMBER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:59:59.160511+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CAMPAIGN_MEMBER"

stg_CAMPAIGN_MEMBER.yml (Document the table)

version: 2
models:
- name: stg_CAMPAIGN_MEMBER
  description: The table represents the CAMPAIGN_MEMBER relation between campaigns
    and leads/contacts. It tracks participant details like name, contact info, and
    response status for marketing campaigns. The table links campaign IDs with lead
    or contact IDs, storing additional information such as creation dates, modification
    details, and participant preferences. It provides a comprehensive view of campaign
    participation and outcomes.
  columns:
  - name: ID
    description: Unique identifier for the campaign member record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CAMPAIGN_ID
    description: Identifier of the associated campaign
    tests:
    - not_null
  - name: LEAD_ID
    description: Identifier of the associated lead
    tests:
    - not_null
  - name: CONTACT_ID
    description: Identifier of the associated contact
    tests:
    - not_null
  - name: STATUS
    description: Current status of the campaign member
    tests:
    - not_null
  - name: HAS_RESPONDED
    description: Indicates if the member has responded
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: FIRST_RESPONDED_DATE
    description: Date and time of the first response
    tests:
    - not_null
  - name: SALUTATION
    description: Formal greeting or title
    tests:
    - not_null
  - name: NAME
    description: Full name of the campaign member
    tests:
    - not_null
  - name: FIRST_NAME
    description: First name of the campaign member
    tests:
    - not_null
  - name: LAST_NAME
    description: Last name of the campaign member
    tests:
    - not_null
  - name: TITLE
    description: Professional title or position
    tests:
    - not_null
  - name: STREET
    description: Street address of the campaign member
    tests:
    - not_null
  - name: CITY
    description: City of residence
    tests:
    - not_null
  - name: STATE
    description: State or province of residence
    tests:
    - not_null
  - name: POSTAL_CODE
    description: Postal or ZIP code
    tests:
    - not_null
  - name: COUNTRY
    description: Country of residence
    tests:
    - not_null
  - name: EMAIL
    description: Email address of the campaign member
    tests:
    - not_null
  - name: PHONE
    description: Primary phone number
    tests:
    - not_null
  - name: FAX
    description: Fax number
    tests:
    - not_null
  - name: MOBILE_PHONE
    description: Mobile phone number
    tests:
    - not_null
  - name: DESCRIPTION
    description: Additional details or notes
    tests:
    - not_null
  - name: DO_NOT_CALL
    description: Indicates preference not to be called
    tests:
    - not_null
  - name: HAS_OPTED_OUT_OF_EMAIL
    description: Indicates opt-out status for email communications
    tests:
    - not_null
  - name: HAS_OPTED_OUT_OF_FAX
    description: Indicates if member opted out of fax communications
    tests:
    - not_null
  - name: LEAD_SOURCE
    description: Origin of the lead or contact
    tests:
    - not_null
  - name: COMPANY_OR_ACCOUNT
    description: Associated company or account name
    tests:
    - not_null
  - name: TYPE
    description: Specifies if member is a lead or contact
    tests:
    - not_null
  - name: LEAD_OR_CONTACT_ID
    description: Unique identifier for the lead or contact
    tests:
    - not_null
  - name: LEAD_OR_CONTACT_OWNER_ID
    description: ID of the owner of the lead or contact
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_TASK_PRIORITY

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER IS_DEFAULT IS_HIGH_PRIORITY CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TASK_PRIORITY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:32:46.675306+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TASK_PRIORITY"

stg_TASK_PRIORITY.yml (Document the table)

version: 2
models:
- name: stg_TASK_PRIORITY
  description: 'The table is about task priority levels. It includes details such
    as priority labels, API names, sort order, and flags for default and high priority.
    Each priority has a unique ID and includes metadata like creation and modification
    timestamps. The table appears to define three priority levels: Low, Normal, and
    High, with Normal set as the default.'
  columns:
  - name: ID
    description: Unique identifier for each priority level
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the priority level
    tests:
    - not_null
  - name: API_NAME
    description: Name used in API calls for the priority level
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for sorting priority levels
    tests:
    - not_null
  - name: IS_DEFAULT
    description: Flag indicating if this is the default priority
    tests:
    - not_null
  - name: IS_HIGH_PRIORITY
    description: Flag indicating if this is considered high priority
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the priority level
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the priority level was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the priority level
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DOMAIN

Table Preview (sample only)

ID DOMAIN_TYPE DOMAIN_ OPTIONS_HSTS_PRELOAD CNAME_TARGET HTTPS_OPTION CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DOMAIN.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:45.313553+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DOMAIN"

stg_DOMAIN.yml (Document the table)

version: 2
models:
- name: stg_DOMAIN
  description: The table is about domain configurations. It includes details such
    as domain type, domain name, HTTPS options, and HSTS preload settings. The table
    also tracks creation and modification dates, along with user IDs responsible for
    changes. It contains system timestamps and Fivetran sync information, suggesting
    it's part of a data integration process.
  columns:
  - name: ID
    description: Unique identifier for the domain configuration
    tests:
    - not_null
  - name: DOMAIN_TYPE
    description: Type of domain (e.g., DNS)
    tests:
    - not_null
  - name: DOMAIN_
    description: Actual domain name
    tests:
    - not_null
  - name: OPTIONS_HSTS_PRELOAD
    description: HSTS preload setting (True/False)
    tests:
    - not_null
  - name: CNAME_TARGET
    description: Target for CNAME record, if applicable
    cocoon_meta:
      missing_reason: Not needed for DNS-based domains using Salesforce Sites.
  - name: HTTPS_OPTION
    description: HTTPS configuration option
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DATA_LAKE_OBJECT_INSTANCE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION LAST_REFRESH_DATE TOTAL_RECORDS DATA_LAKE_OBJECT_STATUS LAST_DATA_CHANGE_STATUS_ERROR_CODE CATEGORY EXTERNAL_NAME STORAGE ACCELERATION_ENABLED ACCELERATION_SCHEDULE EXTERNAL_OBJECT_ERROR_STATUS EXTERNAL_OBJECT_ERROR_CODE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_LAKE_OBJECT_INSTANCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:40:39.280351+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_LAKE_OBJECT_INSTANCE"

stg_DATA_LAKE_OBJECT_INSTANCE.yml (Document the table)

version: 2
models:
- name: stg_DATA_LAKE_OBJECT_INSTANCE
  description: The table is about Data Lake Object instances. It contains details
    like ID, owner, name, creation date, modification date, status, and category.
    Each row represents a specific Data Lake Object with attributes such as external
    name, storage type, and acceleration settings. The table also tracks system metadata
    like deletion status and last sync time.
  columns:
  - name: ID
    description: Unique identifier for the Data Lake Object
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the object
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the object is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the Data Lake Object
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the object was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the object
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the object
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the object was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date when the object was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Description of the Data Lake Object
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFRESH_DATE
    description: Date of last data refresh
    cocoon_meta:
      missing_reason: Not applicable for newly created or unrefreshed data objects.
  - name: TOTAL_RECORDS
    description: Total number of records in the object
    cocoon_meta:
      missing_reason: Unknown
  - name: DATA_LAKE_OBJECT_STATUS
    description: Current status of the Data Lake Object
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_ERROR_CODE
    description: Error code for last data change status
    cocoon_meta:
      missing_reason: Unknown
  - name: CATEGORY
    description: Category of the Data Lake Object
    tests:
    - not_null
  - name: EXTERNAL_NAME
    description: External name or identifier of the object
    tests:
    - not_null
  - name: STORAGE
    description: Storage type for the Data Lake Object
    tests:
    - not_null
  - name: ACCELERATION_ENABLED
    description: Flag indicating if acceleration is enabled
    cocoon_meta:
      missing_reason: Not applicable for non-accelerated data objects.
  - name: ACCELERATION_SCHEDULE
    description: Schedule for acceleration if enabled
    cocoon_meta:
      missing_reason: Not applicable for non-accelerated data objects.
  - name: EXTERNAL_OBJECT_ERROR_STATUS
    description: Error status for external object
    cocoon_meta:
      missing_reason: Unknown
  - name: EXTERNAL_OBJECT_ERROR_CODE
    description: Error code for external object
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_MERCHANT_ACCOUNT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MERCHANT_ACCOUNT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:02:39.719110+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MERCHANT_ACCOUNT_SHARE"

stg_MERCHANT_ACCOUNT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_MERCHANT_ACCOUNT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_QUICK_TEXT_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_QUICK_TEXT_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:59.973070+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."QUICK_TEXT_SHARE"

stg_QUICK_TEXT_SHARE.yml (Document the table)

version: 2
models:
- name: stg_QUICK_TEXT_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_KNOWLEDGE_VIEW_STAT

Table Preview (sample only)

ID IS_DELETED PARENT_ID NORMALIZED_SCORE CHANNEL VIEW_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_KNOWLEDGE_VIEW_STAT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:57:25.691863+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."KNOWLEDGE_VIEW_STAT"

stg_KNOWLEDGE_VIEW_STAT.yml (Document the table)

version: 2
models:
- name: stg_KNOWLEDGE_VIEW_STAT
  description: KNOWLEDGE_ARTICLE_VIEW_STAT tracks views for specific articles. It
    includes view counts and channels. KNOWLEDGE_VIEW_STAT likely contains overall
    view statistics. Both partitions focus on knowledge article engagement. They may
    track different levels of detail for article views.
  columns:
  - name: ID
    description: Unique identifier for the view statistic entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent knowledge article
    tests:
    - not_null
  - name: NORMALIZED_SCORE
    description: Adjusted score for the article view
    tests:
    - not_null
  - name: CHANNEL
    description: Distribution channel for the knowledge article
    tests:
    - not_null
  - name: VIEW_COUNT
    description: Number of views for the knowledge article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for sync purposes
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_UNIFIED_INDIVIDUAL_DLM

Table Preview (sample only)

ID SSOT_ID_C SSOT_CREATED_DATE_C SSOT_LAST_NAME_C SSOT_SALUTATION_C SSOT_PERSON_NAME_C SSOT_TITLE_NAME_C SSOT_PHOTO_URL_C SSOT_BIRTH_DATE_C SSOT_LAST_MODIFIED_DATE_C SSOT_FIRST_NAME_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UNIFIED_INDIVIDUAL_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:35:01.460788+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UNIFIED_INDIVIDUAL_DLM"

stg_UNIFIED_INDIVIDUAL_DLM.yml (Document the table)

version: 2
models:
- name: stg_UNIFIED_INDIVIDUAL_DLM
  description: The table is about individual people. It contains personal details
    like names, IDs, and dates. Each row represents one person with their first name,
    last name, full name, and other identifiers. The table includes creation and modification
    dates for each record. It also has flags for deletion status and synchronization
    timestamp.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Single Source of Truth ID for the person
    tests:
    - not_null
  - name: SSOT_CREATED_DATE_C
    description: Date and time when the record was created
    tests:
    - not_null
  - name: SSOT_LAST_NAME_C
    description: Last name of the person
    tests:
    - not_null
  - name: SSOT_SALUTATION_C
    description: Salutation or title for the person
    cocoon_meta:
      missing_reason: Not all cultures or individuals use salutations.
  - name: SSOT_PERSON_NAME_C
    description: Full name of the person
    tests:
    - not_null
  - name: SSOT_TITLE_NAME_C
    description: Professional title or position of the person
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_PHOTO_URL_C
    description: URL link to the person's photo
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_BIRTH_DATE_C
    description: Birth date of the person
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_LAST_MODIFIED_DATE_C
    description: Date and time of last record modification
    tests:
    - not_null
  - name: SSOT_FIRST_NAME_C
    description: First name of the person
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_STANDARD_INVOCABLE_ACTION_TYPE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NAMESPACE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_STANDARD_INVOCABLE_ACTION_TYPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:46.888299+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."STANDARD_INVOCABLE_ACTION_TYPE"

stg_STANDARD_INVOCABLE_ACTION_TYPE.yml (Document the table)

version: 2
models:
- name: stg_STANDARD_INVOCABLE_ACTION_TYPE
  description: The table is about standard invocable action types. It contains details
    such as unique ID, developer name, language, label, creation and modification
    timestamps, and namespace. Each record represents a specific action type with
    its properties. The table includes system metadata like creation dates and modification
    information. It appears to be part of a larger system, possibly related to data
    management or workflow actions.
  columns:
  - name: ID
    description: Unique identifier for the action type
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the action
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the action label
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the action
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: NAMESPACE
    description: Namespace of the action, if applicable
    cocoon_meta:
      missing_reason: Empty for non-namespaced or default namespace components.
  - name: _FIVETRAN_DELETED
    description: Flag used by Fivetran for deletion tracking
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_DAILY_METRIC

Table Preview (sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_ID DATE_ ALL_EMAILS_TRACKED_SENT_COUNT ALL_EMAILS_HARD_BOUNCED_COUNT ALL_EMAILS_SOFT_BOUNCED_COUNT ALL_EMAILS_OUT_OF_OFFICE_COUNT ALL_CALLS_MEANINGFUL_CONNECT ALL_CALLS_NOT_INTERESTED ALL_CALLS_UNQUALIFIED ALL_CALLS_LEFT_VOICEMAIL ALL_CALLS_CALL_BACK_LATER ALL_CALLS_UNCATEGORIZED UNIQUE_EMAILS_OPENED_COUNT UNIQUE_EMAILS_REPLIED_COUNT UNIQUE_EMAILS_LINK_CLICKED_COUNT DAILY_CUT_OFF_TIME_STAMP ALL_EMAILS_UNTRACKED_SENT_COUNT DATE_INT LINK_CLICK_TRACKABLE_SENDS OPEN_TRACKABLE_SENDS REPLY_TRACKABLE_SENDS SOFT_BOUNCE_TRACKABLE_SENDS HARD_BOUNCE_TRACKABLE_SENDS OUT_OF_OFFICE_TRACKABLE_SENDS REPLY_TRACKABLE_RECIPIENT_SENDS RECIPIENT_SENDS RECIPIENT_REPLIES ALL_EMAILS_NOT_DELIVERED_COUNT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_DAILY_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:03.358461+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DAILY_METRIC"

stg_USER_DAILY_METRIC.yml (Document the table)

version: 2
models:
- name: stg_USER_DAILY_METRIC
  description: The table is about daily user metrics. It tracks various email and
    call activities for each user on a specific date. Email metrics include sent,
    bounced, opened, and replied counts. Call metrics cover different call outcomes.
    The table also includes system fields like creation and modification timestamps.
    It appears to be used for tracking user engagement and communication effectiveness
    on a daily basis.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the record owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user associated with the metrics
    tests:
    - not_null
  - name: DATE_
    description: Date of the metrics
    tests:
    - not_null
  - name: ALL_EMAILS_TRACKED_SENT_COUNT
    description: Count of all tracked emails sent
    tests:
    - not_null
  - name: ALL_EMAILS_HARD_BOUNCED_COUNT
    description: Count of hard bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_SOFT_BOUNCED_COUNT
    description: Count of soft bounced emails
    tests:
    - not_null
  - name: ALL_EMAILS_OUT_OF_OFFICE_COUNT
    description: Count of out-of-office email responses
    tests:
    - not_null
  - name: ALL_CALLS_MEANINGFUL_CONNECT
    description: Count of meaningful call connections
    tests:
    - not_null
  - name: ALL_CALLS_NOT_INTERESTED
    description: Count of 'not interested' call outcomes
    tests:
    - not_null
  - name: ALL_CALLS_UNQUALIFIED
    description: Count of unqualified call outcomes
    tests:
    - not_null
  - name: ALL_CALLS_LEFT_VOICEMAIL
    description: Count of voicemails left
    tests:
    - not_null
  - name: ALL_CALLS_CALL_BACK_LATER
    description: Count of 'call back later' outcomes
    tests:
    - not_null
  - name: ALL_CALLS_UNCATEGORIZED
    description: Count of uncategorized call outcomes
    tests:
    - not_null
  - name: UNIQUE_EMAILS_OPENED_COUNT
    description: Count of unique emails opened
    tests:
    - not_null
  - name: UNIQUE_EMAILS_REPLIED_COUNT
    description: Count of unique email replies received
    tests:
    - not_null
  - name: UNIQUE_EMAILS_LINK_CLICKED_COUNT
    description: Count of unique email link clicks
    tests:
    - not_null
  - name: DAILY_CUT_OFF_TIME_STAMP
    description: Daily cut-off timestamp for metrics
    tests:
    - not_null
  - name: ALL_EMAILS_UNTRACKED_SENT_COUNT
    description: Count of untracked emails sent
    tests:
    - not_null
  - name: DATE_INT
    description: Integer representation of the date
    tests:
    - not_null
  - name: LINK_CLICK_TRACKABLE_SENDS
    description: Count of trackable link click email sends
    tests:
    - not_null
  - name: OPEN_TRACKABLE_SENDS
    description: Count of trackable open email sends
    tests:
    - not_null
  - name: REPLY_TRACKABLE_SENDS
    description: Count of trackable reply email sends
    tests:
    - not_null
  - name: SOFT_BOUNCE_TRACKABLE_SENDS
    description: Count of trackable soft bounce email sends
    tests:
    - not_null
  - name: HARD_BOUNCE_TRACKABLE_SENDS
    description: Number of trackable emails that hard bounced
    tests:
    - not_null
  - name: OUT_OF_OFFICE_TRACKABLE_SENDS
    description: Number of trackable emails that received out-of-office replies
    tests:
    - not_null
  - name: REPLY_TRACKABLE_RECIPIENT_SENDS
    description: Number of trackable emails sent that received replies
    tests:
    - not_null
  - name: RECIPIENT_SENDS
    description: Total number of emails sent to recipients
    tests:
    - not_null
  - name: RECIPIENT_REPLIES
    description: Total number of replies received from recipients
    tests:
    - not_null
  - name: ALL_EMAILS_NOT_DELIVERED_COUNT
    description: Total number of emails that failed to deliver
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran system field for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran system field for synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_WORK_LIST_ITEM

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_WORK_LIST_ID RELATED_RECORD_ID PRIORITY_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_WORK_LIST_ITEM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:08.443652+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_WORK_LIST_ITEM"

stg_USER_WORK_LIST_ITEM.yml (Document the table)

version: 2
models:
- name: stg_USER_WORK_LIST_ITEM
  description: The table represents the USER_WORK_LIST_ITEM relation between users
    and their work list items. It contains details such as creation and modification
    dates, priority order, and related record IDs. The table likely links user work
    lists (USER_WORK_LIST_ID) with specific items or tasks (RELATED_RECORD_ID). It
    includes metadata fields for tracking changes and deletions.
  columns:
  - name: ID
    description: Unique identifier for the work list item
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the item is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the item was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the item
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the item
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: USER_WORK_LIST_ID
    description: ID of the associated user work list
    tests:
    - not_null
  - name: RELATED_RECORD_ID
    description: ID of the related record or task
    tests:
    - not_null
  - name: PRIORITY_ORDER
    description: Order of priority for the work list item
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ASSET_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ASSET_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:29.786677+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ASSET_TAG"

stg_ASSET_TAG.yml (Document the table)

version: 2
models:
- name: stg_ASSET_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_UNIFIED_CONTACT_POINT_EMAIL_DLM

Table Preview (sample only)

ID SSOT_ID_C SSOT_PARTY_ID_C SSOT_EMAIL_ADDRESS_C SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C REL_1721117986343_END_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_UNIFIED_CONTACT_POINT_EMAIL_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:34:37.160427+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."UNIFIED_CONTACT_POINT_EMAIL_DLM"

stg_UNIFIED_CONTACT_POINT_EMAIL_DLM.yml (Document the table)

version: 2
models:
- name: stg_UNIFIED_CONTACT_POINT_EMAIL_DLM
  description: The table is about email contact information. It contains unique identifiers,
    email addresses, and associated party IDs. The table includes fields for bounce
    information, but these are empty in the sample data. It also has metadata fields
    for deletion status and synchronization timestamps. This table likely serves as
    a centralized repository for email contact details within a larger system.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Single Source of Truth ID for the contact
    tests:
    - not_null
  - name: SSOT_PARTY_ID_C
    description: Single Source of Truth ID for the party
    tests:
    - not_null
  - name: SSOT_EMAIL_ADDRESS_C
    description: Email address of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: SSOT_EMAIL_LATEST_BOUNCE_DATE_TIME_C
    description: Date and time of the latest email bounce
    cocoon_meta:
      missing_reason: Not applicable if email has never bounced.
  - name: SSOT_EMAIL_LATEST_BOUNCE_REASON_TEXT_C
    description: Reason for the latest email bounce
    cocoon_meta:
      missing_reason: Not applicable if email has never bounced.
  - name: REL_1721117986343_END_C
    description: Purpose unclear, possibly related to relationship end date
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_PROCESS_DEFINITION

Table Preview (sample only)

ID NAME DEVELOPER_NAME TYPE DESCRIPTION TABLE_ENUM_OR_ID LOCK_TYPE STATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:25.657536+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_DEFINITION"

stg_PROCESS_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_DEFINITION
  description: The table is about process definitions. It includes details like ID,
    name, developer name, type, and associated table. Each process has a state, lock
    type, and timestamps for creation and modification. The table tracks who created
    and last modified each process. It also includes system metadata and Fivetran
    sync information.
  columns:
  - name: ID
    description: Unique identifier for the process definition
    tests:
    - not_null
  - name: NAME
    description: Name of the process
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Developer-friendly name for the process
    tests:
    - not_null
  - name: TYPE
    description: Type of the process definition
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the process
    cocoon_meta:
      missing_reason: Optional field for additional workflow information, if not needed.
  - name: TABLE_ENUM_OR_ID
    description: Associated table or enum for the process
    tests:
    - not_null
  - name: LOCK_TYPE
    description: Type of lock applied to the process
    tests:
    - not_null
  - name: STATE
    description: Current state of the process
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the process was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the process
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the process
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_SSOT_MARKET_SEGMENT_DLM

Table Preview (sample only)

ID SSOT_CREATED_DATE_C SSOT_DATA_SOURCE_ID_C SSOT_DATA_SOURCE_OBJECT_ID_C SSOT_DESCRIPTION_C SSOT_ID_C SSOT_NAME_C KQ_ID_C _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SSOT_MARKET_SEGMENT_DLM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:31:20.038525+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SSOT_MARKET_SEGMENT_DLM"

stg_SSOT_MARKET_SEGMENT_DLM.yml (Document the table)

version: 2
models:
- name: stg_SSOT_MARKET_SEGMENT_DLM
  description: The table is about market segments. It contains identifiers (ID, SSOT_ID_C,
    KQ_ID_C), creation date, data source information, description, and name of the
    segment. The table likely stores and tracks different market segments for business
    analysis or targeting purposes. The _FIVETRAN fields suggest this data is synced
    from another system using Fivetran.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: SSOT_CREATED_DATE_C
    description: Date when the record was created
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_ID_C
    description: Identifier of the data source
    tests:
    - not_null
  - name: SSOT_DATA_SOURCE_OBJECT_ID_C
    description: Object ID in the original data source
    tests:
    - not_null
  - name: SSOT_DESCRIPTION_C
    description: Description of the market segment
    tests:
    - not_null
  - name: SSOT_ID_C
    description: Single Source of Truth identifier
    tests:
    - not_null
  - name: SSOT_NAME_C
    description: Name of the market segment
    tests:
    - not_null
  - name: KQ_ID_C
    description: Another identifier, possibly for internal use
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_QUEUE_SOBJECT

Table Preview (sample only)

ID QUEUE_ID SOBJECT_TYPE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_QUEUE_SOBJECT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:49.317750+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."QUEUE_SOBJECT"

stg_QUEUE_SOBJECT.yml (Document the table)

version: 2
models:
- name: stg_QUEUE_SOBJECT
  description: The table represents the relationship between queues and Salesforce
    objects. It specifies which SObject types are associated with each queue. The
    table includes identifiers for the queue and the SObject type, along with creation
    and modification details. It also has fields for tracking deletion status and
    synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for the queue-SObject relationship
    tests:
    - not_null
  - name: QUEUE_ID
    description: Identifier of the associated queue
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of Salesforce object associated with the queue
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the relationship
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_EMAIL_CONTENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE SUBJECT DESCRIPTION TEMPLATE_ID HTML_BODY TEXT_BODY TOTAL_SENT TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_OPENS UNIQUE_OPENS TOTAL_TRACKED_LINK_CLICKS UNIQUE_TRACKED_LINK_CLICKS UNIQUE_OPT_OUTS TOTAL_SPAM_COMPLAINTS MANAGED_CONTENT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_CONTENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:39.166491+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_CONTENT"

stg_EMAIL_CONTENT.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_CONTENT
  description: The table is about email content. It includes basic details like subject,
    description, and body. It tracks creation and modification dates. The table stores
    performance metrics such as total sent, bounces, opens, clicks, and opt-outs.
    It also includes spam complaints and unique engagement data. This table likely
    supports email marketing analysis and campaign performance tracking.
  columns:
  - name: ID
    description: Unique identifier for the email content
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the email content
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the email content was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the email content
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the content
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the content was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the content was last referenced
    tests:
    - not_null
  - name: SUBJECT
    description: Subject line of the email
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the email content
    tests:
    - not_null
  - name: TEMPLATE_ID
    description: ID of the template used for the email
    tests:
    - not_null
  - name: HTML_BODY
    description: HTML version of the email body
    tests:
    - not_null
  - name: TEXT_BODY
    description: Plain text version of the email body
    tests:
    - not_null
  - name: TOTAL_SENT
    description: Total number of emails sent
    tests:
    - not_null
  - name: TOTAL_SOFT_BOUNCED
    description: Number of soft bounces
    tests:
    - not_null
  - name: TOTAL_HARD_BOUNCED
    description: Number of hard bounces
    tests:
    - not_null
  - name: TOTAL_OPENS
    description: Total number of email opens
    tests:
    - not_null
  - name: UNIQUE_OPENS
    description: Number of unique email opens
    tests:
    - not_null
  - name: TOTAL_TRACKED_LINK_CLICKS
    description: Total number of tracked link clicks
    tests:
    - not_null
  - name: UNIQUE_TRACKED_LINK_CLICKS
    description: Number of unique tracked link clicks
    tests:
    - not_null
  - name: UNIQUE_OPT_OUTS
    description: Number of unique opt-outs
    tests:
    - not_null
  - name: TOTAL_SPAM_COMPLAINTS
    description: Total number of spam complaints
    tests:
    - not_null
  - name: MANAGED_CONTENT_ID
    description: ID for managed content
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_DOCUMENT_SUBSCRIPTION

Table Preview (sample only)

ID USER_ID CONTENT_DOCUMENT_ID IS_COMMENT_SUB IS_DOCUMENT_SUB _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_DOCUMENT_SUBSCRIPTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:35:27.421160+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_DOCUMENT_SUBSCRIPTION"

stg_CONTENT_DOCUMENT_SUBSCRIPTION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_DOCUMENT_SUBSCRIPTION
  description: The table represents subscriptions of users to content documents. It
    links users to documents they're subscribed to. It tracks whether the subscription
    is for comments or the document itself. The table includes flags for deleted records
    and synchronization timestamps. This structure allows tracking user engagement
    with specific content documents.
  columns:
  - name: ID
    description: Unique identifier for each subscription record
    tests:
    - not_null
  - name: USER_ID
    description: Identifier of the user who subscribed
    tests:
    - not_null
  - name: CONTENT_DOCUMENT_ID
    description: Identifier of the document being subscribed to
    tests:
    - not_null
  - name: IS_COMMENT_SUB
    description: Indicates if the subscription is for comments
    tests:
    - not_null
  - name: IS_DOCUMENT_SUB
    description: Indicates if the subscription is for the document
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_USER_APP_MENU_CUSTOMIZATION

Table Preview (sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP APPLICATION_ID SORT_ORDER _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_APP_MENU_CUSTOMIZATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:36:29.587222+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_APP_MENU_CUSTOMIZATION"

stg_USER_APP_MENU_CUSTOMIZATION.yml (Document the table)

version: 2
models:
- name: stg_USER_APP_MENU_CUSTOMIZATION
  description: The table is about user-specific customizations for application menus.
    It contains details such as the user ID, application ID, and sort order. The table
    tracks creation and modification dates, as well as the users who made these changes.
    It includes a deletion flag and system timestamp. The table also has fields for
    Fivetran sync tracking, suggesting it's part of a data integration process.
  columns:
  - name: ID
    description: Unique identifier for the customization record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this customization
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: APPLICATION_ID
    description: ID of the application this customization applies to
    tests:
    - not_null
  - name: SORT_ORDER
    description: Order in which menu items are displayed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_TIME_SLOT

Table Preview (sample only)

ID IS_DELETED TIME_SLOT_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE OPERATING_HOURS_ID DAY_OF_WEEK TYPE START_TIME END_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_TIME_SLOT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:33:36.055504+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."TIME_SLOT"

stg_TIME_SLOT.yml (Document the table)

version: 2
models:
- name: stg_TIME_SLOT
  description: The table is about time slots for business hours. It contains details
    of operating hours for each day of the week. Each record represents a specific
    day's working hours. The table includes information such as the day of the week,
    start time, end time, and type of time slot. It also tracks creation and modification
    details for each time slot entry.
  columns:
  - name: ID
    description: Unique identifier for each time slot record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: TIME_SLOT_NUMBER
    description: Unique number assigned to each time slot
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: OPERATING_HOURS_ID
    description: ID of the associated operating hours
    tests:
    - not_null
  - name: DAY_OF_WEEK
    description: Day of the week for the time slot
    tests:
    - not_null
  - name: TYPE
    description: Type of time slot (e.g., Normal)
    tests:
    - not_null
  - name: START_TIME
    description: Start time of the operating hours
    tests:
    - not_null
  - name: END_TIME
    description: End time of the operating hours
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD_ELEMENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_RECORD_VERSION_ID ELEMENT_NAME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_RECORD_ELEMENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:32.444822+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD_ELEMENT"

stg_FLOW_RECORD_ELEMENT.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD_ELEMENT
  description: The table is about flow record elements. It contains details such as
    ID, name, creation date, last modification date, and associated flow record version.
    The table tracks element names and includes system fields like created by, last
    modified by, and system modstamp. It also has Fivetran-specific fields for syncing
    and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the flow record element
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow record element
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: FLOW_RECORD_VERSION_ID
    description: ID of the associated flow record version
    tests:
    - not_null
  - name: ELEMENT_NAME
    description: Name of the specific flow element
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_OAUTH_CUSTOM_SCOPE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION IS_PUBLIC _FIVETRAN_DELETED _FIVETRAN_SYNCED NAMESPACE_PREFIX

stg_OAUTH_CUSTOM_SCOPE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:06:39.323371+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OAUTH_CUSTOM_SCOPE"

stg_OAUTH_CUSTOM_SCOPE.yml (Document the table)

version: 2
models:
- name: stg_OAUTH_CUSTOM_SCOPE
  description: The table is about custom OAuth scopes. It contains details like scope
    ID, developer name, language, label, creation and modification dates, description,
    and visibility. The table tracks whether scopes are deleted or public. It also
    includes information about who created and last modified each scope, along with
    system timestamps and namespace prefixes.
  columns:
  - name: ID
    description: Unique identifier for the custom OAuth scope
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the scope has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the custom OAuth scope
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the scope
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the custom OAuth scope
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the scope was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the scope
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the scope
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the custom OAuth scope
    tests:
    - not_null
  - name: IS_PUBLIC
    description: Indicates if the scope is publicly accessible
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the custom OAuth scope
    tests:
    - not_null
  tests: []

stg_ENGAGEMENT_CHANNEL_TYPE_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ENGAGEMENT_CHANNEL_TYPE_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:21.172483+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ENGAGEMENT_CHANNEL_TYPE_SHARE"

stg_ENGAGEMENT_CHANNEL_TYPE_SHARE.yml (Document the table)

version: 2
models:
- name: stg_ENGAGEMENT_CHANNEL_TYPE_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FLOW_RECORD

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE FLOW_DEFINITION ASSOCIATED_RECORD_ID DESCRIPTION SEGMENT_ID TYPE PROGRESS_STATUS SCHEDULED_START_DATE ERROR_CODE ERROR_DETAILS FLOW_CATEGORY FLOW_SUBCATEGORY IS_PAUSED FLOW_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED NAMESPACE_PREFIX IS_TEMPLATE IS_CITIZEN_ENABLED FLOW_LABEL TRIGGER_OBJECT_OR_EVENT_LABEL API_VERSION INSTALLED_PACKAGE_NAME SOURCE_TEMPLATE_ID IS_OVERRIDABLE OVERRIDDEN_BY_ID API_NAME OVERRIDDEN_FLOW_ID MANAGEABLE_STATE ACTIVE_VERSION_ID BUILDER START_SOURCE

stg_FLOW_RECORD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:52:25.419643+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_RECORD"

stg_FLOW_RECORD.yml (Document the table)

version: 2
models:
- name: stg_FLOW_RECORD
  description: The table is about flow records. It contains details like ID, owner,
    name, creation and modification dates, flow definition, type, and status. The
    table tracks flow progress, errors, categories, and API details. It also includes
    flags for deletion, pausing, templates, and citizen enablement. The table likely
    represents automation flows or processes within a system.
  columns:
  - name: ID
    description: Unique identifier for the flow record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the flow
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the flow is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the flow was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the flow
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the flow
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the flow was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the flow was last referenced
    tests:
    - not_null
  - name: FLOW_DEFINITION
    description: Definition or structure of the flow
    tests:
    - not_null
  - name: ASSOCIATED_RECORD_ID
    description: ID of the record associated with the flow
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the flow
    tests:
    - not_null
  - name: SEGMENT_ID
    description: ID of the segment the flow belongs to
    tests:
    - not_null
  - name: TYPE
    description: Type of the flow
    tests:
    - not_null
  - name: PROGRESS_STATUS
    description: Current status of the flow's progress
    tests:
    - not_null
  - name: SCHEDULED_START_DATE
    description: Planned start date for the flow
    tests:
    - not_null
  - name: ERROR_CODE
    description: Error code if the flow encountered an error
    tests:
    - not_null
  - name: ERROR_DETAILS
    description: Detailed description of any errors
    tests:
    - not_null
  - name: FLOW_CATEGORY
    description: Category of the flow
    tests:
    - not_null
  - name: FLOW_SUBCATEGORY
    description: Subcategory of the flow
    tests:
    - not_null
  - name: IS_PAUSED
    description: Flag indicating if the flow is paused
    tests:
    - not_null
  - name: FLOW_TYPE
    description: Type of flow (e.g., automated, manual)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the flow
    tests:
    - not_null
  - name: IS_TEMPLATE
    description: Flag indicating if the flow is a template
    tests:
    - not_null
  - name: IS_CITIZEN_ENABLED
    description: Flag indicating if citizen development is enabled
    tests:
    - not_null
  - name: FLOW_LABEL
    description: Label or tag for the flow
    tests:
    - not_null
  - name: TRIGGER_OBJECT_OR_EVENT_LABEL
    description: Label for the triggering object or event
    tests:
    - not_null
  - name: API_VERSION
    description: Version of the API used
    tests:
    - not_null
  - name: INSTALLED_PACKAGE_NAME
    description: Name of the installed package
    tests:
    - not_null
  - name: SOURCE_TEMPLATE_ID
    description: ID of the source template
    tests:
    - not_null
  - name: IS_OVERRIDABLE
    description: Flag indicating if the flow can be overridden
    tests:
    - not_null
  - name: OVERRIDDEN_BY_ID
    description: ID of the overriding entity
    tests:
    - not_null
  - name: API_NAME
    description: API name of the flow
    tests:
    - not_null
  - name: OVERRIDDEN_FLOW_ID
    description: ID of the flow that was overridden
    tests:
    - not_null
  - name: MANAGEABLE_STATE
    description: Current state of manageability
    tests:
    - not_null
  - name: ACTIVE_VERSION_ID
    description: ID of the active version
    tests:
    - not_null
  - name: BUILDER
    description: Type or name of the flow builder
    tests:
    - not_null
  - name: START_SOURCE
    description: Source that initiates the flow
    tests:
    - not_null
  tests: []

stg_SERVICE_SETUP_PROVISIONING

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP JOB_NAME TASK_NAME STATUS TASK_CONTEXT ATTEMPT_ORDINAL TASK_ACTION TASK_ACTION_CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SERVICE_SETUP_PROVISIONING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:46.935903+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SERVICE_SETUP_PROVISIONING"

stg_SERVICE_SETUP_PROVISIONING.yml (Document the table)

version: 2
models:
- name: stg_SERVICE_SETUP_PROVISIONING
  description: The table is about service setup provisioning tasks. It includes details
    such as task ID, name, job name, status, creation and modification dates, and
    user IDs for creation and modification. Each row represents a specific provisioning
    task with its current state and metadata. The tasks appear to be related to sales
    setup processes, with all shown examples having the job name "setup_sales_easy__sales"
    and status "InProgress".
  columns:
  - name: ID
    description: Unique identifier for the task
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or number assigned to the task
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the task was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the task
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the task
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: JOB_NAME
    description: Name of the job associated with the task
    tests:
    - not_null
  - name: TASK_NAME
    description: Specific name of the task
    cocoon_meta:
      missing_reason: Unknown
  - name: STATUS
    description: Current status of the task
    tests:
    - not_null
  - name: TASK_CONTEXT
    description: Context or additional information about the task
    cocoon_meta:
      missing_reason: Unknown
  - name: ATTEMPT_ORDINAL
    description: Order or sequence number of task attempt
    tests:
    - not_null
  - name: TASK_ACTION
    description: Action to be performed for the task
    cocoon_meta:
      missing_reason: Unknown
  - name: TASK_ACTION_CONTEXT
    description: Context for the task action
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_FIVETRAN_FORMULA_MODEL

Table Preview (sample only)

OBJECT MODEL _FIVETRAN_SYNCED

stg_FIVETRAN_FORMULA_MODEL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:54.829720+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIVETRAN_FORMULA_MODEL"

stg_FIVETRAN_FORMULA_MODEL.yml (Document the table)

version: 2
models:
- name: stg_FIVETRAN_FORMULA_MODEL
  description: The table is about Fivetran formula models. It contains SQL SELECT
    statements for different objects like event_relay_config, case_history, and site.
    Each row represents a model with its SQL query and synchronization timestamp.
    The models select various fields from their respective objects. This table likely
    serves as a configuration or metadata store for data transformation processes
    in a Fivetran-based data pipeline.
  columns:
  - name: OBJECT
    description: Name of the Salesforce object or model
    tests:
    - not_null
  - name: MODEL
    description: SQL SELECT statement for the object
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_ASSET_RELATIONSHIP

Table Preview (sample only)

ID IS_DELETED ASSET_RELATIONSHIP_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE ASSET_ID RELATED_ASSET_ID FROM_DATE TO_DATE RELATIONSHIP_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ASSET_RELATIONSHIP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:22.022818+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ASSET_RELATIONSHIP"

stg_ASSET_RELATIONSHIP.yml (Document the table)

version: 2
models:
- name: stg_ASSET_RELATIONSHIP
  description: The table is about relationships between assets. It tracks connections
    between two assets identified by ASSET_ID and RELATED_ASSET_ID. The relationship
    has a type, start date (FROM_DATE), and end date (TO_DATE). It includes metadata
    like creation and modification dates, user IDs, and system fields. The table allows
    tracking of asset dependencies or connections over time.
  columns:
  - name: ID
    description: Unique identifier for the asset relationship
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: ASSET_RELATIONSHIP_NUMBER
    description: Unique number for the asset relationship
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: ASSET_ID
    description: ID of the primary asset in the relationship
    tests:
    - not_null
  - name: RELATED_ASSET_ID
    description: ID of the related asset in the relationship
    tests:
    - not_null
  - name: FROM_DATE
    description: Start date of the asset relationship
    tests:
    - not_null
  - name: TO_DATE
    description: End date of the asset relationship
    tests:
    - not_null
  - name: RELATIONSHIP_TYPE
    description: Type or category of the asset relationship
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROCESS_INSTANCE_STEP

Table Preview (sample only)

ID PROCESS_INSTANCE_ID STEP_STATUS ORIGINAL_ACTOR_ID ACTOR_ID COMMENTS STEP_NODE_ID ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES CREATED_DATE CREATED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_INSTANCE_STEP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:59.728089+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_INSTANCE_STEP"

stg_PROCESS_INSTANCE_STEP.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_INSTANCE_STEP
  description: The table is about process instance steps. It includes details like
    step status, actors involved, comments, elapsed time, and creation information.
    Each step is linked to a process instance via PROCESS_INSTANCE_ID. The table tracks
    the progress and timing of individual steps within a larger process flow. It also
    captures who performed the step and any comments associated with it.
  columns:
  - name: ID
    description: Unique identifier for each process instance step
    tests:
    - not_null
  - name: PROCESS_INSTANCE_ID
    description: ID linking step to its parent process instance
    tests:
    - not_null
  - name: STEP_STATUS
    description: Current status of the process step
    tests:
    - not_null
  - name: ORIGINAL_ACTOR_ID
    description: ID of the initially assigned actor
    tests:
    - not_null
  - name: ACTOR_ID
    description: ID of the actor who performed the step
    tests:
    - not_null
  - name: COMMENTS
    description: Any remarks or notes associated with the step
    tests:
    - not_null
  - name: STEP_NODE_ID
    description: Identifier for the step within the process flow
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_DAYS
    description: Time taken to complete step in days
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_HOURS
    description: Time taken to complete step in hours
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_MINUTES
    description: Time taken to complete step in minutes
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the step was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the step
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp by the system
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_IPADDRESS_RANGE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IP_ADDRESS_FEATURE IP_ADDRESS_USAGE_SCOPE START_ADDRESS END_ADDRESS DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IPADDRESS_RANGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:56:43.244866+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IPADDRESS_RANGE"

stg_IPADDRESS_RANGE.yml (Document the table)

version: 2
models:
- name: stg_IPADDRESS_RANGE
  description: The table is about IP address ranges. It includes details such as the
    start and end addresses, usage scope, and associated feature. The table tracks
    creation and modification dates, as well as the users who made changes. It also
    contains fields for developer name, language, master label, and description. The
    'IS_DELETED' field likely indicates soft deletion status.
  columns:
  - name: ID
    description: Unique identifier for the IP address range
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is soft deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference this range
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language associated with the IP address range
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display label for the IP address range
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: IP_ADDRESS_FEATURE
    description: Feature associated with this IP address range
    tests:
    - not_null
  - name: IP_ADDRESS_USAGE_SCOPE
    description: Scope of usage for this IP address range
    tests:
    - not_null
  - name: START_ADDRESS
    description: Starting IP address of the range
    tests:
    - not_null
  - name: END_ADDRESS
    description: Ending IP address of the range
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the IP address range
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_SITE_REDIRECT_MAPPING

Table Preview (sample only)

ID SITE_ID IS_ACTIVE SOURCE TARGET ACTION_ IS_DYNAMIC CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SITE_REDIRECT_MAPPING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:28:05.886595+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SITE_REDIRECT_MAPPING"

stg_SITE_REDIRECT_MAPPING.yml (Document the table)

version: 2
models:
- name: stg_SITE_REDIRECT_MAPPING
  description: The table is about site redirect mappings. It contains details of redirect
    rules for websites. Each record includes a source URL, target URL, and action
    to take. The table tracks whether redirects are active and dynamic. It also stores
    creation and modification metadata, including dates and user IDs. The table likely
    supports managing and implementing URL redirections for a website or application.
  columns:
  - name: ID
    description: Unique identifier for each redirect mapping
    tests:
    - not_null
  - name: SITE_ID
    description: Identifier of the website or application
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the redirect is currently active
    tests:
    - not_null
  - name: SOURCE
    description: Original URL that needs to be redirected
    tests:
    - not_null
  - name: TARGET
    description: Destination URL for the redirect
    tests:
    - not_null
  - name: ACTION_
    description: Type of redirect action to be performed
    tests:
    - not_null
  - name: IS_DYNAMIC
    description: Indicates if the redirect is dynamically generated
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the redirect was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the redirect
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the redirect
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization by Fivetran
    tests:
    - not_null
  tests: []

stg_DATA_ACTION_JOB_SUMMARY

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_ACTION_DEFINITION_ID PROCESS_NAME EXTERNAL_REQUEST_NAME UPDATED_RECORD_COUNT PROCESSED_RECORD_COUNT FAILED_RECORD_COUNT PUBLISH_DATE_TIME FAILED_RECORDS SKIPPED_RECORDS JOB_TYPE JOB_STATUS START_EXECUTION_TIME END_EXECUTION_TIME EXECUTION_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ACTION_JOB_SUMMARY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:24.921816+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ACTION_JOB_SUMMARY"

stg_DATA_ACTION_JOB_SUMMARY.yml (Document the table)

version: 2
models:
- name: stg_DATA_ACTION_JOB_SUMMARY
  description: The table is about data action job summaries. It includes job identifiers,
    ownership details, creation and modification timestamps, and job execution metrics.
    The table tracks information such as the number of records processed, updated,
    and failed. It also contains details about job type, status, execution times,
    and any failures or skipped records. This table likely serves as a log or summary
    of data processing tasks within a system.
  columns:
  - name: ID
    description: Unique identifier for the data action job summary
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this job summary
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data action job
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: DATA_ACTION_DEFINITION_ID
    description: ID of the associated data action definition
    tests:
    - not_null
  - name: PROCESS_NAME
    description: Name of the process associated with the job
    tests:
    - not_null
  - name: EXTERNAL_REQUEST_NAME
    description: Name of the external request, if applicable
    tests:
    - not_null
  - name: UPDATED_RECORD_COUNT
    description: Number of records updated by the job
    tests:
    - not_null
  - name: PROCESSED_RECORD_COUNT
    description: Total number of records processed by the job
    tests:
    - not_null
  - name: FAILED_RECORD_COUNT
    description: Number of records that failed processing
    tests:
    - not_null
  - name: PUBLISH_DATE_TIME
    description: Date and time when the job was published
    tests:
    - not_null
  - name: FAILED_RECORDS
    description: Details of records that failed processing
    tests:
    - not_null
  - name: SKIPPED_RECORDS
    description: Details of records that were skipped
    tests:
    - not_null
  - name: JOB_TYPE
    description: Type of the data action job
    tests:
    - not_null
  - name: JOB_STATUS
    description: Current status of the job
    tests:
    - not_null
  - name: START_EXECUTION_TIME
    description: Time when the job execution started
    tests:
    - not_null
  - name: END_EXECUTION_TIME
    description: Time when the job execution ended
    tests:
    - not_null
  - name: EXECUTION_DETAILS
    description: Additional details about the job execution
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FLOW_STAGE_RELATION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PARENT_ID STAGE_ORDER STAGE_TYPE STAGE_LABEL _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FLOW_STAGE_RELATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:11.203571+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FLOW_STAGE_RELATION"

stg_FLOW_STAGE_RELATION.yml (Document the table)

version: 2
models:
- name: stg_FLOW_STAGE_RELATION
  description: The table is about flow stage relations. It links stages in a process
    flow. Each record represents a stage with its order, type, and label. The table
    tracks creation and modification details. It includes a parent ID, suggesting
    a hierarchical structure. The table likely supports workflow or process management
    systems.
  columns:
  - name: ID
    description: Unique identifier for the flow stage relation
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the flow stage relation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for internal use
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent stage or flow
    tests:
    - not_null
  - name: STAGE_ORDER
    description: Numerical order of the stage in the flow
    tests:
    - not_null
  - name: STAGE_TYPE
    description: Type or category of the stage
    tests:
    - not_null
  - name: STAGE_LABEL
    description: Display label for the stage
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_SELLER_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_SELLER_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:26:33.401026+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."SELLER_SHARE"

stg_SELLER_SHARE.yml (Document the table)

version: 2
models:
- name: stg_SELLER_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_LIGHTNING_ONBOARDING_CONFIG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CUSTOM_QUESTION FEEDBACK_FORM_DAYS_FREQUENCY SEND_FEEDBACK_TO_SALESFORCE IS_CUSTOM PROMPT_DELAY_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIGHTNING_ONBOARDING_CONFIG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:21.804406+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIGHTNING_ONBOARDING_CONFIG"

stg_LIGHTNING_ONBOARDING_CONFIG.yml (Document the table)

version: 2
models:
- name: stg_LIGHTNING_ONBOARDING_CONFIG
  description: The table is about Lightning onboarding configuration settings. It
    contains details like developer name, language, master label, custom questions,
    and feedback settings. The table tracks creation and modification dates, user
    IDs, and system timestamps. It includes flags for deletion, customization, and
    Salesforce feedback. The table also stores configuration for prompt delay time
    and feedback form frequency.
  columns:
  - name: ID
    description: Unique identifier for the onboarding configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name for the configuration in the system
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the onboarding configuration
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the configuration
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: CUSTOM_QUESTION
    description: Custom questions for the onboarding process
    tests:
    - not_null
  - name: FEEDBACK_FORM_DAYS_FREQUENCY
    description: Frequency of feedback form in days
    tests:
    - not_null
  - name: SEND_FEEDBACK_TO_SALESFORCE
    description: Flag to send feedback to Salesforce
    tests:
    - not_null
  - name: IS_CUSTOM
    description: Flag indicating if the configuration is custom
    tests:
    - not_null
  - name: PROMPT_DELAY_TIME
    description: Delay time for prompts in the onboarding process
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_DASHBOARD_TAG

Table Preview (sample only)

ID TAG_DEFINITION_ID ITEM_ID CREATED_DATE SYSTEM_MODSTAMP IS_DELETED NAME TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DASHBOARD_TAG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:02.877133+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DASHBOARD_TAG"

stg_DASHBOARD_TAG.yml (Document the table)

version: 2
models:
- name: stg_DASHBOARD_TAG
  description: The table contains tag information for various Salesforce objects.
    Each partition represents a specific object type. The objects include accounts,
    assets, campaigns, cases, contacts, and more. The table stores tag IDs, creation
    dates, and other metadata for each tagged item.
  columns:
  - name: ID
    description: Unique identifier for the tag
    tests:
    - not_null
  - name: TAG_DEFINITION_ID
    description: ID of the tag definition
    tests:
    - not_null
  - name: ITEM_ID
    description: ID of the Salesforce object being tagged
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the tag was created
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Last modification timestamp of the tag
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean indicating if the tag is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the tag
    tests:
    - not_null
  - name: TYPE
    description: Type of Salesforce object being tagged
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_RECENTLY_VIEWED

Table Preview (sample only)

ID NAME LAST_NAME FIRST_NAME TYPE ALIAS USER_ROLE_ID RECORD_TYPE_ID IS_ACTIVE PROFILE_ID TITLE EMAIL PHONE NAME_OR_ALIAS LAST_VIEWED_DATE LAST_REFERENCED_DATE LANGUAGE_ _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_RECENTLY_VIEWED.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:24.353816+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."RECENTLY_VIEWED"

stg_RECENTLY_VIEWED.yml (Document the table)

version: 2
models:
- name: stg_RECENTLY_VIEWED
  description: The table is about recently viewed items in a CRM system. It contains
    details such as ID, name, type, last viewed date, and other attributes of various
    objects like accounts, contacts, and list views. The table tracks when items were
    last viewed or referenced. It includes flags for active status and deletion. The
    data appears to be synced from another system, possibly Salesforce, given the
    field names and structure.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: NAME
    description: Name of the record or item
    tests:
    - not_null
  - name: LAST_NAME
    description: Last name of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: FIRST_NAME
    description: First name of the contact
    cocoon_meta:
      missing_reason: Unknown
  - name: TYPE
    description: Type of the record (e.g., Account, Contact)
    tests:
    - not_null
  - name: ALIAS
    description: Alternative name or shorthand for the record
    cocoon_meta:
      missing_reason: Not applicable for non-user records like accounts or cases.
  - name: USER_ROLE_ID
    description: Identifier for the user's role
    cocoon_meta:
      missing_reason: Not applicable for non-user records like accounts or contacts.
  - name: RECORD_TYPE_ID
    description: Identifier for the specific record type
    cocoon_meta:
      missing_reason: Unknown
  - name: IS_ACTIVE
    description: Boolean indicating if the record is active
    tests:
    - not_null
  - name: PROFILE_ID
    description: Identifier for the user profile
    cocoon_meta:
      missing_reason: Unknown
  - name: TITLE
    description: Job title or position
    cocoon_meta:
      missing_reason: Unknown
  - name: EMAIL
    description: Email address associated with the record
    cocoon_meta:
      missing_reason: Unknown
  - name: PHONE
    description: Phone number associated with the record
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME_OR_ALIAS
    description: Display name, either full name or alias
    cocoon_meta:
      missing_reason: Not applicable when NAME is already provided.
  - name: LAST_VIEWED_DATE
    description: Date and time the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the record was last referenced
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language preference for the record
    cocoon_meta:
      missing_reason: Unknown
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last sync in Fivetran
    tests:
    - not_null
  tests: []

stg_PROCESS_INSTANCE_NODE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROCESS_INSTANCE_ID PROCESS_NODE_ID NODE_STATUS COMPLETED_DATE LAST_ACTOR_ID PROCESS_NODE_NAME ELAPSED_TIME_IN_DAYS ELAPSED_TIME_IN_HOURS ELAPSED_TIME_IN_MINUTES _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROCESS_INSTANCE_NODE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:19:51.376693+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROCESS_INSTANCE_NODE"

stg_PROCESS_INSTANCE_NODE.yml (Document the table)

version: 2
models:
- name: stg_PROCESS_INSTANCE_NODE
  description: The table is about process instance nodes. It contains details of each
    node in a process flow, including its status, creation and modification dates,
    associated process instance and node IDs, completion date, and elapsed time metrics.
    The table tracks the progression of individual steps within a larger process,
    providing information on who created or modified the node and its current status.
  columns:
  - name: ID
    description: Unique identifier for the process instance node
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the node was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the node
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the node
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: PROCESS_INSTANCE_ID
    description: ID of the associated process instance
    tests:
    - not_null
  - name: PROCESS_NODE_ID
    description: ID of the process node
    tests:
    - not_null
  - name: NODE_STATUS
    description: Current status of the process node
    tests:
    - not_null
  - name: COMPLETED_DATE
    description: Date and time when the node was completed
    tests:
    - not_null
  - name: LAST_ACTOR_ID
    description: ID of the last user who acted on the node
    tests:
    - not_null
  - name: PROCESS_NODE_NAME
    description: Name of the process node
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_DAYS
    description: Time elapsed since node creation in days
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_HOURS
    description: Time elapsed since node creation in hours
    tests:
    - not_null
  - name: ELAPSED_TIME_IN_MINUTES
    description: Time elapsed since node creation in minutes
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_ML_FEATURE_VALUE_METRIC

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP FEATURE DATE_ METRIC_KEY METRIC_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ML_FEATURE_VALUE_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:51.905410+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ML_FEATURE_VALUE_METRIC"

stg_ML_FEATURE_VALUE_METRIC.yml (Document the table)

version: 2
models:
- name: stg_ML_FEATURE_VALUE_METRIC
  description: The table is about machine learning feature value metrics. It contains
    details like feature name, date, metric key, and metric value. Each record has
    a unique ID and tracks creation and modification information. The table also includes
    flags for deletion status and syncing with Fivetran. It allows tracking and analysis
    of various metrics associated with ML features over time.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the record or entry
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: FEATURE
    description: Name of the machine learning feature
    tests:
    - not_null
  - name: DATE_
    description: Date associated with the metric
    tests:
    - not_null
  - name: METRIC_KEY
    description: Key or type of the metric being measured
    tests:
    - not_null
  - name: METRIC_VALUE
    description: Value of the measured metric
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EMAIL_DOMAIN_KEY

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP SELECTOR DOMAIN_ DOMAIN_MATCH IS_ACTIVE ALTERNATE_SELECTOR TXT_RECORD_NAME ALTERNATE_TXT_RECORD_NAME TXT_RECORDS_PUBLISH_STATE KEY_SIZE PUBLIC_KEY ALTERNATE_PUBLIC_KEY DOMAIN_MATCH_PATTERN PLATFORM_TYPE THIRD_SELECTOR THIRD_TXT_RECORD_NAME STATUS STATUS_MESSAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_DOMAIN_KEY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:57.114463+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_DOMAIN_KEY"

stg_EMAIL_DOMAIN_KEY.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_DOMAIN_KEY
  description: The table is about email domain key configuration. It contains details
    like domain name, selectors, TXT record information, public keys, and status.
    The table tracks creation and modification dates, active status, and platform
    type. It also includes fields for alternate selectors and keys, suggesting support
    for key rotation or multiple configurations per domain.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: SELECTOR
    description: Primary selector for the domain key
    tests:
    - not_null
  - name: DOMAIN_
    description: Email domain for the configuration
    tests:
    - not_null
  - name: DOMAIN_MATCH
    description: Domain matching criteria
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the configuration is active
    tests:
    - not_null
  - name: ALTERNATE_SELECTOR
    description: Secondary selector for the domain key
    tests:
    - not_null
  - name: TXT_RECORD_NAME
    description: Name of the primary TXT record
    tests:
    - not_null
  - name: ALTERNATE_TXT_RECORD_NAME
    description: Name of the secondary TXT record
    tests:
    - not_null
  - name: TXT_RECORDS_PUBLISH_STATE
    description: Publication state of TXT records
    tests:
    - not_null
  - name: KEY_SIZE
    description: Size of the cryptographic key
    tests:
    - not_null
  - name: PUBLIC_KEY
    description: Primary public key for the domain
    tests:
    - not_null
  - name: ALTERNATE_PUBLIC_KEY
    description: Secondary public key for the domain
    tests:
    - not_null
  - name: DOMAIN_MATCH_PATTERN
    description: Pattern for matching domain names
    tests:
    - not_null
  - name: PLATFORM_TYPE
    description: Type of platform used
    tests:
    - not_null
  - name: THIRD_SELECTOR
    description: Tertiary selector for the domain key
    tests:
    - not_null
  - name: THIRD_TXT_RECORD_NAME
    description: Name of the tertiary TXT record
    tests:
    - not_null
  - name: STATUS
    description: Current status of the configuration
    tests:
    - not_null
  - name: STATUS_MESSAGE
    description: Detailed message about the current status
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_RULE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_STEP_ID CONDITION_LOGIC OUTCOME_NEXT_STEP_NAME RULE_NAME RULE_TYPE PARENT_RULE_NAME GLOBAL_EVENT_TYPE GRAPH_STATE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:50:10.415962+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_RULE"

stg_ACTION_CADENCE_RULE.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_RULE
  description: The table is about action cadence rules. It contains details such as
    rule ID, creation and modification timestamps, associated action cadence step,
    condition logic, outcome, rule name, and type. The table also includes information
    about parent rules, global event types, and graph states. It tracks deletion status
    and system modification timestamps. The table likely supports workflow or process
    automation features.
  columns:
  - name: ID
    description: Unique identifier for the action cadence rule
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the rule has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: ACTION_CADENCE_STEP_ID
    description: ID of the associated action cadence step
    tests:
    - not_null
  - name: CONDITION_LOGIC
    description: Logic conditions for the rule
    tests:
    - not_null
  - name: OUTCOME_NEXT_STEP_NAME
    description: Name of the next step based on outcome
    tests:
    - not_null
  - name: RULE_NAME
    description: Name of the action cadence rule
    tests:
    - not_null
  - name: RULE_TYPE
    description: Type of the action cadence rule
    tests:
    - not_null
  - name: PARENT_RULE_NAME
    description: Name of the parent rule, if applicable
    tests:
    - not_null
  - name: GLOBAL_EVENT_TYPE
    description: Type of global event associated with the rule
    tests:
    - not_null
  - name: GRAPH_STATE
    description: Current state of the rule in the workflow graph
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_DEFINED_LABEL_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_DEFINED_LABEL_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:20.981232+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_DEFINED_LABEL_SHARE"

stg_USER_DEFINED_LABEL_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_DEFINED_LABEL_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_PROVISIONING_LOG

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP USER_PROVISIONING_REQUEST_ID EXTERNAL_USER_ID EXTERNAL_USERNAME USER_ID STATUS DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROVISIONING_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:38.348867+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROVISIONING_LOG"

stg_USER_PROVISIONING_LOG.yml (Document the table)

version: 2
models:
- name: stg_USER_PROVISIONING_LOG
  description: The table is about user provisioning logs. It tracks the creation and
    modification of user accounts. The table includes details such as the user's ID,
    external user ID, external username, status, and other provisioning details. It
    also records creation and modification dates, along with the IDs of users who
    performed these actions. The table likely serves as an audit trail for user account
    management processes.
  columns:
  - name: ID
    description: Unique identifier for the log entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or identifier of the provisioning log
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the log was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the log
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the log
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: USER_PROVISIONING_REQUEST_ID
    description: ID of the associated user provisioning request
    tests:
    - not_null
  - name: EXTERNAL_USER_ID
    description: External system's user ID
    tests:
    - not_null
  - name: EXTERNAL_USERNAME
    description: Username in the external system
    tests:
    - not_null
  - name: USER_ID
    description: Internal user ID
    tests:
    - not_null
  - name: STATUS
    description: Current status of the provisioning process
    tests:
    - not_null
  - name: DETAILS
    description: Additional details about the provisioning process
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CONTENT_USER_SUBSCRIPTION

Table Preview (sample only)

ID SUBSCRIBER_USER_ID SUBSCRIBED_TO_USER_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CONTENT_USER_SUBSCRIPTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:36:05.401670+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CONTENT_USER_SUBSCRIPTION"

stg_CONTENT_USER_SUBSCRIPTION.yml (Document the table)

version: 2
models:
- name: stg_CONTENT_USER_SUBSCRIPTION
  description: The table represents the subscription relation between users. It tracks
    which users (SUBSCRIBER_USER_ID) are subscribed to other users (SUBSCRIBED_TO_USER_ID).
    Each subscription is uniquely identified by an ID. The _FIVETRAN_DELETED and _FIVETRAN_SYNCED
    columns likely manage data synchronization and deletion status.
  columns:
  - name: ID
    description: Unique identifier for each subscription
    tests:
    - not_null
  - name: SUBSCRIBER_USER_ID
    description: ID of the user who is subscribing
    tests:
    - not_null
  - name: SUBSCRIBED_TO_USER_ID
    description: ID of the user being subscribed to
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Deletion status for data synchronization
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_AURA_DEFINITION_BUNDLE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP API_VERSION DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AURA_DEFINITION_BUNDLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:59.297674+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AURA_DEFINITION_BUNDLE"

stg_AURA_DEFINITION_BUNDLE.yml (Document the table)

version: 2
models:
- name: stg_AURA_DEFINITION_BUNDLE
  description: The table is about Aura Definition Bundles in Salesforce. It contains
    metadata for Lightning components. The table includes fields for the bundle's
    unique ID, developer name, language, label, and API version. It also tracks creation
    and modification details. The table stores whether the bundle is deleted and includes
    Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for the Aura Definition Bundle
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the bundle has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Programming language of the component
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the component
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for managed packages
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the bundle was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the bundle
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the bundle
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: API_VERSION
    description: Salesforce API version for the component
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the Aura Definition Bundle
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deleted record tracking
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_USER_EMAIL_PREFERRED_PERSON

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EMAIL PERSON_RECORD_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_EMAIL_PREFERRED_PERSON.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:28.235769+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_EMAIL_PREFERRED_PERSON"

stg_USER_EMAIL_PREFERRED_PERSON.yml (Document the table)

version: 2
models:
- name: stg_USER_EMAIL_PREFERRED_PERSON
  description: The table represents a relation between users, their email preferences,
    and associated person records. It stores email addresses linked to specific users
    and person records. The table includes metadata fields like creation date, last
    modified date, and system timestamps. It also tracks if the record is deleted
    and contains Fivetran-specific fields for data sync purposes.
  columns:
  - name: ID
    description: Unique identifier for the email preference record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this email preference
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the email preference
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the preference
    tests:
    - not_null
  - name: PERSON_RECORD_ID
    description: ID of the associated person record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_LIST_VIEW_CHART

Table Preview (sample only)

ID IS_DELETED SOBJECT_TYPE DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OWNER_ID CHART_TYPE GROUPING_FIELD AGGREGATE_FIELD AGGREGATE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LIST_VIEW_CHART.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:00:37.111459+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LIST_VIEW_CHART"

stg_LIST_VIEW_CHART.yml (Document the table)

version: 2
models:
- name: stg_LIST_VIEW_CHART
  description: The table is about list view charts in a Salesforce-like system. It
    contains details such as the object type, developer name, chart type, grouping
    field, and aggregate field. The table tracks creation and modification dates,
    as well as the users who created or modified the chart. It also includes system
    fields for deletion status and synchronization with an external system (Fivetran).
  columns:
  - name: ID
    description: Unique identifier for the list view chart
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: The Salesforce object type for the chart
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the chart
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the chart
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the chart was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the chart
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the chart
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the chart owner
    tests:
    - not_null
  - name: CHART_TYPE
    description: Type of chart (e.g., bar, pie)
    tests:
    - not_null
  - name: GROUPING_FIELD
    description: Field used for grouping data in the chart
    tests:
    - not_null
  - name: AGGREGATE_FIELD
    description: Field used for aggregation in the chart
    tests:
    - not_null
  - name: AGGREGATE_TYPE
    description: Type of aggregation (e.g., sum, average)
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_ASSESSMENT_METRIC

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP NUM_TOTAL NUM_PROCESSED NUM_MATCHED NUM_MATCHED_DIFFERENT NUM_UNMATCHED NUM_DUPLICATES _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ASSESSMENT_METRIC.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:54.402223+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ASSESSMENT_METRIC"

stg_DATA_ASSESSMENT_METRIC.yml (Document the table)

version: 2
models:
- name: stg_DATA_ASSESSMENT_METRIC
  description: The table is about data assessment metrics. It contains unique identifiers,
    timestamps, and user IDs for creation and modification. The table tracks various
    numerical metrics like total count, processed count, matched count, and duplicate
    count. It also includes flags for deletion status and Fivetran synchronization
    details.
  columns:
  - name: ID
    description: Unique identifier for each record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the data assessment
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: NUM_TOTAL
    description: Total number of records in the assessment
    tests:
    - not_null
  - name: NUM_PROCESSED
    description: Number of records processed in the assessment
    tests:
    - not_null
  - name: NUM_MATCHED
    description: Number of records that matched criteria
    tests:
    - not_null
  - name: NUM_MATCHED_DIFFERENT
    description: Number of records matched with differences
    tests:
    - not_null
  - name: NUM_UNMATCHED
    description: Number of records that didn't match criteria
    tests:
    - not_null
  - name: NUM_DUPLICATES
    description: Number of duplicate records identified
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PROMPT

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:04.796078+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT"

stg_PROMPT.yml (Document the table)

version: 2
models:
- name: stg_PROMPT
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_LINKED_ARTICLE

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP KNOWLEDGE_ARTICLE_VERSION_ID KNOWLEDGE_ARTICLE_ID TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LINKED_ARTICLE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:59:29.020329+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LINKED_ARTICLE"

stg_LINKED_ARTICLE.yml (Document the table)

version: 2
models:
- name: stg_LINKED_ARTICLE
  description: The table is about linked articles. It contains metadata for linked
    knowledge articles. The table includes fields for article identification, creation
    and modification details, and version information. It tracks whether the article
    is deleted and its type. The table likely relates to a knowledge base or documentation
    system, linking articles to their versions and creators.
  columns:
  - name: ID
    description: Unique identifier for the linked article
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the article is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the linked article
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the linked article was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the article
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the most recent modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the article
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_VERSION_ID
    description: ID of the specific article version
    tests:
    - not_null
  - name: KNOWLEDGE_ARTICLE_ID
    description: ID of the main knowledge article
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the linked article
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_FORMULA_FUNCTION

Table Preview (sample only)

ID DURABLE_ID NAME LABEL CATEGORY_ID DESCRIPTION EXAMPLE_STRING _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FORMULA_FUNCTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:53:40.152153+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FORMULA_FUNCTION"

stg_FORMULA_FUNCTION.yml (Document the table)

version: 2
models:
- name: stg_FORMULA_FUNCTION
  description: The table is about formula functions in a system. It contains details
    of each function including an ID, name, label, category, description, and example
    usage. The table also tracks if a function has been deleted and when it was last
    synced. Each row represents a distinct formula function with its properties.
  columns:
  - name: ID
    description: Unique identifier for the function
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the function
    tests:
    - not_null
  - name: NAME
    description: Name of the function
    tests:
    - not_null
  - name: LABEL
    description: Display label for the function
    tests:
    - not_null
  - name: CATEGORY_ID
    description: Category to which the function belongs
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed explanation of the function's purpose
    tests:
    - not_null
  - name: EXAMPLE_STRING
    description: Sample usage of the function
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the function has been deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_VIDEO_CALL_RECORDING

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE VIDEO_CALL_RECORD_ID EXTERNAL_RECORDING_KEY START_DATE_TIME END_DATE_TIME DURATION_IN_SECONDS FILE_SIZE_IN_BYTE FILE_TYPE EXPIRATION_DATE_TIME _FIVETRAN_DELETED _FIVETRAN_SYNCED EXTERNAL_RECORDING_KEY_LONG

stg_VIDEO_CALL_RECORDING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:42:38.501986+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VIDEO_CALL_RECORDING"

stg_VIDEO_CALL_RECORDING.yml (Document the table)

version: 2
models:
- name: stg_VIDEO_CALL_RECORDING
  description: The table is about video call recordings. It includes details such
    as the recording's ID, name, creation date, modification date, and associated
    video call record ID. It also stores information about the recording's start time,
    end time, duration, file size, file type, and expiration date. The table tracks
    whether the recording is deleted and includes external keys for reference.
  columns:
  - name: ID
    description: Unique identifier for the recording
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the recording is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the recording
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the recording was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the recording
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the recording
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the recording was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the recording was last referenced
    tests:
    - not_null
  - name: VIDEO_CALL_RECORD_ID
    description: ID of the associated video call record
    tests:
    - not_null
  - name: EXTERNAL_RECORDING_KEY
    description: External key for the recording
    tests:
    - not_null
  - name: START_DATE_TIME
    description: Start date and time of the recording
    tests:
    - not_null
  - name: END_DATE_TIME
    description: End date and time of the recording
    tests:
    - not_null
  - name: DURATION_IN_SECONDS
    description: Duration of the recording in seconds
    tests:
    - not_null
  - name: FILE_SIZE_IN_BYTE
    description: Size of the recording file in bytes
    tests:
    - not_null
  - name: FILE_TYPE
    description: Type of the recording file
    tests:
    - not_null
  - name: EXPIRATION_DATE_TIME
    description: Expiration date and time of the recording
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  - name: EXTERNAL_RECORDING_KEY_LONG
    description: Long version of external recording key
    tests:
    - not_null
  tests: []

stg_IDENTITY_RESOLUTION_HISTORY

Table Preview (sample only)

ID IS_DELETED IDENTITY_RESOLUTION_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IDENTITY_RESOLUTION_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:32.057374+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IDENTITY_RESOLUTION_HISTORY"

stg_IDENTITY_RESOLUTION_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_IDENTITY_RESOLUTION_HISTORY
  description: The table is about Identity Resolution History. It tracks changes to
    identity resolution records. Each row represents a modification event. It includes
    the field changed, old and new values, and metadata like who made the change and
    when. The table also has flags for deletion status and syncing information.
  columns:
  - name: ID
    description: Unique identifier for each history record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: IDENTITY_RESOLUTION_ID
    description: ID of the associated identity resolution record
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who made the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    tests:
    - not_null
  - name: NEW_VALUE
    description: Updated value of the changed field
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag for syncing
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_APP_DEFINITION

Table Preview (sample only)

ID DURABLE_ID LABEL MASTER_LABEL NAMESPACE_PREFIX DEVELOPER_NAME LOGO_URL DESCRIPTION UI_TYPE NAV_TYPE UTILITY_BAR HEADER_COLOR IS_OVERRIDE_ORG_THEME IS_SMALL_FORM_FACTOR_SUPPORTED IS_MEDIUM_FORM_FACTOR_SUPPORTED IS_LARGE_FORM_FACTOR_SUPPORTED IS_NAV_PERSONALIZATION_DISABLED IS_NAV_AUTO_TEMP_TABS_DISABLED IS_NAV_TAB_PERSISTENCE_DISABLED IS_OMNI_PINNED_VIEW_ENABLED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_APP_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:53:36.987149+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."APP_DEFINITION"

stg_APP_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_APP_DEFINITION
  description: The table is about application definitions in a Salesforce-like system.
    It contains details such as the app's ID, label, developer name, logo URL, and
    description. The table also includes information on supported form factors, navigation
    types, and UI customization options. Each row represents a unique app definition
    with various attributes and settings.
  columns:
  - name: ID
    description: Unique identifier for the app
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the app
    tests:
    - not_null
  - name: LABEL
    description: Display name of the app
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Primary label for the app
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the app's namespace
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the app
    tests:
    - not_null
  - name: LOGO_URL
    description: URL of the app's logo image
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief explanation of the app's purpose
    tests:
    - not_null
  - name: UI_TYPE
    description: Type of user interface for the app
    tests:
    - not_null
  - name: NAV_TYPE
    description: Navigation type used in the app
    tests:
    - not_null
  - name: UTILITY_BAR
    description: Name of the utility bar used
    tests:
    - not_null
  - name: HEADER_COLOR
    description: Color code for the app's header
    tests:
    - not_null
  - name: IS_OVERRIDE_ORG_THEME
    description: Indicates if app overrides organization theme
    tests:
    - not_null
  - name: IS_SMALL_FORM_FACTOR_SUPPORTED
    description: Support for small form factor devices
    tests:
    - not_null
  - name: IS_MEDIUM_FORM_FACTOR_SUPPORTED
    description: Support for medium form factor devices
    tests:
    - not_null
  - name: IS_LARGE_FORM_FACTOR_SUPPORTED
    description: Support for large form factor devices
    tests:
    - not_null
  - name: IS_NAV_PERSONALIZATION_DISABLED
    description: Indicates if navigation personalization is disabled
    tests:
    - not_null
  - name: IS_NAV_AUTO_TEMP_TABS_DISABLED
    description: Indicates if automatic temporary tabs are disabled
    tests:
    - not_null
  - name: IS_NAV_TAB_PERSISTENCE_DISABLED
    description: Indicates if navigation tab persistence is disabled
    tests:
    - not_null
  - name: IS_OMNI_PINNED_VIEW_ENABLED
    description: Indicates if omni-channel pinned view is enabled
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_BRANDING_SET

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_BRANDING_SET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:56:59.866199+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."BRANDING_SET"

stg_BRANDING_SET.yml (Document the table)

version: 2
models:
- name: stg_BRANDING_SET
  description: The table is about branding sets used in an application. It includes
    details like an ID, developer name, language, master label, and namespace prefix.
    The table tracks creation and modification dates, associated user IDs, and a description.
    It also has flags for deletion status and Fivetran sync information. This table
    likely stores configuration for visual branding elements in a software system.
  columns:
  - name: ID
    description: Unique identifier for the branding set
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the branding set
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the branding set
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the branding set
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the branding set's namespace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: DESCRIPTION
    description: Detailed description of the branding set
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EMBEDDED_SERVICE_DETAIL

Table Preview (sample only)

ID DURABLE_ID SITE PRIMARY_COLOR SECONDARY_COLOR CONTRAST_PRIMARY_COLOR CONTRAST_INVERTED_COLOR NAV_BAR_COLOR NAV_BAR_TEXT_COLOR SECONDARY_NAV_BAR_COLOR FONT IS_LIVE_AGENT_ENABLED IS_FIELD_SERVICE_ENABLED WIDTH HEIGHT IS_PRECHAT_ENABLED CUSTOM_PRECHAT_COMPONENT AVATAR_IMG SMALL_COMPANY_LOGO_IMG PRECHAT_BACKGROUND_IMG WAITING_STATE_BACKGROUND_IMG FONT_SIZE OFFLINE_CASE_BACKGROUND_IMG IS_OFFLINE_CASE_ENABLED IS_QUEUE_POSITION_ENABLED SHOULD_SHOW_NEW_APPOINTMENT SHOULD_SHOW_EXISTING_APPOINTMENT FIELD_SERVICE_HOME_IMG FIELD_SERVICE_LOGO_IMG FIELD_SERVICE_CONFIRM_CARD_IMG SHOULD_HIDE_AUTH_DIALOG CUSTOM_MINIMIZED_COMPONENT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMBEDDED_SERVICE_DETAIL.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:47:07.472247+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMBEDDED_SERVICE_DETAIL"

stg_EMBEDDED_SERVICE_DETAIL.yml (Document the table)

version: 2
models:
- name: stg_EMBEDDED_SERVICE_DETAIL
  description: The table is about embedded service details. It contains configuration
    settings for a customer service interface. The table includes visual customization
    options like colors, fonts, and images. It also has functional settings such as
    enabling live agent, field service, and prechat features. The table stores dimensions,
    navigation bar properties, and various display preferences for the embedded service
    interface.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: DURABLE_ID
    description: Persistent identifier for the configuration
    tests:
    - not_null
  - name: SITE
    description: Website or location where the service is embedded
    tests:
    - not_null
  - name: PRIMARY_COLOR
    description: Main color used in the interface
    tests:
    - not_null
  - name: SECONDARY_COLOR
    description: Secondary color used in the interface
    tests:
    - not_null
  - name: CONTRAST_PRIMARY_COLOR
    description: Contrasting color to the primary color
    tests:
    - not_null
  - name: CONTRAST_INVERTED_COLOR
    description: Inverted contrast color for visibility
    tests:
    - not_null
  - name: NAV_BAR_COLOR
    description: Color of the navigation bar
    tests:
    - not_null
  - name: NAV_BAR_TEXT_COLOR
    description: Color of text in the navigation bar
    tests:
    - not_null
  - name: SECONDARY_NAV_BAR_COLOR
    description: Color of the secondary navigation bar
    tests:
    - not_null
  - name: FONT
    description: Font used in the interface
    tests:
    - not_null
  - name: IS_LIVE_AGENT_ENABLED
    description: Indicates if live agent feature is active
    tests:
    - not_null
  - name: IS_FIELD_SERVICE_ENABLED
    description: Indicates if field service feature is active
    tests:
    - not_null
  - name: WIDTH
    description: Width of the embedded service interface
    tests:
    - not_null
  - name: HEIGHT
    description: Height of the embedded service interface
    tests:
    - not_null
  - name: IS_PRECHAT_ENABLED
    description: Indicates if prechat feature is active
    tests:
    - not_null
  - name: CUSTOM_PRECHAT_COMPONENT
    description: Custom component for prechat functionality
    tests:
    - not_null
  - name: AVATAR_IMG
    description: Image used for avatar
    tests:
    - not_null
  - name: SMALL_COMPANY_LOGO_IMG
    description: Small version of company logo image
    tests:
    - not_null
  - name: PRECHAT_BACKGROUND_IMG
    description: Background image for prechat screen
    tests:
    - not_null
  - name: WAITING_STATE_BACKGROUND_IMG
    description: Background image for waiting state
    tests:
    - not_null
  - name: FONT_SIZE
    description: Size of the font used
    tests:
    - not_null
  - name: OFFLINE_CASE_BACKGROUND_IMG
    description: Background image for offline case screen
    tests:
    - not_null
  - name: IS_OFFLINE_CASE_ENABLED
    description: Indicates if offline case feature is active
    tests:
    - not_null
  - name: IS_QUEUE_POSITION_ENABLED
    description: Indicates if queue position feature is active
    tests:
    - not_null
  - name: SHOULD_SHOW_NEW_APPOINTMENT
    description: Indicates if new appointment option is visible
    tests:
    - not_null
  - name: SHOULD_SHOW_EXISTING_APPOINTMENT
    description: Indicates if existing appointment option is visible
    tests:
    - not_null
  - name: FIELD_SERVICE_HOME_IMG
    description: Image for field service home screen
    tests:
    - not_null
  - name: FIELD_SERVICE_LOGO_IMG
    description: Logo image for field service
    tests:
    - not_null
  - name: FIELD_SERVICE_CONFIRM_CARD_IMG
    description: Image for field service confirmation card
    tests:
    - not_null
  - name: SHOULD_HIDE_AUTH_DIALOG
    description: Option to hide authentication dialog in embedded service
    tests:
    - not_null
  - name: CUSTOM_MINIMIZED_COMPONENT
    description: Custom component for minimized embedded service interface
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_PERMISSION_SET_GROUP

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DESCRIPTION STATUS HAS_ACTIVATION_REQUIRED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PERMISSION_SET_GROUP.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:16:08.759264+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PERMISSION_SET_GROUP"

stg_PERMISSION_SET_GROUP.yml (Document the table)

version: 2
models:
- name: stg_PERMISSION_SET_GROUP
  description: The table is about permission set groups. It contains details such
    as the group's ID, name, label, creation date, modification date, and status.
    The table also includes information on the creator, last modifier, namespace,
    and whether activation is required. Each row represents a single permission set
    group with its associated attributes and metadata.
  columns:
  - name: ID
    description: Unique identifier for the permission set group
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the group has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: API name of the permission set group
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the group
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name of the permission set group
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the group
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the group was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the group
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the group
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the permission set group
    cocoon_meta:
      missing_reason: Optional field for additional information, not always needed.
  - name: STATUS
    description: Current status of the permission set group
    tests:
    - not_null
  - name: HAS_ACTIVATION_REQUIRED
    description: Indicates if activation is required
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_FIELD_SECURITY_CLASSIFICATION

Table Preview (sample only)

ID MASTER_LABEL API_NAME SORT_ORDER DESCRIPTION IS_HIGH_RISK_LEVEL CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_FIELD_SECURITY_CLASSIFICATION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:50:01.819621+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."FIELD_SECURITY_CLASSIFICATION"

stg_FIELD_SECURITY_CLASSIFICATION.yml (Document the table)

version: 2
models:
- name: stg_FIELD_SECURITY_CLASSIFICATION
  description: The table is about field security classifications in a system. It contains
    different levels of security such as Public, Internal, Confidential, Restricted,
    and MissionCritical. Each classification has an ID, label, API name, and sort
    order. The table also includes creation and modification timestamps, creator and
    modifier IDs, and a flag indicating if it's a high-risk level.
  columns:
  - name: ID
    description: Unique identifier for each security classification
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Human-readable label for the security classification
    tests:
    - not_null
  - name: API_NAME
    description: Name used in API interactions for the classification
    tests:
    - not_null
  - name: SORT_ORDER
    description: Numerical order for displaying classifications
    tests:
    - not_null
  - name: DESCRIPTION
    description: Additional details about the classification
    cocoon_meta:
      missing_reason: Optional field, not all entries require a description.
  - name: IS_HIGH_RISK_LEVEL
    description: Flag indicating if classification is high risk
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the classification
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the classification was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the classification
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last synchronization
    tests:
    - not_null
  tests: []

stg_IDENTITY_RESOLUTION

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DESCRIPTION ERROR_MESSAGE ERROR_CODE STATUS LAST_RUN_STATUS LAST_RUN_STATUS_DATE_TIME SOURCE_COUNT MATCHED_COUNT UNIFIED_COUNT CONSOLIDATION_RATE IS_SCHEDULED TOTAL_ANONYMOUS_RECORDS TOTAL_NON_ANONYMOUS_RECORDS LAST_SUCCESSFUL_RUN_DATE_TIME ROOT_ENTITY_LABEL SUFFIX DATA_SPACE_ID STATUS_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_IDENTITY_RESOLUTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:55:25.910586+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."IDENTITY_RESOLUTION"

stg_IDENTITY_RESOLUTION.yml (Document the table)

version: 2
models:
- name: stg_IDENTITY_RESOLUTION
  description: The table is about identity resolution processes. It includes details
    like ID, name, creation date, status, and run statistics. Each row represents
    a specific identity resolution job with its configuration, execution results,
    and metadata. Key fields include source count, matched count, and consolidation
    rate, indicating the job's performance and effectiveness.
  columns:
  - name: ID
    description: Unique identifier for the identity resolution job
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the identity resolution job
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the job was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the job
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the job
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the job was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the job was last referenced
    tests:
    - not_null
  - name: DESCRIPTION
    description: Description of the identity resolution job
    cocoon_meta:
      missing_reason: Unknown
  - name: ERROR_MESSAGE
    description: Error message if job encountered issues
    cocoon_meta:
      missing_reason: Not applicable when no error occurred (ERROR_CODE is NO_ERROR).
  - name: ERROR_CODE
    description: Error code if job encountered issues
    tests:
    - not_null
  - name: STATUS
    description: Current status of the identity resolution job
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the most recent job run
    tests:
    - not_null
  - name: LAST_RUN_STATUS_DATE_TIME
    description: Date and time of the last run status
    tests:
    - not_null
  - name: SOURCE_COUNT
    description: Number of source records processed
    tests:
    - not_null
  - name: MATCHED_COUNT
    description: Number of records matched
    tests:
    - not_null
  - name: UNIFIED_COUNT
    description: Number of records unified
    tests:
    - not_null
  - name: CONSOLIDATION_RATE
    description: Rate of record consolidation
    tests:
    - not_null
  - name: IS_SCHEDULED
    description: Flag indicating if the job is scheduled
    tests:
    - not_null
  - name: TOTAL_ANONYMOUS_RECORDS
    description: Total number of anonymous records
    tests:
    - not_null
  - name: TOTAL_NON_ANONYMOUS_RECORDS
    description: Total number of non-anonymous records
    tests:
    - not_null
  - name: LAST_SUCCESSFUL_RUN_DATE_TIME
    description: Date and time of last successful run
    tests:
    - not_null
  - name: ROOT_ENTITY_LABEL
    description: Label of the root entity
    tests:
    - not_null
  - name: SUFFIX
    description: Suffix used in the job
    cocoon_meta:
      missing_reason: Unknown
  - name: DATA_SPACE_ID
    description: ID of the data space
    tests:
    - not_null
  - name: STATUS_DETAILS
    description: Additional details about the job status
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_ACCOUNT

Table Preview (sample only)

ID IS_DELETED MASTER_RECORD_ID NAME TYPE PARENT_ID BILLING_STREET BILLING_CITY BILLING_STATE BILLING_POSTAL_CODE BILLING_COUNTRY BILLING_LATITUDE BILLING_LONGITUDE BILLING_GEOCODE_ACCURACY SHIPPING_STREET SHIPPING_CITY SHIPPING_STATE SHIPPING_POSTAL_CODE SHIPPING_COUNTRY SHIPPING_LATITUDE SHIPPING_LONGITUDE SHIPPING_GEOCODE_ACCURACY PHONE FAX WEBSITE PHOTO_URL INDUSTRY ANNUAL_REVENUE NUMBER_OF_EMPLOYEES DESCRIPTION OWNER_ID CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_ACTIVITY_DATE LAST_VIEWED_DATE LAST_REFERENCED_DATE JIGSAW JIGSAW_COMPANY_ID ACCOUNT_SOURCE SIC_DESC PERSON_ACTION_CADENCE_ID PERSON_ACTION_CADENCE_ASSIGNEE_ID PERSON_ACTION_CADENCE_STATE PERSON_SCHEDULED_RESUME_DATE_TIME PERSON_ACTIVE_TRACKER_COUNT ACTIVITY_METRIC_ID ACTIVITY_METRIC_ROLLUP_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACCOUNT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:49:30.732588+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACCOUNT"

stg_ACCOUNT.yml (Document the table)

version: 2
models:
- name: stg_ACCOUNT
  description: The table is about Account details. It contains information such as
    account ID, name, type, and location details including billing and shipping addresses.
    The table also includes contact information, industry details, and various system-related
    fields like creation date, last modified date, and owner ID. Each row represents
    a unique account with its associated information.
  columns:
  - name: ID
    description: Unique identifier for the account
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the account is deleted
    tests:
    - not_null
  - name: MASTER_RECORD_ID
    description: ID of the master record if account is merged
    cocoon_meta:
      missing_reason: Unknown
  - name: NAME
    description: Name of the account
    tests:
    - not_null
  - name: TYPE
    description: Type or category of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: PARENT_ID
    description: ID of the parent account if applicable
    cocoon_meta:
      missing_reason: Not all businesses are subsidiaries of parent companies.
  - name: BILLING_STREET
    description: Street address for billing
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_CITY
    description: City for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_STATE
    description: State or province for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_POSTAL_CODE
    description: Postal code for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_COUNTRY
    description: Country for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_LATITUDE
    description: Latitude coordinate for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_LONGITUDE
    description: Longitude coordinate for billing address
    cocoon_meta:
      missing_reason: Unknown
  - name: BILLING_GEOCODE_ACCURACY
    description: Accuracy of billing address geocoding
    cocoon_meta:
      missing_reason: Unknown
  - name: SHIPPING_STREET
    description: Street address for shipping
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_CITY
    description: City for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_STATE
    description: State or province for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_POSTAL_CODE
    description: Postal code for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_COUNTRY
    description: Country for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_LATITUDE
    description: Latitude coordinate for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_LONGITUDE
    description: Longitude coordinate for shipping address
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: SHIPPING_GEOCODE_ACCURACY
    description: Accuracy of shipping address geocoding
    cocoon_meta:
      missing_reason: Not all businesses have separate shipping addresses.
  - name: PHONE
    description: Phone number of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: FAX
    description: Fax number of the account
    cocoon_meta:
      missing_reason: Not all businesses use fax machines nowadays.
  - name: WEBSITE
    description: Website URL of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: PHOTO_URL
    description: URL of the account's photo or logo
    cocoon_meta:
      missing_reason: Unknown
  - name: INDUSTRY
    description: Industry sector of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: ANNUAL_REVENUE
    description: Annual revenue of the account
    cocoon_meta:
      missing_reason: Unknown
  - name: NUMBER_OF_EMPLOYEES
    description: Number of employees in the account
    cocoon_meta:
      missing_reason: Unknown
  - name: DESCRIPTION
    description: Additional description or notes about the account
    cocoon_meta:
      missing_reason: Unknown
  - name: OWNER_ID
    description: ID of the account owner
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the account was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the account
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the account
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_ACTIVITY_DATE
    description: Date of the last activity on the account
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_VIEWED_DATE
    description: Date when the account was last viewed
    cocoon_meta:
      missing_reason: Unknown
  - name: LAST_REFERENCED_DATE
    description: Date when the account was last referenced
    cocoon_meta:
      missing_reason: Unknown
  - name: JIGSAW
    description: Jigsaw identifier for the account
    cocoon_meta:
      missing_reason: Unknown
  - name: JIGSAW_COMPANY_ID
    description: Jigsaw company identifier
    cocoon_meta:
      missing_reason: Unknown
  - name: ACCOUNT_SOURCE
    description: Source of the account information
    cocoon_meta:
      missing_reason: Unknown
  - name: SIC_DESC
    description: Standard Industrial Classification description
    cocoon_meta:
      missing_reason: Unknown
  - name: PERSON_ACTION_CADENCE_ID
    description: ID of the person action cadence
    cocoon_meta:
      missing_reason: Not all accounts have associated action cadences.
  - name: PERSON_ACTION_CADENCE_ASSIGNEE_ID
    description: ID of the person assigned to the action cadence
    cocoon_meta:
      missing_reason: Not all accounts have associated action cadences.
  - name: PERSON_ACTION_CADENCE_STATE
    description: State of the person action cadence
    cocoon_meta:
      missing_reason: Not all accounts have associated action cadences.
  - name: PERSON_SCHEDULED_RESUME_DATE_TIME
    description: Scheduled resume date and time for person
    cocoon_meta:
      missing_reason: Not all accounts have scheduled resume dates.
  - name: PERSON_ACTIVE_TRACKER_COUNT
    description: Count of active trackers for the person
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ID
    description: ID of the activity metric
    tests:
    - not_null
  - name: ACTIVITY_METRIC_ROLLUP_ID
    description: ID of the activity metric rollup
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Date and time of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_MKT_SGMT_DEF_DATA_MDL_OBJ_FLD

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_SGMT_DEF_DATA_MDL_OBJ_FLD.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:44.349875+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_SGMT_DEF_DATA_MDL_OBJ_FLD"

stg_MKT_SGMT_DEF_DATA_MDL_OBJ_FLD.yml (Document the table)

version: 2
models:
- name: stg_MKT_SGMT_DEF_DATA_MDL_OBJ_FLD
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_EVENT_RELAY_FEEDBACK

Table Preview (sample only)

ID IS_DELETED EVENT_RELAY_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP EVENT_RELAY_CONFIG_ID REMOTE_RESOURCE STATUS ERROR_MESSAGE ERROR_TIME ERROR_IDENTIFIER ERROR_CODE LAST_RELAYED_EVENT_TIME USAGE_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EVENT_RELAY_FEEDBACK.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:20.895047+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EVENT_RELAY_FEEDBACK"

stg_EVENT_RELAY_FEEDBACK.yml (Document the table)

version: 2
models:
- name: stg_EVENT_RELAY_FEEDBACK
  description: The table is about event relay feedback. It contains details of event
    relay configurations, including their status, errors, and usage. The table tracks
    creation and modification dates, remote resources, and error information. It also
    includes system fields for data management and synchronization. This table likely
    serves to monitor and troubleshoot event relay processes in a system.
  columns:
  - name: ID
    description: Unique identifier for the event relay feedback record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: EVENT_RELAY_NUMBER
    description: Unique number assigned to the event relay
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for record modification
    tests:
    - not_null
  - name: EVENT_RELAY_CONFIG_ID
    description: ID of the associated event relay configuration
    tests:
    - not_null
  - name: REMOTE_RESOURCE
    description: Identifier for the remote resource being accessed
    tests:
    - not_null
  - name: STATUS
    description: Current status of the event relay
    tests:
    - not_null
  - name: ERROR_MESSAGE
    description: Detailed error message if an issue occurred
    tests:
    - not_null
  - name: ERROR_TIME
    description: Timestamp when the error occurred
    tests:
    - not_null
  - name: ERROR_IDENTIFIER
    description: Unique identifier for the specific error
    tests:
    - not_null
  - name: ERROR_CODE
    description: Standardized code representing the error type
    tests:
    - not_null
  - name: LAST_RELAYED_EVENT_TIME
    description: Timestamp of the most recently relayed event
    tests:
    - not_null
  - name: USAGE_TYPE
    description: Type of usage for the event relay
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_MANAGED_CONTENT

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PRIMARY_LANGUAGE CONTENT_KEY AUTHORED_MANAGED_CONTENT_SPACE_ID EXTERNAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MANAGED_CONTENT.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:01:13.039163+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MANAGED_CONTENT"

stg_MANAGED_CONTENT.yml (Document the table)

version: 2
models:
- name: stg_MANAGED_CONTENT
  description: The table is about managed content. It contains details like content
    ID, name, language, and content key. The table tracks creation and modification
    dates, as well as who created or modified the content. It includes fields for
    deletion status, external ID, and system timestamps. The table also references
    a managed content space through the AUTHORED_MANAGED_CONTENT_SPACE_ID field.
  columns:
  - name: ID
    description: Unique identifier for the managed content
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the content has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the managed content
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the content was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the content
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the content
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for tracking modifications
    tests:
    - not_null
  - name: PRIMARY_LANGUAGE
    description: Primary language of the content
    tests:
    - not_null
  - name: CONTENT_KEY
    description: Unique key for identifying the content
    tests:
    - not_null
  - name: AUTHORED_MANAGED_CONTENT_SPACE_ID
    description: ID of the managed content space
    tests:
    - not_null
  - name: EXTERNAL_ID
    description: External identifier for the content
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_QUICK_TEXT_USAGE

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP QUICK_TEXT_ID FOLDER_ID CHANNEL LAUNCH_SOURCE LOGGED_TIME USER_ID APP_CONTEXT _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_QUICK_TEXT_USAGE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:24:09.421332+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."QUICK_TEXT_USAGE"

stg_QUICK_TEXT_USAGE.yml (Document the table)

version: 2
models:
- name: stg_QUICK_TEXT_USAGE
  description: The table is about Quick Text usage in a system. It tracks when and
    how Quick Text is used. It relates Quick Text items to users, folders, and channels.
    The table records creation and modification details. It includes information on
    launch source and app context. Usage logs include timestamps and user IDs. The
    table also has system fields for deletion and synchronization tracking.
  columns:
  - name: ID
    description: Unique identifier for the Quick Text usage record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this Quick Text usage record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the Quick Text usage record
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for the last modification
    tests:
    - not_null
  - name: QUICK_TEXT_ID
    description: ID of the Quick Text item used
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing the Quick Text
    tests:
    - not_null
  - name: CHANNEL
    description: Communication channel where Quick Text was used
    tests:
    - not_null
  - name: LAUNCH_SOURCE
    description: Source from which Quick Text was launched
    tests:
    - not_null
  - name: LOGGED_TIME
    description: Timestamp when the usage was logged
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user who used the Quick Text
    tests:
    - not_null
  - name: APP_CONTEXT
    description: Context or application where Quick Text was used
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_EXT_DATA_SHARE_TARGET

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_SHARE_TARGET_STATUS LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE CONNECTION_TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXT_DATA_SHARE_TARGET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:49:44.071811+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXT_DATA_SHARE_TARGET"

stg_EXT_DATA_SHARE_TARGET.yml (Document the table)

version: 2
models:
- name: stg_EXT_DATA_SHARE_TARGET
  description: The table is about data share targets. It contains details such as
    the target's ID, owner, name, creation date, modification dates, and status. The
    table also tracks the target's data change status, connection type, and system
    metadata. It includes flags for deletion and Fivetran syncing, suggesting integration
    with data pipeline tools.
  columns:
  - name: ID
    description: Unique identifier for the data share target
    tests:
    - not_null
  - name: OWNER_ID
    description: Identifier of the target's owner
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the target is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data share target
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the target was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: Identifier of the user who created the target
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: Identifier of the user who last modified the target
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the target was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the target was last referenced
    tests:
    - not_null
  - name: DATA_SHARE_TARGET_STATUS
    description: Current status of the data share target
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_DATE_TIME
    description: Timestamp of the last data change status update
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_ERROR_CODE
    description: Error code of the last data change status
    tests:
    - not_null
  - name: CONNECTION_TYPE
    description: Type of connection for the data share target
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of the last Fivetran sync
    tests:
    - not_null
  tests: []

stg_AUTH_CONFIG

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP URL AUTH_OPTIONS_USERNAME_PASSWORD AUTH_OPTIONS_SAML AUTH_OPTIONS_AUTH_PROVIDER AUTH_OPTIONS_CERTIFICATE IS_ACTIVE TYPE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_AUTH_CONFIG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:55:56.839161+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTH_CONFIG"

stg_AUTH_CONFIG.yml (Document the table)

version: 2
models:
- name: stg_AUTH_CONFIG
  description: The table is about authentication configuration settings. It contains
    details like developer name, language, master label, and namespace prefix. The
    table tracks creation and modification dates, and user IDs. It stores URL and
    various authentication options such as username/password, SAML, auth provider,
    and certificate. The table also includes flags for deletion status and active
    status. The type field likely indicates the authentication method type.
  columns:
  - name: ID
    description: Unique identifier for the authentication configuration
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the configuration used by developers
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the configuration
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the configuration
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for the configuration's namespace
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: URL
    description: URL associated with the authentication configuration
    tests:
    - not_null
  - name: AUTH_OPTIONS_USERNAME_PASSWORD
    description: Indicates if username/password authentication is enabled
    tests:
    - not_null
  - name: AUTH_OPTIONS_SAML
    description: Indicates if SAML authentication is enabled
    tests:
    - not_null
  - name: AUTH_OPTIONS_AUTH_PROVIDER
    description: Indicates if auth provider authentication is enabled
    tests:
    - not_null
  - name: AUTH_OPTIONS_CERTIFICATE
    description: Indicates if certificate-based authentication is enabled
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the configuration is active
    tests:
    - not_null
  - name: TYPE
    description: Type of authentication method
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROMPT_ACTION

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP PROMPT_VERSION_ID USER_ID TIMES_DISPLAYED TIMES_ACTION_TAKEN TIMES_DISMISSED LAST_DISPLAY_DATE LAST_RESULT LAST_RESULT_DATE STEP_NUMBER STEP_COUNT SNOOZE_UNTIL TIMES_SNOOZED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT_ACTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:15.510136+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT_ACTION"

stg_PROMPT_ACTION.yml (Document the table)

version: 2
models:
- name: stg_PROMPT_ACTION
  description: The table is about prompt actions in a system. It tracks user interactions
    with prompts, including display counts, actions taken, dismissals, and snoozes.
    The table records creation and modification dates, user IDs, prompt versions,
    and step information. It also stores the last result and date of the prompt action.
    This data likely helps analyze prompt effectiveness and user engagement over time.
  columns:
  - name: ID
    description: Unique identifier for each prompt action record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the prompt
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of the last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: PROMPT_VERSION_ID
    description: ID of the specific prompt version
    tests:
    - not_null
  - name: USER_ID
    description: ID of the user interacting with the prompt
    tests:
    - not_null
  - name: TIMES_DISPLAYED
    description: Number of times the prompt was shown
    tests:
    - not_null
  - name: TIMES_ACTION_TAKEN
    description: Number of times action was taken on prompt
    tests:
    - not_null
  - name: TIMES_DISMISSED
    description: Number of times the prompt was dismissed
    tests:
    - not_null
  - name: LAST_DISPLAY_DATE
    description: Date when the prompt was last displayed
    tests:
    - not_null
  - name: LAST_RESULT
    description: Outcome of the most recent prompt interaction
    tests:
    - not_null
  - name: LAST_RESULT_DATE
    description: Date of the most recent prompt result
    tests:
    - not_null
  - name: STEP_NUMBER
    description: Current step number in multi-step prompt
    tests:
    - not_null
  - name: STEP_COUNT
    description: Total number of steps in the prompt
    tests:
    - not_null
  - name: SNOOZE_UNTIL
    description: Date until which the prompt is snoozed
    tests:
    - not_null
  - name: TIMES_SNOOZED
    description: Number of times the prompt was snoozed
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_DATA_ACTION_TARGET_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DATA_ACTION_TARGET_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:39:35.960621+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DATA_ACTION_TARGET_SHARE"

stg_DATA_ACTION_TARGET_SHARE.yml (Document the table)

version: 2
models:
- name: stg_DATA_ACTION_TARGET_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ACTION_CADENCE_TRACKER

Table Preview (sample only)

ID OWNER_ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP ACTION_CADENCE_ID TARGET_ID CURRENT_STEP_ID STATE COMPLETION_REASON LAST_COMPLETED_STEP_ID ERROR_MESSAGE EXIT_GLOBAL_RULE_ID RELATED_TO_ID RELATED_TO_ATTRIBUTION_TYPE COMPLETION_DISPOSITION SCHEDULED_RESUME_DATE_TIME IS_TRACKER_ACTIVE DAISY_CHAIN_ITERATION _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ACTION_CADENCE_TRACKER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:51:17.572280+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ACTION_CADENCE_TRACKER"

stg_ACTION_CADENCE_TRACKER.yml (Document the table)

version: 2
models:
- name: stg_ACTION_CADENCE_TRACKER
  description: The table tracks the progress of targets through action cadences. It
    links action cadences, targets, and steps. It records the current state, completion
    status, and any errors. The table also tracks ownership, creation, and modification
    details. It includes flags for deletion and active status, as well as scheduling
    information for resuming actions.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns this record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: ACTION_CADENCE_ID
    description: ID of the associated action cadence
    tests:
    - not_null
  - name: TARGET_ID
    description: ID of the target for this cadence
    tests:
    - not_null
  - name: CURRENT_STEP_ID
    description: ID of the current step in the cadence
    tests:
    - not_null
  - name: STATE
    description: Current state of the cadence progress
    tests:
    - not_null
  - name: COMPLETION_REASON
    description: Reason for cadence completion, if applicable
    tests:
    - not_null
  - name: LAST_COMPLETED_STEP_ID
    description: ID of the last completed step
    tests:
    - not_null
  - name: ERROR_MESSAGE
    description: Error message if any issues occurred
    tests:
    - not_null
  - name: EXIT_GLOBAL_RULE_ID
    description: ID of the global rule causing exit
    tests:
    - not_null
  - name: RELATED_TO_ID
    description: ID of related record
    tests:
    - not_null
  - name: RELATED_TO_ATTRIBUTION_TYPE
    description: Type of attribution for related record
    tests:
    - not_null
  - name: COMPLETION_DISPOSITION
    description: Final disposition upon completion
    tests:
    - not_null
  - name: SCHEDULED_RESUME_DATE_TIME
    description: Scheduled date and time to resume cadence
    tests:
    - not_null
  - name: IS_TRACKER_ACTIVE
    description: Flag indicating if tracker is active
    tests:
    - not_null
  - name: DAISY_CHAIN_ITERATION
    description: Iteration count for daisy-chained cadences
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last sync timestamp
    tests:
    - not_null
  tests: []

stg_GOAL_DEFINITION

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PARENT_GOAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_GOAL_DEFINITION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:54:23.308793+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."GOAL_DEFINITION"

stg_GOAL_DEFINITION.yml (Document the table)

version: 2
models:
- name: stg_GOAL_DEFINITION
  description: The table is about goal definitions. It contains basic information
    like ID, name, and owner. The table tracks creation and modification details with
    timestamps and user IDs. It includes flags for deletion status and parent goal
    relationship. System fields for last viewed and referenced dates are present.
    The table also has Fivetran-specific columns for syncing and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the goal
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the goal
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the goal is deleted
    tests:
    - not_null
  - name: NAME
    description: Name or title of the goal
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the goal was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the goal
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the goal
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the goal was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the goal was last referenced
    tests:
    - not_null
  - name: PARENT_GOAL_ID
    description: ID of the parent goal, if applicable
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran timestamp for last synchronization
    tests:
    - not_null
  tests: []

stg_DIGITAL_WALLET

Table Preview (sample only)

ID IS_DELETED DIGITAL_WALLET_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE PAYMENT_GATEWAY_ID NICK_NAME GATEWAY_TOKEN GATEWAY_TOKEN_DETAILS CUSTOMER EMAIL ACCOUNT_ID STATUS COMPANY_NAME PAYMENT_METHOD_STREET PAYMENT_METHOD_CITY PAYMENT_METHOD_STATE PAYMENT_METHOD_POSTAL_CODE PAYMENT_METHOD_COUNTRY PAYMENT_METHOD_LATITUDE PAYMENT_METHOD_LONGITUDE PAYMENT_METHOD_GEOCODE_ACCURACY COMMENTS PROCESSING_MODE MAC_ADDRESS PHONE IP_ADDRESS AUDIT_EMAIL GATEWAY_TOKEN_ENCRYPTED IS_AUTO_PAY_ENABLED PAYMENT_METHOD_TYPE PAYMENT_METHOD_SUB_TYPE PAYMENT_METHOD_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_DIGITAL_WALLET.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:43:17.676646+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."DIGITAL_WALLET"

stg_DIGITAL_WALLET.yml (Document the table)

version: 2
models:
- name: stg_DIGITAL_WALLET
  description: The table is about digital wallets. It contains details like wallet
    ID, number, creation date, payment gateway info, and user details. It includes
    payment method information such as address, status, and type. The table also stores
    security-related data like gateway tokens, MAC address, and IP address. It tracks
    wallet status, auto-pay settings, and audit information.
  columns:
  - name: ID
    description: Unique identifier for the digital wallet
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the wallet is deleted
    tests:
    - not_null
  - name: DIGITAL_WALLET_NUMBER
    description: Unique number assigned to the digital wallet
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the wallet was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the wallet
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the wallet
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time the wallet was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time the wallet was last referenced
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: ID of the associated payment gateway
    tests:
    - not_null
  - name: NICK_NAME
    description: User-defined nickname for the wallet
    tests:
    - not_null
  - name: GATEWAY_TOKEN
    description: Token provided by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_TOKEN_DETAILS
    description: Additional details about the gateway token
    tests:
    - not_null
  - name: CUSTOMER
    description: Customer information associated with the wallet
    tests:
    - not_null
  - name: EMAIL
    description: Email address associated with the wallet
    tests:
    - not_null
  - name: ACCOUNT_ID
    description: ID of the account linked to the wallet
    tests:
    - not_null
  - name: STATUS
    description: Current status of the digital wallet
    tests:
    - not_null
  - name: COMPANY_NAME
    description: Name of the company associated with the wallet
    tests:
    - not_null
  - name: PAYMENT_METHOD_STREET
    description: Street address for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_CITY
    description: City for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_STATE
    description: State or province for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_POSTAL_CODE
    description: Postal code for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_COUNTRY
    description: Country for the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_LATITUDE
    description: Latitude coordinate for the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_LONGITUDE
    description: Longitude coordinate for the payment method address
    tests:
    - not_null
  - name: PAYMENT_METHOD_GEOCODE_ACCURACY
    description: Accuracy of the geocoded payment method address
    tests:
    - not_null
  - name: COMMENTS
    description: Additional comments or notes about the wallet
    tests:
    - not_null
  - name: PROCESSING_MODE
    description: Mode of processing for the digital wallet
    tests:
    - not_null
  - name: MAC_ADDRESS
    description: MAC address associated with the wallet
    tests:
    - not_null
  - name: PHONE
    description: User's phone number associated with the digital wallet
    tests:
    - not_null
  - name: IP_ADDRESS
    description: IP address of the user's device
    tests:
    - not_null
  - name: AUDIT_EMAIL
    description: Email address used for auditing purposes
    tests:
    - not_null
  - name: GATEWAY_TOKEN_ENCRYPTED
    description: Encrypted token for payment gateway integration
    tests:
    - not_null
  - name: IS_AUTO_PAY_ENABLED
    description: Indicates if automatic payments are enabled
    tests:
    - not_null
  - name: PAYMENT_METHOD_TYPE
    description: Primary category of the payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_SUB_TYPE
    description: Subcategory or specific type of payment method
    tests:
    - not_null
  - name: PAYMENT_METHOD_DETAILS
    description: Additional details about the payment method
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific column for deletion tracking
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific column for synchronization tracking
    tests:
    - not_null
  tests: []

stg_EMAIL_CAPTURE

Table Preview (sample only)

ID IS_DELETED CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP IS_ACTIVE TO_PATTERN FROM_PATTERN SENDER RECIPIENT CAPTURE_DATE RAW_MESSAGE_LENGTH _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_CAPTURE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:44:28.596286+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_CAPTURE"

stg_EMAIL_CAPTURE.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_CAPTURE
  description: The table is about email capture records. It contains details of captured
    emails, including sender and recipient information, capture date, and message
    length. The table tracks creation and modification dates, active status, and deletion
    flags. It also includes pattern matching fields for 'to' and 'from' addresses,
    suggesting filtering or routing capabilities.
  columns:
  - name: ID
    description: Unique identifier for each email capture record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record has been deleted
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Flag indicating if the record is currently active
    tests:
    - not_null
  - name: TO_PATTERN
    description: Pattern for matching recipient email addresses
    tests:
    - not_null
  - name: FROM_PATTERN
    description: Pattern for matching sender email addresses
    tests:
    - not_null
  - name: SENDER
    description: Email address of the sender
    tests:
    - not_null
  - name: RECIPIENT
    description: Email address of the recipient
    tests:
    - not_null
  - name: CAPTURE_DATE
    description: Date and time when the email was captured
    tests:
    - not_null
  - name: RAW_MESSAGE_LENGTH
    description: Length of the raw email message in characters
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran-specific synchronization timestamp
    tests:
    - not_null
  tests: []

stg_CUSTOM_HELP_MENU_SECTION

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CUSTOM_HELP_MENU_SECTION.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:38:04.725116+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CUSTOM_HELP_MENU_SECTION"

stg_CUSTOM_HELP_MENU_SECTION.yml (Document the table)

version: 2
models:
- name: stg_CUSTOM_HELP_MENU_SECTION
  description: CUSTOM_HELP_MENU_SECTION stores help menu items. MARKET_SEGMENT_DEF_MAPPING
    likely maps market segments. MKT_SGMT_DEF_CALC_INSIGHT_FLD may store calculated
    insights. MKT_SGMT_DEF_DATA_MDL_OBJ_FLD could contain data model objects. PROMPT
    might store user prompts. These partitions form a system for defining and managing
    market segments with user guidance.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name of the item for API and metadata
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the record
    tests:
    - not_null
  - name: MASTER_LABEL
    description: User-friendly label for the record
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for managed package if applicable
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking record modifications
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_PROMPT_ACTION_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PROMPT_ACTION_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:23:16.232041+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PROMPT_ACTION_SHARE"

stg_PROMPT_ACTION_SHARE.yml (Document the table)

version: 2
models:
- name: stg_PROMPT_ACTION_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_CALL_CENTER

Table Preview (sample only)

ID NAME INTERNAL_NAME VERSION ADAPTER_URL CUSTOM_SETTINGS SYSTEM_MODSTAMP CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_CALL_CENTER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:58:48.240415+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."CALL_CENTER"

stg_CALL_CENTER.yml (Document the table)

version: 2
models:
- name: stg_CALL_CENTER
  description: The table is about call centers. It contains details such as ID, name,
    internal name, version, and adapter URL for each call center. The table also includes
    custom settings, system modification timestamp, creation date, creator ID, last
    modification date, and modifier ID. Additional fields track deletion status and
    synchronization timestamp, likely for data management purposes.
  columns:
  - name: ID
    description: Unique identifier for the call center
    tests:
    - not_null
  - name: NAME
    description: Display name of the call center
    tests:
    - not_null
  - name: INTERNAL_NAME
    description: Internal reference name for the call center
    tests:
    - not_null
  - name: VERSION
    description: Version number of the call center configuration
    tests:
    - not_null
  - name: ADAPTER_URL
    description: URL for the call center adapter
    tests:
    - not_null
  - name: CUSTOM_SETTINGS
    description: Custom configuration settings for the call center
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: Timestamp of last system modification
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the call center record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification to the record
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_EXTERNAL_DATA_SOURCE

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL NAMESPACE_PREFIX CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP TYPE ENDPOINT REPOSITORY IS_WRITABLE PRINCIPAL_TYPE PROTOCOL AUTH_PROVIDER_ID LARGE_ICON_ID SMALL_ICON_ID CUSTOM_CONFIGURATION NAMED_CREDENTIAL_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EXTERNAL_DATA_SOURCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:48:45.902792+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EXTERNAL_DATA_SOURCE"

stg_EXTERNAL_DATA_SOURCE.yml (Document the table)

version: 2
models:
- name: stg_EXTERNAL_DATA_SOURCE
  description: The table is about external data sources. It includes identifiers,
    metadata, and configuration details for each source. Key fields are ID, type,
    endpoint, repository, and authentication information. The table tracks creation
    and modification dates, developer details, and system information. It also contains
    flags for writability and deletion status.
  columns:
  - name: ID
    description: Unique identifier for the external data source
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name of the developer who created the source
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language of the external data source
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the external data source
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Namespace prefix for the external data source
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date when the record was last modified
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: TYPE
    description: Type of the external data source
    tests:
    - not_null
  - name: ENDPOINT
    description: Endpoint URL for the external data source
    tests:
    - not_null
  - name: REPOSITORY
    description: Repository information for the external data source
    tests:
    - not_null
  - name: IS_WRITABLE
    description: Flag indicating if the source is writable
    tests:
    - not_null
  - name: PRINCIPAL_TYPE
    description: Principal type for authentication
    tests:
    - not_null
  - name: PROTOCOL
    description: Protocol used for communication with the source
    tests:
    - not_null
  - name: AUTH_PROVIDER_ID
    description: ID of the authentication provider
    tests:
    - not_null
  - name: LARGE_ICON_ID
    description: ID of the large icon for the source
    tests:
    - not_null
  - name: SMALL_ICON_ID
    description: ID of the small icon for the source
    tests:
    - not_null
  - name: CUSTOM_CONFIGURATION
    description: Custom configuration details for the source
    tests:
    - not_null
  - name: NAMED_CREDENTIAL_ID
    description: ID of the named credential
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_PROV_ACCOUNT_STAGING

Table Preview (sample only)

ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP CONNECTED_APP_ID SALESFORCE_USER_ID EXTERNAL_USER_ID EXTERNAL_USERNAME EXTERNAL_EMAIL EXTERNAL_FIRST_NAME EXTERNAL_LAST_NAME LINK_STATE STATUS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROV_ACCOUNT_STAGING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:41:07.544684+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROV_ACCOUNT_STAGING"

stg_USER_PROV_ACCOUNT_STAGING.yml (Document the table)

version: 2
models:
- name: stg_USER_PROV_ACCOUNT_STAGING
  description: The table is about user provisioning accounts. It contains details
    such as user identification, account status, external user information, and connection
    details. The table includes timestamps for creation and modification, as well
    as IDs for the connected app and Salesforce user. It also tracks the link state
    and overall status of the provisioning account.
  columns:
  - name: ID
    description: Unique identifier for the user provisioning account
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the user provisioning account
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: CONNECTED_APP_ID
    description: ID of the connected application
    tests:
    - not_null
  - name: SALESFORCE_USER_ID
    description: ID of the associated Salesforce user
    tests:
    - not_null
  - name: EXTERNAL_USER_ID
    description: ID of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_USERNAME
    description: Username of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_EMAIL
    description: Email address of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_FIRST_NAME
    description: First name of the user in the external system
    tests:
    - not_null
  - name: EXTERNAL_LAST_NAME
    description: Last name of the user in the external system
    tests:
    - not_null
  - name: LINK_STATE
    description: Current state of the link between systems
    tests:
    - not_null
  - name: STATUS
    description: Current status of the user provisioning account
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_USER_LICENSE

Table Preview (sample only)

ID LICENSE_DEFINITION_KEY TOTAL_LICENSES STATUS USED_LICENSES USED_LICENSES_LAST_UPDATED NAME MASTER_LABEL CREATED_DATE LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_LICENSE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:37:36.418662+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_LICENSE"

stg_USER_LICENSE.yml (Document the table)

version: 2
models:
- name: stg_USER_LICENSE
  description: The table is about user licenses. It contains details of different
    license types, their statuses, and usage. Each row represents a specific license
    with its unique ID, name, total available licenses, used licenses, and status.
    The table also includes creation and modification dates for each license entry.
    It provides information on active and disabled licenses within the system.
  columns:
  - name: ID
    description: Unique identifier for each license entry
    tests:
    - not_null
  - name: LICENSE_DEFINITION_KEY
    description: Unique key defining the license type
    tests:
    - not_null
  - name: TOTAL_LICENSES
    description: Total number of licenses available
    tests:
    - not_null
  - name: STATUS
    description: Current status of the license (Active/Disabled)
    tests:
    - not_null
  - name: USED_LICENSES
    description: Number of licenses currently in use
    tests:
    - not_null
  - name: USED_LICENSES_LAST_UPDATED
    description: Timestamp of last update for used licenses
    tests:
    - not_null
  - name: NAME
    description: Name of the license type
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Master label for the license type
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the license entry was created
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the entry was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_MKT_DATA_TRANSFORM

Table Preview (sample only)

ID OWNER_ID IS_DELETED NAME CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE DATA_TRANSFORM_STATUS LAST_RUN_STATUS LAST_RUN_TIME LAST_DATA_CHANGE_STATUS_DATE_TIME LAST_DATA_CHANGE_STATUS_ERROR_CODE CREATION_TYPE TYPE TARGET_OBJECT DATA_SPACE_ID DATA_TRANSFORM_STATUS_DETAILS _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_MKT_DATA_TRANSFORM.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:03:22.754932+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."MKT_DATA_TRANSFORM"

stg_MKT_DATA_TRANSFORM.yml (Document the table)

version: 2
models:
- name: stg_MKT_DATA_TRANSFORM
  description: The table is about data transformations. It includes details like the
    owner, creation and modification dates, status of the transformation, last run
    status and time, target object, and data space. The table tracks the lifecycle
    and performance of data transformations, including deletion status, viewing dates,
    and error codes. It also contains system metadata like Fivetran sync information.
  columns:
  - name: ID
    description: Unique identifier for the data transformation
    tests:
    - not_null
  - name: OWNER_ID
    description: ID of the user who owns the transformation
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the transformation is deleted
    tests:
    - not_null
  - name: NAME
    description: Name of the data transformation
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date when the transformation was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the transformation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the transformation
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date when the transformation was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date when the transformation was last referenced
    tests:
    - not_null
  - name: DATA_TRANSFORM_STATUS
    description: Current status of the data transformation
    tests:
    - not_null
  - name: LAST_RUN_STATUS
    description: Status of the most recent transformation run
    tests:
    - not_null
  - name: LAST_RUN_TIME
    description: Timestamp of the most recent transformation run
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_DATE_TIME
    description: Timestamp of last data change status update
    tests:
    - not_null
  - name: LAST_DATA_CHANGE_STATUS_ERROR_CODE
    description: Error code from last data change status
    tests:
    - not_null
  - name: CREATION_TYPE
    description: Method used to create the transformation
    tests:
    - not_null
  - name: TYPE
    description: Type of data transformation
    tests:
    - not_null
  - name: TARGET_OBJECT
    description: Object targeted by the transformation
    tests:
    - not_null
  - name: DATA_SPACE_ID
    description: ID of the data space for the transformation
    tests:
    - not_null
  - name: DATA_TRANSFORM_STATUS_DETAILS
    description: Detailed status information for the transformation
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran sync
    tests:
    - not_null
  tests: []

stg_VOICE_ORG_SETTING

Table Preview (sample only)

ID IS_DELETED DEVELOPER_NAME LANGUAGE_ MASTER_LABEL CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP DEFAULT_DISPOSITION CUSTOM_DISPOSITION CONSENT_MESSAGE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_VOICE_ORG_SETTING.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:43:00.085353+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."VOICE_ORG_SETTING"

stg_VOICE_ORG_SETTING.yml (Document the table)

version: 2
models:
- name: stg_VOICE_ORG_SETTING
  description: The table is about voice organization settings. It contains configuration
    details for voice-related features in an organization. The table includes fields
    for identification, deletion status, developer name, language, labels, creation
    and modification timestamps, default and custom dispositions, and consent messages.
    It also has fields related to data synchronization and deletion tracking.
  columns:
  - name: ID
    description: Unique identifier for the voice organization setting
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record has been deleted
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Unique name used in API and managed packages
    tests:
    - not_null
  - name: LANGUAGE_
    description: Language code for the setting
    tests:
    - not_null
  - name: MASTER_LABEL
    description: Display name for the setting
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System field for tracking modifications
    tests:
    - not_null
  - name: DEFAULT_DISPOSITION
    description: Default disposition for voice calls
    tests:
    - not_null
  - name: CUSTOM_DISPOSITION
    description: Custom disposition for voice calls
    tests:
    - not_null
  - name: CONSENT_MESSAGE
    description: Message for obtaining consent in voice calls
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion tracking flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran's last synchronization timestamp
    tests:
    - not_null
  tests: []

stg_AUTH_PROVIDER

Table Preview (sample only)

ID CREATED_DATE PROVIDER_TYPE FRIENDLY_NAME DEVELOPER_NAME EXECUTION_USER_ID CONSUMER_KEY CONSUMER_SECRET ERROR_URL AUTHORIZE_URL TOKEN_URL USER_INFO_URL DEFAULT_SCOPES ID_TOKEN_ISSUER OPTIONS_SEND_ACCESS_TOKEN_IN_HEADER OPTIONS_SEND_CLIENT_CREDENTIALS_IN_HEADER OPTIONS_INCLUDE_ORG_ID_IN_ID OPTIONS_SEND_SECRET_IN_APIS OPTIONS_IS_MULE_SOFT_US OPTIONS_IS_MULE_SOFT_EU OPTIONS_REQUIRE_MFA OPTIONS_IS_SEGMENT_INTELLIGENCE OPTIONS_IS_PKCE_ENABLED OPTIONS_IS_WEB_DATA_CONNECTOR ICON_URL LOGOUT_URL CUSTOM_METADATA_TYPE_RECORD EC_KEY APPLE_TEAM SSO_KICKOFF_URL LINK_KICKOFF_URL OAUTH_KICKOFF_URL _FIVETRAN_DELETED _FIVETRAN_SYNCED OPTIONS_IS_BITBUCKET

stg_AUTH_PROVIDER.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:56:22.871025+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."AUTH_PROVIDER"

stg_AUTH_PROVIDER.yml (Document the table)

version: 2
models:
- name: stg_AUTH_PROVIDER
  description: The table is about authentication providers. It contains details like
    provider type, friendly name, developer name, and various URLs. The table includes
    flags for different options such as sending access tokens, client credentials,
    and requiring MFA. It also stores information about the provider's creation date,
    consumer key and secret, and custom metadata. Each provider has a unique ID and
    timestamps for deletion and syncing.
  columns:
  - name: ID
    description: Unique identifier for the authentication provider
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the provider was created
    tests:
    - not_null
  - name: PROVIDER_TYPE
    description: Type of authentication provider (e.g., Facebook, Google)
    tests:
    - not_null
  - name: FRIENDLY_NAME
    description: Human-readable name for the provider
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Name used by developers to reference the provider
    tests:
    - not_null
  - name: EXECUTION_USER_ID
    description: ID of the user executing the provider
    cocoon_meta:
      missing_reason: Unknown
  - name: CONSUMER_KEY
    description: Key for consumer authentication
    cocoon_meta:
      missing_reason: Unknown
  - name: CONSUMER_SECRET
    description: Secret for consumer authentication
    cocoon_meta:
      missing_reason: Unknown
  - name: ERROR_URL
    description: URL to redirect on authentication error
    cocoon_meta:
      missing_reason: Unknown
  - name: AUTHORIZE_URL
    description: URL for authorization requests
    cocoon_meta:
      missing_reason: Unknown
  - name: TOKEN_URL
    description: URL for token requests
    cocoon_meta:
      missing_reason: Unknown
  - name: USER_INFO_URL
    description: URL to fetch user information
    cocoon_meta:
      missing_reason: Unknown
  - name: DEFAULT_SCOPES
    description: Default permission scopes for the provider
    cocoon_meta:
      missing_reason: Unknown
  - name: ID_TOKEN_ISSUER
    description: Issuer of the ID token
    cocoon_meta:
      missing_reason: Unknown
  - name: OPTIONS_SEND_ACCESS_TOKEN_IN_HEADER
    description: Flag to send access token in header
    tests:
    - not_null
  - name: OPTIONS_SEND_CLIENT_CREDENTIALS_IN_HEADER
    description: Flag to send client credentials in header
    tests:
    - not_null
  - name: OPTIONS_INCLUDE_ORG_ID_IN_ID
    description: Flag to include organization ID in identifier
    tests:
    - not_null
  - name: OPTIONS_SEND_SECRET_IN_APIS
    description: Flag to send secret in API calls
    tests:
    - not_null
  - name: OPTIONS_IS_MULE_SOFT_US
    description: Flag for MuleSoft US integration
    tests:
    - not_null
  - name: OPTIONS_IS_MULE_SOFT_EU
    description: Flag for MuleSoft EU integration
    tests:
    - not_null
  - name: OPTIONS_REQUIRE_MFA
    description: Flag to require multi-factor authentication
    tests:
    - not_null
  - name: OPTIONS_IS_SEGMENT_INTELLIGENCE
    description: Flag for Segment Intelligence integration
    tests:
    - not_null
  - name: OPTIONS_IS_PKCE_ENABLED
    description: Flag for PKCE (Proof Key for Code Exchange) enablement
    tests:
    - not_null
  - name: OPTIONS_IS_WEB_DATA_CONNECTOR
    description: Flag for Web Data Connector integration
    tests:
    - not_null
  - name: ICON_URL
    description: URL for the provider's icon
    cocoon_meta:
      missing_reason: Unknown
  - name: LOGOUT_URL
    description: URL for logging out of the provider
    cocoon_meta:
      missing_reason: Unknown
  - name: CUSTOM_METADATA_TYPE_RECORD
    description: Record for custom metadata type
    cocoon_meta:
      missing_reason: Unknown
  - name: EC_KEY
    description: Elliptic Curve key for cryptography
    cocoon_meta:
      missing_reason: Unknown
  - name: APPLE_TEAM
    description: Apple developer team identifier
    cocoon_meta:
      missing_reason: Not relevant for Facebook and Google provider types.
  - name: SSO_KICKOFF_URL
    description: URL to initiate Single Sign-On
    cocoon_meta:
      missing_reason: Unknown
  - name: LINK_KICKOFF_URL
    description: URL for initiating link-based authentication
    tests:
    - not_null
  - name: OAUTH_KICKOFF_URL
    description: URL for initiating OAuth-based authentication
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  - name: OPTIONS_IS_BITBUCKET
    description: Flag indicating if the provider is Bitbucket
    tests:
    - not_null
  tests: []

stg_EMAIL_TEMPLATE

Table Preview (sample only)

ID NAME DEVELOPER_NAME NAMESPACE_PREFIX OWNER_ID FOLDER_ID FOLDER_NAME BRAND_TEMPLATE_ID TEMPLATE_STYLE IS_ACTIVE TEMPLATE_TYPE ENCODING DESCRIPTION SUBJECT HTML_VALUE BODY TIMES_USED LAST_USED_DATE CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP API_VERSION MARKUP UI_TYPE RELATED_ENTITY_TYPE TOTAL_TRACKED_SENT TOTAL_UNTRACKED_SENT TOTAL_SENT TOTAL_OPENS TOTAL_SOFT_BOUNCED TOTAL_HARD_BOUNCED TOTAL_DELIVERED DELIVERY_RATE UNIQUE_OPENS UNIQUE_REPLIES UNIQUE_TRACKED_LINK_CLICKS TOTAL_TRACKED_LINK_CLICKS TOTAL_REPLIES TOTAL_OUT_OF_OFFICE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_EMAIL_TEMPLATE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:46:34.529762+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."EMAIL_TEMPLATE"

stg_EMAIL_TEMPLATE.yml (Document the table)

version: 2
models:
- name: stg_EMAIL_TEMPLATE
  description: The table is about email templates. It contains details such as template
    ID, name, developer name, owner ID, folder information, template type, encoding,
    description, subject, HTML value, body, usage statistics, creation and modification
    dates, and various email metrics. Each row represents a unique email template
    with its specific attributes and performance data.
  columns:
  - name: ID
    description: Unique identifier for the email template
    tests:
    - not_null
  - name: NAME
    description: Name of the email template
    tests:
    - not_null
  - name: DEVELOPER_NAME
    description: Technical name used by developers
    tests:
    - not_null
  - name: NAMESPACE_PREFIX
    description: Prefix for organizing templates in namespaces
    cocoon_meta:
      missing_reason: Not applicable for templates not in a custom namespace.
  - name: OWNER_ID
    description: ID of the template owner
    tests:
    - not_null
  - name: FOLDER_ID
    description: ID of the folder containing the template
    tests:
    - not_null
  - name: FOLDER_NAME
    description: Name of the folder containing the template
    tests:
    - not_null
  - name: BRAND_TEMPLATE_ID
    description: ID of the associated brand template
    cocoon_meta:
      missing_reason: Not applicable for templates not associated with branded templates.
  - name: TEMPLATE_STYLE
    description: Style of the template
    tests:
    - not_null
  - name: IS_ACTIVE
    description: Indicates if the template is active
    tests:
    - not_null
  - name: TEMPLATE_TYPE
    description: Type of the email template
    tests:
    - not_null
  - name: ENCODING
    description: Character encoding used for the template
    tests:
    - not_null
  - name: DESCRIPTION
    description: Brief description of the template
    tests:
    - not_null
  - name: SUBJECT
    description: Subject line of the email
    tests:
    - not_null
  - name: HTML_VALUE
    description: HTML content of the email
    cocoon_meta:
      missing_reason: Unknown
  - name: BODY
    description: Plain text content of the email
    cocoon_meta:
      missing_reason: Unknown
  - name: TIMES_USED
    description: Number of times the template was used
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been used yet.
  - name: LAST_USED_DATE
    description: Date the template was last used
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been used yet.
  - name: CREATED_DATE
    description: Date the template was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the template
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date of last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of user who last modified the template
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: API_VERSION
    description: API version used for the template
    cocoon_meta:
      missing_reason: Not applicable for email templates without API integration.
  - name: MARKUP
    description: Markup language used in the template
    cocoon_meta:
      missing_reason: Not applicable for templates without specific markup language.
  - name: UI_TYPE
    description: User interface type for the template
    tests:
    - not_null
  - name: RELATED_ENTITY_TYPE
    description: Type of entity related to the template
    cocoon_meta:
      missing_reason: Unknown
  - name: TOTAL_TRACKED_SENT
    description: Total number of tracked emails sent
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_UNTRACKED_SENT
    description: Total number of untracked emails sent
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_SENT
    description: Total number of emails sent
    tests:
    - not_null
  - name: TOTAL_OPENS
    description: Total number of times emails were opened
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_SOFT_BOUNCED
    description: Number of emails that temporarily failed to deliver
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_HARD_BOUNCED
    description: Number of emails that permanently failed to deliver
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_DELIVERED
    description: Total number of emails successfully delivered
    tests:
    - not_null
  - name: DELIVERY_RATE
    description: Percentage of emails successfully delivered
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: UNIQUE_OPENS
    description: Number of unique recipients who opened the email
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: UNIQUE_REPLIES
    description: Number of unique recipients who replied to email
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: UNIQUE_TRACKED_LINK_CLICKS
    description: Number of unique recipients who clicked tracked links
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_TRACKED_LINK_CLICKS
    description: Total number of tracked link clicks
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_REPLIES
    description: Total number of replies received
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: TOTAL_OUT_OF_OFFICE
    description: Number of out-of-office responses received
    cocoon_meta:
      missing_reason: Not applicable for templates that haven't been sent yet.
  - name: _FIVETRAN_DELETED
    description: Indicates if the record was deleted in Fivetran
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization in Fivetran
    tests:
    - not_null
  tests: []

stg_LEAD_HISTORY

Table Preview (sample only)

ID IS_DELETED LEAD_ID CREATED_BY_ID CREATED_DATE FIELD DATA_TYPE OLD_VALUE NEW_VALUE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_LEAD_HISTORY.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 02:58:25.122102+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."LEAD_HISTORY"

stg_LEAD_HISTORY.yml (Document the table)

version: 2
models:
- name: stg_LEAD_HISTORY
  description: The table is about lead history in a CRM system. It records changes
    made to leads. Each row represents a single change event. The table includes details
    such as the lead ID, who created the change, when it was created, what field was
    changed, and the old and new values. It also has system fields for deletion status
    and synchronization timestamps.
  columns:
  - name: ID
    description: Unique identifier for the history record
    tests:
    - not_null
  - name: IS_DELETED
    description: Indicates if the record is deleted
    tests:
    - not_null
  - name: LEAD_ID
    description: Unique identifier of the lead
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the change
    tests:
    - not_null
  - name: CREATED_DATE
    description: Timestamp of when the change was made
    tests:
    - not_null
  - name: FIELD
    description: Name of the lead field that was changed
    tests:
    - not_null
  - name: DATA_TYPE
    description: Data type of the changed field
    tests:
    - not_null
  - name: OLD_VALUE
    description: Previous value of the changed field
    cocoon_meta:
      missing_reason: No previous value exists for newly created records.
  - name: NEW_VALUE
    description: New value of the changed field
    cocoon_meta:
      missing_reason: No previous value exists for newly created records.
  - name: _FIVETRAN_DELETED
    description: Fivetran's deletion status flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_PAYMENT_GATEWAY_LOG

Table Preview (sample only)

ID IS_DELETED PAYMENT_GATEWAY_LOG_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP LAST_VIEWED_DATE LAST_REFERENCED_DATE REFERENCED_ENTITY_ID INTERACTION_TYPE SF_REF_NUMBER INTERACTION_STATUS GATEWAY_AUTH_CODE GATEWAY_REF_NUMBER SF_RESULT_CODE GATEWAY_RESULT_CODE GATEWAY_RESULT_CODE_DESCRIPTION GATEWAY_DATE GATEWAY_MESSAGE GATEWAY_AVS_CODE PAYMENT_GATEWAY_ID IS_NOTIFICATION REQUEST RESPONSE _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_PAYMENT_GATEWAY_LOG.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:12:58.342250+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."PAYMENT_GATEWAY_LOG"

stg_PAYMENT_GATEWAY_LOG.yml (Document the table)

version: 2
models:
- name: stg_PAYMENT_GATEWAY_LOG
  description: The table is about payment gateway logs. It records transaction details
    such as payment gateway ID, interaction type, status, and reference numbers. The
    table stores authorization codes, result codes, and messages from the gateway.
    It includes request and response data, timestamps, and user information for each
    interaction. The log also tracks system modifications and viewing history of the
    records.
  columns:
  - name: ID
    description: Unique identifier for the log entry
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_LOG_NUMBER
    description: Unique number for the payment gateway log
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp of the last modification
    tests:
    - not_null
  - name: LAST_VIEWED_DATE
    description: Date and time when the record was last viewed
    tests:
    - not_null
  - name: LAST_REFERENCED_DATE
    description: Date and time when the record was last referenced
    tests:
    - not_null
  - name: REFERENCED_ENTITY_ID
    description: ID of the entity referenced in this log
    tests:
    - not_null
  - name: INTERACTION_TYPE
    description: Type of interaction with the payment gateway
    tests:
    - not_null
  - name: SF_REF_NUMBER
    description: Salesforce reference number for the transaction
    tests:
    - not_null
  - name: INTERACTION_STATUS
    description: Status of the interaction with the payment gateway
    tests:
    - not_null
  - name: GATEWAY_AUTH_CODE
    description: Authorization code provided by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_REF_NUMBER
    description: Reference number provided by the payment gateway
    tests:
    - not_null
  - name: SF_RESULT_CODE
    description: Salesforce result code for the transaction
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE
    description: Result code provided by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_RESULT_CODE_DESCRIPTION
    description: Description of the gateway result code
    tests:
    - not_null
  - name: GATEWAY_DATE
    description: Date and time of the gateway transaction
    tests:
    - not_null
  - name: GATEWAY_MESSAGE
    description: Message provided by the payment gateway
    tests:
    - not_null
  - name: GATEWAY_AVS_CODE
    description: Address Verification System code from the gateway
    tests:
    - not_null
  - name: PAYMENT_GATEWAY_ID
    description: ID of the payment gateway used
    tests:
    - not_null
  - name: IS_NOTIFICATION
    description: Flag indicating if this is a notification
    tests:
    - not_null
  - name: REQUEST
    description: Request data sent to the payment gateway
    tests:
    - not_null
  - name: RESPONSE
    description: Response data received from the payment gateway
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran flag for deleted records
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Fivetran synchronization timestamp
    tests:
    - not_null
  tests: []

stg_USER_PROVISIONING_REQUEST_SHARE

Table Preview (sample only)

ID PARENT_ID USER_OR_GROUP_ID ACCESS_LEVEL ROW_CAUSE LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID IS_DELETED _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_USER_PROVISIONING_REQUEST_SHARE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:40:48.752481+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."USER_PROVISIONING_REQUEST_SHARE"

stg_USER_PROVISIONING_REQUEST_SHARE.yml (Document the table)

version: 2
models:
- name: stg_USER_PROVISIONING_REQUEST_SHARE
  description: The table contains sharing rules for Salesforce objects. It includes
    customer data, communication preferences, and business processes. The table tracks
    user access levels and permissions. It also covers data management, marketing,
    and sales features. Each partition focuses on a specific aspect of the Salesforce
    ecosystem.
  columns:
  - name: ID
    description: Unique identifier for the sharing rule
    tests:
    - not_null
  - name: PARENT_ID
    description: ID of the parent record if applicable
    tests:
    - not_null
  - name: USER_OR_GROUP_ID
    description: ID of the user or group granted access
    tests:
    - not_null
  - name: ACCESS_LEVEL
    description: Indicates the level of access granted to the user
    tests:
    - not_null
  - name: ROW_CAUSE
    description: Reason for the sharing rule's creation
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Timestamp of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Boolean flag indicating if the record is deleted
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Fivetran-specific deletion flag
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []

stg_ASSIGNMENT_RULE

Table Preview (sample only)

ID NAME SOBJECT_TYPE ACTIVE CREATED_BY_ID CREATED_DATE LAST_MODIFIED_BY_ID LAST_MODIFIED_DATE SYSTEM_MODSTAMP _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_ASSIGNMENT_RULE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 01:54:36.617292+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."ASSIGNMENT_RULE"

stg_ASSIGNMENT_RULE.yml (Document the table)

version: 2
models:
- name: stg_ASSIGNMENT_RULE
  description: The table is about assignment rules in a system. It contains details
    like rule ID, name, object type it applies to, active status, and creation/modification
    timestamps. The table tracks who created and last modified each rule. It also
    includes fields for data synchronization and deletion tracking, likely for integration
    purposes.
  columns:
  - name: ID
    description: Unique identifier for the assignment rule
    tests:
    - not_null
  - name: NAME
    description: Name of the assignment rule
    tests:
    - not_null
  - name: SOBJECT_TYPE
    description: Type of object the rule applies to
    tests:
    - not_null
  - name: ACTIVE
    description: Indicates if the rule is currently active
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the rule
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the rule was created
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the rule
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System modification timestamp
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag indicating if the record was deleted
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last synchronization
    tests:
    - not_null
  tests: []

stg_OBJECT_DATA_IMPORT_REFERENCE

Table Preview (sample only)

ID IS_DELETED OBJECT_DATA_IMPORT_REFERENCE_NUMBER CREATED_DATE CREATED_BY_ID LAST_MODIFIED_DATE LAST_MODIFIED_BY_ID SYSTEM_MODSTAMP OBJECT_DATA_IMPORT_ID _FIVETRAN_DELETED _FIVETRAN_SYNCED

stg_OBJECT_DATA_IMPORT_REFERENCE.sql (clean the table)

-- COCOON BLOCK START: PLEASE DO NOT MODIFY THIS BLOCK FOR SELF-MAINTENANCE
-- Generated at 2024-08-16 03:07:30.749265+00:00
-- COCOON BLOCK END
SELECT *
FROM "memory"."main"."OBJECT_DATA_IMPORT_REFERENCE"

stg_OBJECT_DATA_IMPORT_REFERENCE.yml (Document the table)

version: 2
models:
- name: stg_OBJECT_DATA_IMPORT_REFERENCE
  description: The table is about object data import references. It contains an ID,
    reference number, and timestamps for creation and modification. The table tracks
    whether the reference is deleted. It links to an object data import through OBJECT_DATA_IMPORT_ID.
    The table includes system fields for tracking changes and synchronization with
    external systems.
  columns:
  - name: ID
    description: Unique identifier for the record
    tests:
    - not_null
  - name: IS_DELETED
    description: Flag indicating if the record is deleted
    tests:
    - not_null
  - name: OBJECT_DATA_IMPORT_REFERENCE_NUMBER
    description: Reference number for the object data import
    tests:
    - not_null
  - name: CREATED_DATE
    description: Date and time when the record was created
    tests:
    - not_null
  - name: CREATED_BY_ID
    description: ID of the user who created the record
    tests:
    - not_null
  - name: LAST_MODIFIED_DATE
    description: Date and time of the last modification
    tests:
    - not_null
  - name: LAST_MODIFIED_BY_ID
    description: ID of the user who last modified the record
    tests:
    - not_null
  - name: SYSTEM_MODSTAMP
    description: System timestamp for last modification
    tests:
    - not_null
  - name: OBJECT_DATA_IMPORT_ID
    description: ID of the associated object data import
    tests:
    - not_null
  - name: _FIVETRAN_DELETED
    description: Flag for Fivetran deletion status
    tests:
    - not_null
  - name: _FIVETRAN_SYNCED
    description: Timestamp of last Fivetran synchronization
    tests:
    - not_null
  tests: []
We identify the primary key (PK) and foreign key (FK) from tables. We build a join graph that connects FK to PK.

Join Graph (FK to PK)

%3 stg_TAG_DEFINITION_0 stg_TAG_DEFINITION stg_USER_75 stg_USER stg_TAG_DEFINITION_0->stg_USER_75 stg_APEX_PAGE_1 stg_APEX_PAGE stg_APEX_PAGE_1->stg_USER_75 stg_APEX_PAGE_1->stg_USER_75 stg_INDIVIDUAL_2 stg_INDIVIDUAL stg_INDIVIDUAL_2->stg_USER_75 stg_INDIVIDUAL_2->stg_USER_75 stg_INDIVIDUAL_2->stg_USER_75 stg_AURA_DEFINITION_BUNDLE_INFO_3 stg_AURA_DEFINITION_BUNDLE_INFO stg_AURA_DEFINITION_BUNDLE_385 stg_AURA_DEFINITION_BUNDLE stg_AURA_DEFINITION_BUNDLE_INFO_3->stg_AURA_DEFINITION_BUNDLE_385 stg_DATA_SEMANTIC_SEARCH_4 stg_DATA_SEMANTIC_SEARCH stg_DATA_SEMANTIC_SEARCH_4->stg_USER_75 stg_DATA_SEMANTIC_SEARCH_4->stg_USER_75 stg_DATA_SPACE_195 stg_DATA_SPACE stg_DATA_SEMANTIC_SEARCH_4->stg_DATA_SPACE_195 stg_PAYMENT_GATEWAY_PROVIDER_5 stg_PAYMENT_GATEWAY_PROVIDER stg_PAYMENT_GATEWAY_PROVIDER_5->stg_USER_75 stg_PAYMENT_GATEWAY_PROVIDER_5->stg_USER_75 stg_COMM_SUBSCRIPTION_TIMING_6 stg_COMM_SUBSCRIPTION_TIMING stg_COMM_SUBSCRIPTION_TIMING_6->stg_USER_75 stg_COMM_SUBSCRIPTION_TIMING_6->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319 stg_COMM_SUBSCRIPTION_CONSENT stg_COMM_SUBSCRIPTION_TIMING_6->stg_COMM_SUBSCRIPTION_CONSENT_319 stg_GOAL_ASSIGNMENT_7 stg_GOAL_ASSIGNMENT stg_GOAL_DEFINITION_74 stg_GOAL_DEFINITION stg_GOAL_ASSIGNMENT_7->stg_GOAL_DEFINITION_74 stg_GOAL_ASSIGNMENT_7->stg_USER_75 stg_GOAL_ASSIGNMENT_7->stg_USER_75 stg_GOAL_ASSIGNMENT_7->stg_USER_75 stg_CARD_PAYMENT_METHOD_8 stg_CARD_PAYMENT_METHOD stg_CARD_PAYMENT_METHOD_8->stg_USER_75 stg_CARD_PAYMENT_METHOD_8->stg_USER_75 stg_ACCOUNT_183 stg_ACCOUNT stg_CARD_PAYMENT_METHOD_8->stg_ACCOUNT_183 stg_PAYMENT_GATEWAY_218 stg_PAYMENT_GATEWAY stg_CARD_PAYMENT_METHOD_8->stg_PAYMENT_GATEWAY_218 stg_CONTACT_POINT_EMAIL_9 stg_CONTACT_POINT_EMAIL stg_CONTACT_39 stg_CONTACT stg_CONTACT_POINT_EMAIL_9->stg_CONTACT_39 stg_CONTACT_POINT_EMAIL_9->stg_USER_75 stg_CONTACT_POINT_EMAIL_9->stg_USER_75 stg_CONTACT_POINT_EMAIL_9->stg_USER_75 stg_CONTENT_VERSION_10 stg_CONTENT_VERSION stg_CONTENT_VERSION_10->stg_USER_75 stg_CONTENT_VERSION_10->stg_USER_75 stg_CONTENT_VERSION_10->stg_USER_75 stg_CONTENT_VERSION_10->stg_USER_75 stg_EXTERNAL_DATA_SOURCE_99 stg_EXTERNAL_DATA_SOURCE stg_CONTENT_VERSION_10->stg_EXTERNAL_DATA_SOURCE_99 stg_CONTENT_DOCUMENT_126 stg_CONTENT_DOCUMENT stg_CONTENT_VERSION_10->stg_CONTENT_DOCUMENT_126 stg_IDENTITY_RESOLUTION_11 stg_IDENTITY_RESOLUTION stg_IDENTITY_RESOLUTION_11->stg_USER_75 stg_IDENTITY_RESOLUTION_11->stg_USER_75 stg_IDENTITY_RESOLUTION_11->stg_DATA_SPACE_195 stg_CONTENT_DOCUMENT_SUBSCRIPTION_12 stg_CONTENT_DOCUMENT_SUBSCRIPTION stg_CONTENT_DOCUMENT_SUBSCRIPTION_12->stg_USER_75 stg_CONTENT_DOCUMENT_SUBSCRIPTION_12->stg_CONTENT_DOCUMENT_126 stg_VIDEO_CALL_PARTICIPANT_13 stg_VIDEO_CALL_PARTICIPANT stg_VIDEO_CALL_PARTICIPANT_13->stg_INDIVIDUAL_2 stg_VIDEO_CALL_PARTICIPANT_13->stg_USER_75 stg_VIDEO_CALL_PARTICIPANT_13->stg_USER_75 stg_VIDEO_CALL_194 stg_VIDEO_CALL stg_VIDEO_CALL_PARTICIPANT_13->stg_VIDEO_CALL_194 stg_INDIVIDUAL_SHARE_14 stg_INDIVIDUAL_SHARE stg_INDIVIDUAL_SHARE_14->stg_INDIVIDUAL_2 stg_INDIVIDUAL_SHARE_14->stg_USER_75 stg_INDIVIDUAL_SHARE_14->stg_USER_75 stg_DASHBOARD_15 stg_DASHBOARD stg_DASHBOARD_15->stg_USER_75 stg_DASHBOARD_15->stg_USER_75 stg_DASHBOARD_15->stg_USER_75 stg_DASHBOARD_15->stg_USER_75 stg_MAILMERGE_TEMPLATE_16 stg_MAILMERGE_TEMPLATE stg_MAILMERGE_TEMPLATE_16->stg_USER_75 stg_MAILMERGE_TEMPLATE_16->stg_USER_75 stg_NAMED_CREDENTIAL_17 stg_NAMED_CREDENTIAL stg_NAMED_CREDENTIAL_17->stg_USER_75 stg_NAMED_CREDENTIAL_17->stg_USER_75 stg_AUTH_PROVIDER_215 stg_AUTH_PROVIDER stg_NAMED_CREDENTIAL_17->stg_AUTH_PROVIDER_215 stg_SSOT_ACCOUNT_DLM_18 stg_SSOT_ACCOUNT_DLM stg_SSOT_ACCOUNT_DLM_18->stg_INDIVIDUAL_2 stg_SSOT_ACCOUNT_DLM_18->stg_ACCOUNT_183 stg_SSOT_ACCOUNT_DLM_18->stg_ACCOUNT_183 stg_SSOT_ACCOUNT_DLM_18->stg_ACCOUNT_183 stg_SSOT_ACCOUNT_DLM_18->stg_ACCOUNT_183 stg_CONTACT_POINT_ADDRESS_243 stg_CONTACT_POINT_ADDRESS stg_SSOT_ACCOUNT_DLM_18->stg_CONTACT_POINT_ADDRESS_243 stg_SSOT_ACCOUNT_DLM_18->stg_CONTACT_POINT_ADDRESS_243 stg_CONTACT_POINT_PHONE_359 stg_CONTACT_POINT_PHONE stg_SSOT_ACCOUNT_DLM_18->stg_CONTACT_POINT_PHONE_359 stg_SSOT_ACCOUNT_DLM_18->stg_CONTACT_POINT_PHONE_359 stg_CASE_EXTERNAL_DOCUMENT_19 stg_CASE_EXTERNAL_DOCUMENT stg_CASE_EXTERNAL_DOCUMENT_19->stg_USER_75 stg_CASE_EXTERNAL_DOCUMENT_19->stg_USER_75 stg_CASE_357 stg_CASE stg_CASE_EXTERNAL_DOCUMENT_19->stg_CASE_357 stg_MARKET_SEGMENT_20 stg_MARKET_SEGMENT stg_MARKET_SEGMENT_20->stg_USER_75 stg_MARKET_SEGMENT_20->stg_USER_75 stg_MARKET_SEGMENT_20->stg_DATA_SPACE_195 stg_DATA_GRAPH_245 stg_DATA_GRAPH stg_MARKET_SEGMENT_20->stg_DATA_GRAPH_245 stg_CONTENT_WORKSPACE_MEMBER_21 stg_CONTENT_WORKSPACE_MEMBER stg_CONTENT_WORKSPACE_MEMBER_21->stg_USER_75 stg_CONTENT_WORKSPACE_MEMBER_21->stg_USER_75 stg_CONTENT_WORKSPACE_85 stg_CONTENT_WORKSPACE stg_CONTENT_WORKSPACE_MEMBER_21->stg_CONTENT_WORKSPACE_85 stg_CONTENT_WORKSPACE_PERMISSION_129 stg_CONTENT_WORKSPACE_PERMISSION stg_CONTENT_WORKSPACE_MEMBER_21->stg_CONTENT_WORKSPACE_PERMISSION_129 stg_CASE_COMMENT_22 stg_CASE_COMMENT stg_CASE_COMMENT_22->stg_USER_75 stg_CASE_COMMENT_22->stg_USER_75 stg_CASE_COMMENT_22->stg_CASE_357 stg_TRANSLATION_23 stg_TRANSLATION stg_TRANSLATION_23->stg_USER_75 stg_TRANSLATION_23->stg_USER_75 stg_DATA_USE_LEGAL_BASIS_24 stg_DATA_USE_LEGAL_BASIS stg_DATA_USE_LEGAL_BASIS_24->stg_USER_75 stg_DATA_USE_LEGAL_BASIS_24->stg_USER_75 stg_DATA_USE_LEGAL_BASIS_24->stg_USER_75 stg_PAYMENT_25 stg_PAYMENT stg_PAYMENT_25->stg_USER_75 stg_PAYMENT_25->stg_USER_75 stg_PAYMENT_AUTHORIZATION_78 stg_PAYMENT_AUTHORIZATION stg_PAYMENT_25->stg_PAYMENT_AUTHORIZATION_78 stg_PAYMENT_GROUP_104 stg_PAYMENT_GROUP stg_PAYMENT_25->stg_PAYMENT_GROUP_104 stg_PAYMENT_METHOD_163 stg_PAYMENT_METHOD stg_PAYMENT_25->stg_PAYMENT_METHOD_163 stg_PAYMENT_25->stg_ACCOUNT_183 stg_PAYMENT_25->stg_PAYMENT_GATEWAY_218 stg_LIST_VIEW_CHART_26 stg_LIST_VIEW_CHART stg_LIST_VIEW_CHART_26->stg_USER_75 stg_LIST_VIEW_CHART_26->stg_USER_75 stg_LIST_VIEW_CHART_26->stg_USER_75 stg_CONTENT_ASSET_27 stg_CONTENT_ASSET stg_CONTENT_ASSET_27->stg_USER_75 stg_CONTENT_ASSET_27->stg_USER_75 stg_CONTENT_ASSET_27->stg_CONTENT_DOCUMENT_126 stg_NOTE_28 stg_NOTE stg_NOTE_28->stg_NOTE_28 stg_NOTE_28->stg_USER_75 stg_NOTE_28->stg_USER_75 stg_NOTE_28->stg_USER_75 MarketSegmentManagementSystem_29 MarketSegmentManagementSystem MarketSegmentManagementSystem_29->stg_USER_75 MarketSegmentManagementSystem_29->stg_USER_75 stg_EXTERNAL_STRING_30 stg_EXTERNAL_STRING stg_EXTERNAL_STRING_30->stg_USER_75 stg_EXTERNAL_STRING_30->stg_USER_75 stg_TASK_WHO_RELATION_31 stg_TASK_WHO_RELATION stg_TASK_56 stg_TASK stg_TASK_WHO_RELATION_31->stg_TASK_56 stg_TASK_WHO_RELATION_31->stg_USER_75 stg_TASK_WHO_RELATION_31->stg_USER_75 stg_TASK_WHO_RELATION_31->stg_ACCOUNT_183 stg_BUSINESS_HOURS_32 stg_BUSINESS_HOURS stg_BUSINESS_HOURS_32->stg_USER_75 stg_BUSINESS_HOURS_32->stg_USER_75 stg_OPPORTUNITY_SHARE_33 stg_OPPORTUNITY_SHARE stg_OPPORTUNITY_70 stg_OPPORTUNITY stg_OPPORTUNITY_SHARE_33->stg_OPPORTUNITY_70 stg_OPPORTUNITY_SHARE_33->stg_USER_75 stg_OPPORTUNITY_SHARE_33->stg_USER_75 stg_AUTHORIZATION_FORM_34 stg_AUTHORIZATION_FORM stg_AUTHORIZATION_FORM_34->stg_USER_75 stg_AUTHORIZATION_FORM_34->stg_USER_75 stg_AUTHORIZATION_FORM_34->stg_USER_75 stg_AUTHORIZATION_FORM_TEXT_315 stg_AUTHORIZATION_FORM_TEXT stg_AUTHORIZATION_FORM_34->stg_AUTHORIZATION_FORM_TEXT_315 stg_EXTERNAL_DATA_SRC_DESCRIPTOR_35 stg_EXTERNAL_DATA_SRC_DESCRIPTOR stg_EXTERNAL_DATA_SRC_DESCRIPTOR_35->stg_USER_75 stg_EXTERNAL_DATA_SRC_DESCRIPTOR_35->stg_USER_75 stg_EXTERNAL_DATA_SRC_DESCRIPTOR_35->stg_EXTERNAL_DATA_SOURCE_99 stg_EVENT_36 stg_EVENT stg_EVENT_36->stg_EVENT_36 stg_EVENT_36->stg_CONTACT_39 stg_EVENT_36->stg_USER_75 stg_EVENT_36->stg_USER_75 stg_EVENT_36->stg_USER_75 stg_EVENT_36->stg_ACCOUNT_183 stg_CONTACT_SHARE_37 stg_CONTACT_SHARE stg_CONTACT_SHARE_37->stg_CONTACT_39 stg_CONTACT_SHARE_37->stg_USER_75 stg_CONTACT_SHARE_37->stg_USER_75 stg_FLOW_RECORD_VERSION_38 stg_FLOW_RECORD_VERSION stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_VERSION_38->stg_USER_75 stg_FLOW_RECORD_196 stg_FLOW_RECORD stg_FLOW_RECORD_VERSION_38->stg_FLOW_RECORD_196 stg_FLOW_RECORD_VERSION_38->stg_FLOW_RECORD_196 stg_FLOW_RECORD_VERSION_38->stg_FLOW_RECORD_196 stg_CONTACT_39->stg_INDIVIDUAL_2 stg_CONTACT_39->stg_CONTACT_39 stg_CONTACT_39->stg_CONTACT_39 stg_CONTACT_39->stg_USER_75 stg_CONTACT_39->stg_USER_75 stg_CONTACT_39->stg_USER_75 stg_CONTACT_39->stg_USER_75 stg_CONTACT_39->stg_ACCOUNT_183 stg_ACTION_CADENCE_261 stg_ACTION_CADENCE stg_CONTACT_39->stg_ACTION_CADENCE_261 stg_AUTH_CONFIG_40 stg_AUTH_CONFIG stg_AUTH_CONFIG_40->stg_USER_75 stg_AUTH_CONFIG_40->stg_USER_75 stg_APEX_PAGE_INFO_41 stg_APEX_PAGE_INFO stg_APEX_PAGE_INFO_41->stg_APEX_PAGE_1 stg_EMBEDDED_SERVICE_DETAIL_42 stg_EMBEDDED_SERVICE_DETAIL stg_SITE_127 stg_SITE stg_EMBEDDED_SERVICE_DETAIL_42->stg_SITE_127 stg_PROMPT_ERROR_43 stg_PROMPT_ERROR stg_PROMPT_ERROR_43->stg_USER_75 stg_PROMPT_ERROR_43->stg_USER_75 stg_PROMPT_ERROR_43->stg_USER_75 stg_PROMPT_ACTION_258 stg_PROMPT_ACTION stg_PROMPT_ERROR_43->stg_PROMPT_ACTION_258 stg_FORMULA_FUNCTION_44 stg_FORMULA_FUNCTION stg_APP_DEFINITION_45 stg_APP_DEFINITION stg_LOGIN_IP_46 stg_LOGIN_IP stg_LOGIN_IP_46->stg_USER_75 stg_QUICK_TEXT_47 stg_QUICK_TEXT stg_QUICK_TEXT_47->stg_USER_75 stg_QUICK_TEXT_47->stg_USER_75 stg_QUICK_TEXT_47->stg_USER_75 stg_FOLDER_285 stg_FOLDER stg_QUICK_TEXT_47->stg_FOLDER_285 stg_IMAGE_48 stg_IMAGE stg_IMAGE_48->stg_USER_75 stg_IMAGE_48->stg_USER_75 stg_IMAGE_48->stg_USER_75 stg_IMAGE_48->stg_CONTENT_DOCUMENT_126 stg_CONTENT_FOLDER_49 stg_CONTENT_FOLDER stg_CONTENT_FOLDER_49->stg_CONTENT_FOLDER_49 stg_CONTENT_FOLDER_49->stg_USER_75 stg_CONTENT_FOLDER_49->stg_USER_75 stg_USER_DEFINED_LABEL_50 stg_USER_DEFINED_LABEL stg_USER_DEFINED_LABEL_50->stg_USER_75 stg_USER_DEFINED_LABEL_50->stg_USER_75 stg_USER_DEFINED_LABEL_50->stg_USER_75 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51 stg_GOAL_ASSIGNMENT_RECOMMENDATION stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_GOAL_ASSIGNMENT_7 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_IMAGE_48 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_GOAL_ASSIGNMENT_RECOMMENDATION_51 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_USER_75 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_USER_75 stg_GOAL_ASSIGNMENT_RECOMMENDATION_51->stg_USER_75 stg_BUSINESS_PROCESS_52 stg_BUSINESS_PROCESS stg_BUSINESS_PROCESS_52->stg_USER_75 stg_BUSINESS_PROCESS_52->stg_USER_75 stg_DATA_REMOTE_ORG_DATA_SPACE_MAP_53 stg_DATA_REMOTE_ORG_DATA_SPACE_MAP stg_DATA_REMOTE_ORG_DATA_SPACE_MAP_53->stg_USER_75 stg_DATA_REMOTE_ORG_DATA_SPACE_MAP_53->stg_USER_75 stg_DATA_MULTI_ORG_CONNECTION_120 stg_DATA_MULTI_ORG_CONNECTION stg_DATA_REMOTE_ORG_DATA_SPACE_MAP_53->stg_DATA_MULTI_ORG_CONNECTION_120 stg_REFUND_54 stg_REFUND stg_REFUND_54->stg_USER_75 stg_REFUND_54->stg_USER_75 stg_REFUND_54->stg_PAYMENT_GROUP_104 stg_REFUND_54->stg_PAYMENT_METHOD_163 stg_REFUND_54->stg_ACCOUNT_183 stg_REFUND_54->stg_PAYMENT_GATEWAY_218 stg_SECURITY_CUSTOM_BASELINE_55 stg_SECURITY_CUSTOM_BASELINE stg_SECURITY_CUSTOM_BASELINE_55->stg_USER_75 stg_SECURITY_CUSTOM_BASELINE_55->stg_USER_75 stg_TASK_56->stg_EVENT_36 stg_TASK_56->stg_CONTACT_39 stg_TASK_56->stg_USER_75 stg_TASK_56->stg_USER_75 stg_TASK_56->stg_USER_75 stg_ACTION_CADENCE_STEP_TRACKER_119 stg_ACTION_CADENCE_STEP_TRACKER stg_TASK_56->stg_ACTION_CADENCE_STEP_TRACKER_119 stg_TASK_56->stg_ACCOUNT_183 CustomerSupportManagementSystem_57 CustomerSupportManagementSystem CustomerSupportManagementSystem_57->stg_USER_75 CustomerSupportManagementSystem_57->stg_USER_75 stg_APEX_LOG_58 stg_APEX_LOG stg_APEX_LOG_58->stg_USER_75 stg_WEB_LINK_59 stg_WEB_LINK stg_WEB_LINK_59->stg_USER_75 stg_WEB_LINK_59->stg_USER_75 stg_SCONTROL_205 stg_SCONTROL stg_WEB_LINK_59->stg_SCONTROL_205 stg_MKT_CALCULATED_INSIGHT_60 stg_MKT_CALCULATED_INSIGHT stg_MKT_CALCULATED_INSIGHT_60->stg_USER_75 stg_MKT_CALCULATED_INSIGHT_60->stg_USER_75 stg_MKT_CALCULATED_INSIGHT_60->stg_DATA_SPACE_195 stg_UNIFIED_CONTACT_POINT_PHONE_DLM_61 stg_UNIFIED_CONTACT_POINT_PHONE_DLM stg_EMAIL_SERVICES_ADDRESS_62 stg_EMAIL_SERVICES_ADDRESS stg_EMAIL_SERVICES_ADDRESS_62->stg_USER_75 stg_EMAIL_SERVICES_ADDRESS_62->stg_USER_75 stg_EMAIL_SERVICES_ADDRESS_62->stg_USER_75 stg_EMAIL_SERVICES_FUNCTION_340 stg_EMAIL_SERVICES_FUNCTION stg_EMAIL_SERVICES_ADDRESS_62->stg_EMAIL_SERVICES_FUNCTION_340 stg_PRICEBOOK_ENTRY_63 stg_PRICEBOOK_ENTRY stg_PRICEBOOK_ENTRY_63->stg_USER_75 stg_PRICEBOOK_ENTRY_63->stg_USER_75 stg_PRICEBOOK_2_159 stg_PRICEBOOK_2 stg_PRICEBOOK_ENTRY_63->stg_PRICEBOOK_2_159 stg_PRODUCT_2_301 stg_PRODUCT_2 stg_PRICEBOOK_ENTRY_63->stg_PRODUCT_2_301 stg_DATA_USE_PURPOSE_64 stg_DATA_USE_PURPOSE stg_DATA_USE_PURPOSE_64->stg_DATA_USE_LEGAL_BASIS_24 stg_DATA_USE_PURPOSE_64->stg_USER_75 stg_DATA_USE_PURPOSE_64->stg_USER_75 stg_DATA_USE_PURPOSE_64->stg_USER_75 stg_MKT_DATA_LAKE_MAPPING_65 stg_MKT_DATA_LAKE_MAPPING stg_MKT_DATA_LAKE_MAPPING_65->stg_USER_75 stg_MKT_DATA_LAKE_MAPPING_65->stg_USER_75 stg_OPPORTUNITY_RELATED_DELETE_LOG_66 stg_OPPORTUNITY_RELATED_DELETE_LOG stg_OPPORTUNITY_RELATED_DELETE_LOG_66->stg_OPPORTUNITY_70 stg_OPPORTUNITY_RELATED_DELETE_LOG_66->stg_USER_75 stg_OPPORTUNITY_RELATED_DELETE_LOG_66->stg_USER_75 stg_UI_FORMULA_CRITERION_67 stg_UI_FORMULA_CRITERION stg_UI_FORMULA_CRITERION_67->stg_USER_75 stg_UI_FORMULA_CRITERION_67->stg_USER_75 stg_UI_FORMULA_RULE_362 stg_UI_FORMULA_RULE stg_UI_FORMULA_CRITERION_67->stg_UI_FORMULA_RULE_362 stg_ASSET_68 stg_ASSET stg_ASSET_68->stg_CONTACT_39 stg_ASSET_68->stg_ASSET_68 stg_ASSET_68->stg_ASSET_68 stg_ASSET_68->stg_USER_75 stg_ASSET_68->stg_USER_75 stg_ASSET_68->stg_USER_75 stg_ASSET_68->stg_ACCOUNT_183 stg_ASSET_68->stg_ACCOUNT_183 stg_ASSET_68->stg_ACCOUNT_183 stg_ASSET_68->stg_PRODUCT_2_301 stg_APP_ANALYTICS_QUERY_REQUEST_69 stg_APP_ANALYTICS_QUERY_REQUEST stg_APP_ANALYTICS_QUERY_REQUEST_69->stg_USER_75 stg_APP_ANALYTICS_QUERY_REQUEST_69->stg_USER_75 stg_OPPORTUNITY_70->stg_CONTACT_39 stg_OPPORTUNITY_70->stg_USER_75 stg_OPPORTUNITY_70->stg_USER_75 stg_OPPORTUNITY_70->stg_USER_75 stg_OPPORTUNITY_70->stg_PRICEBOOK_2_159 stg_OPPORTUNITY_70->stg_ACCOUNT_183 stg_AUTH_CONFIG_PROVIDERS_71 stg_AUTH_CONFIG_PROVIDERS stg_AUTH_CONFIG_PROVIDERS_71->stg_AUTH_CONFIG_40 stg_AUTH_CONFIG_PROVIDERS_71->stg_USER_75 stg_AUTH_CONFIG_PROVIDERS_71->stg_USER_75 stg_AUTH_CONFIG_PROVIDERS_71->stg_AUTH_PROVIDER_215 stg_CONTENT_WORKSPACE_SUBSCRIPTION_72 stg_CONTENT_WORKSPACE_SUBSCRIPTION stg_CONTENT_WORKSPACE_SUBSCRIPTION_72->stg_USER_75 stg_CONTENT_WORKSPACE_SUBSCRIPTION_72->stg_CONTENT_WORKSPACE_85 stg_DATA_WEAVE_RESOURCE_73 stg_DATA_WEAVE_RESOURCE stg_DATA_WEAVE_RESOURCE_73->stg_USER_75 stg_DATA_WEAVE_RESOURCE_73->stg_USER_75 stg_GOAL_DEFINITION_74->stg_GOAL_DEFINITION_74 stg_GOAL_DEFINITION_74->stg_USER_75 stg_GOAL_DEFINITION_74->stg_USER_75 stg_GOAL_DEFINITION_74->stg_USER_75 stg_USER_75->stg_INDIVIDUAL_2 stg_USER_75->stg_CONTACT_39 stg_USER_75->stg_USER_75 stg_USER_75->stg_USER_75 stg_USER_75->stg_USER_75 stg_USER_75->stg_USER_75 stg_PROFILE_151 stg_PROFILE stg_USER_75->stg_PROFILE_151 stg_USER_75->stg_ACCOUNT_183 stg_CALL_CENTER_259 stg_CALL_CENTER stg_USER_75->stg_CALL_CENTER_259 stg_USER_ROLE_376 stg_USER_ROLE stg_USER_75->stg_USER_ROLE_376 stg_CUSTOM_PERMISSION_76 stg_CUSTOM_PERMISSION stg_CUSTOM_PERMISSION_76->stg_USER_75 stg_CUSTOM_PERMISSION_76->stg_USER_75 stg_PROCESS_INSTANCE_STEP_77 stg_PROCESS_INSTANCE_STEP stg_PROCESS_INSTANCE_STEP_77->stg_USER_75 stg_PROCESS_INSTANCE_STEP_77->stg_USER_75 stg_PROCESS_INSTANCE_STEP_77->stg_USER_75 stg_PROCESS_NODE_84 stg_PROCESS_NODE stg_PROCESS_INSTANCE_STEP_77->stg_PROCESS_NODE_84 stg_PROCESS_INSTANCE_208 stg_PROCESS_INSTANCE stg_PROCESS_INSTANCE_STEP_77->stg_PROCESS_INSTANCE_208 stg_PAYMENT_AUTHORIZATION_78->stg_USER_75 stg_PAYMENT_AUTHORIZATION_78->stg_USER_75 stg_PAYMENT_AUTHORIZATION_78->stg_PAYMENT_GROUP_104 stg_PAYMENT_AUTHORIZATION_78->stg_PAYMENT_METHOD_163 stg_PAYMENT_AUTHORIZATION_78->stg_ACCOUNT_183 stg_PAYMENT_AUTHORIZATION_78->stg_PAYMENT_GATEWAY_218 stg_AUTH_SESSION_79 stg_AUTH_SESSION stg_AUTH_SESSION_79->stg_USER_75 stg_AUTH_SESSION_79->stg_AUTH_SESSION_79 stg_USER_LOGIN_223 stg_USER_LOGIN stg_AUTH_SESSION_79->stg_USER_LOGIN_223 stg_LOGIN_GEO_289 stg_LOGIN_GEO stg_AUTH_SESSION_79->stg_LOGIN_GEO_289 stg_CAMPAIGN_80 stg_CAMPAIGN stg_CAMPAIGN_80->stg_USER_75 stg_CAMPAIGN_80->stg_USER_75 stg_CAMPAIGN_80->stg_USER_75 stg_CAMPAIGN_80->stg_CAMPAIGN_80 stg_RECORD_TYPE_93 stg_RECORD_TYPE stg_CAMPAIGN_80->stg_RECORD_TYPE_93 stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81 stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81->stg_CONTACT_39 stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81->stg_USER_75 stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81->stg_USER_75 stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81->stg_ACTION_CADENCE_STEP_TRACKER_119 stg_LIST_EMAIL_298 stg_LIST_EMAIL stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT_81->stg_LIST_EMAIL_298 stg_PROCESS_DEFINITION_82 stg_PROCESS_DEFINITION stg_PROCESS_DEFINITION_82->stg_USER_75 stg_PROCESS_DEFINITION_82->stg_USER_75 stg_PERMISSION_SET_GROUP_83 stg_PERMISSION_SET_GROUP stg_PERMISSION_SET_GROUP_83->stg_USER_75 stg_PERMISSION_SET_GROUP_83->stg_USER_75 stg_PROCESS_NODE_84->stg_PROCESS_DEFINITION_82 stg_CONTENT_WORKSPACE_85->stg_IMAGE_48 stg_CONTENT_WORKSPACE_85->stg_CONTENT_FOLDER_49 stg_CONTENT_WORKSPACE_85->stg_USER_75 stg_CONTENT_WORKSPACE_85->stg_USER_75 stg_CONTENT_WORKSPACE_85->stg_RECORD_TYPE_93 stg_ACTION_LINK_GROUP_TEMPLATE_86 stg_ACTION_LINK_GROUP_TEMPLATE stg_ACTION_LINK_GROUP_TEMPLATE_86->stg_USER_75 stg_ACTION_LINK_GROUP_TEMPLATE_86->stg_USER_75 stg_CAMPAIGN_SHARE_87 stg_CAMPAIGN_SHARE stg_CAMPAIGN_SHARE_87->stg_USER_75 stg_CAMPAIGN_SHARE_87->stg_USER_75 stg_CAMPAIGN_SHARE_87->stg_CAMPAIGN_80 stg_SSOT_ACCOUNT_CONTACT_DLM_88 stg_SSOT_ACCOUNT_CONTACT_DLM stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_ACCOUNT_DLM_18 stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_ACCOUNT_DLM_18 stg_SSOT_CONTACT_POINT_PHONE_DLM_168 stg_SSOT_CONTACT_POINT_PHONE_DLM stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_PHONE_DLM_168 stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_PHONE_DLM_168 stg_SSOT_CONTACT_POINT_ADDRESS_DLM_264 stg_SSOT_CONTACT_POINT_ADDRESS_DLM stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_ADDRESS_DLM_264 stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_ADDRESS_DLM_264 stg_SSOT_CONTACT_POINT_EMAIL_DLM_277 stg_SSOT_CONTACT_POINT_EMAIL_DLM stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_EMAIL_DLM_277 stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_CONTACT_POINT_EMAIL_DLM_277 stg_SSOT_INDIVIDUAL_DLM_309 stg_SSOT_INDIVIDUAL_DLM stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_INDIVIDUAL_DLM_309 stg_SSOT_ACCOUNT_CONTACT_DLM_88->stg_SSOT_INDIVIDUAL_DLM_309 stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89 stg_OAUTH_TOKEN_EXCH_HANDLER_APP stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89->stg_USER_75 stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89->stg_USER_75 stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89->stg_USER_75 stg_OAUTH_TOKEN_EXCHANGE_HANDLER_338 stg_OAUTH_TOKEN_EXCHANGE_HANDLER stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89->stg_OAUTH_TOKEN_EXCHANGE_HANDLER_338 stg_CONNECTED_APPLICATION_349 stg_CONNECTED_APPLICATION stg_OAUTH_TOKEN_EXCH_HANDLER_APP_89->stg_CONNECTED_APPLICATION_349 stg_IDP_EVENT_LOG_90 stg_IDP_EVENT_LOG stg_IDP_EVENT_LOG_90->stg_USER_75 stg_IDP_EVENT_LOG_90->stg_AUTH_SESSION_79 stg_AURA_DEFINITION_91 stg_AURA_DEFINITION stg_AURA_DEFINITION_91->stg_USER_75 stg_AURA_DEFINITION_91->stg_USER_75 stg_AURA_DEFINITION_91->stg_AURA_DEFINITION_BUNDLE_385 stg_GROUP_92 stg_GROUP stg_GROUP_92->stg_USER_75 stg_GROUP_92->stg_USER_75 stg_GROUP_92->stg_USER_75 stg_RECORD_TYPE_93->stg_BUSINESS_PROCESS_52 stg_RECORD_TYPE_93->stg_USER_75 stg_RECORD_TYPE_93->stg_USER_75 stg_EVENT_WHO_RELATION_94 stg_EVENT_WHO_RELATION stg_EVENT_WHO_RELATION_94->stg_EVENT_36 stg_EVENT_WHO_RELATION_94->stg_USER_75 stg_EVENT_WHO_RELATION_94->stg_USER_75 stg_EVENT_WHO_RELATION_94->stg_ACCOUNT_183 stg_PAYMENT_GATEWAY_LOG_95 stg_PAYMENT_GATEWAY_LOG stg_PAYMENT_GATEWAY_LOG_95->stg_USER_75 stg_PAYMENT_GATEWAY_LOG_95->stg_USER_75 stg_PAYMENT_GATEWAY_LOG_95->stg_PAYMENT_GATEWAY_218 stg_ATTACHMENT_96 stg_ATTACHMENT stg_ATTACHMENT_96->stg_USER_75 stg_ATTACHMENT_96->stg_USER_75 stg_ATTACHMENT_96->stg_USER_75 stg_USER_PROVISIONING_CONFIG_97 stg_USER_PROVISIONING_CONFIG stg_USER_PROVISIONING_CONFIG_97->stg_NAMED_CREDENTIAL_17 stg_USER_PROVISIONING_CONFIG_97->stg_USER_75 stg_USER_PROVISIONING_CONFIG_97->stg_USER_75 stg_USER_PROVISIONING_CONFIG_97->stg_CONNECTED_APPLICATION_349 stg_DATA_QUERY_WORKSPACE_TAB_98 stg_DATA_QUERY_WORKSPACE_TAB stg_DATA_QUERY_WORKSPACE_TAB_98->stg_USER_75 stg_DATA_QUERY_WORKSPACE_TAB_98->stg_USER_75 stg_DATA_QUERY_WORKSPACE_323 stg_DATA_QUERY_WORKSPACE stg_DATA_QUERY_WORKSPACE_TAB_98->stg_DATA_QUERY_WORKSPACE_323 stg_EXTERNAL_DATA_SOURCE_99->stg_NAMED_CREDENTIAL_17 stg_EXTERNAL_DATA_SOURCE_99->stg_USER_75 stg_EXTERNAL_DATA_SOURCE_99->stg_USER_75 stg_EXTERNAL_DATA_SOURCE_99->stg_AUTH_PROVIDER_215 stg_STATIC_RESOURCE_353 stg_STATIC_RESOURCE stg_EXTERNAL_DATA_SOURCE_99->stg_STATIC_RESOURCE_353 stg_EXTERNAL_DATA_SOURCE_99->stg_STATIC_RESOURCE_353 stg_CONTACT_REQUEST_100 stg_CONTACT_REQUEST stg_CONTACT_REQUEST_100->stg_USER_75 stg_CONTACT_REQUEST_100->stg_USER_75 stg_CONTACT_REQUEST_100->stg_USER_75 stg_REFUND_LINE_PAYMENT_101 stg_REFUND_LINE_PAYMENT stg_REFUND_LINE_PAYMENT_101->stg_PAYMENT_25 stg_REFUND_LINE_PAYMENT_101->stg_REFUND_54 stg_REFUND_LINE_PAYMENT_101->stg_USER_75 stg_REFUND_LINE_PAYMENT_101->stg_USER_75 stg_REFUND_LINE_PAYMENT_101->stg_REFUND_LINE_PAYMENT_101 stg_REFUND_LINE_PAYMENT_101->stg_ACCOUNT_183 stg_DATA_KIT_DEPLOYMENT_LOG_102 stg_DATA_KIT_DEPLOYMENT_LOG stg_DATA_KIT_DEPLOYMENT_LOG_102->stg_USER_75 stg_DATA_KIT_DEPLOYMENT_LOG_102->stg_USER_75 stg_DATA_KIT_DEPLOYMENT_LOG_102->stg_USER_75 stg_ACTION_CADENCE_TRACKER_103 stg_ACTION_CADENCE_TRACKER stg_ACTION_CADENCE_TRACKER_103->stg_USER_75 stg_ACTION_CADENCE_TRACKER_103->stg_USER_75 stg_ACTION_CADENCE_TRACKER_103->stg_USER_75 stg_ACTION_CADENCE_RULE_210 stg_ACTION_CADENCE_RULE stg_ACTION_CADENCE_TRACKER_103->stg_ACTION_CADENCE_RULE_210 stg_ACTION_CADENCE_TRACKER_103->stg_ACTION_CADENCE_261 stg_ACTION_CADENCE_STEP_370 stg_ACTION_CADENCE_STEP stg_ACTION_CADENCE_TRACKER_103->stg_ACTION_CADENCE_STEP_370 stg_ACTION_CADENCE_TRACKER_103->stg_ACTION_CADENCE_STEP_370 stg_PAYMENT_GROUP_104->stg_USER_75 stg_PAYMENT_GROUP_104->stg_USER_75 stg_EXT_DATA_SHARE_TARGET_105 stg_EXT_DATA_SHARE_TARGET stg_EXT_DATA_SHARE_TARGET_105->stg_USER_75 stg_EXT_DATA_SHARE_TARGET_105->stg_USER_75 stg_EXT_DATA_SHARE_TARGET_105->stg_USER_75 stg_SESSION_PERM_SET_ACTIVATION_106 stg_SESSION_PERM_SET_ACTIVATION stg_SESSION_PERM_SET_ACTIVATION_106->stg_USER_75 stg_SESSION_PERM_SET_ACTIVATION_106->stg_USER_75 stg_SESSION_PERM_SET_ACTIVATION_106->stg_USER_75 stg_SESSION_PERM_SET_ACTIVATION_106->stg_AUTH_SESSION_79 stg_SESSION_PERM_SET_ACTIVATION_106->stg_PERMISSION_SET_GROUP_83 stg_PERMISSION_SET_324 stg_PERMISSION_SET stg_SESSION_PERM_SET_ACTIVATION_106->stg_PERMISSION_SET_324 stg_BACKGROUND_OPERATION_107 stg_BACKGROUND_OPERATION stg_BACKGROUND_OPERATION_107->stg_USER_75 stg_BACKGROUND_OPERATION_107->stg_USER_75 stg_BACKGROUND_OPERATION_107->stg_USER_75 stg_BACKGROUND_OPERATION_107->stg_BACKGROUND_OPERATION_107 stg_CAMPAIGN_MEMBER_108 stg_CAMPAIGN_MEMBER stg_CAMPAIGN_MEMBER_108->stg_CONTACT_39 stg_CAMPAIGN_MEMBER_108->stg_USER_75 stg_CAMPAIGN_MEMBER_108->stg_USER_75 stg_CAMPAIGN_MEMBER_108->stg_USER_75 stg_CAMPAIGN_MEMBER_108->stg_CAMPAIGN_80 stg_LEAD_320 stg_LEAD stg_CAMPAIGN_MEMBER_108->stg_LEAD_320 stg_CONTACT_POINT_CONSENT_109 stg_CONTACT_POINT_CONSENT stg_CONTACT_POINT_CONSENT_109->stg_DATA_USE_PURPOSE_64 stg_CONTACT_POINT_CONSENT_109->stg_USER_75 stg_CONTACT_POINT_CONSENT_109->stg_USER_75 stg_CONTACT_POINT_CONSENT_109->stg_USER_75 stg_CUSTOM_BRAND_260 stg_CUSTOM_BRAND stg_CONTACT_POINT_CONSENT_109->stg_CUSTOM_BRAND_260 stg_CSP_TRUSTED_SITE_110 stg_CSP_TRUSTED_SITE stg_CSP_TRUSTED_SITE_110->stg_USER_75 stg_CSP_TRUSTED_SITE_110->stg_USER_75 stg_EXTERNAL_EVENT_MAPPING_111 stg_EXTERNAL_EVENT_MAPPING stg_EXTERNAL_EVENT_MAPPING_111->stg_EVENT_36 stg_EXTERNAL_EVENT_MAPPING_111->stg_USER_75 stg_EXTERNAL_EVENT_MAPPING_111->stg_USER_75 stg_EXTERNAL_EVENT_MAPPING_111->stg_USER_75 stg_EXT_DATA_SHARE_112 stg_EXT_DATA_SHARE stg_EXT_DATA_SHARE_112->stg_USER_75 stg_EXT_DATA_SHARE_112->stg_USER_75 stg_EXT_DATA_SHARE_112->stg_DATA_SPACE_195 stg_VOICE_ORG_SETTING_113 stg_VOICE_ORG_SETTING stg_VOICE_ORG_SETTING_113->stg_USER_75 stg_VOICE_ORG_SETTING_113->stg_USER_75 stg_DASHBOARD_COMPONENT_114 stg_DASHBOARD_COMPONENT stg_DASHBOARD_COMPONENT_114->stg_DASHBOARD_15 stg_REPORT_273 stg_REPORT stg_DASHBOARD_COMPONENT_114->stg_REPORT_273 stg_INDIVIDUAL_IDENTITY_LINK_DLM_115 stg_INDIVIDUAL_IDENTITY_LINK_DLM stg_INDIVIDUAL_IDENTITY_LINK_DLM_115->stg_INDIVIDUAL_2 stg_ORGANIZATION_238 stg_ORGANIZATION stg_INDIVIDUAL_IDENTITY_LINK_DLM_115->stg_ORGANIZATION_238 stg_AUTHORIZATION_FORM_DATA_USE_116 stg_AUTHORIZATION_FORM_DATA_USE stg_AUTHORIZATION_FORM_DATA_USE_116->stg_AUTHORIZATION_FORM_34 stg_AUTHORIZATION_FORM_DATA_USE_116->stg_DATA_USE_PURPOSE_64 stg_AUTHORIZATION_FORM_DATA_USE_116->stg_USER_75 stg_AUTHORIZATION_FORM_DATA_USE_116->stg_USER_75 stg_AUTHORIZATION_FORM_DATA_USE_116->stg_USER_75 stg_CLIENT_BROWSER_117 stg_CLIENT_BROWSER stg_CLIENT_BROWSER_117->stg_USER_75 stg_OPPORTUNITY_STAGE_118 stg_OPPORTUNITY_STAGE stg_OPPORTUNITY_STAGE_118->stg_USER_75 stg_OPPORTUNITY_STAGE_118->stg_USER_75 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_USER_75 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_USER_75 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_USER_75 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_ACTION_CADENCE_TRACKER_103 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_ACTION_CADENCE_261 stg_ACTION_CADENCE_STEP_TRACKER_119->stg_ACTION_CADENCE_STEP_370 stg_DATA_MULTI_ORG_CONNECTION_120->stg_USER_75 stg_DATA_MULTI_ORG_CONNECTION_120->stg_USER_75 stg_DATA_MULTI_ORG_CONNECTION_120->stg_USER_75 stg_ACTIVITY_USR_CONNECTION_STATUS_121 stg_ACTIVITY_USR_CONNECTION_STATUS stg_ACTIVITY_USR_CONNECTION_STATUS_121->stg_USER_75 stg_ACTIVITY_USR_CONNECTION_STATUS_121->stg_USER_75 stg_ACCOUNT_CONTACT_ROLE_122 stg_ACCOUNT_CONTACT_ROLE stg_ACCOUNT_CONTACT_ROLE_122->stg_CONTACT_39 stg_ACCOUNT_CONTACT_ROLE_122->stg_USER_75 stg_ACCOUNT_CONTACT_ROLE_122->stg_USER_75 stg_ACCOUNT_CONTACT_ROLE_122->stg_ACCOUNT_183 stg_USER_LIST_VIEW_CRITERION_123 stg_USER_LIST_VIEW_CRITERION stg_USER_LIST_VIEW_CRITERION_123->stg_USER_75 stg_USER_LIST_VIEW_CRITERION_123->stg_USER_75 stg_USER_LIST_VIEW_345 stg_USER_LIST_VIEW stg_USER_LIST_VIEW_CRITERION_123->stg_USER_LIST_VIEW_345 stg_STAMP_124 stg_STAMP stg_STAMP_124->stg_USER_75 stg_STAMP_124->stg_USER_75 stg_STAMP_124->stg_STAMP_124 stg_ACTION_LINK_TEMPLATE_125 stg_ACTION_LINK_TEMPLATE stg_ACTION_LINK_TEMPLATE_125->stg_USER_75 stg_ACTION_LINK_TEMPLATE_125->stg_USER_75 stg_ACTION_LINK_TEMPLATE_125->stg_ACTION_LINK_GROUP_TEMPLATE_86 stg_CONTENT_DOCUMENT_126->stg_CONTENT_VERSION_10 stg_CONTENT_DOCUMENT_126->stg_CONTENT_ASSET_27 stg_CONTENT_DOCUMENT_126->stg_USER_75 stg_CONTENT_DOCUMENT_126->stg_USER_75 stg_CONTENT_DOCUMENT_126->stg_USER_75 stg_CONTENT_DOCUMENT_126->stg_USER_75 stg_CONTENT_DOCUMENT_126->stg_CONTENT_DOCUMENT_126 stg_SITE_127->stg_USER_75 stg_SITE_127->stg_USER_75 stg_SITE_127->stg_USER_75 stg_SITE_127->stg_USER_75 stg_SITE_127->stg_USER_75 stg_IPADDRESS_RANGE_128 stg_IPADDRESS_RANGE stg_IPADDRESS_RANGE_128->stg_USER_75 stg_IPADDRESS_RANGE_128->stg_USER_75 stg_CONTENT_WORKSPACE_PERMISSION_129->stg_USER_75 stg_CONTENT_WORKSPACE_PERMISSION_129->stg_USER_75 stg_EMAIL_CAPTURE_130 stg_EMAIL_CAPTURE stg_EMAIL_CAPTURE_130->stg_USER_75 stg_EMAIL_CAPTURE_130->stg_USER_75 stg_USER_APP_MENU_ITEM_131 stg_USER_APP_MENU_ITEM stg_USER_APP_MENU_ITEM_131->stg_APP_DEFINITION_45 stg_APP_MENU_ITEM_144 stg_APP_MENU_ITEM stg_USER_APP_MENU_ITEM_131->stg_APP_MENU_ITEM_144 stg_CUSTOM_HTTP_HEADER_132 stg_CUSTOM_HTTP_HEADER stg_CUSTOM_HTTP_HEADER_132->stg_USER_75 stg_CUSTOM_HTTP_HEADER_132->stg_USER_75 stg_EMAIL_DOMAIN_KEY_133 stg_EMAIL_DOMAIN_KEY stg_EMAIL_DOMAIN_KEY_133->stg_USER_75 stg_EMAIL_DOMAIN_KEY_133->stg_USER_75 stg_HOLIDAY_134 stg_HOLIDAY stg_HOLIDAY_134->stg_USER_75 stg_HOLIDAY_134->stg_USER_75 OrganizationalDataManagement_135 OrganizationalDataManagement OrganizationalDataManagement_135->stg_USER_75 OrganizationalDataManagement_135->stg_USER_75 stg_USER_PROV_ACCOUNT_136 stg_USER_PROV_ACCOUNT stg_USER_PROV_ACCOUNT_136->stg_USER_75 stg_USER_PROV_ACCOUNT_136->stg_USER_75 stg_USER_PROV_ACCOUNT_136->stg_USER_75 stg_USER_PROV_ACCOUNT_136->stg_CONNECTED_APPLICATION_349 stg_MERCH_ACC_PAYMENT_METHOD_TYPE_137 stg_MERCH_ACC_PAYMENT_METHOD_TYPE stg_MERCH_ACC_PAYMENT_METHOD_TYPE_137->stg_USER_75 stg_MERCH_ACC_PAYMENT_METHOD_TYPE_137->stg_USER_75 stg_MERCH_ACC_PAYMENT_METHOD_SET_355 stg_MERCH_ACC_PAYMENT_METHOD_SET stg_MERCH_ACC_PAYMENT_METHOD_TYPE_137->stg_MERCH_ACC_PAYMENT_METHOD_SET_355 stg_EMAIL_RELAY_138 stg_EMAIL_RELAY stg_EMAIL_RELAY_138->stg_USER_75 stg_EMAIL_RELAY_138->stg_USER_75 stg_OPERATING_HOURS_139 stg_OPERATING_HOURS stg_OPERATING_HOURS_139->stg_USER_75 stg_OPERATING_HOURS_139->stg_USER_75 stg_OPERATING_HOURS_139->stg_USER_75 stg_TODAY_GOAL_140 stg_TODAY_GOAL stg_TODAY_GOAL_140->stg_USER_75 stg_TODAY_GOAL_140->stg_USER_75 stg_TODAY_GOAL_140->stg_USER_75 stg_TODAY_GOAL_140->stg_USER_75 stg_ASSIGNMENT_RULE_141 stg_ASSIGNMENT_RULE stg_ASSIGNMENT_RULE_141->stg_USER_75 stg_ASSIGNMENT_RULE_141->stg_USER_75 stg_MANAGED_CONTENT_142 stg_MANAGED_CONTENT stg_MANAGED_CONTENT_142->stg_USER_75 stg_MANAGED_CONTENT_142->stg_USER_75 stg_MANAGED_CONTENT_SPACE_187 stg_MANAGED_CONTENT_SPACE stg_MANAGED_CONTENT_142->stg_MANAGED_CONTENT_SPACE_187 stg_SPSAML_ATTRIBUTES_143 stg_SPSAML_ATTRIBUTES stg_SPSAML_ATTRIBUTES_143->stg_USER_75 stg_SPSAML_ATTRIBUTES_143->stg_USER_75 stg_APP_MENU_ITEM_144->stg_APP_DEFINITION_45 stg_APP_MENU_ITEM_144->stg_USER_75 stg_APP_MENU_ITEM_144->stg_USER_75 stg_CONTENT_WORKSPACE_DOC_145 stg_CONTENT_WORKSPACE_DOC stg_CONTENT_WORKSPACE_DOC_145->stg_CONTENT_WORKSPACE_85 stg_CONTENT_WORKSPACE_DOC_145->stg_CONTENT_DOCUMENT_126 stg_SETUP_AUDIT_TRAIL_146 stg_SETUP_AUDIT_TRAIL stg_SETUP_AUDIT_TRAIL_146->stg_USER_75 stg_ENGAGEMENT_CHANNEL_TYPE_147 stg_ENGAGEMENT_CHANNEL_TYPE stg_ENGAGEMENT_CHANNEL_TYPE_147->stg_USER_75 stg_ENGAGEMENT_CHANNEL_TYPE_147->stg_USER_75 stg_ENGAGEMENT_CHANNEL_TYPE_147->stg_USER_75 stg_CALCULATED_INSIGHT_RANGE_BOUND_148 stg_CALCULATED_INSIGHT_RANGE_BOUND stg_CALCULATED_INSIGHT_RANGE_BOUND_148->stg_USER_75 stg_CALCULATED_INSIGHT_RANGE_BOUND_148->stg_USER_75 stg_CALCULATED_INSIGHT_RANGE_BOUND_148->stg_USER_75 stg_DOMAIN_SITE_149 stg_DOMAIN_SITE stg_DOMAIN_SITE_149->stg_USER_75 stg_DOMAIN_SITE_149->stg_USER_75 stg_DOMAIN_SITE_149->stg_SITE_127 stg_DOMAIN_230 stg_DOMAIN stg_DOMAIN_SITE_149->stg_DOMAIN_230 stg_LINKED_ARTICLE_150 stg_LINKED_ARTICLE stg_LINKED_ARTICLE_150->stg_USER_75 stg_LINKED_ARTICLE_150->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185 stg_KNOWLEDGE_ARTICLE_VERSION stg_LINKED_ARTICLE_150->stg_KNOWLEDGE_ARTICLE_VERSION_185 stg_LINKED_ARTICLE_150->stg_KNOWLEDGE_ARTICLE_VERSION_185 stg_PROFILE_151->stg_USER_75 stg_PROFILE_151->stg_USER_75 stg_USER_LICENSE_239 stg_USER_LICENSE stg_PROFILE_151->stg_USER_LICENSE_239 stg_OPPORTUNITY_PARTNER_152 stg_OPPORTUNITY_PARTNER stg_OPPORTUNITY_PARTNER_152->stg_OPPORTUNITY_70 stg_OPPORTUNITY_PARTNER_152->stg_USER_75 stg_OPPORTUNITY_PARTNER_152->stg_USER_75 stg_OPPORTUNITY_PARTNER_152->stg_OPPORTUNITY_PARTNER_152 stg_OPPORTUNITY_PARTNER_152->stg_ACCOUNT_183 stg_CONTENT_DISTRIBUTION_VIEW_153 stg_CONTENT_DISTRIBUTION_VIEW stg_CONTENT_DISTRIBUTION_VIEW_153->stg_USER_75 stg_CONTENT_DISTRIBUTION_VIEW_153->stg_CONTENT_DISTRIBUTION_VIEW_153 stg_CONTENT_DISTRIBUTION_290 stg_CONTENT_DISTRIBUTION stg_CONTENT_DISTRIBUTION_VIEW_153->stg_CONTENT_DISTRIBUTION_290 stg_EMAIL_CONTENT_154 stg_EMAIL_CONTENT stg_EMAIL_CONTENT_154->stg_USER_75 stg_EMAIL_CONTENT_154->stg_USER_75 stg_EMAIL_CONTENT_154->stg_MANAGED_CONTENT_142 stg_EMAIL_TEMPLATE_313 stg_EMAIL_TEMPLATE stg_EMAIL_CONTENT_154->stg_EMAIL_TEMPLATE_313 stg_STAMP_ASSIGNMENT_155 stg_STAMP_ASSIGNMENT stg_STAMP_ASSIGNMENT_155->stg_USER_75 stg_STAMP_ASSIGNMENT_155->stg_USER_75 stg_STAMP_ASSIGNMENT_155->stg_STAMP_124 stg_DUPLICATE_RECORD_ITEM_156 stg_DUPLICATE_RECORD_ITEM stg_DUPLICATE_RECORD_ITEM_156->stg_USER_75 stg_DUPLICATE_RECORD_ITEM_156->stg_USER_75 stg_DUPLICATE_RECORD_SET_172 stg_DUPLICATE_RECORD_SET stg_DUPLICATE_RECORD_ITEM_156->stg_DUPLICATE_RECORD_SET_172 stg_LEAD_STATUS_157 stg_LEAD_STATUS stg_LEAD_STATUS_157->stg_USER_75 stg_LEAD_STATUS_157->stg_USER_75 stg_CONTENT_USER_SUBSCRIPTION_158 stg_CONTENT_USER_SUBSCRIPTION stg_CONTENT_USER_SUBSCRIPTION_158->stg_USER_75 stg_CONTENT_USER_SUBSCRIPTION_158->stg_USER_75 stg_PRICEBOOK_2_159->stg_USER_75 stg_PRICEBOOK_2_159->stg_USER_75 stg_CONTENT_NOTE_160 stg_CONTENT_NOTE stg_CONTENT_NOTE_160->stg_CONTENT_VERSION_10 stg_CONTENT_NOTE_160->stg_CONTENT_VERSION_10 stg_CONTENT_NOTE_160->stg_USER_75 stg_CONTENT_NOTE_160->stg_USER_75 stg_CONTENT_NOTE_160->stg_USER_75 stg_USER_WORK_LIST_ITEM_161 stg_USER_WORK_LIST_ITEM stg_USER_WORK_LIST_ITEM_161->stg_USER_75 stg_USER_WORK_LIST_ITEM_161->stg_USER_75 stg_USER_WORK_LIST_249 stg_USER_WORK_LIST stg_USER_WORK_LIST_ITEM_161->stg_USER_WORK_LIST_249 stg_IFRAME_WHITE_LIST_URL_162 stg_IFRAME_WHITE_LIST_URL stg_IFRAME_WHITE_LIST_URL_162->stg_USER_75 stg_IFRAME_WHITE_LIST_URL_162->stg_USER_75 stg_PAYMENT_METHOD_163->stg_USER_75 stg_PAYMENT_METHOD_163->stg_USER_75 stg_PAYMENT_METHOD_163->stg_ACCOUNT_183 BusinessPartnershipManagement_164 BusinessPartnershipManagement BusinessPartnershipManagement_164->stg_OPPORTUNITY_70 BusinessPartnershipManagement_164->stg_USER_75 BusinessPartnershipManagement_164->stg_USER_75 BusinessPartnershipManagement_164->BusinessPartnershipManagement_164 BusinessPartnershipManagement_164->stg_ACCOUNT_183 BusinessPartnershipManagement_164->stg_ACCOUNT_183 stg_TASK_RELATION_165 stg_TASK_RELATION stg_TASK_RELATION_165->stg_TASK_56 stg_TASK_RELATION_165->stg_USER_75 stg_TASK_RELATION_165->stg_USER_75 stg_TASK_RELATION_165->stg_ACCOUNT_183 stg_CALL_DISPOSITION_166 stg_CALL_DISPOSITION stg_CALL_DISPOSITION_166->stg_USER_75 stg_CALL_DISPOSITION_166->stg_USER_75 stg_CALL_DISPOSITION_CATEGORY_326 stg_CALL_DISPOSITION_CATEGORY stg_CALL_DISPOSITION_166->stg_CALL_DISPOSITION_CATEGORY_326 stg_MY_DOMAIN_DISCOVERABLE_LOGIN_167 stg_MY_DOMAIN_DISCOVERABLE_LOGIN stg_MY_DOMAIN_DISCOVERABLE_LOGIN_167->stg_USER_75 stg_MY_DOMAIN_DISCOVERABLE_LOGIN_167->stg_USER_75 stg_MY_DOMAIN_DISCOVERABLE_LOGIN_167->stg_USER_75 stg_KNOWLEDGE_DATA_CATEGORY_SELECTION_169 stg_KNOWLEDGE_DATA_CATEGORY_SELECTION stg_KNOWLEDGE_DATA_CATEGORY_SELECTION_169->stg_USER_75 stg_KNOWLEDGE_DATA_CATEGORY_SELECTION_169->stg_KNOWLEDGE_DATA_CATEGORY_SELECTION_169 stg_CASE_ARTICLE_170 stg_CASE_ARTICLE stg_CASE_ARTICLE_170->stg_USER_75 stg_CASE_ARTICLE_170->stg_KNOWLEDGE_ARTICLE_VERSION_185 stg_CASE_ARTICLE_170->stg_CASE_357 stg_USER_DEFINED_LABEL_ASSIGNMENT_171 stg_USER_DEFINED_LABEL_ASSIGNMENT stg_USER_DEFINED_LABEL_ASSIGNMENT_171->stg_USER_DEFINED_LABEL_50 stg_USER_DEFINED_LABEL_ASSIGNMENT_171->stg_USER_75 stg_USER_DEFINED_LABEL_ASSIGNMENT_171->stg_USER_75 stg_USER_DEFINED_LABEL_ASSIGNMENT_171->stg_USER_75 stg_DUPLICATE_RECORD_SET_172->stg_USER_75 stg_DUPLICATE_RECORD_SET_172->stg_USER_75 stg_DUPLICATE_RULE_346 stg_DUPLICATE_RULE stg_DUPLICATE_RECORD_SET_172->stg_DUPLICATE_RULE_346 stg_KNOWLEDGE_KAV_173 stg_KNOWLEDGE_KAV stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_USER_75 stg_KNOWLEDGE_KAV_173->stg_KNOWLEDGE_ARTICLE_VERSION_185 stg_CONTACT_POINT_ADDRESS_IDENTITY_LINK_DLM_174 stg_CONTACT_POINT_ADDRESS_IDENTITY_LINK_DLM stg_UNIFIED_INDIVIDUAL_DLM_375 stg_UNIFIED_INDIVIDUAL_DLM stg_CONTACT_POINT_ADDRESS_IDENTITY_LINK_DLM_174->stg_UNIFIED_INDIVIDUAL_DLM_375 stg_QUICK_TEXT_USAGE_175 stg_QUICK_TEXT_USAGE stg_QUICK_TEXT_USAGE_175->stg_QUICK_TEXT_47 stg_QUICK_TEXT_USAGE_175->stg_USER_75 stg_QUICK_TEXT_USAGE_175->stg_USER_75 stg_QUICK_TEXT_USAGE_175->stg_USER_75 stg_QUICK_TEXT_USAGE_175->stg_USER_75 stg_QUICK_TEXT_USAGE_175->stg_FOLDER_285 stg_CONTENT_FOLDER_LINK_176 stg_CONTENT_FOLDER_LINK stg_CONTENT_FOLDER_LINK_176->stg_CONTENT_FOLDER_49 stg_OBJECT_PERMISSIONS_177 stg_OBJECT_PERMISSIONS stg_OBJECT_PERMISSIONS_177->stg_USER_75 stg_OBJECT_PERMISSIONS_177->stg_USER_75 stg_FLOW_STAGE_RELATION_178 stg_FLOW_STAGE_RELATION stg_FLOW_STAGE_RELATION_178->stg_USER_75 stg_FLOW_STAGE_RELATION_178->stg_USER_75 stg_OBJECT_DATA_IMPORT_REFERENCE_179 stg_OBJECT_DATA_IMPORT_REFERENCE stg_OBJECT_DATA_IMPORT_REFERENCE_179->stg_USER_75 stg_OBJECT_DATA_IMPORT_REFERENCE_179->stg_USER_75 stg_OBJECT_DATA_IMPORT_293 stg_OBJECT_DATA_IMPORT stg_OBJECT_DATA_IMPORT_REFERENCE_179->stg_OBJECT_DATA_IMPORT_293 stg_PROFILE_CALL_LOG_QUICK_ACTION_180 stg_PROFILE_CALL_LOG_QUICK_ACTION stg_PROFILE_CALL_LOG_QUICK_ACTION_180->stg_USER_75 stg_PROFILE_CALL_LOG_QUICK_ACTION_180->stg_USER_75 stg_PROFILE_CALL_LOG_QUICK_ACTION_180->stg_PROFILE_151 stg_MKT_DATA_TRANSFORM_181 stg_MKT_DATA_TRANSFORM stg_MKT_DATA_TRANSFORM_181->stg_USER_75 stg_MKT_DATA_TRANSFORM_181->stg_USER_75 stg_MKT_DATA_TRANSFORM_181->stg_USER_75 stg_MKT_DATA_TRANSFORM_181->stg_DATA_SPACE_195 stg_SITE_IFRAME_WHITE_LIST_URL_182 stg_SITE_IFRAME_WHITE_LIST_URL stg_SITE_IFRAME_WHITE_LIST_URL_182->stg_USER_75 stg_SITE_IFRAME_WHITE_LIST_URL_182->stg_USER_75 stg_SITE_IFRAME_WHITE_LIST_URL_182->stg_SITE_127 stg_ACCOUNT_183->stg_USER_75 stg_ACCOUNT_183->stg_USER_75 stg_ACCOUNT_183->stg_USER_75 stg_ACCOUNT_183->stg_USER_75 stg_ACCOUNT_183->stg_ACCOUNT_183 stg_ACCOUNT_183->stg_ACCOUNT_183 stg_ACCOUNT_183->stg_ACTION_CADENCE_261 stg_EMAIL_DOMAIN_FILTER_184 stg_EMAIL_DOMAIN_FILTER stg_EMAIL_DOMAIN_FILTER_184->stg_USER_75 stg_EMAIL_DOMAIN_FILTER_184->stg_USER_75 stg_EMAIL_DOMAIN_FILTER_184->stg_EMAIL_RELAY_138 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_USER_75 stg_KNOWLEDGE_ARTICLE_VERSION_185->stg_KNOWLEDGE_KAV_173 stg_DELETE_EVENT_186 stg_DELETE_EVENT stg_DELETE_EVENT_186->stg_USER_75 stg_MANAGED_CONTENT_SPACE_187->stg_USER_75 stg_MANAGED_CONTENT_SPACE_187->stg_USER_75 stg_FLOW_DEFINITION_VIEW_188 stg_FLOW_DEFINITION_VIEW stg_FLOW_DEFINITION_VIEW_188->stg_FLOW_DEFINITION_VIEW_188 stg_FLOW_DEFINITION_VIEW_188->stg_FLOW_DEFINITION_VIEW_188 stg_FLOW_DEFINITION_VIEW_188->stg_FLOW_DEFINITION_VIEW_188 stg_FLOW_DEFINITION_VIEW_188->stg_FLOW_DEFINITION_VIEW_188 stg_CALL_COACHING_MEDIA_PROVIDER_189 stg_CALL_COACHING_MEDIA_PROVIDER stg_CALL_COACHING_MEDIA_PROVIDER_189->stg_USER_75 stg_CALL_COACHING_MEDIA_PROVIDER_189->stg_USER_75 stg_RECORD_ACTION_190 stg_RECORD_ACTION stg_RECORD_ACTION_190->stg_USER_75 stg_RECORD_ACTION_190->stg_USER_75 stg_FLOW_INTERVIEW_286 stg_FLOW_INTERVIEW stg_RECORD_ACTION_190->stg_FLOW_INTERVIEW_286 stg_USER_SHARE_191 stg_USER_SHARE stg_USER_SHARE_191->stg_USER_75 stg_USER_SHARE_191->stg_USER_75 stg_USER_SHARE_191->stg_USER_75 stg_MANAGED_CONTENT_VARIANT_192 stg_MANAGED_CONTENT_VARIANT stg_MANAGED_CONTENT_VARIANT_192->stg_USER_75 stg_MANAGED_CONTENT_VARIANT_192->stg_USER_75 stg_MANAGED_CONTENT_VARIANT_192->stg_MANAGED_CONTENT_142 stg_MANAGED_CONTENT_VARIANT_192->stg_MANAGED_CONTENT_142 stg_SITE_REDIRECT_MAPPING_193 stg_SITE_REDIRECT_MAPPING stg_SITE_REDIRECT_MAPPING_193->stg_USER_75 stg_SITE_REDIRECT_MAPPING_193->stg_USER_75 stg_SITE_REDIRECT_MAPPING_193->stg_SITE_127 stg_VIDEO_CALL_194->stg_EVENT_36 stg_VIDEO_CALL_194->stg_USER_75 stg_VIDEO_CALL_194->stg_USER_75 stg_VIDEO_CALL_194->stg_USER_75 stg_VIDEO_CALL_194->stg_USER_75 stg_DATA_SPACE_195->stg_USER_75 stg_DATA_SPACE_195->stg_USER_75 stg_FLOW_RECORD_196->stg_MARKET_SEGMENT_20 stg_FLOW_RECORD_196->stg_FLOW_RECORD_VERSION_38 stg_FLOW_RECORD_196->stg_USER_75 stg_FLOW_RECORD_196->stg_USER_75 stg_FLOW_RECORD_196->stg_USER_75 stg_FLOW_RECORD_196->stg_FLOW_RECORD_196 stg_PERMISSION_SET_ASSIGNMENT_197 stg_PERMISSION_SET_ASSIGNMENT stg_PERMISSION_SET_ASSIGNMENT_197->stg_USER_75 stg_PERMISSION_SET_ASSIGNMENT_197->stg_PERMISSION_SET_GROUP_83 stg_PERMISSION_SET_ASSIGNMENT_197->stg_PERMISSION_SET_324 stg_LIST_EMAIL_RECIPIENT_SOURCE_198 stg_LIST_EMAIL_RECIPIENT_SOURCE stg_LIST_EMAIL_RECIPIENT_SOURCE_198->stg_USER_75 stg_LIST_EMAIL_RECIPIENT_SOURCE_198->stg_USER_75 stg_LIST_EMAIL_RECIPIENT_SOURCE_198->stg_LIST_EMAIL_298 stg_EVENT_RELAY_CONFIG_199 stg_EVENT_RELAY_CONFIG stg_EVENT_RELAY_CONFIG_199->stg_USER_75 stg_EVENT_RELAY_CONFIG_199->stg_USER_75 stg_FLOW_RECORD_ELEMENT_200 stg_FLOW_RECORD_ELEMENT stg_FLOW_RECORD_ELEMENT_200->stg_FLOW_RECORD_VERSION_38 stg_FLOW_RECORD_ELEMENT_200->stg_USER_75 stg_FLOW_RECORD_ELEMENT_200->stg_USER_75 stg_REDIRECT_WHITELIST_URL_201 stg_REDIRECT_WHITELIST_URL stg_REDIRECT_WHITELIST_URL_201->stg_USER_75 stg_REDIRECT_WHITELIST_URL_201->stg_USER_75 stg_TENANT_USAGE_ENTITLEMENT_202 stg_TENANT_USAGE_ENTITLEMENT stg_TENANT_USAGE_ENTITLEMENT_202->stg_USER_75 stg_TENANT_USAGE_ENTITLEMENT_202->stg_USER_75 stg_AUTHORIZATION_FORM_CONSENT_203 stg_AUTHORIZATION_FORM_CONSENT stg_AUTHORIZATION_FORM_CONSENT_203->stg_INDIVIDUAL_2 stg_AUTHORIZATION_FORM_CONSENT_203->stg_CONTENT_VERSION_10 stg_AUTHORIZATION_FORM_CONSENT_203->stg_USER_75 stg_AUTHORIZATION_FORM_CONSENT_203->stg_USER_75 stg_AUTHORIZATION_FORM_CONSENT_203->stg_USER_75 stg_AUTHORIZATION_FORM_CONSENT_203->stg_AUTHORIZATION_FORM_TEXT_315 stg_CORS_WHITELIST_ENTRY_204 stg_CORS_WHITELIST_ENTRY stg_CORS_WHITELIST_ENTRY_204->stg_USER_75 stg_CORS_WHITELIST_ENTRY_204->stg_USER_75 stg_SCONTROL_205->stg_USER_75 stg_SCONTROL_205->stg_USER_75 stg_CAMPAIGN_MEMBER_STATUS_206 stg_CAMPAIGN_MEMBER_STATUS stg_CAMPAIGN_MEMBER_STATUS_206->stg_USER_75 stg_CAMPAIGN_MEMBER_STATUS_206->stg_USER_75 stg_CAMPAIGN_MEMBER_STATUS_206->stg_CAMPAIGN_80 BusinessCommunicationPlatform_207 BusinessCommunicationPlatform BusinessCommunicationPlatform_207->stg_USER_75 BusinessCommunicationPlatform_207->stg_USER_75 BusinessCommunicationPlatform_207->stg_USER_75 stg_PROCESS_INSTANCE_208->stg_USER_75 stg_PROCESS_INSTANCE_208->stg_USER_75 stg_PROCESS_INSTANCE_208->stg_USER_75 stg_PROCESS_INSTANCE_208->stg_USER_75 stg_PROCESS_INSTANCE_208->stg_PROCESS_DEFINITION_82 stg_CASE_CONTACT_ROLE_209 stg_CASE_CONTACT_ROLE stg_CASE_CONTACT_ROLE_209->stg_CONTACT_39 stg_CASE_CONTACT_ROLE_209->stg_USER_75 stg_CASE_CONTACT_ROLE_209->stg_USER_75 stg_CASE_CONTACT_ROLE_209->stg_CASE_357 stg_ACTION_CADENCE_RULE_210->stg_USER_75 stg_ACTION_CADENCE_RULE_210->stg_USER_75 stg_ACTION_CADENCE_RULE_210->stg_ACTION_CADENCE_STEP_370 MarketplaceEntities_211 MarketplaceEntities MarketplaceEntities_211->stg_USER_75 MarketplaceEntities_211->stg_USER_75 MarketplaceEntities_211->stg_USER_75 stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM_212 stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM_212->stg_SSOT_INDIVIDUAL_DLM_309 stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM_212->stg_SSOT_INDIVIDUAL_DLM_309 stg_DOCUMENT_ATTACHMENT_MAP_213 stg_DOCUMENT_ATTACHMENT_MAP stg_DOCUMENT_ATTACHMENT_MAP_213->stg_USER_75 stg_DOCUMENT_281 stg_DOCUMENT stg_DOCUMENT_ATTACHMENT_MAP_213->stg_DOCUMENT_281 stg_DOCUMENT_ATTACHMENT_MAP_213->stg_DOCUMENT_281 stg_DATA_ACTION_TARGET_214 stg_DATA_ACTION_TARGET stg_DATA_ACTION_TARGET_214->stg_USER_75 stg_DATA_ACTION_TARGET_214->stg_USER_75 stg_DATA_ACTION_TARGET_214->stg_USER_75 stg_AUTH_PROVIDER_215->stg_USER_75 stg_USER_SETUP_ENTITY_ACCESS_216 stg_USER_SETUP_ENTITY_ACCESS stg_SETUP_ENTITY_ACCESS_257 stg_SETUP_ENTITY_ACCESS stg_USER_SETUP_ENTITY_ACCESS_216->stg_SETUP_ENTITY_ACCESS_257 stg_VIDEO_VENDOR_ADMIN_CONSENT_217 stg_VIDEO_VENDOR_ADMIN_CONSENT stg_VIDEO_VENDOR_ADMIN_CONSENT_217->stg_USER_75 stg_VIDEO_VENDOR_ADMIN_CONSENT_217->stg_USER_75 stg_PAYMENT_GATEWAY_218->stg_PAYMENT_GATEWAY_PROVIDER_5 stg_PAYMENT_GATEWAY_218->stg_USER_75 stg_PAYMENT_GATEWAY_218->stg_USER_75 stg_MERCHANT_ACCOUNT_225 stg_MERCHANT_ACCOUNT stg_PAYMENT_GATEWAY_218->stg_MERCHANT_ACCOUNT_225 stg_BRANDING_SET_219 stg_BRANDING_SET stg_BRANDING_SET_219->stg_USER_75 stg_BRANDING_SET_219->stg_USER_75 stg_PROCESS_INSTANCE_NODE_220 stg_PROCESS_INSTANCE_NODE stg_PROCESS_INSTANCE_NODE_220->stg_USER_75 stg_PROCESS_INSTANCE_NODE_220->stg_USER_75 stg_PROCESS_INSTANCE_NODE_220->stg_USER_75 stg_PROCESS_INSTANCE_NODE_220->stg_PROCESS_NODE_84 stg_PROCESS_INSTANCE_NODE_220->stg_PROCESS_INSTANCE_208 stg_DIGITAL_WALLET_221 stg_DIGITAL_WALLET stg_DIGITAL_WALLET_221->stg_USER_75 stg_DIGITAL_WALLET_221->stg_USER_75 stg_DIGITAL_WALLET_221->stg_ACCOUNT_183 stg_DIGITAL_WALLET_221->stg_PAYMENT_GATEWAY_218 stg_GTWY_PROV_PAYMENT_METHOD_TYPE_222 stg_GTWY_PROV_PAYMENT_METHOD_TYPE stg_GTWY_PROV_PAYMENT_METHOD_TYPE_222->stg_PAYMENT_GATEWAY_PROVIDER_5 stg_GTWY_PROV_PAYMENT_METHOD_TYPE_222->stg_USER_75 stg_GTWY_PROV_PAYMENT_METHOD_TYPE_222->stg_USER_75 stg_GTWY_PROV_PAYMENT_METHOD_TYPE_222->stg_RECORD_TYPE_93 stg_USER_LOGIN_223->stg_USER_75 stg_USER_LOGIN_223->stg_USER_75 stg_RECENTLY_VIEWED_224 stg_RECENTLY_VIEWED stg_RECENTLY_VIEWED_224->stg_RECORD_TYPE_93 stg_RECENTLY_VIEWED_224->stg_PROFILE_151 stg_RECENTLY_VIEWED_224->stg_USER_ROLE_376 stg_MERCHANT_ACCOUNT_225->stg_USER_75 stg_MERCHANT_ACCOUNT_225->stg_USER_75 stg_MERCHANT_ACCOUNT_225->stg_USER_75 stg_THIRD_PARTY_ACCOUNT_LINK_226 stg_THIRD_PARTY_ACCOUNT_LINK stg_THIRD_PARTY_ACCOUNT_LINK_226->stg_USER_75 stg_SAML_SSO_CONFIG_369 stg_SAML_SSO_CONFIG stg_THIRD_PARTY_ACCOUNT_LINK_226->stg_SAML_SSO_CONFIG_369 stg_CUSTOM_NOTIFICATION_TYPE_227 stg_CUSTOM_NOTIFICATION_TYPE stg_CUSTOM_NOTIFICATION_TYPE_227->stg_USER_75 stg_CUSTOM_NOTIFICATION_TYPE_227->stg_USER_75 stg_DATA_MULTI_ORG_SYNC_STATUS_228 stg_DATA_MULTI_ORG_SYNC_STATUS stg_DATA_MULTI_ORG_SYNC_STATUS_228->stg_USER_75 stg_DATA_MULTI_ORG_SYNC_STATUS_228->stg_USER_75 stg_DATA_MULTI_ORG_SYNC_STATUS_228->stg_DATA_MULTI_ORG_CONNECTION_120 stg_DATA_MULTI_ORG_SYNC_STATUS_228->stg_ORGANIZATION_238 stg_USER_PREFERENCE_229 stg_USER_PREFERENCE stg_USER_PREFERENCE_229->stg_USER_75 stg_DOMAIN_230->stg_USER_75 stg_DOMAIN_230->stg_USER_75 stg_ASSET_SHARE_231 stg_ASSET_SHARE stg_ASSET_SHARE_231->stg_ASSET_68 stg_ASSET_SHARE_231->stg_USER_75 stg_ASSET_SHARE_231->stg_USER_75 stg_PROCESS_INSTANCE_WORKITEM_232 stg_PROCESS_INSTANCE_WORKITEM stg_PROCESS_INSTANCE_WORKITEM_232->stg_USER_75 stg_PROCESS_INSTANCE_WORKITEM_232->stg_USER_75 stg_PROCESS_INSTANCE_WORKITEM_232->stg_USER_75 stg_PROCESS_INSTANCE_WORKITEM_232->stg_PROCESS_INSTANCE_208 stg_SETUP_ASSISTANT_STEP_233 stg_SETUP_ASSISTANT_STEP stg_SETUP_ASSISTANT_STEP_233->stg_USER_75 stg_SETUP_ASSISTANT_STEP_233->stg_USER_75 stg_CONTENT_VERSION_COMMENT_234 stg_CONTENT_VERSION_COMMENT stg_CONTENT_VERSION_COMMENT_234->stg_CONTENT_VERSION_10 stg_CONTENT_VERSION_COMMENT_234->stg_CONTENT_DOCUMENT_126 stg_FORMULA_FUNCTION_ALLOWED_TYPE_235 stg_FORMULA_FUNCTION_ALLOWED_TYPE stg_FORMULA_FUNCTION_ALLOWED_TYPE_235->stg_FORMULA_FUNCTION_44 SalesforceObjectSharingConfiguration_236 SalesforceObjectSharingConfiguration SalesforceObjectSharingConfiguration_236->stg_USER_75 SalesforceObjectSharingConfiguration_236->stg_USER_75 stg_FLOW_TEST_RESULT_237 stg_FLOW_TEST_RESULT stg_FLOW_TEST_RESULT_237->stg_USER_75 stg_FLOW_TEST_RESULT_237->stg_USER_75 stg_FLOW_TEST_RESULT_237->stg_USER_75 stg_FLOW_TEST_RESULT_237->stg_FLOW_DEFINITION_VIEW_188 stg_ORGANIZATION_238->stg_USER_75 stg_ORGANIZATION_238->stg_USER_75 stg_GRANTED_BY_LICENSE_240 stg_GRANTED_BY_LICENSE stg_GRANTED_BY_LICENSE_240->stg_USER_75 stg_GRANTED_BY_LICENSE_240->stg_USER_75 stg_GRANTED_BY_LICENSE_240->stg_CUSTOM_PERMISSION_76 stg_PERMISSION_SET_LICENSE_306 stg_PERMISSION_SET_LICENSE stg_GRANTED_BY_LICENSE_240->stg_PERMISSION_SET_LICENSE_306 stg_EMBEDDED_SERVICE_LABEL_241 stg_EMBEDDED_SERVICE_LABEL stg_EMBEDDED_SERVICE_LABEL_241->stg_EMBEDDED_SERVICE_DETAIL_42 stg_CONTENT_TAG_SUBSCRIPTION_242 stg_CONTENT_TAG_SUBSCRIPTION stg_CONTENT_TAG_SUBSCRIPTION_242->stg_USER_75 stg_CONTACT_POINT_ADDRESS_243->stg_USER_75 stg_CONTACT_POINT_ADDRESS_243->stg_USER_75 stg_CONTACT_POINT_ADDRESS_243->stg_USER_75 stg_CONTACT_POINT_ADDRESS_243->stg_CONTACT_POINT_PHONE_359 stg_PAYMENT_AUTH_ADJUSTMENT_244 stg_PAYMENT_AUTH_ADJUSTMENT stg_PAYMENT_AUTH_ADJUSTMENT_244->stg_USER_75 stg_PAYMENT_AUTH_ADJUSTMENT_244->stg_USER_75 stg_PAYMENT_AUTH_ADJUSTMENT_244->stg_PAYMENT_AUTHORIZATION_78 stg_PAYMENT_AUTH_ADJUSTMENT_244->stg_ACCOUNT_183 stg_DATA_GRAPH_245->stg_USER_75 stg_DATA_GRAPH_245->stg_USER_75 stg_DATA_GRAPH_245->stg_DATA_SPACE_195 stg_ACCOUNT_SHARE_246 stg_ACCOUNT_SHARE stg_ACCOUNT_SHARE_246->stg_USER_75 stg_ACCOUNT_SHARE_246->stg_USER_75 stg_ACCOUNT_SHARE_246->stg_ACCOUNT_183 stg_USER_PROV_MOCK_TARGET_247 stg_USER_PROV_MOCK_TARGET stg_USER_PROV_MOCK_TARGET_247->stg_USER_75 stg_USER_PROV_MOCK_TARGET_247->stg_USER_75 stg_CUSTOM_PERMISSION_DEPENDENCY_248 stg_CUSTOM_PERMISSION_DEPENDENCY stg_CUSTOM_PERMISSION_DEPENDENCY_248->stg_USER_75 stg_CUSTOM_PERMISSION_DEPENDENCY_248->stg_USER_75 stg_CUSTOM_PERMISSION_DEPENDENCY_248->stg_CUSTOM_PERMISSION_76 stg_CUSTOM_PERMISSION_DEPENDENCY_248->stg_CUSTOM_PERMISSION_76 stg_USER_WORK_LIST_249->stg_USER_75 stg_USER_WORK_LIST_249->stg_USER_75 stg_USER_WORK_LIST_249->stg_USER_75 stg_BRAND_TEMPLATE_250 stg_BRAND_TEMPLATE stg_BRAND_TEMPLATE_250->stg_USER_75 stg_BRAND_TEMPLATE_250->stg_USER_75 stg_SERVICE_SETUP_PROVISIONING_251 stg_SERVICE_SETUP_PROVISIONING stg_SERVICE_SETUP_PROVISIONING_251->stg_USER_75 stg_SERVICE_SETUP_PROVISIONING_251->stg_USER_75 stg_EVENT_RELAY_FEEDBACK_252 stg_EVENT_RELAY_FEEDBACK stg_EVENT_RELAY_FEEDBACK_252->stg_USER_75 stg_EVENT_RELAY_FEEDBACK_252->stg_USER_75 stg_EVENT_RELAY_FEEDBACK_252->stg_EVENT_RELAY_CONFIG_199 stg_CUSTOM_HELP_MENU_ITEM_253 stg_CUSTOM_HELP_MENU_ITEM stg_CUSTOM_HELP_MENU_ITEM_253->stg_USER_75 stg_CUSTOM_HELP_MENU_ITEM_253->stg_USER_75 stg_CUSTOM_HELP_MENU_ITEM_253->stg_CUSTOM_HELP_MENU_ITEM_253 stg_ASSET_RELATIONSHIP_254 stg_ASSET_RELATIONSHIP stg_ASSET_RELATIONSHIP_254->stg_ASSET_68 stg_ASSET_RELATIONSHIP_254->stg_ASSET_68 stg_ASSET_RELATIONSHIP_254->stg_USER_75 stg_ASSET_RELATIONSHIP_254->stg_USER_75 stg_OAUTH_CUSTOM_SCOPE_APP_255 stg_OAUTH_CUSTOM_SCOPE_APP stg_OAUTH_CUSTOM_SCOPE_APP_255->stg_USER_75 stg_OAUTH_CUSTOM_SCOPE_APP_255->stg_USER_75 stg_OAUTH_CUSTOM_SCOPE_331 stg_OAUTH_CUSTOM_SCOPE stg_OAUTH_CUSTOM_SCOPE_APP_255->stg_OAUTH_CUSTOM_SCOPE_331 stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM_256 stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM_256->stg_UNIFIED_CONTACT_POINT_PHONE_DLM_61 stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM_256->stg_ORGANIZATION_238 stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM_256->stg_CONTACT_POINT_PHONE_359 stg_PROMPT_ACTION_258->stg_USER_75 stg_PROMPT_ACTION_258->stg_USER_75 stg_PROMPT_ACTION_258->stg_USER_75 stg_PROMPT_ACTION_258->stg_USER_75 stg_PROMPT_VERSION_314 stg_PROMPT_VERSION stg_PROMPT_ACTION_258->stg_PROMPT_VERSION_314 stg_CALL_CENTER_259->stg_USER_75 stg_CALL_CENTER_259->stg_USER_75 stg_CUSTOM_BRAND_260->stg_USER_75 stg_CUSTOM_BRAND_260->stg_USER_75 stg_CUSTOM_BRAND_260->stg_CUSTOM_BRAND_260 stg_ACTION_CADENCE_261->stg_USER_75 stg_ACTION_CADENCE_261->stg_USER_75 stg_ACTION_CADENCE_261->stg_USER_75 stg_ACTION_CADENCE_261->stg_FOLDER_285 stg_PERMISSION_SET_GROUP_COMPONENT_262 stg_PERMISSION_SET_GROUP_COMPONENT stg_PERMISSION_SET_GROUP_COMPONENT_262->stg_USER_75 stg_PERMISSION_SET_GROUP_COMPONENT_262->stg_USER_75 stg_PERMISSION_SET_GROUP_COMPONENT_262->stg_PERMISSION_SET_GROUP_83 stg_PERMISSION_SET_GROUP_COMPONENT_262->stg_PERMISSION_SET_324 stg_EMAIL_MESSAGE_263 stg_EMAIL_MESSAGE stg_EMAIL_MESSAGE_263->stg_EVENT_36 stg_EMAIL_MESSAGE_263->stg_USER_75 stg_EMAIL_MESSAGE_263->stg_USER_75 stg_EMAIL_MESSAGE_263->stg_USER_75 stg_EMAIL_MESSAGE_263->stg_ATTACHMENT_96 stg_EMAIL_MESSAGE_263->stg_ACTION_CADENCE_STEP_TRACKER_119 stg_EMAIL_MESSAGE_263->stg_EMAIL_MESSAGE_263 stg_EMAIL_MESSAGE_263->stg_EMAIL_TEMPLATE_313 stg_EMAIL_ROUTING_ADDRESS_361 stg_EMAIL_ROUTING_ADDRESS stg_EMAIL_MESSAGE_263->stg_EMAIL_ROUTING_ADDRESS_361 stg_USER_PACKAGE_LICENSE_265 stg_USER_PACKAGE_LICENSE stg_USER_PACKAGE_LICENSE_265->stg_USER_75 stg_USER_PACKAGE_LICENSE_265->stg_USER_75 stg_USER_PACKAGE_LICENSE_265->stg_USER_75 stg_PACKAGE_LICENSE_267 stg_PACKAGE_LICENSE stg_USER_PACKAGE_LICENSE_265->stg_PACKAGE_LICENSE_267 stg_OPERATING_HOURS_HOLIDAY_266 stg_OPERATING_HOURS_HOLIDAY stg_OPERATING_HOURS_HOLIDAY_266->stg_USER_75 stg_OPERATING_HOURS_HOLIDAY_266->stg_USER_75 stg_OPERATING_HOURS_HOLIDAY_266->stg_HOLIDAY_134 stg_OPERATING_HOURS_HOLIDAY_266->stg_OPERATING_HOURS_139 stg_UNIFIED_CONTACT_POINT_EMAIL_DLM_268 stg_UNIFIED_CONTACT_POINT_EMAIL_DLM stg_UNIFIED_CONTACT_POINT_EMAIL_DLM_268->stg_SSOT_CONTACT_POINT_EMAIL_DLM_277 stg_UNIFIED_CONTACT_POINT_EMAIL_DLM_268->stg_UNIFIED_INDIVIDUAL_DLM_375 stg_CALENDAR_VIEW_269 stg_CALENDAR_VIEW stg_CALENDAR_VIEW_269->stg_USER_75 stg_CALENDAR_VIEW_269->stg_USER_75 stg_CALENDAR_VIEW_269->stg_USER_75 stg_LIST_VIEW_279 stg_LIST_VIEW stg_CALENDAR_VIEW_269->stg_LIST_VIEW_279 stg_BRIEFCASE_RULE_FILTER_270 stg_BRIEFCASE_RULE_FILTER stg_BRIEFCASE_RULE_FILTER_270->stg_USER_75 stg_BRIEFCASE_RULE_FILTER_270->stg_USER_75 stg_BRIEFCASE_RULE_300 stg_BRIEFCASE_RULE stg_BRIEFCASE_RULE_FILTER_270->stg_BRIEFCASE_RULE_300 stg_OPPORTUNITY_LINE_ITEM_271 stg_OPPORTUNITY_LINE_ITEM stg_OPPORTUNITY_LINE_ITEM_271->stg_PRICEBOOK_ENTRY_63 stg_OPPORTUNITY_LINE_ITEM_271->stg_OPPORTUNITY_70 stg_OPPORTUNITY_LINE_ITEM_271->stg_USER_75 stg_OPPORTUNITY_LINE_ITEM_271->stg_USER_75 stg_OPPORTUNITY_LINE_ITEM_271->stg_PRODUCT_2_301 stg_SSOT_LEAD_DLM_272 stg_SSOT_LEAD_DLM stg_SSOT_LEAD_DLM_272->stg_CONTACT_POINT_EMAIL_9 stg_SSOT_LEAD_DLM_272->stg_CONTACT_POINT_EMAIL_9 stg_SSOT_LEAD_DLM_272->stg_CONTACT_39 stg_SSOT_LEAD_DLM_272->stg_CONTACT_39 stg_SSOT_LEAD_DLM_272->stg_OPPORTUNITY_70 stg_SSOT_LEAD_DLM_272->stg_OPPORTUNITY_70 stg_SSOT_LEAD_DLM_272->stg_ACCOUNT_183 stg_SSOT_LEAD_DLM_272->stg_ACCOUNT_183 stg_SSOT_LEAD_DLM_272->stg_ACCOUNT_183 stg_SSOT_LEAD_DLM_272->stg_CONTACT_POINT_PHONE_359 stg_SSOT_LEAD_DLM_272->stg_CONTACT_POINT_PHONE_359 stg_REPORT_273->stg_USER_75 stg_REPORT_273->stg_USER_75 stg_REPORT_273->stg_USER_75 stg_PARTY_CONSENT_274 stg_PARTY_CONSENT stg_PARTY_CONSENT_274->stg_INDIVIDUAL_2 stg_PARTY_CONSENT_274->stg_DATA_USE_PURPOSE_64 stg_PARTY_CONSENT_274->stg_USER_75 stg_PARTY_CONSENT_274->stg_USER_75 stg_PARTY_CONSENT_274->stg_USER_75 stg_PARTY_CONSENT_274->stg_CUSTOM_BRAND_260 stg_SALES_WORK_QUEUE_SETTINGS_275 stg_SALES_WORK_QUEUE_SETTINGS stg_SALES_WORK_QUEUE_SETTINGS_275->stg_USER_75 stg_SALES_WORK_QUEUE_SETTINGS_275->stg_USER_75 stg_STANDARD_INVOCABLE_ACTION_TYPE_276 stg_STANDARD_INVOCABLE_ACTION_TYPE stg_STANDARD_INVOCABLE_ACTION_TYPE_276->stg_USER_75 stg_STANDARD_INVOCABLE_ACTION_TYPE_276->stg_USER_75 stg_SSOT_CONTACT_POINT_EMAIL_DLM_277->stg_SSOT_INDIVIDUAL_DLM_309 stg_USER_PROVISIONING_REQUEST_278 stg_USER_PROVISIONING_REQUEST stg_USER_PROVISIONING_REQUEST_278->stg_USER_75 stg_USER_PROVISIONING_REQUEST_278->stg_USER_75 stg_USER_PROVISIONING_REQUEST_278->stg_USER_75 stg_USER_PROVISIONING_REQUEST_278->stg_USER_75 stg_USER_PROVISIONING_REQUEST_278->stg_USER_75 stg_USER_PROVISIONING_REQUEST_278->stg_USER_PROVISIONING_CONFIG_97 stg_USER_PROVISIONING_REQUEST_278->stg_USER_PROV_ACCOUNT_136 stg_USER_PROVISIONING_REQUEST_278->stg_USER_PROVISIONING_REQUEST_278 stg_USER_PROVISIONING_REQUEST_278->stg_CONNECTED_APPLICATION_349 stg_LIST_VIEW_279->stg_USER_75 stg_LIST_VIEW_279->stg_USER_75 stg_EXTERNAL_DATA_USER_AUTH_280 stg_EXTERNAL_DATA_USER_AUTH stg_EXTERNAL_DATA_USER_AUTH_280->stg_USER_75 stg_EXTERNAL_DATA_USER_AUTH_280->stg_USER_75 stg_EXTERNAL_DATA_USER_AUTH_280->stg_USER_75 stg_EXTERNAL_DATA_USER_AUTH_280->stg_EXTERNAL_DATA_SOURCE_99 stg_EXTERNAL_DATA_USER_AUTH_280->stg_AUTH_PROVIDER_215 stg_DOCUMENT_281->stg_USER_75 stg_DOCUMENT_281->stg_USER_75 stg_DOCUMENT_281->stg_USER_75 stg_DOCUMENT_281->stg_FOLDER_285 stg_ENGMT_CHANNEL_TYPE_SETTINGS_282 stg_ENGMT_CHANNEL_TYPE_SETTINGS stg_ENGMT_CHANNEL_TYPE_SETTINGS_282->stg_USER_75 stg_ENGMT_CHANNEL_TYPE_SETTINGS_282->stg_USER_75 stg_ENGMT_CHANNEL_TYPE_SETTINGS_282->stg_ENGAGEMENT_CHANNEL_TYPE_147 stg_USER_EMAIL_PREFERRED_PERSON_283 stg_USER_EMAIL_PREFERRED_PERSON stg_USER_EMAIL_PREFERRED_PERSON_283->stg_USER_75 stg_USER_EMAIL_PREFERRED_PERSON_283->stg_USER_75 stg_USER_EMAIL_PREFERRED_PERSON_283->stg_USER_75 stg_DATA_SOURCE_BUNDLE_284 stg_DATA_SOURCE_BUNDLE stg_DATA_SOURCE_BUNDLE_284->stg_USER_75 stg_DATA_SOURCE_BUNDLE_284->stg_USER_75 stg_DATA_SOURCE_BUNDLE_284->stg_USER_75 stg_FOLDER_285->stg_USER_75 stg_FOLDER_285->stg_USER_75 stg_FOLDER_285->stg_FOLDER_285 stg_FLOW_INTERVIEW_286->stg_USER_75 stg_FLOW_INTERVIEW_286->stg_USER_75 stg_FLOW_INTERVIEW_286->stg_USER_75 stg_FLOW_INTERVIEW_286->stg_FLOW_DEFINITION_VIEW_188 stg_DATA_STREAM_287 stg_DATA_STREAM stg_DATA_STREAM_287->stg_USER_75 stg_DATA_STREAM_287->stg_USER_75 stg_DATA_STREAM_287->stg_USER_75 stg_BRIEFCASE_ASSIGNMENT_288 stg_BRIEFCASE_ASSIGNMENT stg_BRIEFCASE_ASSIGNMENT_288->stg_USER_75 stg_BRIEFCASE_ASSIGNMENT_288->stg_USER_75 stg_BRIEFCASE_ASSIGNMENT_288->stg_USER_75 stg_BRIEFCASE_DEFINITION_318 stg_BRIEFCASE_DEFINITION stg_BRIEFCASE_ASSIGNMENT_288->stg_BRIEFCASE_DEFINITION_318 stg_LOGIN_GEO_289->stg_USER_75 stg_LOGIN_GEO_289->stg_USER_75 stg_CONTENT_DISTRIBUTION_290->stg_CONTENT_VERSION_10 stg_CONTENT_DISTRIBUTION_290->stg_USER_75 stg_CONTENT_DISTRIBUTION_290->stg_USER_75 stg_CONTENT_DISTRIBUTION_290->stg_USER_75 stg_CONTENT_DISTRIBUTION_290->stg_CONTENT_DOCUMENT_126 stg_TABLEAU_HOST_MAPPING_291 stg_TABLEAU_HOST_MAPPING stg_TABLEAU_HOST_MAPPING_291->stg_USER_75 stg_TABLEAU_HOST_MAPPING_291->stg_USER_75 stg_TABLEAU_HOST_MAPPING_291->stg_USER_75 stg_ORG_EMAIL_ADDRESS_SECURITY_292 stg_ORG_EMAIL_ADDRESS_SECURITY stg_ORG_EMAIL_ADDRESS_SECURITY_292->stg_ORGANIZATION_238 stg_ORG_WIDE_EMAIL_ADDRESS_367 stg_ORG_WIDE_EMAIL_ADDRESS stg_ORG_EMAIL_ADDRESS_SECURITY_292->stg_ORG_WIDE_EMAIL_ADDRESS_367 stg_OBJECT_DATA_IMPORT_293->stg_USER_75 stg_OBJECT_DATA_IMPORT_293->stg_USER_75 stg_OBJECT_DATA_IMPORT_293->stg_USER_75 stg_FLOW_RECORD_RELATION_294 stg_FLOW_RECORD_RELATION stg_FLOW_RECORD_RELATION_294->stg_USER_75 stg_FLOW_RECORD_RELATION_294->stg_USER_75 stg_DATA_SPACE_FILTER_CONDITION_295 stg_DATA_SPACE_FILTER_CONDITION stg_DATA_SPACE_FILTER_CONDITION_295->stg_USER_75 stg_DATA_SPACE_FILTER_CONDITION_295->stg_USER_75 stg_DATA_SPACE_FILTER_CRITERIA_317 stg_DATA_SPACE_FILTER_CRITERIA stg_DATA_SPACE_FILTER_CONDITION_295->stg_DATA_SPACE_FILTER_CRITERIA_317 stg_TIME_SLOT_296 stg_TIME_SLOT stg_TIME_SLOT_296->stg_USER_75 stg_TIME_SLOT_296->stg_USER_75 stg_TIME_SLOT_296->stg_OPERATING_HOURS_139 stg_FLOW_INTERVIEW_LOG_297 stg_FLOW_INTERVIEW_LOG stg_FLOW_INTERVIEW_LOG_297->stg_USER_75 stg_FLOW_INTERVIEW_LOG_297->stg_USER_75 stg_FLOW_INTERVIEW_LOG_297->stg_USER_75 stg_LIST_EMAIL_298->stg_MARKET_SEGMENT_20 stg_LIST_EMAIL_298->stg_USER_75 stg_LIST_EMAIL_298->stg_USER_75 stg_LIST_EMAIL_298->stg_USER_75 stg_LIST_EMAIL_298->stg_CAMPAIGN_80 stg_LIST_EMAIL_298->stg_MANAGED_CONTENT_142 stg_LIST_EMAIL_298->stg_EMAIL_CONTENT_154 stg_LIST_EMAIL_298->stg_FLOW_RECORD_ELEMENT_200 stg_LIST_EMAIL_298->stg_ACTION_CADENCE_STEP_370 stg_GROUP_MEMBER_299 stg_GROUP_MEMBER stg_GROUP_MEMBER_299->stg_USER_75 stg_GROUP_MEMBER_299->stg_GROUP_92 stg_BRIEFCASE_RULE_300->stg_USER_75 stg_BRIEFCASE_RULE_300->stg_USER_75 stg_BRIEFCASE_RULE_300->stg_BRIEFCASE_RULE_300 stg_BRIEFCASE_RULE_300->stg_BRIEFCASE_DEFINITION_318 stg_PRODUCT_2_301->stg_USER_75 stg_PRODUCT_2_301->stg_USER_75 stg_PRODUCT_2_301->stg_EXTERNAL_DATA_SOURCE_99 stg_FLOW_INTERVIEW_LOG_ENTRY_302 stg_FLOW_INTERVIEW_LOG_ENTRY stg_FLOW_INTERVIEW_LOG_ENTRY_302->stg_USER_75 stg_FLOW_INTERVIEW_LOG_ENTRY_302->stg_USER_75 stg_FLOW_INTERVIEW_LOG_ENTRY_302->stg_FLOW_INTERVIEW_LOG_297 stg_CALL_TEMPLATE_303 stg_CALL_TEMPLATE stg_CALL_TEMPLATE_303->stg_USER_75 stg_CALL_TEMPLATE_303->stg_USER_75 stg_CALL_TEMPLATE_303->stg_USER_75 stg_AURA_DEFINITION_INFO_304 stg_AURA_DEFINITION_INFO stg_AURA_DEFINITION_INFO_304->stg_AURA_DEFINITION_91 stg_AURA_DEFINITION_INFO_304->stg_AURA_DEFINITION_BUNDLE_385 stg_PERMISSION_SET_LICENSE_ASSIGN_305 stg_PERMISSION_SET_LICENSE_ASSIGN stg_PERMISSION_SET_LICENSE_ASSIGN_305->stg_USER_75 stg_PERMISSION_SET_LICENSE_ASSIGN_305->stg_USER_75 stg_PERMISSION_SET_LICENSE_ASSIGN_305->stg_USER_75 stg_PERMISSION_SET_LICENSE_ASSIGN_305->stg_PERMISSION_SET_LICENSE_306 stg_PERMISSION_SET_LICENSE_306->stg_USER_75 stg_PERMISSION_SET_LICENSE_306->stg_USER_75 stg_EVENT_RELATION_307 stg_EVENT_RELATION stg_EVENT_RELATION_307->stg_EVENT_36 stg_EVENT_RELATION_307->stg_USER_75 stg_EVENT_RELATION_307->stg_USER_75 stg_EVENT_RELATION_307->stg_ACCOUNT_183 stg_MUTING_PERMISSION_SET_308 stg_MUTING_PERMISSION_SET stg_MUTING_PERMISSION_SET_308->stg_USER_75 stg_MUTING_PERMISSION_SET_308->stg_USER_75 stg_USER_PROV_ACCOUNT_STAGING_310 stg_USER_PROV_ACCOUNT_STAGING stg_USER_PROV_ACCOUNT_STAGING_310->stg_USER_75 stg_USER_PROV_ACCOUNT_STAGING_310->stg_USER_75 stg_USER_PROV_ACCOUNT_STAGING_310->stg_USER_75 stg_USER_PROV_ACCOUNT_STAGING_310->stg_CONNECTED_APPLICATION_349 stg_CATEGORY_NODE_311 stg_CATEGORY_NODE stg_CATEGORY_NODE_311->stg_USER_75 stg_CATEGORY_NODE_311->stg_USER_75 stg_CATEGORY_NODE_311->stg_CATEGORY_NODE_311 stg_MKT_MLMODEL_312 stg_MKT_MLMODEL stg_MKT_MLMODEL_312->stg_USER_75 stg_MKT_MLMODEL_312->stg_USER_75 stg_MKT_MLMODEL_312->stg_USER_75 stg_EMAIL_TEMPLATE_313->stg_USER_75 stg_EMAIL_TEMPLATE_313->stg_USER_75 stg_EMAIL_TEMPLATE_313->stg_USER_75 stg_EMAIL_TEMPLATE_313->stg_BRAND_TEMPLATE_250 stg_EMAIL_TEMPLATE_313->stg_FOLDER_285 stg_PROMPT_VERSION_314->stg_IMAGE_48 stg_PROMPT_VERSION_314->stg_USER_75 stg_PROMPT_VERSION_314->stg_USER_75 stg_PROMPT_VERSION_314->stg_USER_75 stg_PROMPT_VERSION_314->stg_RECORD_TYPE_93 stg_AUTHORIZATION_FORM_TEXT_315->stg_AUTHORIZATION_FORM_34 stg_AUTHORIZATION_FORM_TEXT_315->stg_USER_75 stg_AUTHORIZATION_FORM_TEXT_315->stg_USER_75 stg_AUTHORIZATION_FORM_TEXT_315->stg_CONTENT_DOCUMENT_126 stg_APEX_COMPONENT_316 stg_APEX_COMPONENT stg_APEX_COMPONENT_316->stg_USER_75 stg_APEX_COMPONENT_316->stg_USER_75 stg_DATA_SPACE_FILTER_CRITERIA_317->stg_USER_75 stg_DATA_SPACE_FILTER_CRITERIA_317->stg_USER_75 stg_DATA_SPACE_FILTER_CRITERIA_317->stg_DATA_SPACE_FILTER_CRITERIA_317 stg_BRIEFCASE_DEFINITION_318->stg_USER_75 stg_BRIEFCASE_DEFINITION_318->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_DATA_USE_PURPOSE_64 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_USER_75 stg_COMM_SUBSCRIPTION_CONSENT_319->stg_ENGAGEMENT_CHANNEL_TYPE_147 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE stg_COMM_SUBSCRIPTION_CONSENT_319->stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383 stg_LEAD_320->stg_INDIVIDUAL_2 stg_LEAD_320->stg_CONTACT_39 stg_LEAD_320->stg_OPPORTUNITY_70 stg_LEAD_320->stg_USER_75 stg_LEAD_320->stg_USER_75 stg_LEAD_320->stg_USER_75 stg_LEAD_320->stg_ACCOUNT_183 stg_LEAD_320->stg_ACTION_CADENCE_261 stg_LEAD_320->stg_LEAD_320 stg_DATA_LAKE_OBJECT_INSTANCE_321 stg_DATA_LAKE_OBJECT_INSTANCE stg_DATA_LAKE_OBJECT_INSTANCE_321->stg_USER_75 stg_DATA_LAKE_OBJECT_INSTANCE_321->stg_USER_75 stg_DATA_LAKE_OBJECT_INSTANCE_321->stg_USER_75 stg_BRANDING_SET_PROPERTY_322 stg_BRANDING_SET_PROPERTY stg_BRANDING_SET_PROPERTY_322->stg_USER_75 stg_BRANDING_SET_PROPERTY_322->stg_USER_75 stg_BRANDING_SET_PROPERTY_322->stg_BRANDING_SET_219 stg_DATA_QUERY_WORKSPACE_323->stg_USER_75 stg_DATA_QUERY_WORKSPACE_323->stg_USER_75 stg_DATA_QUERY_WORKSPACE_323->stg_USER_75 stg_TAB_DEFINITION_336 stg_TAB_DEFINITION stg_DATA_QUERY_WORKSPACE_323->stg_TAB_DEFINITION_336 stg_PERMISSION_SET_324->stg_USER_75 stg_PERMISSION_SET_324->stg_USER_75 stg_PERMISSION_SET_324->stg_PERMISSION_SET_GROUP_83 stg_PERMISSION_SET_324->stg_PROFILE_151 stg_PERMISSION_SET_324->stg_USER_LICENSE_239 stg_MANAGED_CONTENT_CHANNEL_325 stg_MANAGED_CONTENT_CHANNEL stg_MANAGED_CONTENT_CHANNEL_325->stg_USER_75 stg_MANAGED_CONTENT_CHANNEL_325->stg_USER_75 stg_CALL_DISPOSITION_CATEGORY_326->stg_USER_75 stg_CALL_DISPOSITION_CATEGORY_326->stg_USER_75 stg_OPPORTUNITY_COMPETITOR_327 stg_OPPORTUNITY_COMPETITOR stg_OPPORTUNITY_COMPETITOR_327->stg_OPPORTUNITY_70 stg_OPPORTUNITY_COMPETITOR_327->stg_USER_75 stg_OPPORTUNITY_COMPETITOR_327->stg_USER_75 stg_MKT_MLPREDICTION_JOB_328 stg_MKT_MLPREDICTION_JOB stg_MKT_MLPREDICTION_JOB_328->stg_USER_75 stg_MKT_MLPREDICTION_JOB_328->stg_USER_75 stg_MKT_MLPREDICTION_JOB_328->stg_DATA_SPACE_195 stg_USER_PROVISIONING_LOG_329 stg_USER_PROVISIONING_LOG stg_USER_PROVISIONING_LOG_329->stg_USER_75 stg_USER_PROVISIONING_LOG_329->stg_USER_75 stg_USER_PROVISIONING_LOG_329->stg_USER_75 stg_USER_PROVISIONING_LOG_329->stg_USER_PROVISIONING_REQUEST_278 stg_ALTERNATIVE_PAYMENT_METHOD_330 stg_ALTERNATIVE_PAYMENT_METHOD stg_ALTERNATIVE_PAYMENT_METHOD_330->stg_USER_75 stg_ALTERNATIVE_PAYMENT_METHOD_330->stg_USER_75 stg_ALTERNATIVE_PAYMENT_METHOD_330->stg_USER_75 stg_ALTERNATIVE_PAYMENT_METHOD_330->stg_ACCOUNT_183 stg_ALTERNATIVE_PAYMENT_METHOD_330->stg_PAYMENT_GATEWAY_218 stg_OAUTH_CUSTOM_SCOPE_331->stg_USER_75 stg_OAUTH_CUSTOM_SCOPE_331->stg_USER_75 KnowledgeBaseSystem_332 KnowledgeBaseSystem KnowledgeBaseSystem_332->stg_USER_75 KnowledgeBaseSystem_332->stg_USER_75 KnowledgeBaseSystem_332->stg_USER_75 stg_MATCHING_RULE_333 stg_MATCHING_RULE stg_MATCHING_RULE_333->stg_USER_75 stg_MATCHING_RULE_333->stg_USER_75 stg_CONTENT_NOTIFICATION_334 stg_CONTENT_NOTIFICATION stg_CONTENT_NOTIFICATION_334->stg_USER_75 stg_CONTENT_NOTIFICATION_334->stg_CONTENT_DOCUMENT_126 stg_LIGHTNING_ONBOARDING_CONFIG_335 stg_LIGHTNING_ONBOARDING_CONFIG stg_LIGHTNING_ONBOARDING_CONFIG_335->stg_USER_75 stg_LIGHTNING_ONBOARDING_CONFIG_335->stg_USER_75 stg_CONTACT_POINT_TYPE_CONSENT_337 stg_CONTACT_POINT_TYPE_CONSENT stg_CONTACT_POINT_TYPE_CONSENT_337->stg_INDIVIDUAL_2 stg_CONTACT_POINT_TYPE_CONSENT_337->stg_DATA_USE_PURPOSE_64 stg_CONTACT_POINT_TYPE_CONSENT_337->stg_USER_75 stg_CONTACT_POINT_TYPE_CONSENT_337->stg_USER_75 stg_CONTACT_POINT_TYPE_CONSENT_337->stg_USER_75 stg_OAUTH_TOKEN_EXCHANGE_HANDLER_338->stg_USER_75 stg_OAUTH_TOKEN_EXCHANGE_HANDLER_338->stg_USER_75 stg_VIDEO_CALL_RECORDING_339 stg_VIDEO_CALL_RECORDING stg_VIDEO_CALL_RECORDING_339->stg_USER_75 stg_VIDEO_CALL_RECORDING_339->stg_USER_75 stg_VIDEO_CALL_RECORDING_339->stg_VIDEO_CALL_194 stg_EMAIL_SERVICES_FUNCTION_340->stg_USER_75 stg_EMAIL_SERVICES_FUNCTION_340->stg_USER_75 EventResponseTracker_341 EventResponseTracker EventResponseTracker_341->stg_EVENT_36 EventResponseTracker_341->stg_USER_75 EventResponseTracker_341->stg_USER_75 EventResponseTracker_341->stg_ACCOUNT_183 stg_ACTION_CADENCE_RULE_CONDITION_342 stg_ACTION_CADENCE_RULE_CONDITION stg_ACTION_CADENCE_RULE_CONDITION_342->stg_USER_75 stg_ACTION_CADENCE_RULE_CONDITION_342->stg_USER_75 stg_ACTION_CADENCE_RULE_CONDITION_342->stg_ACTION_CADENCE_RULE_210 stg_INSTALLED_MOBILE_APP_343 stg_INSTALLED_MOBILE_APP stg_INSTALLED_MOBILE_APP_343->stg_USER_75 stg_INSTALLED_MOBILE_APP_343->stg_USER_75 stg_INSTALLED_MOBILE_APP_343->stg_USER_75 stg_INSTALLED_MOBILE_APP_343->stg_CONNECTED_APPLICATION_349 stg_TASK_PRIORITY_344 stg_TASK_PRIORITY stg_TASK_PRIORITY_344->stg_USER_75 stg_TASK_PRIORITY_344->stg_USER_75 stg_USER_LIST_VIEW_345->stg_USER_75 stg_USER_LIST_VIEW_345->stg_USER_75 stg_USER_LIST_VIEW_345->stg_USER_75 stg_USER_LIST_VIEW_345->stg_LIST_VIEW_279 stg_DUPLICATE_RULE_346->stg_USER_75 stg_DUPLICATE_RULE_346->stg_USER_75 stg_EXTERNAL_EVENT_347 stg_EXTERNAL_EVENT stg_EXTERNAL_EVENT_347->stg_USER_75 stg_EXTERNAL_EVENT_347->stg_USER_75 stg_LIGHTNING_EXPERIENCE_THEME_348 stg_LIGHTNING_EXPERIENCE_THEME stg_LIGHTNING_EXPERIENCE_THEME_348->stg_USER_75 stg_LIGHTNING_EXPERIENCE_THEME_348->stg_USER_75 stg_LIGHTNING_EXPERIENCE_THEME_348->stg_BRANDING_SET_219 stg_CONNECTED_APPLICATION_349->stg_USER_75 stg_CONNECTED_APPLICATION_349->stg_USER_75 stg_SEARCH_ACTIVITY_350 stg_SEARCH_ACTIVITY stg_SEARCH_ACTIVITY_350->stg_USER_75 stg_SEARCH_ACTIVITY_350->stg_USER_75 stg_USER_APP_INFO_351 stg_USER_APP_INFO stg_USER_APP_INFO_351->stg_APP_DEFINITION_45 stg_USER_APP_INFO_351->stg_USER_75 stg_USER_APP_INFO_351->stg_USER_75 stg_USER_APP_INFO_351->stg_USER_75 stg_MATCHING_INFORMATION_352 stg_MATCHING_INFORMATION stg_MATCHING_INFORMATION_352->stg_USER_75 stg_MATCHING_INFORMATION_352->stg_USER_75 stg_MATCHING_INFORMATION_352->stg_USER_75 stg_STATIC_RESOURCE_353->stg_USER_75 stg_STATIC_RESOURCE_353->stg_USER_75 SalesforceObjectTags_354 SalesforceObjectTags SalesforceObjectTags_354->stg_TAG_DEFINITION_0 stg_MERCH_ACC_PAYMENT_METHOD_SET_355->stg_USER_75 stg_MERCH_ACC_PAYMENT_METHOD_SET_355->stg_USER_75 stg_MERCH_ACC_PAYMENT_METHOD_SET_355->stg_MERCHANT_ACCOUNT_225 stg_OAUTH_TOKEN_356 stg_OAUTH_TOKEN stg_OAUTH_TOKEN_356->stg_USER_75 stg_OAUTH_TOKEN_356->stg_APP_MENU_ITEM_144 stg_CASE_357->stg_CONTACT_39 stg_CASE_357->stg_USER_75 stg_CASE_357->stg_USER_75 stg_CASE_357->stg_USER_75 stg_CASE_357->stg_ACCOUNT_183 stg_CASE_357->stg_CASE_357 stg_CASE_357->stg_CASE_357 stg_DATA_ACTION_358 stg_DATA_ACTION stg_DATA_ACTION_358->stg_USER_75 stg_DATA_ACTION_358->stg_USER_75 stg_DATA_ACTION_358->stg_DATA_SPACE_195 stg_CONTACT_POINT_PHONE_359->stg_USER_75 stg_CONTACT_POINT_PHONE_359->stg_USER_75 stg_CONTACT_POINT_PHONE_359->stg_USER_75 stg_CUSTOM_BRAND_ASSET_360 stg_CUSTOM_BRAND_ASSET stg_CUSTOM_BRAND_ASSET_360->stg_USER_75 stg_CUSTOM_BRAND_ASSET_360->stg_USER_75 stg_CUSTOM_BRAND_ASSET_360->stg_CUSTOM_BRAND_260 stg_EMAIL_ROUTING_ADDRESS_361->stg_EMAIL_SERVICES_ADDRESS_62 stg_EMAIL_ROUTING_ADDRESS_361->stg_USER_75 stg_EMAIL_ROUTING_ADDRESS_361->stg_USER_75 stg_UI_FORMULA_RULE_362->stg_USER_75 stg_UI_FORMULA_RULE_362->stg_USER_75 stg_CONFERENCE_NUMBER_363 stg_CONFERENCE_NUMBER stg_CONFERENCE_NUMBER_363->stg_USER_75 stg_CONFERENCE_NUMBER_363->stg_USER_75 stg_CONFERENCE_NUMBER_363->stg_EXTERNAL_EVENT_347 stg_PARTNER_ROLE_364 stg_PARTNER_ROLE stg_PARTNER_ROLE_364->stg_USER_75 stg_PARTNER_ROLE_364->stg_USER_75 stg_PERMISSION_SET_TAB_SETTING_365 stg_PERMISSION_SET_TAB_SETTING stg_PERMISSION_SET_TAB_SETTING_365->stg_PERMISSION_SET_324 stg_CASE_SHARE_366 stg_CASE_SHARE stg_CASE_SHARE_366->stg_USER_75 stg_CASE_SHARE_366->stg_USER_75 stg_CASE_SHARE_366->stg_CASE_357 stg_ORG_WIDE_EMAIL_ADDRESS_367->stg_USER_75 stg_ORG_WIDE_EMAIL_ADDRESS_367->stg_USER_75 stg_CONTENT_VERSION_RATING_368 stg_CONTENT_VERSION_RATING stg_CONTENT_VERSION_RATING_368->stg_CONTENT_VERSION_10 stg_CONTENT_VERSION_RATING_368->stg_USER_75 stg_SAML_SSO_CONFIG_369->stg_USER_75 stg_SAML_SSO_CONFIG_369->stg_USER_75 stg_SAML_SSO_CONFIG_369->stg_USER_75 stg_ACTION_CADENCE_STEP_370->stg_USER_75 stg_ACTION_CADENCE_STEP_370->stg_USER_75 stg_ACTION_CADENCE_STEP_370->stg_ACTION_CADENCE_261 stg_ACTION_CADENCE_STEP_370->stg_ACTION_CADENCE_261 stg_ACTION_CADENCE_STEP_370->stg_EMAIL_TEMPLATE_313 stg_ACTION_CADENCE_STEP_370->stg_ACTION_CADENCE_STEP_370 stg_OPPORTUNITY_CONTACT_ROLE_371 stg_OPPORTUNITY_CONTACT_ROLE stg_OPPORTUNITY_CONTACT_ROLE_371->stg_CONTACT_39 stg_OPPORTUNITY_CONTACT_ROLE_371->stg_OPPORTUNITY_70 stg_OPPORTUNITY_CONTACT_ROLE_371->stg_USER_75 stg_OPPORTUNITY_CONTACT_ROLE_371->stg_USER_75 stg_MATCHING_RULE_ITEM_372 stg_MATCHING_RULE_ITEM stg_MATCHING_RULE_ITEM_372->stg_USER_75 stg_MATCHING_RULE_ITEM_372->stg_USER_75 stg_MATCHING_RULE_ITEM_372->stg_MATCHING_RULE_333 stg_PROCESS_FLOW_MIGRATION_373 stg_PROCESS_FLOW_MIGRATION stg_PROCESS_FLOW_MIGRATION_373->stg_USER_75 stg_PROCESS_FLOW_MIGRATION_373->stg_USER_75 stg_FLOW_RECORD_VERSION_OCCURRENCE_374 stg_FLOW_RECORD_VERSION_OCCURRENCE stg_FLOW_RECORD_VERSION_OCCURRENCE_374->stg_FLOW_RECORD_VERSION_38 stg_FLOW_RECORD_VERSION_OCCURRENCE_374->stg_USER_75 stg_FLOW_RECORD_VERSION_OCCURRENCE_374->stg_USER_75 stg_FLOW_RECORD_VERSION_OCCURRENCE_374->stg_FLOW_RECORD_196 stg_UNIFIED_INDIVIDUAL_DLM_375->stg_SSOT_INDIVIDUAL_DLM_309 stg_USER_ROLE_376->stg_USER_75 stg_USER_ROLE_376->stg_USER_75 stg_USER_ROLE_376->stg_ACCOUNT_183 stg_USER_ROLE_376->stg_USER_ROLE_376 stg_MOBILE_APPLICATION_DETAIL_377 stg_MOBILE_APPLICATION_DETAIL stg_MOBILE_APPLICATION_DETAIL_377->stg_USER_75 stg_MOBILE_APPLICATION_DETAIL_377->stg_USER_75 stg_EMAIL_MESSAGE_RELATION_378 stg_EMAIL_MESSAGE_RELATION stg_EMAIL_MESSAGE_RELATION_378->stg_USER_75 stg_EMAIL_MESSAGE_RELATION_378->stg_EMAIL_MESSAGE_263 stg_CALENDAR_379 stg_CALENDAR stg_CALENDAR_379->stg_USER_75 stg_CALENDAR_379->stg_USER_75 stg_CALENDAR_379->stg_USER_75 stg_USER_APP_MENU_CUSTOMIZATION_380 stg_USER_APP_MENU_CUSTOMIZATION stg_USER_APP_MENU_CUSTOMIZATION_380->stg_APP_DEFINITION_45 stg_USER_APP_MENU_CUSTOMIZATION_380->stg_USER_75 stg_USER_APP_MENU_CUSTOMIZATION_380->stg_USER_75 stg_USER_APP_MENU_CUSTOMIZATION_380->stg_USER_75 stg_SEARCH_PROMOTION_RULE_381 stg_SEARCH_PROMOTION_RULE stg_SEARCH_PROMOTION_RULE_381->stg_USER_75 stg_SEARCH_PROMOTION_RULE_381->stg_USER_75 stg_QUEUE_SOBJECT_382 stg_QUEUE_SOBJECT stg_QUEUE_SOBJECT_382->stg_USER_75 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_DATA_USE_PURPOSE_64 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_USER_75 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_USER_75 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_USER_75 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_ENGAGEMENT_CHANNEL_TYPE_147 stg_COMM_SUBSCRIPTION_CHANNEL_TYPE_383->stg_COMM_SUBSCRIPTION_CONSENT_319 stg_ADDITIONAL_NUMBER_384 stg_ADDITIONAL_NUMBER stg_ADDITIONAL_NUMBER_384->stg_USER_75 stg_ADDITIONAL_NUMBER_384->stg_USER_75 stg_ADDITIONAL_NUMBER_384->stg_CALL_CENTER_259 stg_AURA_DEFINITION_BUNDLE_385->stg_USER_75 stg_AURA_DEFINITION_BUNDLE_385->stg_USER_75 stg_CONTACT_POINT_EMAIL_IDENTITY_LINK_DLM_386 stg_CONTACT_POINT_EMAIL_IDENTITY_LINK_DLM stg_EVENT_BUS_SUBSCRIBER_387 stg_EVENT_BUS_SUBSCRIBER stg_EXPRESSION_SET_VIEW_388 stg_EXPRESSION_SET_VIEW stg_FORMULA_FUNCTION_CATEGORY_389 stg_FORMULA_FUNCTION_CATEGORY stg_PERIOD_390 stg_PERIOD stg_SSOT_DIGITAL_CONTENT_DLM_391 stg_SSOT_DIGITAL_CONTENT_DLM stg_SSOT_MARKET_SEGMENT_DLM_392 stg_SSOT_MARKET_SEGMENT_DLM stg_USER_PERMISSION_ACCESS_393 stg_USER_PERMISSION_ACCESS

cocoon_join.yml (Document the joins)

join_graph:
- table_name: stg_USER
  primary_key: ID
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: DELEGATED_APPROVER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: MANAGER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: CALL_CENTER_ID
    reference:
      table_name: stg_CALL_CENTER
      column: ID
  - column: INDIVIDUAL_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: PROFILE_ID
    reference:
      table_name: stg_PROFILE
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: USER_ROLE_ID
    reference:
      table_name: stg_USER_ROLE
      column: ID
- table_name: BusinessCommunicationPlatform
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: BusinessPartnershipManagement
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_FROM_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: ACCOUNT_TO_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: REVERSE_PARTNER_ID
    reference:
      table_name: BusinessPartnershipManagement
      column: ID
  primary_key: ID
- table_name: CustomerSupportManagementSystem
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: EventResponseTracker
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: EVENT_ID
    reference:
      table_name: stg_EVENT
      column: ID
- table_name: KnowledgeBaseSystem
  foreign_keys:
  - column: ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: MarketSegmentManagementSystem
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: MarketplaceEntities
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: OrganizationalDataManagement
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: SalesforceObjectSharingConfiguration
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_ACCOUNT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PERSON_ACTION_CADENCE_ASSIGNEE_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MASTER_RECORD_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PERSON_ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  primary_key: ID
- table_name: stg_ACCOUNT_CONTACT_ROLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
- table_name: stg_ACCOUNT_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
- table_name: stg_ACTION_CADENCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FOLDER_ID
    reference:
      table_name: stg_FOLDER
      column: ID
  primary_key: ID
- table_name: stg_ACTION_CADENCE_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  primary_key: ID
- table_name: stg_ACTION_CADENCE_RULE_CONDITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_RULE_ID
    reference:
      table_name: stg_ACTION_CADENCE_RULE
      column: ID
- table_name: stg_ACTION_CADENCE_STEP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: CHAINED_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: ROOT_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  - column: TEMPLATE_ID
    reference:
      table_name: stg_EMAIL_TEMPLATE
      column: ID
    referential_integrity:
      '% orphan': 40.00%
      explanation: ''
  primary_key: ID
- table_name: stg_ACTION_CADENCE_STEP_TRACKER
  foreign_keys:
  - column: COMPLETED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: ACTION_CADENCE_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  - column: ACTION_CADENCE_TRACKER_ID
    reference:
      table_name: stg_ACTION_CADENCE_TRACKER
      column: ID
  primary_key: ID
- table_name: stg_ACTION_CADENCE_TRACKER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: CURRENT_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  - column: LAST_COMPLETED_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  - column: EXIT_GLOBAL_RULE_ID
    reference:
      table_name: stg_ACTION_CADENCE_RULE
      column: ID
  primary_key: ID
- table_name: stg_ACTION_LINK_GROUP_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_ACTION_LINK_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_LINK_GROUP_TEMPLATE_ID
    reference:
      table_name: stg_ACTION_LINK_GROUP_TEMPLATE
      column: ID
- table_name: stg_ACTIVITY_USR_CONNECTION_STATUS
  foreign_keys:
  - column: EXTERNAL_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_ADDITIONAL_NUMBER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CALL_CENTER_ID
    reference:
      table_name: stg_CALL_CENTER
      column: ID
- table_name: stg_ALTERNATIVE_PAYMENT_METHOD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
- table_name: stg_APEX_COMPONENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_APEX_LOG
  foreign_keys:
  - column: LOG_USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_APEX_PAGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_APP_ANALYTICS_QUERY_REQUEST
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_APP_MENU_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: APPLICATION_ID
    reference:
      table_name: stg_APP_DEFINITION
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  primary_key: ID
- table_name: stg_ASSET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: ASSET_PROVIDED_BY_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: ASSET_SERVICED_BY_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_ASSET
      column: ID
  - column: ROOT_ASSET_ID
    reference:
      table_name: stg_ASSET
      column: ID
  - column: PRODUCT_2_ID
    reference:
      table_name: stg_PRODUCT_2
      column: ID
  primary_key: ID
- table_name: stg_ASSET_RELATIONSHIP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSET_ID
    reference:
      table_name: stg_ASSET
      column: ID
  - column: RELATED_ASSET_ID
    reference:
      table_name: stg_ASSET
      column: ID
- table_name: stg_ASSET_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSET_ID
    reference:
      table_name: stg_ASSET
      column: ID
- table_name: stg_ASSIGNMENT_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_ATTACHMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_AURA_DEFINITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AURA_DEFINITION_BUNDLE_ID
    reference:
      table_name: stg_AURA_DEFINITION_BUNDLE
      column: ID
  primary_key: ID
- table_name: stg_AURA_DEFINITION_BUNDLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_AUTHORIZATION_FORM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DEFAULT_AUTH_FORM_TEXT_ID
    reference:
      table_name: stg_AUTHORIZATION_FORM_TEXT
      column: ID
  primary_key: ID
- table_name: stg_AUTHORIZATION_FORM_CONSENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTHORIZATION_FORM_TEXT_ID
    reference:
      table_name: stg_AUTHORIZATION_FORM_TEXT
      column: ID
  - column: CONSENT_GIVER_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: DOCUMENT_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
- table_name: stg_AUTHORIZATION_FORM_DATA_USE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTHORIZATION_FORM_ID
    reference:
      table_name: stg_AUTHORIZATION_FORM
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
- table_name: stg_AUTHORIZATION_FORM_TEXT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTHORIZATION_FORM_ID
    reference:
      table_name: stg_AUTHORIZATION_FORM
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  primary_key: ID
- table_name: stg_AUTH_CONFIG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_AUTH_CONFIG_PROVIDERS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_CONFIG_ID
    reference:
      table_name: stg_AUTH_CONFIG
      column: ID
  - column: AUTH_PROVIDER_ID
    reference:
      table_name: stg_AUTH_PROVIDER
      column: ID
- table_name: stg_AUTH_PROVIDER
  foreign_keys:
  - column: EXECUTION_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_AUTH_SESSION
  foreign_keys:
  - column: USERS_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LOGIN_GEO_ID
    reference:
      table_name: stg_LOGIN_GEO
      column: ID
    referential_integrity:
      '% orphan': 18.41%
      explanation: ''
  - column: LOGIN_HISTORY_ID
    reference:
      table_name: stg_USER_LOGIN
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: PARENT_ID
    reference:
      table_name: stg_AUTH_SESSION
      column: ID
  primary_key: ID
- table_name: stg_BACKGROUND_OPERATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: GROUP_LEADER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_KEY
    reference:
      table_name: stg_BACKGROUND_OPERATION
      column: ID
  primary_key: ID
- table_name: stg_BRANDING_SET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_BRANDING_SET_PROPERTY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: BRANDING_SET_ID
    reference:
      table_name: stg_BRANDING_SET
      column: ID
- table_name: stg_BRAND_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_BRIEFCASE_ASSIGNMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: BRIEFCASE_ID
    reference:
      table_name: stg_BRIEFCASE_DEFINITION
      column: ID
- table_name: stg_BRIEFCASE_DEFINITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_BRIEFCASE_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: BRIEFCASE_ID
    reference:
      table_name: stg_BRIEFCASE_DEFINITION
      column: ID
  - column: PARENT_RULE_ID
    reference:
      table_name: stg_BRIEFCASE_RULE
      column: ID
  primary_key: ID
- table_name: stg_BRIEFCASE_RULE_FILTER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: BRIEFCASE_RULE_ID
    reference:
      table_name: stg_BRIEFCASE_RULE
      column: ID
- table_name: stg_BUSINESS_HOURS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_BUSINESS_PROCESS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CALCULATED_INSIGHT_RANGE_BOUND
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_CALENDAR
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 86.36%
      explanation: ''
- table_name: stg_CALENDAR_VIEW
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LIST_VIEW_FILTER_ID
    reference:
      table_name: stg_LIST_VIEW
      column: ID
- table_name: stg_CALL_CENTER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CALL_COACHING_MEDIA_PROVIDER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CALL_DISPOSITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DISPOSITION_CATEGORY_ID
    reference:
      table_name: stg_CALL_DISPOSITION_CATEGORY
      column: ID
- table_name: stg_CALL_DISPOSITION_CATEGORY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CALL_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CAMPAIGN
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CAMPAIGN_MEMBER_RECORD_TYPE_ID
    reference:
      table_name: stg_RECORD_TYPE
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CAMPAIGN
      column: ID
  primary_key: ID
- table_name: stg_CAMPAIGN_MEMBER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LEAD_OR_CONTACT_OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: CAMPAIGN_ID
    reference:
      table_name: stg_CAMPAIGN
      column: ID
  - column: LEAD_ID
    reference:
      table_name: stg_LEAD
      column: ID
- table_name: stg_CAMPAIGN_MEMBER_STATUS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CAMPAIGN_ID
    reference:
      table_name: stg_CAMPAIGN
      column: ID
- table_name: stg_CAMPAIGN_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CAMPAIGN_ID
    reference:
      table_name: stg_CAMPAIGN
      column: ID
- table_name: stg_CARD_PAYMENT_METHOD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
- table_name: stg_CASE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: MASTER_RECORD_ID
    reference:
      table_name: stg_CASE
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CASE
      column: ID
  primary_key: ID
- table_name: stg_CASE_ARTICLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CASE_ID
    reference:
      table_name: stg_CASE
      column: ID
  - column: KNOWLEDGE_ARTICLE_VERSION_ID
    reference:
      table_name: stg_KNOWLEDGE_ARTICLE_VERSION
      column: ID
- table_name: stg_CASE_COMMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CASE
      column: ID
- table_name: stg_CASE_CONTACT_ROLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: CASES_ID
    reference:
      table_name: stg_CASE
      column: ID
- table_name: stg_CASE_EXTERNAL_DOCUMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CASE_ID
    reference:
      table_name: stg_CASE
      column: ID
- table_name: stg_CASE_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CASE_ID
    reference:
      table_name: stg_CASE
      column: ID
- table_name: stg_CATEGORY_NODE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CATEGORY_NODE
      column: ID
  primary_key: ID
- table_name: stg_CLIENT_BROWSER
  foreign_keys:
  - column: USERS_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
  - column: COMMUNICATION_SUBSCRIPTION_ID
    reference:
      table_name: stg_COMM_SUBSCRIPTION_CONSENT
      column: ID
  - column: ENGAGEMENT_CHANNEL_TYPE_ID
    reference:
      table_name: stg_ENGAGEMENT_CHANNEL_TYPE
      column: ID
  primary_key: ID
- table_name: stg_COMM_SUBSCRIPTION_CONSENT
  foreign_keys:
  - column: CONSENT_GIVER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
  - column: ENGAGEMENT_CHANNEL_TYPE_ID
    reference:
      table_name: stg_ENGAGEMENT_CHANNEL_TYPE
      column: ID
  - column: COMM_SUBSCRIPTION_CHANNEL_TYPE_ID
    reference:
      table_name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE
      column: ID
  primary_key: ID
- table_name: stg_COMM_SUBSCRIPTION_TIMING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: COMM_SUBSCRIPTION_CONSENT_ID
    reference:
      table_name: stg_COMM_SUBSCRIPTION_CONSENT
      column: ID
- table_name: stg_CONFERENCE_NUMBER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EXTERNAL_EVENT_ID
    reference:
      table_name: stg_EXTERNAL_EVENT
      column: ID
- table_name: stg_CONNECTED_APPLICATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CONTACT
  foreign_keys:
  - column: ACTION_CADENCE_ASSIGNEE_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: MASTER_RECORD_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: REPORTS_TO_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: INDIVIDUAL_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  primary_key: ID
- table_name: stg_CONTACT_POINT_ADDRESS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTACT_POINT_PHONE_ID
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
  primary_key: ID
- table_name: stg_CONTACT_POINT_CONSENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
  - column: BUSINESS_BRAND_ID
    reference:
      table_name: stg_CUSTOM_BRAND
      column: ID
- table_name: stg_CONTACT_POINT_EMAIL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  primary_key: ID
- table_name: stg_CONTACT_POINT_PHONE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CONTACT_POINT_TYPE_CONSENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARTY_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
- table_name: stg_CONTACT_REQUEST
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CONTACT_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
- table_name: stg_CONTENT_ASSET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_DISTRIBUTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_DISTRIBUTION_VIEW
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DISTRIBUTION_ID
    reference:
      table_name: stg_CONTENT_DISTRIBUTION
      column: ID
  - column: PARENT_VIEW_ID
    reference:
      table_name: stg_CONTENT_DISTRIBUTION_VIEW
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_DOCUMENT
  foreign_keys:
  - column: ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LATEST_PUBLISHED_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  - column: CONTENT_ASSET_ID
    reference:
      table_name: stg_CONTENT_ASSET
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_DOCUMENT_SUBSCRIPTION
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
- table_name: stg_CONTENT_FOLDER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_CONTENT_FOLDER_ID
    reference:
      table_name: stg_CONTENT_FOLDER
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_NOTE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LATEST_CONTENT_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
  - column: LATEST_PUBLISHED_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
- table_name: stg_CONTENT_NOTIFICATION
  foreign_keys:
  - column: USERS_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ENTITY_IDENTIFIER_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
- table_name: stg_CONTENT_TAG_SUBSCRIPTION
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CONTENT_USER_SUBSCRIPTION
  foreign_keys:
  - column: SUBSCRIBED_TO_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SUBSCRIBER_USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CONTENT_VERSION
  foreign_keys:
  - column: CONTENT_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  - column: EXTERNAL_DATA_SOURCE_ID
    reference:
      table_name: stg_EXTERNAL_DATA_SOURCE
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_VERSION_RATING
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
- table_name: stg_CONTENT_WORKSPACE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DEFAULT_RECORD_TYPE_ID
    reference:
      table_name: stg_RECORD_TYPE
      column: ID
  - column: ROOT_CONTENT_FOLDER_ID
    reference:
      table_name: stg_CONTENT_FOLDER
      column: ID
  - column: WORKSPACE_IMAGE_ID
    reference:
      table_name: stg_IMAGE
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_WORKSPACE_MEMBER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MEMBER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_WORKSPACE_ID
    reference:
      table_name: stg_CONTENT_WORKSPACE
      column: ID
  - column: CONTENT_WORKSPACE_PERMISSION_ID
    reference:
      table_name: stg_CONTENT_WORKSPACE_PERMISSION
      column: ID
- table_name: stg_CONTENT_WORKSPACE_PERMISSION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CONTENT_WORKSPACE_SUBSCRIPTION
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_WORKSPACE_ID
    reference:
      table_name: stg_CONTENT_WORKSPACE
      column: ID
- table_name: stg_CORS_WHITELIST_ENTRY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CSP_TRUSTED_SITE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CUSTOM_BRAND
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CUSTOM_BRAND
      column: ID
  primary_key: ID
- table_name: stg_CUSTOM_BRAND_ASSET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CUSTOM_BRAND_ID
    reference:
      table_name: stg_CUSTOM_BRAND
      column: ID
- table_name: stg_CUSTOM_HELP_MENU_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_CUSTOM_HELP_MENU_ITEM
      column: ID
  primary_key: ID
- table_name: stg_CUSTOM_HTTP_HEADER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CUSTOM_NOTIFICATION_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_CUSTOM_PERMISSION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_CUSTOM_PERMISSION_DEPENDENCY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CUSTOM_PERMISSION_ID
    reference:
      table_name: stg_CUSTOM_PERMISSION
      column: ID
  - column: REQUIRED_CUSTOM_PERMISSION_ID
    reference:
      table_name: stg_CUSTOM_PERMISSION
      column: ID
- table_name: stg_DASHBOARD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RUNNING_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_DATA_ACTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_DATA_ACTION_TARGET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DATA_GRAPH
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
  primary_key: ID
- table_name: stg_DATA_KIT_DEPLOYMENT_LOG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DATA_LAKE_OBJECT_INSTANCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DATA_MULTI_ORG_CONNECTION
  foreign_keys:
  - column: CONNECTED_BY_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_DATA_MULTI_ORG_SYNC_STATUS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNED_BY_ORG
    reference:
      table_name: stg_ORGANIZATION
      column: ID
  - column: DATA_MULTI_ORG_CONNECTION_ID
    reference:
      table_name: stg_DATA_MULTI_ORG_CONNECTION
      column: ID
- table_name: stg_DATA_QUERY_WORKSPACE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LANDING_TAB_ID
    reference:
      table_name: stg_TAB_DEFINITION
      column: ID
  primary_key: ID
- table_name: stg_DATA_QUERY_WORKSPACE_TAB
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: QUERY_WORKSPACE_ID
    reference:
      table_name: stg_DATA_QUERY_WORKSPACE
      column: ID
- table_name: stg_DATA_REMOTE_ORG_DATA_SPACE_MAP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_MULTI_ORG_CONNECTION_ID
    reference:
      table_name: stg_DATA_MULTI_ORG_CONNECTION
      column: ID
- table_name: stg_DATA_SEMANTIC_SEARCH
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_DATA_SOURCE_BUNDLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DATA_SPACE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_DATA_SPACE_FILTER_CONDITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_FILTER_CRITERIA_ID
    reference:
      table_name: stg_DATA_SPACE_FILTER_CRITERIA
      column: ID
- table_name: stg_DATA_SPACE_FILTER_CRITERIA
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_DATA_SPACE_FILTER_CRITERIA
      column: ID
  primary_key: ID
- table_name: stg_DATA_STREAM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DATA_USE_LEGAL_BASIS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_DATA_USE_PURPOSE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LEGAL_BASIS_ID
    reference:
      table_name: stg_DATA_USE_LEGAL_BASIS
      column: ID
  primary_key: ID
- table_name: stg_DATA_WEAVE_RESOURCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DELETE_EVENT
  foreign_keys:
  - column: DELETED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_DIGITAL_WALLET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
- table_name: stg_DOCUMENT
  foreign_keys:
  - column: AUTHOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FOLDER_ID
    reference:
      table_name: stg_FOLDER
      column: ID
  primary_key: ID
- table_name: stg_DOCUMENT_ATTACHMENT_MAP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DOCUMENT_ID
    reference:
      table_name: stg_DOCUMENT
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_DOCUMENT
      column: ID
- table_name: stg_DOMAIN
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_DOMAIN_SITE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DOMAIN_ID
    reference:
      table_name: stg_DOMAIN
      column: ID
  - column: SITE_ID
    reference:
      table_name: stg_SITE
      column: ID
- table_name: stg_DUPLICATE_RECORD_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DUPLICATE_RECORD_SET_ID
    reference:
      table_name: stg_DUPLICATE_RECORD_SET
      column: ID
- table_name: stg_DUPLICATE_RECORD_SET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DUPLICATE_RULE_ID
    reference:
      table_name: stg_DUPLICATE_RULE
      column: ID
  primary_key: ID
- table_name: stg_DUPLICATE_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_CAPTURE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_EMAIL_CONTENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: TEMPLATE_ID
    reference:
      table_name: stg_EMAIL_TEMPLATE
      column: ID
  - column: MANAGED_CONTENT_ID
    reference:
      table_name: stg_MANAGED_CONTENT
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_DOMAIN_FILTER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EMAIL_RELAY_ID
    reference:
      table_name: stg_EMAIL_RELAY
      column: ID
- table_name: stg_EMAIL_DOMAIN_KEY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_EMAIL_MESSAGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FROM_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTIVITY_ID
    reference:
      table_name: stg_EVENT
      column: ID
  - column: EMAIL_TEMPLATE_ID
    reference:
      table_name: stg_EMAIL_TEMPLATE
      column: ID
  - column: ACTION_CADENCE_STEP_TRACKER_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP_TRACKER
      column: ID
  - column: ATTACHMENT_IDS
    reference:
      table_name: stg_ATTACHMENT
      column: ID
  - column: EMAIL_ROUTING_ADDRESS_ID
    reference:
      table_name: stg_EMAIL_ROUTING_ADDRESS
      column: ID
  - column: REPLY_TO_EMAIL_MESSAGE_ID
    reference:
      table_name: stg_EMAIL_MESSAGE
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_MESSAGE_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EMAIL_MESSAGE_ID
    reference:
      table_name: stg_EMAIL_MESSAGE
      column: ID
- table_name: stg_EMAIL_RELAY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_ROUTING_ADDRESS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EMAIL_SERVICES_ADDRESS_ID
    reference:
      table_name: stg_EMAIL_SERVICES_ADDRESS
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_SERVICES_ADDRESS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RUN_AS_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FUNCTION_ID
    reference:
      table_name: stg_EMAIL_SERVICES_FUNCTION
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_SERVICES_FUNCTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_EMAIL_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FOLDER_ID
    reference:
      table_name: stg_FOLDER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: BRAND_TEMPLATE_ID
    reference:
      table_name: stg_BRAND_TEMPLATE
      column: ID
  primary_key: ID
- table_name: stg_ENGAGEMENT_CHANNEL_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_ENGMT_CHANNEL_TYPE_SETTINGS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ENGAGEMENT_CHANNEL_TYPE
    reference:
      table_name: stg_ENGAGEMENT_CHANNEL_TYPE
      column: ID
- table_name: stg_EVENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: RECURRENCE_ACTIVITY_ID
    reference:
      table_name: stg_EVENT
      column: ID
  - column: WHO_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  primary_key: ID
- table_name: stg_EVENT_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: EVENT_ID
    reference:
      table_name: stg_EVENT
      column: ID
- table_name: stg_EVENT_RELAY_CONFIG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_EVENT_RELAY_FEEDBACK
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EVENT_RELAY_CONFIG_ID
    reference:
      table_name: stg_EVENT_RELAY_CONFIG
      column: ID
- table_name: stg_EVENT_WHO_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: EVENT_ID
    reference:
      table_name: stg_EVENT
      column: ID
- table_name: stg_EXTERNAL_DATA_SOURCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_PROVIDER_ID
    reference:
      table_name: stg_AUTH_PROVIDER
      column: ID
  - column: LARGE_ICON_ID
    reference:
      table_name: stg_STATIC_RESOURCE
      column: ID
  - column: SMALL_ICON_ID
    reference:
      table_name: stg_STATIC_RESOURCE
      column: ID
  - column: NAMED_CREDENTIAL_ID
    reference:
      table_name: stg_NAMED_CREDENTIAL
      column: ID
  primary_key: ID
- table_name: stg_EXTERNAL_DATA_SRC_DESCRIPTOR
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EXTERNAL_DATA_SOURCE_ID
    reference:
      table_name: stg_EXTERNAL_DATA_SOURCE
      column: ID
- table_name: stg_EXTERNAL_DATA_USER_AUTH
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_PROVIDER_ID
    reference:
      table_name: stg_AUTH_PROVIDER
      column: ID
  - column: EXTERNAL_DATA_SOURCE_ID
    reference:
      table_name: stg_EXTERNAL_DATA_SOURCE
      column: ID
- table_name: stg_EXTERNAL_EVENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_EXTERNAL_EVENT_MAPPING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EVENT_ID
    reference:
      table_name: stg_EVENT
      column: ID
- table_name: stg_EXTERNAL_STRING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_EXT_DATA_SHARE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_EXT_DATA_SHARE_TARGET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_FLOW_INTERVIEW
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_VERSION_VIEW_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
  primary_key: ID
- table_name: stg_FLOW_INTERVIEW_LOG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_FLOW_INTERVIEW_LOG_ENTRY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_INTERVIEW_LOG_ID
    reference:
      table_name: stg_FLOW_INTERVIEW_LOG
      column: ID
- table_name: stg_FLOW_RECORD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTIVE_VERSION_ID
    reference:
      table_name: stg_FLOW_RECORD_VERSION
      column: ID
  - column: OVERRIDDEN_FLOW_ID
    reference:
      table_name: stg_FLOW_RECORD
      column: ID
  - column: SEGMENT_ID
    reference:
      table_name: stg_MARKET_SEGMENT
      column: ID
  primary_key: ID
- table_name: stg_FLOW_RECORD_ELEMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_RECORD_VERSION_ID
    reference:
      table_name: stg_FLOW_RECORD_VERSION
      column: ID
  primary_key: ID
- table_name: stg_FLOW_RECORD_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_FLOW_RECORD_VERSION
  foreign_keys:
  - column: ACTIVATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OVERRIDDEN_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PAUSING_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RESUMING_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_RECORD_ID
    reference:
      table_name: stg_FLOW_RECORD
      column: ID
  - column: OVERRIDDEN_FLOW_ID
    reference:
      table_name: stg_FLOW_RECORD
      column: ID
  - column: SOURCE_TEMPLATE_ID
    reference:
      table_name: stg_FLOW_RECORD
      column: ID
  primary_key: ID
- table_name: stg_FLOW_RECORD_VERSION_OCCURRENCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_RECORD_VERSION_ID
    reference:
      table_name: stg_FLOW_RECORD_VERSION
      column: ID
  - column: FLOW_RECORD_ID
    reference:
      table_name: stg_FLOW_RECORD
      column: ID
- table_name: stg_FLOW_STAGE_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_FLOW_TEST_RESULT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_DEFINITION_VIEW_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
- table_name: stg_FOLDER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_FOLDER
      column: ID
  primary_key: ID
- table_name: stg_GOAL_ASSIGNMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: GOAL_DEFINITION_ID
    reference:
      table_name: stg_GOAL_DEFINITION
      column: ID
  primary_key: ID
- table_name: stg_GOAL_ASSIGNMENT_RECOMMENDATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: IMAGE_ID
    reference:
      table_name: stg_IMAGE
      column: ID
  - column: GOAL_ASSIGNMENT_ID
    reference:
      table_name: stg_GOAL_ASSIGNMENT
      column: ID
  - column: PARENT_RECOMMENDATION_ID
    reference:
      table_name: stg_GOAL_ASSIGNMENT_RECOMMENDATION
      column: ID
  primary_key: ID
- table_name: stg_GOAL_DEFINITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_GOAL_ID
    reference:
      table_name: stg_GOAL_DEFINITION
      column: ID
  primary_key: ID
- table_name: stg_GRANTED_BY_LICENSE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CUSTOM_PERMISSION_ID
    reference:
      table_name: stg_CUSTOM_PERMISSION
      column: ID
  - column: PERMISSION_SET_LICENSE_ID
    reference:
      table_name: stg_PERMISSION_SET_LICENSE
      column: ID
- table_name: stg_GROUP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  primary_key: ID
- table_name: stg_GROUP_MEMBER
  foreign_keys:
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 75.00%
      explanation: ''
  - column: GROUP_ID
    reference:
      table_name: stg_GROUP
      column: ID
- table_name: stg_GTWY_PROV_PAYMENT_METHOD_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RECORD_TYPE_ID
    reference:
      table_name: stg_RECORD_TYPE
      column: ID
  - column: PAYMENT_GATEWAY_PROVIDER_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY_PROVIDER
      column: ID
- table_name: stg_HOLIDAY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_IDENTITY_RESOLUTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_IDP_EVENT_LOG
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_SESSION_ID
    reference:
      table_name: stg_AUTH_SESSION
      column: ID
- table_name: stg_IFRAME_WHITE_LIST_URL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_IMAGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  primary_key: ID
- table_name: stg_INDIVIDUAL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_INDIVIDUAL_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: INDIVIDUAL_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
- table_name: stg_INSTALLED_MOBILE_APP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONNECTED_APPLICATION_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
- table_name: stg_IPADDRESS_RANGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_KNOWLEDGE_ARTICLE_VERSION
  foreign_keys:
  - column: ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ARTICLE_ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ARTICLE_CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSIGNED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSIGNED_TO_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: KNOWLEDGE_ARTICLE_ID
    reference:
      table_name: stg_KNOWLEDGE_KAV
      column: ID
  primary_key: ID
- table_name: stg_KNOWLEDGE_DATA_CATEGORY_SELECTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_KNOWLEDGE_DATA_CATEGORY_SELECTION
      column: ID
  primary_key: ID
- table_name: stg_KNOWLEDGE_KAV
  foreign_keys:
  - column: ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ARTICLE_ARCHIVED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ARTICLE_CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSIGNED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSIGNED_TO_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: KNOWLEDGE_ARTICLE_ID
    reference:
      table_name: stg_KNOWLEDGE_ARTICLE_VERSION
      column: ID
  primary_key: ID
- table_name: stg_LEAD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONVERTED_ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONVERTED_OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: ACTION_CADENCE_ID
    reference:
      table_name: stg_ACTION_CADENCE
      column: ID
  - column: CONVERTED_CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: INDIVIDUAL_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: MASTER_RECORD_ID
    reference:
      table_name: stg_LEAD
      column: ID
  primary_key: ID
- table_name: stg_LEAD_STATUS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_LIGHTNING_EXPERIENCE_THEME
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DEFAULT_BRANDING_SET_ID
    reference:
      table_name: stg_BRANDING_SET
      column: ID
- table_name: stg_LIGHTNING_ONBOARDING_CONFIG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_LINKED_ARTICLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: KNOWLEDGE_ARTICLE_ID
    reference:
      table_name: stg_KNOWLEDGE_ARTICLE_VERSION
      column: ID
  - column: KNOWLEDGE_ARTICLE_VERSION_ID
    reference:
      table_name: stg_KNOWLEDGE_ARTICLE_VERSION
      column: ID
- table_name: stg_LIST_EMAIL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACTION_CADENCE_STEP_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP
      column: ID
  - column: CAMPAIGN_ID
    reference:
      table_name: stg_CAMPAIGN
      column: ID
  - column: MANAGED_CONTENT_ID
    reference:
      table_name: stg_MANAGED_CONTENT
      column: ID
  - column: SEGMENT_ID
    reference:
      table_name: stg_MARKET_SEGMENT
      column: ID
  - column: EMAIL_CONTENT_ID
    reference:
      table_name: stg_EMAIL_CONTENT
      column: ID
  - column: FLOW_RECORD_ELEMENT_ID
    reference:
      table_name: stg_FLOW_RECORD_ELEMENT
      column: ID
  primary_key: ID
- table_name: stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RECIPIENT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: ACTION_CADENCE_STEP_TRACKER_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP_TRACKER
      column: ID
  - column: LIST_EMAIL_ID
    reference:
      table_name: stg_LIST_EMAIL
      column: ID
- table_name: stg_LIST_EMAIL_RECIPIENT_SOURCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LIST_EMAIL_ID
    reference:
      table_name: stg_LIST_EMAIL
      column: ID
- table_name: stg_LIST_VIEW
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  primary_key: ID
- table_name: stg_LIST_VIEW_CHART
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_LOGIN_GEO
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_LOGIN_IP
  foreign_keys:
  - column: USERS_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MAILMERGE_TEMPLATE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MANAGED_CONTENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTHORED_MANAGED_CONTENT_SPACE_ID
    reference:
      table_name: stg_MANAGED_CONTENT_SPACE
      column: ID
  primary_key: ID
- table_name: stg_MANAGED_CONTENT_CHANNEL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MANAGED_CONTENT_SPACE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_MANAGED_CONTENT_VARIANT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MANAGED_CONTENT_ID
    reference:
      table_name: stg_MANAGED_CONTENT
      column: ID
  - column: MANAGED_CONTENT_KEY
    reference:
      table_name: stg_MANAGED_CONTENT
      column: ID
- table_name: stg_MARKET_SEGMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
  - column: DATA_GRAPH_ID
    reference:
      table_name: stg_DATA_GRAPH
      column: ID
  primary_key: ID
- table_name: stg_MATCHING_INFORMATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MATCHING_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_MATCHING_RULE_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MATCHING_RULE_ID
    reference:
      table_name: stg_MATCHING_RULE
      column: ID
- table_name: stg_MERCHANT_ACCOUNT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_MERCH_ACC_PAYMENT_METHOD_SET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MERCHANT_ACCOUNT_ID
    reference:
      table_name: stg_MERCHANT_ACCOUNT
      column: ID
  primary_key: ID
- table_name: stg_MERCH_ACC_PAYMENT_METHOD_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PAYMENT_METHOD_SET_ID
    reference:
      table_name: stg_MERCH_ACC_PAYMENT_METHOD_SET
      column: ID
- table_name: stg_MKT_CALCULATED_INSIGHT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_MKT_DATA_LAKE_MAPPING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MKT_DATA_TRANSFORM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_MKT_MLMODEL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MKT_MLPREDICTION_JOB
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: DATA_SPACE_ID
    reference:
      table_name: stg_DATA_SPACE
      column: ID
- table_name: stg_MOBILE_APPLICATION_DETAIL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MUTING_PERMISSION_SET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_MY_DOMAIN_DISCOVERABLE_LOGIN
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EXECUTE_APEX_HANDLER_AS_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_NAMED_CREDENTIAL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_PROVIDER_ID
    reference:
      table_name: stg_AUTH_PROVIDER
      column: ID
  primary_key: ID
- table_name: stg_NOTE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_NOTE
      column: ID
  primary_key: ID
- table_name: stg_OAUTH_CUSTOM_SCOPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_OAUTH_CUSTOM_SCOPE_APP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OAUTH_CUSTOM_SCOPE_ID
    reference:
      table_name: stg_OAUTH_CUSTOM_SCOPE
      column: ID
- table_name: stg_OAUTH_TOKEN
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: APP_MENU_ITEM_ID
    reference:
      table_name: stg_APP_MENU_ITEM
      column: ID
- table_name: stg_OAUTH_TOKEN_EXCHANGE_HANDLER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_OAUTH_TOKEN_EXCH_HANDLER_APP
  foreign_keys:
  - column: APEX_EXECUTION_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONNECTED_APPLICATION_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
  - column: OAUTH_TOKEN_EXCHANGE_HANDLER_ID
    reference:
      table_name: stg_OAUTH_TOKEN_EXCHANGE_HANDLER
      column: ID
- table_name: stg_OBJECT_DATA_IMPORT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_OBJECT_DATA_IMPORT_REFERENCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OBJECT_DATA_IMPORT_ID
    reference:
      table_name: stg_OBJECT_DATA_IMPORT
      column: ID
- table_name: stg_OBJECT_PERMISSIONS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
- table_name: stg_OPERATING_HOURS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_OPERATING_HOURS_HOLIDAY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: HOLIDAY_ID
    reference:
      table_name: stg_HOLIDAY
      column: ID
  - column: OPERATING_HOURS_ID
    reference:
      table_name: stg_OPERATING_HOURS
      column: ID
- table_name: stg_OPPORTUNITY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: PRICEBOOK_2_ID
    reference:
      table_name: stg_PRICEBOOK_2
      column: ID
  primary_key: ID
- table_name: stg_OPPORTUNITY_COMPETITOR
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
- table_name: stg_OPPORTUNITY_CONTACT_ROLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: CONTACT_ID
    reference:
      table_name: stg_CONTACT
      column: ID
- table_name: stg_OPPORTUNITY_LINE_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: PRODUCT_2_ID
    reference:
      table_name: stg_PRODUCT_2
      column: ID
  - column: PRICEBOOK_ENTRY_ID
    reference:
      table_name: stg_PRICEBOOK_ENTRY
      column: ID
- table_name: stg_OPPORTUNITY_PARTNER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_TO_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: REVERSE_PARTNER_ID
    reference:
      table_name: stg_OPPORTUNITY_PARTNER
      column: ID
  primary_key: ID
- table_name: stg_OPPORTUNITY_RELATED_DELETE_LOG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
- table_name: stg_OPPORTUNITY_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPPORTUNITY_ID
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
- table_name: stg_OPPORTUNITY_STAGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_ORGANIZATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_ORG_WIDE_EMAIL_ADDRESS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PARTNER_ROLE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_PARTY_CONSENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARTY_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: DATA_USE_PURPOSE_ID
    reference:
      table_name: stg_DATA_USE_PURPOSE
      column: ID
  - column: BUSINESS_BRAND_ID
    reference:
      table_name: stg_CUSTOM_BRAND
      column: ID
- table_name: stg_PAYMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
  - column: PAYMENT_AUTHORIZATION_ID
    reference:
      table_name: stg_PAYMENT_AUTHORIZATION
      column: ID
  - column: PAYMENT_GROUP_ID
    reference:
      table_name: stg_PAYMENT_GROUP
      column: ID
  - column: PAYMENT_METHOD_ID
    reference:
      table_name: stg_PAYMENT_METHOD
      column: ID
  primary_key: ID
- table_name: stg_PAYMENT_AUTHORIZATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
  - column: PAYMENT_GROUP_ID
    reference:
      table_name: stg_PAYMENT_GROUP
      column: ID
  - column: PAYMENT_METHOD_ID
    reference:
      table_name: stg_PAYMENT_METHOD
      column: ID
  primary_key: ID
- table_name: stg_PAYMENT_AUTH_ADJUSTMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_AUTHORIZATION_ID
    reference:
      table_name: stg_PAYMENT_AUTHORIZATION
      column: ID
- table_name: stg_PAYMENT_GATEWAY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PAYMENT_GATEWAY_PROVIDER_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY_PROVIDER
      column: ID
  - column: MERCHANT_ACCOUNT_ID
    reference:
      table_name: stg_MERCHANT_ACCOUNT
      column: ID
  primary_key: ID
- table_name: stg_PAYMENT_GATEWAY_LOG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
- table_name: stg_PAYMENT_GATEWAY_PROVIDER
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PAYMENT_GROUP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PAYMENT_METHOD
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  primary_key: ID
- table_name: stg_PERMISSION_SET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LICENSE_ID
    reference:
      table_name: stg_USER_LICENSE
      column: ID
    referential_integrity:
      '% orphan': 64.71%
      explanation: ''
  - column: PERMISSION_SET_GROUP_ID
    reference:
      table_name: stg_PERMISSION_SET_GROUP
      column: ID
  - column: PROFILE_ID
    reference:
      table_name: stg_PROFILE
      column: ID
  primary_key: ID
- table_name: stg_PERMISSION_SET_ASSIGNMENT
  foreign_keys:
  - column: ASSIGNEE_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 82.35%
      explanation: ''
  - column: PERMISSION_SET_GROUP_ID
    reference:
      table_name: stg_PERMISSION_SET_GROUP
      column: ID
  - column: PERMISSION_SET_ID
    reference:
      table_name: stg_PERMISSION_SET
      column: ID
- table_name: stg_PERMISSION_SET_GROUP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PERMISSION_SET_GROUP_COMPONENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: PERMISSION_SET_GROUP_ID
    reference:
      table_name: stg_PERMISSION_SET_GROUP
      column: ID
  - column: PERMISSION_SET_ID
    reference:
      table_name: stg_PERMISSION_SET
      column: ID
- table_name: stg_PERMISSION_SET_LICENSE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  primary_key: ID
- table_name: stg_PERMISSION_SET_LICENSE_ASSIGN
  foreign_keys:
  - column: ASSIGNEE_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PERMISSION_SET_LICENSE_ID
    reference:
      table_name: stg_PERMISSION_SET_LICENSE
      column: ID
- table_name: stg_PRICEBOOK_2
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PRICEBOOK_ENTRY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PRODUCT_2_ID
    reference:
      table_name: stg_PRODUCT_2
      column: ID
  - column: PRICEBOOK_2_ID
    reference:
      table_name: stg_PRICEBOOK_2
      column: ID
  primary_key: ID
- table_name: stg_PROCESS_DEFINITION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_PROCESS_FLOW_MIGRATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_PROCESS_INSTANCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SUBMITTED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROCESS_DEFINITION_ID
    reference:
      table_name: stg_PROCESS_DEFINITION
      column: ID
  primary_key: ID
- table_name: stg_PROCESS_INSTANCE_NODE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROCESS_INSTANCE_ID
    reference:
      table_name: stg_PROCESS_INSTANCE
      column: ID
  - column: PROCESS_NODE_ID
    reference:
      table_name: stg_PROCESS_NODE
      column: ID
- table_name: stg_PROCESS_INSTANCE_STEP
  foreign_keys:
  - column: ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ORIGINAL_ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROCESS_INSTANCE_ID
    reference:
      table_name: stg_PROCESS_INSTANCE
      column: ID
  - column: STEP_NODE_ID
    reference:
      table_name: stg_PROCESS_NODE
      column: ID
- table_name: stg_PROCESS_INSTANCE_WORKITEM
  foreign_keys:
  - column: ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ORIGINAL_ACTOR_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROCESS_INSTANCE_ID
    reference:
      table_name: stg_PROCESS_INSTANCE
      column: ID
- table_name: stg_PRODUCT_2
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EXTERNAL_DATA_SOURCE_ID
    reference:
      table_name: stg_EXTERNAL_DATA_SOURCE
      column: ID
  primary_key: ID
- table_name: stg_PROFILE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: USER_LICENSE_ID
    reference:
      table_name: stg_USER_LICENSE
      column: ID
  primary_key: ID
- table_name: stg_PROFILE_CALL_LOG_QUICK_ACTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROFILE_ID
    reference:
      table_name: stg_PROFILE
      column: ID
- table_name: stg_PROMPT_ACTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROMPT_VERSION_ID
    reference:
      table_name: stg_PROMPT_VERSION
      column: ID
  primary_key: ID
- table_name: stg_PROMPT_ERROR
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PROMPT_ACTION_ID
    reference:
      table_name: stg_PROMPT_ACTION
      column: ID
- table_name: stg_PROMPT_VERSION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PUBLISHED_BY_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: TARGET_RECORD_TYPE_ID
    reference:
      table_name: stg_RECORD_TYPE
      column: ID
  - column: IMAGE_ID
    reference:
      table_name: stg_IMAGE
      column: ID
  primary_key: ID
- table_name: stg_QUEUE_SOBJECT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_QUICK_TEXT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FOLDER_ID
    reference:
      table_name: stg_FOLDER
      column: ID
  primary_key: ID
- table_name: stg_QUICK_TEXT_USAGE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FOLDER_ID
    reference:
      table_name: stg_FOLDER
      column: ID
  - column: QUICK_TEXT_ID
    reference:
      table_name: stg_QUICK_TEXT
      column: ID
- table_name: stg_RECORD_ACTION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: FLOW_INTERVIEW_ID
    reference:
      table_name: stg_FLOW_INTERVIEW
      column: ID
- table_name: stg_RECORD_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: BUSINESS_PROCESS_ID
    reference:
      table_name: stg_BUSINESS_PROCESS
      column: ID
  primary_key: ID
- table_name: stg_REDIRECT_WHITELIST_URL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_REFUND
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PAYMENT_GATEWAY_ID
    reference:
      table_name: stg_PAYMENT_GATEWAY
      column: ID
  - column: PAYMENT_GROUP_ID
    reference:
      table_name: stg_PAYMENT_GROUP
      column: ID
  - column: PAYMENT_METHOD_ID
    reference:
      table_name: stg_PAYMENT_METHOD
      column: ID
  primary_key: ID
- table_name: stg_REFUND_LINE_PAYMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ASSOCIATED_ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: ASSOCIATED_REFUND_LINE_PAYMENT_ID
    reference:
      table_name: stg_REFUND_LINE_PAYMENT
      column: ID
  - column: PAYMENT_ID
    reference:
      table_name: stg_PAYMENT
      column: ID
  - column: REFUND_ID
    reference:
      table_name: stg_REFUND
      column: ID
  primary_key: ID
- table_name: stg_REPORT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  primary_key: ID
- table_name: stg_SALES_WORK_QUEUE_SETTINGS
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SAML_SSO_CONFIG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EXECUTION_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_SCONTROL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_SEARCH_ACTIVITY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SEARCH_PROMOTION_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SECURITY_CUSTOM_BASELINE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SERVICE_SETUP_PROVISIONING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SESSION_PERM_SET_ACTIVATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: AUTH_SESSION_ID
    reference:
      table_name: stg_AUTH_SESSION
      column: ID
    referential_integrity:
      '% orphan': 21.20%
      explanation: ''
  - column: PERMISSION_SET_GROUP_ID
    reference:
      table_name: stg_PERMISSION_SET_GROUP
      column: ID
  - column: PERMISSION_SET_ID
    reference:
      table_name: stg_PERMISSION_SET
      column: ID
- table_name: stg_SETUP_ASSISTANT_STEP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_SETUP_AUDIT_TRAIL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
- table_name: stg_SITE
  foreign_keys:
  - column: ADMIN_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: GUEST_RECORD_DEFAULT_OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: GUEST_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_SITE_IFRAME_WHITE_LIST_URL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SITE_ID
    reference:
      table_name: stg_SITE
      column: ID
- table_name: stg_SITE_REDIRECT_MAPPING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SITE_ID
    reference:
      table_name: stg_SITE
      column: ID
- table_name: stg_SPSAML_ATTRIBUTES
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_STAMP
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_STAMP
      column: ID
  primary_key: ID
- table_name: stg_STAMP_ASSIGNMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: STAMP_ID
    reference:
      table_name: stg_STAMP
      column: ID
- table_name: stg_STANDARD_INVOCABLE_ACTION_TYPE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 33.33%
      explanation: ''
- table_name: stg_STATIC_RESOURCE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_TABLEAU_HOST_MAPPING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_TAG_DEFINITION
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_TASK
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: RECURRENCE_ACTIVITY_ID
    reference:
      table_name: stg_EVENT
      column: ID
  - column: WHO_ID
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: ACTION_CADENCE_STEP_TRACKER_ID
    reference:
      table_name: stg_ACTION_CADENCE_STEP_TRACKER
      column: ID
  primary_key: ID
- table_name: stg_TASK_PRIORITY
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_TASK_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: TASK_ID
    reference:
      table_name: stg_TASK
      column: ID
- table_name: stg_TASK_WHO_RELATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: TASK_ID
    reference:
      table_name: stg_TASK
      column: ID
- table_name: stg_TENANT_USAGE_ENTITLEMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_THIRD_PARTY_ACCOUNT_LINK
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SSO_PROVIDER_ID
    reference:
      table_name: stg_SAML_SSO_CONFIG
      column: ID
- table_name: stg_TIME_SLOT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OPERATING_HOURS_ID
    reference:
      table_name: stg_OPERATING_HOURS
      column: ID
- table_name: stg_TODAY_GOAL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_TRANSLATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_UI_FORMULA_CRITERION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RULE_ID
    reference:
      table_name: stg_UI_FORMULA_RULE
      column: ID
- table_name: stg_UI_FORMULA_RULE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_USER_APP_INFO
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: APP_DEFINITION_ID
    reference:
      table_name: stg_APP_DEFINITION
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_USER_APP_MENU_CUSTOMIZATION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: APPLICATION_ID
    reference:
      table_name: stg_APP_DEFINITION
      column: ID
- table_name: stg_USER_DEFINED_LABEL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_USER_DEFINED_LABEL_ASSIGNMENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LABEL_ID
    reference:
      table_name: stg_USER_DEFINED_LABEL
      column: ID
- table_name: stg_USER_EMAIL_PREFERRED_PERSON
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_USER_LIST_VIEW
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LIST_VIEW_ID
    reference:
      table_name: stg_LIST_VIEW
      column: ID
  primary_key: ID
- table_name: stg_USER_LIST_VIEW_CRITERION
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_LIST_VIEW_ID
    reference:
      table_name: stg_USER_LIST_VIEW
      column: ID
- table_name: stg_USER_LOGIN
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
    referential_integrity:
      '% orphan': 50.00%
      explanation: ''
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_USER_PACKAGE_LICENSE
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PACKAGE_LICENSE_ID
    reference:
      table_name: stg_PACKAGE_LICENSE
      column: ID
- table_name: stg_USER_PREFERENCE
  foreign_keys:
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_USER_PROVISIONING_CONFIG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: NAMED_CREDENTIAL_ID
    reference:
      table_name: stg_NAMED_CREDENTIAL
      column: ID
  - column: CONNECTED_APP_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
  primary_key: ID
- table_name: stg_USER_PROVISIONING_LOG
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_PROVISIONING_REQUEST_ID
    reference:
      table_name: stg_USER_PROVISIONING_REQUEST
      column: ID
- table_name: stg_USER_PROVISIONING_REQUEST
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: MANAGER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SALESFORCE_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONNECTED_APP_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
  - column: PARENT_ID
    reference:
      table_name: stg_USER_PROVISIONING_REQUEST
      column: ID
  - column: USER_PROV_ACCOUNT_ID
    reference:
      table_name: stg_USER_PROV_ACCOUNT
      column: ID
  - column: USER_PROV_CONFIG_ID
    reference:
      table_name: stg_USER_PROVISIONING_CONFIG
      column: ID
  primary_key: ID
- table_name: stg_USER_PROV_ACCOUNT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SALESFORCE_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONNECTED_APP_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
  primary_key: ID
- table_name: stg_USER_PROV_ACCOUNT_STAGING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SALESFORCE_USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: CONNECTED_APP_ID
    reference:
      table_name: stg_CONNECTED_APPLICATION
      column: ID
- table_name: stg_USER_PROV_MOCK_TARGET
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_USER_ROLE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PORTAL_ACCOUNT_OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: PORTAL_ACCOUNT_ID
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: PARENT_ROLE_ID
    reference:
      table_name: stg_USER_ROLE
      column: ID
  primary_key: ID
- table_name: stg_USER_SHARE
  foreign_keys:
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_OR_GROUP_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_USER_WORK_LIST
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  primary_key: ID
- table_name: stg_USER_WORK_LIST_ITEM
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: USER_WORK_LIST_ID
    reference:
      table_name: stg_USER_WORK_LIST
      column: ID
- table_name: stg_VIDEO_CALL
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: HOST_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: OWNER_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: EVENT_ID
    reference:
      table_name: stg_EVENT
      column: ID
  primary_key: ID
- table_name: stg_VIDEO_CALL_PARTICIPANT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: RELATED_PERSON_ID
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: VIDEO_CALL_ID
    reference:
      table_name: stg_VIDEO_CALL
      column: ID
- table_name: stg_VIDEO_CALL_RECORDING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: VIDEO_CALL_RECORD_ID
    reference:
      table_name: stg_VIDEO_CALL
      column: ID
- table_name: stg_VIDEO_VENDOR_ADMIN_CONSENT
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_VOICE_ORG_SETTING
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
- table_name: stg_WEB_LINK
  foreign_keys:
  - column: CREATED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: LAST_MODIFIED_BY_ID
    reference:
      table_name: stg_USER
      column: ID
  - column: SCONTROL_ID
    reference:
      table_name: stg_SCONTROL
      column: ID
- table_name: stg_SSOT_ACCOUNT_DLM
  foreign_keys:
  - column: KQ_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: KQ_PARENT_ACCOUNT_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: SSOT_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: SSOT_PARENT_ACCOUNT_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: SSOT_ACCOUNT_PARTY_ID_MAP_INDIVIDUAL_ID_N_1_C
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
  - column: KQ_SALES_PHONE_ID_C
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
  - column: SSOT_SALES_PHONE_ID_C
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
  - column: KQ_BILL_CONTACT_ADDRESS_ID_C
    reference:
      table_name: stg_CONTACT_POINT_ADDRESS
      column: ID
  - column: SSOT_BILL_CONTACT_ADDRESS_ID_C
    reference:
      table_name: stg_CONTACT_POINT_ADDRESS
      column: ID
  primary_key: ID
- table_name: stg_SSOT_LEAD_DLM
  foreign_keys:
  - column: KQ_CONVERTED_TO_ACCOUNT_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: SSOT_CONVERTED_TO_ACCOUNT_ID_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: SSOT_LEAD_PARTNER_ACCOUNT_ID_MAP_ACCOUNT_ID_N_1_C
    reference:
      table_name: stg_ACCOUNT
      column: ID
  - column: KQ_CONVERTED_TO_OPPORTUNITY_ID_C
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: SSOT_CONVERTED_TO_OPPORTUNITY_ID_C
    reference:
      table_name: stg_OPPORTUNITY
      column: ID
  - column: KQ_CONVERTED_TO_ACCOUNT_CONTACT_ID_C
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: SSOT_CONVERTED_TO_ACCOUNT_CONTACT_ID_C
    reference:
      table_name: stg_CONTACT
      column: ID
  - column: KQ_PHONE_CONTACT_POINT_ID_C
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
  - column: SSOT_PHONE_CONTACT_POINT_ID_C
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
  - column: KQ_CONTACT_POINT_EMAIL_ID_C
    reference:
      table_name: stg_CONTACT_POINT_EMAIL
      column: ID
  - column: SSOT_CONTACT_POINT_EMAIL_ID_C
    reference:
      table_name: stg_CONTACT_POINT_EMAIL
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: SalesforceObjectTags
  foreign_keys:
  - column: TAG_DEFINITION_ID
    reference:
      table_name: stg_TAG_DEFINITION
      column: ID
- table_name: stg_APEX_PAGE_INFO
  foreign_keys:
  - column: APEX_PAGE_ID
    reference:
      table_name: stg_APEX_PAGE
      column: ID
- table_name: stg_APP_DEFINITION
  primary_key: ID
  foreign_keys: []
- table_name: stg_USER_APP_MENU_ITEM
  foreign_keys:
  - column: APPLICATION_ID
    reference:
      table_name: stg_APP_DEFINITION
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: APP_MENU_ITEM_ID
    reference:
      table_name: stg_APP_MENU_ITEM
      column: ID
- table_name: stg_AURA_DEFINITION_BUNDLE_INFO
  foreign_keys:
  - column: AURA_DEFINITION_BUNDLE_ID
    reference:
      table_name: stg_AURA_DEFINITION_BUNDLE
      column: ID
- table_name: stg_AURA_DEFINITION_INFO
  foreign_keys:
  - column: AURA_DEFINITION_BUNDLE_INFO_ID
    reference:
      table_name: stg_AURA_DEFINITION_BUNDLE
      column: ID
  - column: AURA_DEFINITION_ID
    reference:
      table_name: stg_AURA_DEFINITION
      column: ID
- table_name: stg_INDIVIDUAL_IDENTITY_LINK_DLM
  foreign_keys:
  - column: UNIFIED_RECORD_ID_C
    reference:
      table_name: stg_INDIVIDUAL
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: SSOT_INTERNAL_ORGANIZATION_ID_C
    reference:
      table_name: stg_ORGANIZATION
      column: ID
- table_name: stg_CONTENT_VERSION_COMMENT
  foreign_keys:
  - column: CONTENT_VERSION_ID
    reference:
      table_name: stg_CONTENT_VERSION
      column: ID
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
- table_name: stg_CONTENT_WORKSPACE_DOC
  foreign_keys:
  - column: CONTENT_DOCUMENT_ID
    reference:
      table_name: stg_CONTENT_DOCUMENT
      column: ID
  - column: CONTENT_WORKSPACE_ID
    reference:
      table_name: stg_CONTENT_WORKSPACE
      column: ID
- table_name: stg_RECENTLY_VIEWED
  foreign_keys:
  - column: RECORD_TYPE_ID
    reference:
      table_name: stg_RECORD_TYPE
      column: ID
  - column: PROFILE_ID
    reference:
      table_name: stg_PROFILE
      column: ID
  - column: USER_ROLE_ID
    reference:
      table_name: stg_USER_ROLE
      column: ID
- table_name: stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM
  foreign_keys:
  - column: SOURCE_RECORD_ID_C
    reference:
      table_name: stg_CONTACT_POINT_PHONE
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: SSOT_INTERNAL_ORGANIZATION_ID_C
    reference:
      table_name: stg_ORGANIZATION
      column: ID
  - column: UNIFIED_RECORD_ID_C
    reference:
      table_name: stg_UNIFIED_CONTACT_POINT_PHONE_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_UNIFIED_INDIVIDUAL_DLM
  primary_key: ID
  foreign_keys:
  - column: SSOT_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_CONTACT_POINT_ADDRESS_IDENTITY_LINK_DLM
  foreign_keys:
  - column: UNIFIED_RECORD_ID_C
    reference:
      table_name: stg_UNIFIED_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_UNIFIED_CONTACT_POINT_EMAIL_DLM
  foreign_keys:
  - column: SSOT_PARTY_ID_C
    reference:
      table_name: stg_UNIFIED_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: SSOT_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_ORG_EMAIL_ADDRESS_SECURITY
  foreign_keys:
  - column: PARENT_ID
    reference:
      table_name: stg_ORGANIZATION
      column: ID
  - column: ORG_WIDE_EMAIL_ADDRESS_ID
    reference:
      table_name: stg_ORG_WIDE_EMAIL_ADDRESS
      column: ID
- table_name: stg_UNIFIED_CONTACT_POINT_PHONE_DLM
  primary_key: ID
  foreign_keys: []
- table_name: stg_CONTENT_FOLDER_LINK
  foreign_keys:
  - column: CONTENT_FOLDER_ID
    reference:
      table_name: stg_CONTENT_FOLDER
      column: ID
- table_name: stg_DASHBOARD_COMPONENT
  foreign_keys:
  - column: CUSTOM_REPORT_ID
    reference:
      table_name: stg_REPORT
      column: ID
  - column: DASHBOARD_ID
    reference:
      table_name: stg_DASHBOARD
      column: ID
- table_name: stg_TAB_DEFINITION
  primary_key: ID
  foreign_keys: []
- table_name: stg_EMBEDDED_SERVICE_DETAIL
  foreign_keys:
  - column: SITE
    reference:
      table_name: stg_SITE
      column: ID
  primary_key: ID
- table_name: stg_EMBEDDED_SERVICE_LABEL
  foreign_keys:
  - column: EMBEDDED_SERVICE_CONFIG_DEVELOPER_NAME
    reference:
      table_name: stg_EMBEDDED_SERVICE_DETAIL
      column: ID
- table_name: stg_FLOW_DEFINITION_VIEW
  primary_key: ID
  foreign_keys:
  - column: ACTIVE_VERSION_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: LATEST_VERSION_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: OVERRIDDEN_BY_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
  - column: OVERRIDDEN_FLOW_ID
    reference:
      table_name: stg_FLOW_DEFINITION_VIEW
      column: ID
- table_name: stg_FORMULA_FUNCTION
  primary_key: ID
  foreign_keys: []
- table_name: stg_FORMULA_FUNCTION_ALLOWED_TYPE
  foreign_keys:
  - column: FUNCTION_ID
    reference:
      table_name: stg_FORMULA_FUNCTION
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_USER_LICENSE
  primary_key: ID
  foreign_keys: []
- table_name: stg_PERMISSION_SET_TAB_SETTING
  foreign_keys:
  - column: PARENT_ID
    reference:
      table_name: stg_PERMISSION_SET
      column: ID
    referential_integrity:
      '% orphan': 16.67%
      explanation: ''
- table_name: stg_PROCESS_NODE
  foreign_keys:
  - column: PROCESS_DEFINITION_ID
    reference:
      table_name: stg_PROCESS_DEFINITION
      column: ID
  primary_key: ID
- table_name: stg_SSOT_ACCOUNT_CONTACT_DLM
  foreign_keys:
  - column: KQ_ACCOUNT_ID_C
    reference:
      table_name: stg_SSOT_ACCOUNT_DLM
      column: ID
  - column: SSOT_ACCOUNT_ID_C
    reference:
      table_name: stg_SSOT_ACCOUNT_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: KQ_BUSINESS_PHONE_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_PHONE_DLM
      column: ID
  - column: SSOT_BUSINESS_PHONE_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_PHONE_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: KQ_CONTACT_EMAIL_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
      column: ID
  - column: SSOT_CONTACT_EMAIL_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: KQ_INDIVIDUAL_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
  - column: SSOT_INDIVIDUAL_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: KQ_MAILING_ADDRESS_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_ADDRESS_DLM
      column: ID
  - column: SSOT_MAILING_ADDRESS_ID_C
    reference:
      table_name: stg_SSOT_CONTACT_POINT_ADDRESS_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_SSOT_CONTACT_POINT_PHONE_DLM
  primary_key: ID
  foreign_keys: []
- table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
  primary_key: ID
  foreign_keys:
  - column: SSOT_PARTY_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_SSOT_INDIVIDUAL_DLM
  primary_key: ID
  foreign_keys: []
- table_name: stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM
  foreign_keys:
  - column: SSOT_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
  - column: SSOT_PARTY_ID_C
    reference:
      table_name: stg_SSOT_INDIVIDUAL_DLM
      column: ID
    referential_integrity:
      '% orphan': 100.00%
      explanation: ''
- table_name: stg_SSOT_CONTACT_POINT_ADDRESS_DLM
  primary_key: ID
  foreign_keys: []
- table_name: stg_PACKAGE_LICENSE
  primary_key: ID
  foreign_keys: []
- table_name: stg_SETUP_ENTITY_ACCESS
  primary_key: ID
  foreign_keys: []
- table_name: stg_USER_SETUP_ENTITY_ACCESS
  foreign_keys:
  - column: SETUP_ENTITY_ID
    reference:
      table_name: stg_SETUP_ENTITY_ACCESS
      column: ID
- table_name: stg_CONTACT_POINT_EMAIL_IDENTITY_LINK_DLM
- table_name: stg_EVENT_BUS_SUBSCRIBER
- table_name: stg_EXPRESSION_SET_VIEW
- table_name: stg_FORMULA_FUNCTION_CATEGORY
- table_name: stg_PERIOD
- table_name: stg_SSOT_DIGITAL_CONTENT_DLM
- table_name: stg_SSOT_MARKET_SEGMENT_DLM
- table_name: stg_USER_PERMISSION_ACCESS
We recrusively summarize the tables.

Tree Categories

        • UserManagedAuthorizationForms
        • AuthorizationFormTextManagement
        • BriefcaseAssignments
        • UserBriefcaseRuleFilters
        • UserWorkspaceAccess
        • UserContentWorkspaceSubscriptions
        • UserContentSubscriptions
        • UserContentDistribution
        • UserContentNotifications
        • UserContentDistributionViewTracking
        • UserManagedContentWorkspaces
        • UserContentManagement
        • ContentWorkspaceManagement
        • UserManagedContentFolders
        • DocumentManagementSystem
        • ContentDocumentManagement
        • DocumentVersionTracking
        • DocumentAttachmentMapping
        • ContentAssetManagement
        • UserManagedImageContent
        • UserManagedStaticResources
        • CategoryNodeManagement
        • EmailTemplateManagement
        • UserManagedBrandTemplates
        • UserCreatedContentInWorkspaces
        • UserManagedContentVariants
        • UserCreatedArticleVersions
        • UserManagedArticleVersions
        • UserManagedKnowledgeArticleVersions
        • UserManagedKnowledgeCategories
        • PromptVersionUserRecordTypeImageAssociation
        • WorkspaceDocumentAssociation
        • UserCreatedLabels
        • UserManagedFolders
        • UserManagedAttachments
        • UserManagedNotes
        • UserManagedQuickTextFolders
        • UserCreatedWebLinks
        • UserManagedHelpMenuItems
        • UserManagedStamps
        • UserLabelAssignment
        • UserQuickTextUsage
        • UserPromptInteractions
        • ContentVersionComments
        • UserContentVersionRating
        • UserReportManagement
        • UserDashboardManagement
        • UserEventAccountContactInteraction
        • EmailListManagementSystem
        • EmailCampaignContentManagement
        • EmailCommunicationSystem
        • EmailMessageUserRelation
        • EmailListRecipientTracking
        • EmailListRecipients
        • EventResponseTracker
        • EventParticipationAndInvitation
        • EventAccountAssociation
        • UserExternalEventMapping
        • UserManagedConferenceNumbers
        • UserVideoCallEvents
        • VideoCallParticipation
        • UserVideoCallRecordings
        • TaskManagementSystem
        • TaskAccountAssociation
        • TaskAccountAssignment
        • UserCreatedWorkLists
        • UserWorkListItems
        • LeadManagementAndConversionProcess
        • CampaignManagementAndMemberClassification
        • CampaignMemberParticipation
        • CampaignMemberStatusDefinition
        • IndividualSingleSourceOfTruth
        • IndividualEmailAssociation
        • IndividualEmailContacts
        • LeadConversionProcess
        • AccountInformationNetwork
        • AccountContactDetails
        • ContactRelationshipManagement
        • UserContactAddressManagement
        • UserManagedContactEmailPoints
        • AccountContactRoleAssignment
        • SalesOpportunityManagement
        • OpportunityContactRoles
        • OpportunityLineItems
        • OpportunityCompetitorTracking
        • AccountUserActionCadenceManagement
        • AssetManagementSystem
        • BusinessPartnershipManagement
        • OpportunityPartnershipCollaboration
        • CustomerSupportCaseManagement
        • UserCaseComments
        • CaseContactRoleAssignment
        • CaseArticleAssociation
        • IndividualOrganizationIdentityLink
        • OrganizationPhoneContactLinkage
        • ProductManagementSystem
        • AssetRelationships
        • UserManagedIndividuals
        • UserCreatedListViews
        • UserCalendarViewConfiguration
        • UserOperatingHours
        • UserManagedHolidays
        • OperatingHoursHolidayExceptions
        • UserCallCenterPhoneNumbers
        • UserManagedCallDispositionCategories
        • UserManagedCallDispositions
        • UserManagedMatchingRules
        • UserDefinedMatchingRuleItems
        • UserManagedDuplicateRules
        • UserManagedDuplicateSetCreation
        • UserLinkedDuplicateItemAssociation
        • ContactUserSharing
        • OpportunityUserAccess
        • UserManagedGoalDefinitions
        • UserGoalAssignments
        • UserGoalRecommendationSystem
        • UserEngagementChannelSettings
        • UserCapturedConsentForIndividuals
        • StampSubjectAssignment
        • UserPromptActionErrors
        • UserOpportunityDeletionLog
      • UserAdministeredInternalDataSpaces
      • UserManagedWorkspacesWithLandingTab
      • UserManagedFilterCriteriaStructure
      • UserManagedMarketSegmentDataAssociation
      • UserManagedDataGraphsInSpaces
      • UserManagedImports
      • UserDataSpaceActions
      • UserDataQueryWorkspaceTabs
      • UserDataSpaceSearchConfiguration
      • UserDefinedFilterConditions
      • UserDataSpaceIdentityResolution
      • UserDataSpaceInsights
      • UserDataSpaceTransformations
      • UserMachineLearningJobsInDataSpaces
      • UserListViewCriteria
      • DashboardComponentReports
      • Data Integration and Master Data Management
      • UserManagedPaymentGatewayProviders
      • PaymentGatewayConfiguration
      • UserManagedMerchantAccounts
      • MerchantAccountPaymentMethodSetManagement
      • UserManagedPaymentMethodSets
      • GatewayProviderPaymentMethodConfiguration
      • UserManagedPriceBooks
      • ProductPricingAssociations
      • UserAccountPaymentMethods
      • AccountPaymentMethodManagement
      • AccountPaymentMethodGateway
      • UserAccountWalletGateway
      • UserManagedPaymentGroups
      • PaymentAuthorizationProcessing
      • PaymentProcessingSystem
      • RefundTransactionDetails
      • RefundPaymentAssociation
      • UserAccountPaymentAdjustments
      • UserPaymentGatewayLogs
      • Financial Period Management
        • BrandHierarchyUserManagement
        • UserManagedBrandingSets
        • UserManagedBrandingSetProperties
        • UserBrandAssetManagement
        • UserThemeBrandingManagement
        • ExternalDataSourceConfiguration
        • UserManagedCredentials
        • UserManagedExternalDataSourceDescriptors
        • UserExternalDataSourceAuthentication
        • UserManagedConnectedApplications
        • UserManagedConnections
        • UserMultiOrgDataSpaceMapping
        • MultiOrgSyncManagement
        • UserManagedExternalDataShares
        • UserMobileAppInstallations
          • UserManagedEmailServices
          • EmailServiceAddressUserFunctionAssociation
          • UserManagedEmailRelays
          • UserManagedEmailRelayFilters
          • UserManagedEmailRoutingConfiguration
          • UserManagedCadenceOrganization
          • ActionCadenceStepFlow
          • UserManagedCadenceRuleSteps
          • UserManagedExternalEvents
          • UserManagedEventRelays
          • UserCadenceProgressTracking
          • UserEventRelayConfigFeedback
          • ApplicationMenuStructure
          • UserAccessibleAppMenuItems
          • AuraComponentUserManagement
          • UserManagedAuraDefinitions
          • ComponentDefinitionComposition
          • UserManagedApexPages
          • UserManagedSControlComponents
          • UserManagedActionLinkGroupTemplates
          • UserCreatedActionLinkTemplates
          • UserManagedRecordTypeProcesses
          • UserManagedBriefcaseDefinitions
          • UserManagedBriefcaseRuleConfigurations
          • UserDefinedOperatingHours
          • UserManagedUIFormulaRules
          • System Configuration and Metadata
          • FormulaFunctions
          • UserAppMenuCustomization
          • UserAppInteraction
        • UserManagedDomains
        • DomainSiteAssociation
        • SiteUserConfiguration
        • SiteEmbeddedServiceConfiguration
        • SiteIframeWhitelistManagement
        • SiteRedirectMappings
        • OrganizationEmailSecuritySettings
        • UserManagedOAuthHandlers
        • UserManagedOAuthScopeApplications
        • UserManagedOAuthHandlerApplications
        • UserManagedBackgroundJobs
          • UserManagedTags
          • UserContentWorkspaceAccess
          • UserManagedCustomPermissions
          • UserPermissionSetLicenses
          • UserManagedOAuthScopes
          • UserManagedPermissionSetGroups
          • UserProfileLicenseAssignment
          • UserAccessControlHierarchy
          • UserRoleAccountHierarchy
          • UserListViewAccess
          • CustomPermissionDependencies
          • LicenseGrantedCustomPermissions
          • UserPermissionSetAssignment
          • UserManagedPermissionSetGroupAssignments
          • UserPermissionSetLicenseAssignment
          • UserProfileAssignment
          • SessionPermissionSetActivation
          • UserProfileRuleCriteria
          • UserPackageLicenseAssignment
          • CRMUserAccessHierarchy
          • Setup Entity Access Rules
          • User Permissions and Access Control
          • UserManagedEngagementChannels
          • IndividualAccessSharing
          • AccountSharingPermissions
          • AssetUserAccess
          • CampaignAccessSharing
          • CaseAccessPermissions
          • CaseExternalDocuments
          • UserManagedDataImportReferences
          • UserProvisioningSetup
          • CallCenterUserManagement
          • UserManagedAuthConfigs
          • UserProvisioningManagement
          • UserProvisioningLinkage
          • UserProvisioningAccounts
          • UserProvisioningAudit
        • UserAuthenticationOptions
        • AuthConfigProviderAssociation
        • SSO_User_Authentication
        • UserLoginDetails
        • UserLoginLocations
        • UserAuthenticationSessions
        • UserAuthenticationSessionLog
        • UserAppAuthentication
        • UserSSOAccountLinks
        • UserManagedLegalBases
        • UserManagedDataPurposesWithLegalBases
        • UserConsentAuthorizationForm
        • AuthorizationFormDataUsePurpose
        • UserManagedConsentRecords
        • UserConsentPurposeBrand
        • UserCommunicationConsentManagement
        • SubscriptionChannelPreferences
        • UserCommunicationConsentSubscription
        • OrganizationUserMembership
        • GroupDetails
        • GroupMembershipAssociation
        • UserManagedOrganizationEmails
        • UserAccountProfileRoleAssociation
        • UserPhoneContactDetails
      • UserManagedProcessDefinitions
      • ProcessNodeDefinition
      • UserManagedFlowRecordSystem
      • UserManagedFlowVersions
      • FlowRecordElementUserVersionAssociation
      • FlowRecordVersionOccurrence
      • UserManagedBusinessProcesses
      • UserManagedCadenceRuleConditions
      • CadenceStepProgressTracking
      • ProcessExecutionWorkflow
      • UserProcessNodeInteractions
      • UserProcessStepExecution
      • UserProcessWorkItems
      • UserManagedFlowInterviews
      • UserFlowInterviewProgress
      • UserFlowInterviewLogEntries
      • UserFlowActionRecords
      • UserFlowTestResults

cocoon_er.yml (Document the entity relationships)

groups:
- group_name: Data Integration and Master Data Management
  group_summary: This group focuses on tables that link and manage data across different
    sources and systems.
  tables:
  - stg_CONTACT_POINT_EMAIL_IDENTITY_LINK_DLM
  - stg_SSOT_DIGITAL_CONTENT_DLM
  - stg_SSOT_MARKET_SEGMENT_DLM
  join_info: These tables can potentially be joined on SSOT_DATA_SOURCE_ID_C and SSOT_DATA_SOURCE_OBJECT_ID_C
    fields.
- group_name: System Configuration and Metadata
  group_summary: This group contains tables that store system-level configurations,
    categories, and metadata.
  tables:
  - stg_EVENT_BUS_SUBSCRIBER
  - stg_EXPRESSION_SET_VIEW
  - stg_FORMULA_FUNCTION_CATEGORY
  join_info: These tables don't have obvious join attributes but are related in their
    purpose of storing system configurations.
- group_name: Financial Period Management
  group_summary: This group focuses on managing fiscal periods and related financial
    data.
  tables:
  - stg_PERIOD
  join_info: This is a standalone table with no clear join relationships to the other
    tables provided.
- group_name: User Permissions and Access Control
  group_summary: This group is dedicated to managing user permissions and access rights
    within the system.
  tables:
  - stg_USER_PERMISSION_ACCESS
  join_info: This is a standalone table with no clear join relationships to the other
    tables provided.
entities:
- entity_name: Users
  entity_description: Salesforce user accounts including system and standard users
  table_name: stg_USER
  primary_key: ID
- entity_name: Accounts
  entity_description: Business accounts or organizations in the CRM system
  table_name: stg_ACCOUNT
  primary_key: ID
- entity_name: Opportunities
  entity_description: Sales opportunities tracked in the CRM system
  table_name: stg_OPPORTUNITY
  primary_key: ID
- entity_name: BusinessPartnerships
  entity_description: Partnerships between accounts and opportunities
  table_name: BusinessPartnershipManagement
  primary_key: ID
- entity_name: Events
  entity_description: Calendar events or activities in the CRM system
  table_name: stg_EVENT
  primary_key: ID
- entity_name: Tags
  entity_description: Definitions of tags used for categorization
  table_name: stg_TAG_DEFINITION
  primary_key: ID
- entity_name: ActionCadences
  entity_description: Sequences of actions for sales or marketing processes
  table_name: stg_ACTION_CADENCE
  primary_key: ID
- entity_name: Contacts
  entity_description: Individual contacts associated with accounts
  table_name: stg_CONTACT
  primary_key: ID
- entity_name: Folders
  entity_description: Organizational folders in the CRM system
  table_name: stg_FOLDER
  primary_key: ID
- entity_name: CadenceSteps
  entity_description: Individual steps within action cadences
  table_name: stg_ACTION_CADENCE_STEP
  primary_key: ID
- entity_name: CadenceRules
  entity_description: Rules governing action cadence execution
  table_name: stg_ACTION_CADENCE_RULE
  primary_key: ID
- entity_name: EmailTemplates
  entity_description: Templates for standardized emails
  table_name: stg_EMAIL_TEMPLATE
  primary_key: ID
- entity_name: CadenceTrackers
  entity_description: Tracking progress of targets through action cadences
  table_name: stg_ACTION_CADENCE_TRACKER
  primary_key: ID
- entity_name: ActionLinkGroupTemplates
  entity_description: Templates for groups of action links
  table_name: stg_ACTION_LINK_GROUP_TEMPLATE
  primary_key: ID
- entity_name: CallCenters
  entity_description: Call center configurations
  table_name: stg_CALL_CENTER
  primary_key: ID
- entity_name: PaymentGateways
  entity_description: Payment processing gateway configurations
  table_name: stg_PAYMENT_GATEWAY
  primary_key: ID
- entity_name: ApexPages
  entity_description: Salesforce Apex pages
  table_name: stg_APEX_PAGE
  primary_key: ID
- entity_name: AppDefinitions
  entity_description: Definitions of applications within the system
  table_name: stg_APP_DEFINITION
  primary_key: ID
- entity_name: Assets
  entity_description: Tangible or intangible assets tracked in the system
  table_name: stg_ASSET
  primary_key: ID
- entity_name: Products
  entity_description: Products or services offered
  table_name: stg_PRODUCT_2
  primary_key: ID
- entity_name: AuraComponents
  entity_description: Lightning component bundles
  table_name: stg_AURA_DEFINITION_BUNDLE
  primary_key: ID
- entity_name: AuraDefinitions
  entity_description: Individual Aura component definitions
  table_name: stg_AURA_DEFINITION
  primary_key: ID
- entity_name: AuthorizationFormTexts
  entity_description: Text content for authorization forms
  table_name: stg_AUTHORIZATION_FORM_TEXT
  primary_key: ID
- entity_name: Individuals
  entity_description: Individual person records
  table_name: stg_INDIVIDUAL
  primary_key: ID
- entity_name: ContentVersions
  entity_description: Versions of content documents
  table_name: stg_CONTENT_VERSION
  primary_key: ID
- entity_name: AuthorizationForms
  entity_description: Forms for obtaining authorization or consent
  table_name: stg_AUTHORIZATION_FORM
  primary_key: ID
- entity_name: DataUsePurposes
  entity_description: Purposes for data usage in compliance with regulations
  table_name: stg_DATA_USE_PURPOSE
  primary_key: ID
- entity_name: ContentDocuments
  entity_description: Documents stored in the content management system
  table_name: stg_CONTENT_DOCUMENT
  primary_key: ID
- entity_name: AuthenticationConfigurations
  entity_description: Authentication configuration settings
  table_name: stg_AUTH_CONFIG
  primary_key: ID
- entity_name: AuthenticationProviders
  entity_description: External authentication provider configurations
  table_name: stg_AUTH_PROVIDER
  primary_key: ID
- entity_name: LoginGeographies
  entity_description: Geographical information for user logins
  table_name: stg_LOGIN_GEO
  primary_key: ID
- entity_name: UserLogins
  entity_description: User login records and statuses
  table_name: stg_USER_LOGIN
  primary_key: ID
- entity_name: AuthenticationSessions
  entity_description: User authentication session details
  table_name: stg_AUTH_SESSION
  primary_key: ID
- entity_name: BackgroundJobs
  entity_description: System background cleanup operations
  table_name: stg_BACKGROUND_OPERATION
  primary_key: ID
- entity_name: BrandingSets
  entity_description: Visual branding configurations
  table_name: stg_BRANDING_SET
  primary_key: ID
- entity_name: BriefcaseDefinitions
  entity_description: Definitions for mobile briefcases
  table_name: stg_BRIEFCASE_DEFINITION
  primary_key: ID
- entity_name: BriefcaseRules
  entity_description: Rules for data synchronization in mobile briefcases
  table_name: stg_BRIEFCASE_RULE
  primary_key: ID
- entity_name: ListViews
  entity_description: Customized views of records in the CRM
  table_name: stg_LIST_VIEW
  primary_key: ID
- entity_name: CallDispositionCategories
  entity_description: Categories for classifying call outcomes
  table_name: stg_CALL_DISPOSITION_CATEGORY
  primary_key: ID
- entity_name: RecordTypes
  entity_description: Types of records for different objects
  table_name: stg_RECORD_TYPE
  primary_key: ID
- entity_name: Campaigns
  entity_description: Marketing campaigns
  table_name: stg_CAMPAIGN
  primary_key: ID
- entity_name: Leads
  entity_description: Potential sales leads
  table_name: stg_LEAD
  primary_key: ID
- entity_name: Cases
  entity_description: Customer support cases
  table_name: stg_CASE
  primary_key: ID
- entity_name: KnowledgeArticleVersions
  entity_description: Versions of knowledge base articles
  table_name: stg_KNOWLEDGE_ARTICLE_VERSION
  primary_key: ID
- entity_name: CategoryNodes
  entity_description: Hierarchical category structure nodes
  table_name: stg_CATEGORY_NODE
  primary_key: ID
- entity_name: CommunicationConsents
  entity_description: User consents for communication subscriptions
  table_name: stg_COMM_SUBSCRIPTION_CONSENT
  primary_key: ID
- entity_name: EngagementChannels
  entity_description: Types of engagement channels for communication
  table_name: stg_ENGAGEMENT_CHANNEL_TYPE
  primary_key: ID
- entity_name: CommunicationChannelTypes
  entity_description: Types of channels for communication subscriptions
  table_name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE
  primary_key: ID
- entity_name: ExternalEvents
  entity_description: Events from external sources
  table_name: stg_EXTERNAL_EVENT
  primary_key: ID
- entity_name: PhoneContactPoints
  entity_description: Phone contact information for individuals or entities
  table_name: stg_CONTACT_POINT_PHONE
  primary_key: ID
- entity_name: Individuals
  entity_description: Represents individual people with their personal details and
    identifiers.
  table_name: stg_UNIFIED_INDIVIDUAL_DLM
  primary_key: ID
- entity_name: Brands
  entity_description: Represents custom brands with hierarchical structure and brand
    information.
  table_name: stg_CUSTOM_BRAND
  primary_key: ID
- entity_name: Organizations
  entity_description: Represents organizations with their details, preferences, and
    configurations.
  table_name: stg_ORGANIZATION
  primary_key: ID
- entity_name: ContactPhones
  entity_description: Represents unified contact point phone details for individuals
    or organizations.
  table_name: stg_UNIFIED_CONTACT_POINT_PHONE_DLM
  primary_key: ID
- entity_name: ContentDistributions
  entity_description: Represents content distribution records with distribution preferences
    and access details.
  table_name: stg_CONTENT_DISTRIBUTION
  primary_key: ID
- entity_name: ContentDistributionViews
  entity_description: Represents views of distributed content, tracking access and
    distribution details.
  table_name: stg_CONTENT_DISTRIBUTION_VIEW
  primary_key: ID
- entity_name: ContentAssets
  entity_description: Represents content assets with metadata and system tracking
    information.
  table_name: stg_CONTENT_ASSET
  primary_key: ID
- entity_name: ContentFolders
  entity_description: Represents content folders in a hierarchical structure with
    tracking information.
  table_name: stg_CONTENT_FOLDER
  primary_key: ID
- entity_name: ExternalDataSources
  entity_description: Represents external data sources with configuration and authentication
    details.
  table_name: stg_EXTERNAL_DATA_SOURCE
  primary_key: ID
- entity_name: Images
  entity_description: Represents image files with metadata and system tracking information.
  table_name: stg_IMAGE
  primary_key: ID
- entity_name: ContentWorkspaces
  entity_description: Represents content workspaces with configuration and associated
    folder information.
  table_name: stg_CONTENT_WORKSPACE
  primary_key: ID
- entity_name: ContentWorkspacePermissions
  entity_description: Represents permission sets for content workspaces defining user
    roles and access rights.
  table_name: stg_CONTENT_WORKSPACE_PERMISSION
  primary_key: ID
- entity_name: CustomHelpMenuItems
  entity_description: Represents custom help menu items with hierarchical structure
    and display information.
  table_name: stg_CUSTOM_HELP_MENU_ITEM
  primary_key: ID
- entity_name: CustomPermissions
  entity_description: Represents custom permissions in a software system with associated
    metadata.
  table_name: stg_CUSTOM_PERMISSION
  primary_key: ID
- entity_name: Reports
  entity_description: Represents reports in a system with associated metadata and
    usage information.
  table_name: stg_REPORT
  primary_key: ID
- entity_name: Dashboards
  entity_description: Represents dashboards with their visual properties and associated
    metadata.
  table_name: stg_DASHBOARD
  primary_key: ID
- entity_name: DataSpaces
  entity_description: Represents data spaces in a system with configuration and tracking
    information.
  table_name: stg_DATA_SPACE
  primary_key: ID
- entity_name: MultiOrgConnections
  entity_description: Represents multi-org connections in Salesforce with connection
    details and status.
  table_name: stg_DATA_MULTI_ORG_CONNECTION
  primary_key: ID
- entity_name: TabDefinitions
  entity_description: Represents Salesforce tab definitions with availability and
    configuration details.
  table_name: stg_TAB_DEFINITION
  primary_key: ID
- entity_name: DataQueryWorkspaces
  entity_description: Represents data query workspaces with associated metadata and
    tracking information.
  table_name: stg_DATA_QUERY_WORKSPACE
  primary_key: ID
- entity_name: DataSpaceFilterCriteria
  entity_description: Represents filter criteria for data spaces with hierarchical
    relationships.
  table_name: stg_DATA_SPACE_FILTER_CRITERIA
  primary_key: ID
- entity_name: DataUseLegalBases
  entity_description: Represents legal bases for data use with associated metadata
    and descriptions.
  table_name: stg_DATA_USE_LEGAL_BASIS
  primary_key: ID
- entity_name: Documents
  entity_description: Represents documents with content, visibility settings, and
    tracking information.
  table_name: stg_DOCUMENT
  primary_key: ID
- entity_name: Domains
  entity_description: Represents domain configurations with HTTPS and HSTS settings.
  table_name: stg_DOMAIN
  primary_key: ID
- entity_name: Sites
  entity_description: Represents site configurations for a web platform with various
    functionality options.
  table_name: stg_SITE
  primary_key: ID
- entity_name: DuplicateRecordSets
  entity_description: Represents sets of duplicate records identified by duplicate
    rules.
  table_name: stg_DUPLICATE_RECORD_SET
  primary_key: ID
- entity_name: DuplicateRules
  entity_description: Represents duplicate rules in a Salesforce system for identifying
    duplicate records.
  table_name: stg_DUPLICATE_RULE
  primary_key: ID
- entity_name: ManagedContents
  entity_description: Represents managed content items with associated metadata and
    space information.
  table_name: stg_MANAGED_CONTENT
  primary_key: ID
- entity_name: EmailRelays
  entity_description: Represents email relay settings for configuring email relay
    servers.
  table_name: stg_EMAIL_RELAY
  primary_key: ID
- entity_name: ActionCadenceStepTrackers
  entity_description: Represents trackers for steps within action cadences, tracking
    progress and status.
  table_name: stg_ACTION_CADENCE_STEP_TRACKER
  primary_key: ID
- entity_name: Attachments
  entity_description: Represents file attachments with associated metadata and content
    information.
  table_name: stg_ATTACHMENT
  primary_key: ID
- entity_name: EmailRoutingAddresses
  entity_description: Represents email routing addresses with associated service and
    personal information.
  table_name: stg_EMAIL_ROUTING_ADDRESS
  primary_key: ID
- entity_name: EmailMessages
  entity_description: Represents email messages with content, recipient information,
    and tracking data.
  table_name: stg_EMAIL_MESSAGE
  primary_key: ID
- entity_name: EmailServiceAddresses
  entity_description: Represents email service addresses with authorization and function
    associations.
  table_name: stg_EMAIL_SERVICES_ADDRESS
  primary_key: ID
- entity_name: EmailServiceFunctions
  entity_description: Represents email service functions with security settings and
    action configurations.
  table_name: stg_EMAIL_SERVICES_FUNCTION
  primary_key: ID
- entity_name: BrandTemplates
  entity_description: Represents brand templates with configuration details and tracking
    information.
  table_name: stg_BRAND_TEMPLATE
  primary_key: ID
- entity_name: EmbeddedServiceDetails
  entity_description: Represents embedded service details with configuration settings
    for customer service interfaces.
  table_name: stg_EMBEDDED_SERVICE_DETAIL
  primary_key: ID
- entity_name: EventRelayConfigs
  entity_description: Represents event relay configurations with destination and relay
    options.
  table_name: stg_EVENT_RELAY_CONFIG
  primary_key: ID
- entity_name: StaticResources
  entity_description: Represents static resources with content type and version information.
  table_name: stg_STATIC_RESOURCE
  primary_key: ID
- entity_name: NamedCredentials
  entity_description: Represents named credentials with authentication and callout
    options.
  table_name: stg_NAMED_CREDENTIAL
  primary_key: ID
- entity_name: FlowDefinitions
  entity_description: Represents flow definitions with process type, trigger type,
    and version information.
  table_name: stg_FLOW_DEFINITION_VIEW
  primary_key: ID
- entity_name: FlowInterviewLogs
  entity_description: Represents logs of Flow interviews with execution details and
    status.
  table_name: stg_FLOW_INTERVIEW_LOG
  primary_key: ID
- entity_name: FlowRecordVersions
  entity_description: Represents versions of flow records with activation status and
    run mode information.
  table_name: stg_FLOW_RECORD_VERSION
  primary_key: ID
- entity_name: FlowRecords
  entity_description: Represents flow records with status, progress, and error information.
  table_name: stg_FLOW_RECORD
  primary_key: ID
- entity_name: MarketSegments
  entity_description: Represents market segments with criteria, schedules, and member
    counts.
  table_name: stg_MARKET_SEGMENT
  primary_key: ID
- entity_name: FormulaFunctions
  entity_description: Represents formula functions with category and usage information.
  table_name: stg_FORMULA_FUNCTION
  primary_key: ID
- entity_name: GoalDefinitions
  entity_description: Represents goal definitions with basic information and parent-child
    relationships.
  table_name: stg_GOAL_DEFINITION
  primary_key: ID
- entity_name: GoalAssignments
  entity_description: Represents individual goals assigned to users or teams with
    target metrics.
  table_name: stg_GOAL_ASSIGNMENT
  primary_key: ID
- entity_name: GoalAssignmentRecommendations
  entity_description: Represents recommendations for goal assignments with action
    types and scores.
  table_name: stg_GOAL_ASSIGNMENT_RECOMMENDATION
  primary_key: ID
- entity_name: PermissionSetLicenses
  entity_description: Represents Permission Set Licenses with allowed permissions
    for various Salesforce features.
  table_name: stg_PERMISSION_SET_LICENSE
  primary_key: ID
- entity_name: Groups
  entity_description: Organizational units or roles within a system
  table_name: stg_GROUP
  primary_key: ID
- entity_name: PaymentGatewayProviders
  entity_description: External services for processing payments
  table_name: stg_PAYMENT_GATEWAY_PROVIDER
  primary_key: ID
- entity_name: ConnectedApplications
  entity_description: External applications integrated with the main system
  table_name: stg_CONNECTED_APPLICATION
  primary_key: ID
- entity_name: KnowledgeArticleVersions
  entity_description: Different versions of knowledge base articles
  table_name: stg_KNOWLEDGE_KAV
  primary_key: ID
- entity_name: KnowledgeCategories
  entity_description: Categories for organizing knowledge base content
  table_name: stg_KNOWLEDGE_DATA_CATEGORY_SELECTION
  primary_key: ID
- entity_name: EmailContent
  entity_description: Content and performance metrics for email campaigns
  table_name: stg_EMAIL_CONTENT
  primary_key: ID
- entity_name: FlowRecordElements
  entity_description: Individual elements within a flow process
  table_name: stg_FLOW_RECORD_ELEMENT
  primary_key: ID
- entity_name: EmailLists
  entity_description: Lists for email campaigns with performance metrics
  table_name: stg_LIST_EMAIL
  primary_key: ID
- entity_name: ContentWorkspaces
  entity_description: Managed spaces for organizing content
  table_name: stg_MANAGED_CONTENT_SPACE
  primary_key: ID
- entity_name: DataGraphs
  entity_description: Representations of data relationships or structures
  table_name: stg_DATA_GRAPH
  primary_key: ID
- entity_name: MatchingRules
  entity_description: Rules for matching records in a CRM system
  table_name: stg_MATCHING_RULE
  primary_key: ID
- entity_name: MerchantAccounts
  entity_description: Accounts for merchants in a payment or e-commerce system
  table_name: stg_MERCHANT_ACCOUNT
  primary_key: ID
- entity_name: PaymentMethodSets
  entity_description: Sets of payment methods associated with merchant accounts
  table_name: stg_MERCH_ACC_PAYMENT_METHOD_SET
  primary_key: ID
- entity_name: Notes
  entity_description: Text-based annotations or reminders
  table_name: stg_NOTE
  primary_key: ID
- entity_name: OAuthCustomScopes
  entity_description: Custom authorization scopes for OAuth
  table_name: stg_OAUTH_CUSTOM_SCOPE
  primary_key: ID
- entity_name: AppMenuItems
  entity_description: Items in the application menu or navigation
  table_name: stg_APP_MENU_ITEM
  primary_key: ID
- entity_name: OAuthTokenExchangeHandlers
  entity_description: Handlers for OAuth token exchanges
  table_name: stg_OAUTH_TOKEN_EXCHANGE_HANDLER
  primary_key: ID
- entity_name: DataImportJobs
  entity_description: Records of data import operations
  table_name: stg_OBJECT_DATA_IMPORT
  primary_key: ID
- entity_name: Holidays
  entity_description: Holiday events and their details
  table_name: stg_HOLIDAY
  primary_key: ID
- entity_name: OperatingHours
  entity_description: Business hours of operation
  table_name: stg_OPERATING_HOURS
  primary_key: ID
- entity_name: PriceBooks
  entity_description: Collections of product prices
  table_name: stg_PRICEBOOK_2
  primary_key: ID
- entity_name: PriceBookEntries
  entity_description: Individual price entries within a price book
  table_name: stg_PRICEBOOK_ENTRY
  primary_key: ID
- entity_name: OpportunityPartners
  entity_description: Partner relationships in sales opportunities
  table_name: stg_OPPORTUNITY_PARTNER
  primary_key: ID
- entity_name: OrganizationEmailAddresses
  entity_description: Email addresses used organization-wide
  table_name: stg_ORG_WIDE_EMAIL_ADDRESS
  primary_key: ID
- entity_name: PaymentAuthorizations
  entity_description: Authorizations for payment transactions
  table_name: stg_PAYMENT_AUTHORIZATION
  primary_key: ID
- entity_name: PaymentGroups
  entity_description: Groups of related payments
  table_name: stg_PAYMENT_GROUP
  primary_key: ID
- entity_name: PaymentMethods
  entity_description: Methods used for making payments
  table_name: stg_PAYMENT_METHOD
  primary_key: ID
- entity_name: UserLicenses
  entity_description: Licenses assigned to users in the system
  table_name: stg_USER_LICENSE
  primary_key: ID
- entity_name: PermissionSetGroups
  entity_description: Groups of permission sets
  table_name: stg_PERMISSION_SET_GROUP
  primary_key: ID
- entity_name: UserProfiles
  entity_description: Profiles defining user permissions and access
  table_name: stg_PROFILE
  primary_key: ID
- entity_name: PermissionSets
  entity_description: Sets of permissions for users
  table_name: stg_PERMISSION_SET
  primary_key: ID
- entity_name: ProcessDefinitions
  entity_description: Definitions of business processes
  table_name: stg_PROCESS_DEFINITION
  primary_key: ID
- entity_name: ProcessInstances
  entity_description: Instances of running business processes
  table_name: stg_PROCESS_INSTANCE
  primary_key: ID
- entity_name: ProcessNodes
  entity_description: Individual nodes within a process flow
  table_name: stg_PROCESS_NODE
  primary_key: ID
- entity_name: PromptVersions
  entity_description: Versions of user prompts or notifications
  table_name: stg_PROMPT_VERSION
  primary_key: ID
- entity_name: PromptActions
  entity_description: User interactions with system prompts
  table_name: stg_PROMPT_ACTION
  primary_key: ID
- entity_name: QuickTexts
  entity_description: Predefined text snippets for quick insertion
  table_name: stg_QUICK_TEXT
  primary_key: ID
- entity_name: UserRoles
  entity_description: Roles assigned to users in the system
  table_name: stg_USER_ROLE
  primary_key: ID
- entity_name: FlowInterviews
  entity_description: Instances of flow executions
  table_name: stg_FLOW_INTERVIEW
  primary_key: ID
- entity_name: BusinessProcesses
  entity_description: Defined business processes in the system
  table_name: stg_BUSINESS_PROCESS
  primary_key: ID
- entity_name: RefundLinePayments
  entity_description: Payment details for individual refund lines
  table_name: stg_REFUND_LINE_PAYMENT
  primary_key: ID
- entity_name: Payments
  entity_description: Payment transactions
  table_name: stg_PAYMENT
  primary_key: ID
- entity_name: Refunds
  entity_description: Refund transactions
  table_name: stg_REFUND
  primary_key: ID
- entity_name: AccountsSSoT
  entity_description: Single source of truth for account information
  table_name: stg_SSOT_ACCOUNT_DLM
  primary_key: ID
- entity_name: ContactPointPhonesSSoT
  entity_description: Single source of truth for phone contact points
  table_name: stg_SSOT_CONTACT_POINT_PHONE_DLM
  primary_key: ID
- entity_name: ContactPointEmailsSSoT
  entity_description: Single source of truth for email contact points
  table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
  primary_key: ID
- entity_name: IndividualsSSoT
  entity_description: Single source of truth for individual person records
  table_name: stg_SSOT_INDIVIDUAL_DLM
  primary_key: ID
- entity_name: ContactPointAddressesSSoT
  entity_description: Single source of truth for address contact points
  table_name: stg_SSOT_CONTACT_POINT_ADDRESS_DLM
  primary_key: ID
- entity_name: ContactPointAddresses
  entity_description: Address contact points for various entities
  table_name: stg_CONTACT_POINT_ADDRESS
  primary_key: ID
- entity_name: ContactPointEmails
  entity_description: Email contact points for various entities
  table_name: stg_CONTACT_POINT_EMAIL
  primary_key: ID
- entity_name: Stamps
  entity_description: Represents stamps or labels with hierarchical structure and
    metadata
  table_name: stg_STAMP
  primary_key: ID
- entity_name: Tasks
  entity_description: Represents tasks or activities with comprehensive tracking details
  table_name: stg_TASK
  primary_key: ID
- entity_name: SAML SSO Configurations
  entity_description: Represents SAML Single Sign-On configuration settings for applications
    or services
  table_name: stg_SAML_SSO_CONFIG
  primary_key: ID
- entity_name: UI Formula Rules
  entity_description: Represents formula rules for user interface elements
  table_name: stg_UI_FORMULA_RULE
  primary_key: ID
- entity_name: User-Defined Labels
  entity_description: Represents custom labels created by users with associated metadata
  table_name: stg_USER_DEFINED_LABEL
  primary_key: ID
- entity_name: User List View Relations
  entity_description: Represents the relationship between users and list views they
    have access to
  table_name: stg_USER_LIST_VIEW
  primary_key: ID
- entity_name: Package Licenses
  entity_description: Represents license information for software packages or applications
  table_name: stg_PACKAGE_LICENSE
  primary_key: ID
- entity_name: User Provisioning Requests
  entity_description: Represents requests for user account provisioning in connected
    systems
  table_name: stg_USER_PROVISIONING_REQUEST
  primary_key: ID
- entity_name: User Provisioning Accounts
  entity_description: Represents linked accounts between external systems and internal
    users
  table_name: stg_USER_PROV_ACCOUNT
  primary_key: ID
- entity_name: User Provisioning Configurations
  entity_description: Represents configuration settings for user provisioning processes
  table_name: stg_USER_PROVISIONING_CONFIG
  primary_key: ID
- entity_name: Setup Entity Access Rules
  entity_description: Represents access rules for setup entities in a system
  table_name: stg_SETUP_ENTITY_ACCESS
  primary_key: ID
- entity_name: User Work Lists
  entity_description: Represents work lists created and managed by users
  table_name: stg_USER_WORK_LIST
  primary_key: ID
- entity_name: Video Calls
  entity_description: Represents video call records with associated metadata and analytics
  table_name: stg_VIDEO_CALL
  primary_key: ID
- entity_name: S-Control Components
  entity_description: Represents S-Control components used in Salesforce for custom
    content
  table_name: stg_SCONTROL
  primary_key: ID
relations:
- relation_name: UserAccountProfileRoleAssociation
  relation_description: Users belong to Accounts, may be linked to Contacts, use CallCenters,
    have Individuals' data, are assigned UserProfiles and UserRoles.
  table_name: stg_USER
  entities:
  - Users
  - Accounts
  - Contacts
  - CallCenters
  - Individuals
  - UserProfiles
  - UserRoles
- relation_name: AccountUserActionCadenceManagement
  relation_description: Accounts are managed by Users, and ActionCadences are associated
    with Accounts for tracking and scheduling activities.
  table_name: stg_ACCOUNT
  entities:
  - Accounts
  - Users
  - ActionCadences
- relation_name: SalesOpportunityManagement
  relation_description: Opportunities are sales prospects associated with Accounts,
    managed by Users, linked to Contacts, and potentially using PriceBooks for pricing.
  table_name: stg_OPPORTUNITY
  entities:
  - Opportunities
  - Users
  - Accounts
  - Contacts
  - PriceBooks
- relation_name: BusinessPartnershipManagement
  relation_description: BusinessPartnerships link Accounts and Opportunities, managed
    by Users who create and modify partnership details.
  table_name: BusinessPartnershipManagement
  entities:
  - BusinessPartnerships
  - Users
  - Accounts
  - Opportunities
- relation_name: UserEventAccountContactInteraction
  relation_description: Users create and own Events, which can be associated with
    Accounts and involve Contacts as participants.
  table_name: stg_EVENT
  entities:
  - Events
  - Users
  - Accounts
  - Contacts
- relation_name: UserManagedTags
  relation_description: This stores the Tag definitions that can be created, modified,
    or deleted by Users within a system.
  table_name: stg_TAG_DEFINITION
  entities:
  - Tags
  - Users
- relation_name: UserManagedCadenceOrganization
  relation_description: ActionCadences are created and managed by Users, and organized
    within Folders for efficient sales process execution.
  table_name: stg_ACTION_CADENCE
  entities:
  - ActionCadences
  - Users
  - Folders
- relation_name: ContactRelationshipManagement
  relation_description: Contacts belong to Accounts, are managed by Users, participate
    in ActionCadences, and are associated with Individuals for personalization.
  table_name: stg_CONTACT
  entities:
  - Contacts
  - Users
  - Accounts
  - ActionCadences
  - Individuals
- relation_name: UserManagedFolders
  relation_description: Folders are created, modified, and managed by Users, who have
    specific roles and permissions within the system.
  table_name: stg_FOLDER
  entities:
  - Folders
  - Users
- relation_name: ActionCadenceStepFlow
  relation_description: Action Cadences contain multiple Cadence Steps, which are
    created by Users and may include Email Templates for communication.
  table_name: stg_ACTION_CADENCE_STEP
  entities:
  - CadenceSteps
  - Users
  - ActionCadences
  - EmailTemplates
- relation_name: UserManagedCadenceRuleSteps
  relation_description: CadenceRules define conditions and outcomes for CadenceSteps,
    which are managed and modified by Users.
  table_name: stg_ACTION_CADENCE_RULE
  entities:
  - CadenceRules
  - Users
  - CadenceSteps
- relation_name: EmailTemplateManagement
  relation_description: EmailTemplates are created by Users, stored in Folders, and
    can be associated with BrandTemplates for consistent styling across communications.
  table_name: stg_EMAIL_TEMPLATE
  entities:
  - EmailTemplates
  - Users
  - Folders
  - BrandTemplates
- relation_name: UserCadenceProgressTracking
  relation_description: CadenceTrackers monitor Users' progress through ActionCadences,
    which consist of CadenceSteps and are governed by CadenceRules.
  table_name: stg_ACTION_CADENCE_TRACKER
  entities:
  - CadenceTrackers
  - Users
  - ActionCadences
  - CadenceSteps
  - CadenceRules
- relation_name: UserManagedActionLinkGroupTemplates
  relation_description: ActionLinkGroupTemplates are created, modified, and managed
    by Users who have specific permissions within the system.
  table_name: stg_ACTION_LINK_GROUP_TEMPLATE
  entities:
  - ActionLinkGroupTemplates
  - Users
- relation_name: CallCenterUserManagement
  relation_description: CallCenters are managed and modified by Users who create,
    update, and potentially delete call center records.
  table_name: stg_CALL_CENTER
  entities:
  - CallCenters
  - Users
- relation_name: PaymentGatewayConfiguration
  relation_description: PaymentGateways are configured by Users, integrated with PaymentGatewayProviders,
    and associated with MerchantAccounts for processing financial transactions.
  table_name: stg_PAYMENT_GATEWAY
  entities:
  - PaymentGateways
  - Users
  - PaymentGatewayProviders
  - MerchantAccounts
- relation_name: UserManagedApexPages
  relation_description: ApexPages are created, modified, and managed by Users who
    have access to the Salesforce development environment.
  table_name: stg_APEX_PAGE
  entities:
  - ApexPages
  - Users
- relation_name: AssetManagementSystem
  relation_description: Assets are owned by Accounts, associated with Contacts, derived
    from Products, and managed by Users through creation, modification, and deletion.
  table_name: stg_ASSET
  entities:
  - Assets
  - Users
  - Accounts
  - Contacts
  - Products
- relation_name: ProductManagementSystem
  relation_description: Products are created and modified by Users, and may be linked
    to ExternalDataSources for additional information and synchronization.
  table_name: stg_PRODUCT_2
  entities:
  - Products
  - Users
  - ExternalDataSources
- relation_name: AuraComponentUserManagement
  relation_description: AuraComponents are created, modified, and managed by Users
    in the Salesforce Lightning framework.
  table_name: stg_AURA_DEFINITION_BUNDLE
  entities:
  - AuraComponents
  - Users
- relation_name: UserManagedAuraDefinitions
  relation_description: AuraDefinitions are created and modified by Users and belong
    to AuraComponents, defining their structure and behavior.
  table_name: stg_AURA_DEFINITION
  entities:
  - AuraDefinitions
  - Users
  - AuraComponents
- relation_name: AuthorizationFormTextManagement
  relation_description: AuthorizationFormTexts are created by Users, associated with
    AuthorizationForms, and linked to ContentDocuments for storing form content.
  table_name: stg_AUTHORIZATION_FORM_TEXT
  entities:
  - AuthorizationFormTexts
  - Users
  - AuthorizationForms
  - ContentDocuments
- relation_name: UserManagedIndividuals
  relation_description: This stores Individual records created and managed by Users,
    where Users are identified by OWNER_ID and other system fields.
  table_name: stg_INDIVIDUAL
  entities:
  - Individuals
  - Users
- relation_name: DocumentVersionTracking
  relation_description: ContentVersions track different versions of ContentDocuments,
    created and modified by Users, potentially linked to ExternalDataSources.
  table_name: stg_CONTENT_VERSION
  entities:
  - ContentVersions
  - Users
  - ContentDocuments
  - ExternalDataSources
- relation_name: UserManagedAuthorizationForms
  relation_description: AuthorizationForms are created and managed by Users, and can
    reference default text from AuthorizationFormTexts.
  table_name: stg_AUTHORIZATION_FORM
  entities:
  - AuthorizationForms
  - Users
  - AuthorizationFormTexts
- relation_name: UserManagedDataPurposesWithLegalBases
  relation_description: DataUsePurposes define specific purposes for data use, created
    and managed by Users, and associated with DataUseLegalBases for compliance.
  table_name: stg_DATA_USE_PURPOSE
  entities:
  - DataUsePurposes
  - Users
  - DataUseLegalBases
- relation_name: ContentDocumentManagement
  relation_description: ContentDocuments are created and managed by Users, linked
    to ContentVersions for versioning, and associated with ContentAssets for reusable
    content.
  table_name: stg_CONTENT_DOCUMENT
  entities:
  - ContentDocuments
  - Users
  - ContentVersions
  - ContentAssets
- relation_name: UserManagedAuthConfigs
  relation_description: Authentication Configurations are created, modified, and managed
    by Users who have access to configure authentication settings.
  table_name: stg_AUTH_CONFIG
  entities:
  - AuthenticationConfigurations
  - Users
- relation_name: UserAuthenticationOptions
  relation_description: Authentication Providers offer various login methods and security
    options for Users to access the system securely.
  table_name: stg_AUTH_PROVIDER
  entities:
  - AuthenticationProviders
  - Users
- relation_name: UserLoginLocations
  relation_description: LoginGeographies record the geographical details of login
    events performed by Users.
  table_name: stg_LOGIN_GEO
  entities:
  - LoginGeographies
  - Users
- relation_name: UserLoginDetails
  relation_description: UserLogins tracks login details and account status for Users,
    including whether their account is frozen or password-locked.
  table_name: stg_USER_LOGIN
  entities:
  - UserLogins
  - Users
- relation_name: UserAuthenticationSessionLog
  relation_description: AuthenticationSessions track login events for Users, including
    their LoginGeographies and UserLogins details, forming a comprehensive session
    record.
  table_name: stg_AUTH_SESSION
  entities:
  - AuthenticationSessions
  - Users
  - LoginGeographies
  - UserLogins
- relation_name: UserManagedBackgroundJobs
  relation_description: BackgroundJobs are system cleanup operations initiated and
    managed by Users who create and modify these jobs.
  table_name: stg_BACKGROUND_OPERATION
  entities:
  - BackgroundJobs
  - Users
- relation_name: UserManagedBrandingSets
  relation_description: BrandingSets are created, modified, and managed by Users who
    have specific roles and permissions in the system.
  table_name: stg_BRANDING_SET
  entities:
  - BrandingSets
  - Users
- relation_name: UserManagedBriefcaseDefinitions
  relation_description: BriefcaseDefinitions are created, modified, and managed by
    Users who have specific roles and permissions in the system.
  table_name: stg_BRIEFCASE_DEFINITION
  entities:
  - BriefcaseDefinitions
  - Users
- relation_name: UserManagedBriefcaseRuleConfigurations
  relation_description: BriefcaseRules define synchronization criteria for BriefcaseDefinitions,
    which are created and modified by Users.
  table_name: stg_BRIEFCASE_RULE
  entities:
  - BriefcaseRules
  - Users
  - BriefcaseDefinitions
- relation_name: UserCreatedListViews
  relation_description: Users create and modify ListViews, which are customized data
    views within a CRM or similar system.
  table_name: stg_LIST_VIEW
  entities:
  - ListViews
  - Users
- relation_name: UserManagedCallDispositionCategories
  relation_description: CallDispositionCategories are created, modified, and managed
    by Users who have system access and privileges.
  table_name: stg_CALL_DISPOSITION_CATEGORY
  entities:
  - CallDispositionCategories
  - Users
- relation_name: UserManagedRecordTypeProcesses
  relation_description: RecordTypes are created and modified by Users and can be associated
    with BusinessProcesses for specific object types.
  table_name: stg_RECORD_TYPE
  entities:
  - RecordTypes
  - Users
  - BusinessProcesses
- relation_name: CampaignManagementAndMemberClassification
  relation_description: Campaigns are created and managed by Users, and use RecordTypes
    to categorize campaign members.
  table_name: stg_CAMPAIGN
  entities:
  - Campaigns
  - Users
  - RecordTypes
- relation_name: LeadManagementAndConversionProcess
  relation_description: Leads are potential customers managed by Users, which can
    convert into Accounts, Contacts, and Opportunities.  ActionCadences automate lead
    engagement. Leads may be associated with Individuals for personalized tracking.
  table_name: stg_LEAD
  entities:
  - Leads
  - Users
  - Accounts
  - Opportunities
  - ActionCadences
  - Contacts
  - Individuals
- relation_name: CustomerSupportCaseManagement
  relation_description: Cases are created for Accounts by Users, often associated
    with specific Contacts, tracking customer support interactions and resolutions.
  table_name: stg_CASE
  entities:
  - Cases
  - Users
  - Accounts
  - Contacts
- relation_name: UserManagedArticleVersions
  relation_description: KnowledgeArticleVersions are created, modified, and managed
    by Users who act as owners, creators, or reviewers.
  table_name: stg_KNOWLEDGE_ARTICLE_VERSION
  entities:
  - KnowledgeArticleVersions
  - Users
- relation_name: CategoryNodeManagement
  relation_description: CategoryNodes are created, modified, and managed by Users
    within a hierarchical structure.
  table_name: stg_CATEGORY_NODE
  entities:
  - CategoryNodes
  - Users
- relation_name: UserCommunicationConsentManagement
  relation_description: CommunicationConsents record Users' permissions for specific
    DataUsePurposes via EngagementChannels, utilizing various CommunicationChannelTypes
    for contacting individuals.
  table_name: stg_COMM_SUBSCRIPTION_CONSENT
  entities:
  - CommunicationConsents
  - Users
  - DataUsePurposes
  - EngagementChannels
  - CommunicationChannelTypes
- relation_name: UserManagedEngagementChannels
  relation_description: EngagementChannels are created and managed by Users who own,
    create, and modify these channels for communication purposes.
  table_name: stg_ENGAGEMENT_CHANNEL_TYPE
  entities:
  - EngagementChannels
  - Users
- relation_name: SubscriptionChannelPreferences
  relation_description: CommunicationChannelTypes define subscription preferences,
    created by Users, for specific EngagementChannels, adhering to DataUsePurposes,
    and linked to CommunicationConsents.
  table_name: stg_COMM_SUBSCRIPTION_CHANNEL_TYPE
  entities:
  - CommunicationChannelTypes
  - Users
  - DataUsePurposes
  - CommunicationConsents
  - EngagementChannels
- relation_name: UserManagedExternalEvents
  relation_description: Users create and modify ExternalEvents, which are tracked
    with details like creation date, modification date, and user IDs.
  table_name: stg_EXTERNAL_EVENT
  entities:
  - ExternalEvents
  - Users
- relation_name: UserPhoneContactDetails
  relation_description: Users own PhoneContactPoints, which store various phone-related
    details and preferences for contacting individuals or businesses.
  table_name: stg_CONTACT_POINT_PHONE
  entities:
  - PhoneContactPoints
  - Users
- relation_name: IndividualSingleSourceOfTruth
  relation_description: Individuals represent unique persons, while IndividualsSSoT
    contains the Single Source of Truth data for those individuals.
  table_name: stg_UNIFIED_INDIVIDUAL_DLM
  entities:
  - Individuals
  - IndividualsSSoT
- relation_name: BrandHierarchyUserManagement
  relation_description: Brands form a hierarchical structure where each brand can
    have a parent brand, and Users create and modify these brand records.
  table_name: stg_CUSTOM_BRAND
  entities:
  - Brands
  - Users
- relation_name: OrganizationUserMembership
  relation_description: Organizations represent company entities that Users belong
    to and operate within, defining settings and permissions for their members.
  table_name: stg_ORGANIZATION
  entities:
  - Organizations
  - Users
- relation_name: UserContentDistribution
  relation_description: Users create ContentDistributions to share ContentVersions
    of ContentDocuments with specific distribution settings and tracking information.
  table_name: stg_CONTENT_DISTRIBUTION
  entities:
  - ContentDistributions
  - Users
  - ContentVersions
  - ContentDocuments
- relation_name: UserContentDistributionViewTracking
  relation_description: ContentDistributionViews track how Users access and view ContentDistributions,
    recording viewer details and distribution settings.
  table_name: stg_CONTENT_DISTRIBUTION_VIEW
  entities:
  - ContentDistributionViews
  - Users
  - ContentDistributions
- relation_name: ContentAssetManagement
  relation_description: ContentAssets are created and modified by Users and are associated
    with ContentDocuments, tracking asset metadata and visibility.
  table_name: stg_CONTENT_ASSET
  entities:
  - ContentAssets
  - Users
  - ContentDocuments
- relation_name: UserManagedContentFolders
  relation_description: ContentFolders are created, modified, and organized hierarchically
    by Users who manage the content structure.
  table_name: stg_CONTENT_FOLDER
  entities:
  - ContentFolders
  - Users
- relation_name: ExternalDataSourceConfiguration
  relation_description: ExternalDataSources are configured by Users, authenticated
    through AuthenticationProviders, use StaticResources for icons, and leverage NamedCredentials
    for secure access.
  table_name: stg_EXTERNAL_DATA_SOURCE
  entities:
  - ExternalDataSources
  - Users
  - AuthenticationProviders
  - StaticResources
  - NamedCredentials
- relation_name: UserManagedImageContent
  relation_description: Users create and manage Images, which are associated with
    ContentDocuments for storage and organization within the system.
  table_name: stg_IMAGE
  entities:
  - Images
  - Users
  - ContentDocuments
- relation_name: ContentWorkspaceManagement
  relation_description: ContentWorkspaces are created and modified by Users, utilize
    RecordTypes, contain ContentFolders, and may feature Images as workspace icons.
  table_name: stg_CONTENT_WORKSPACE
  entities:
  - ContentWorkspaces
  - Users
  - RecordTypes
  - ContentFolders
  - Images
- relation_name: UserContentWorkspaceAccess
  relation_description: ContentWorkspacePermissions define access levels for Users
    in content workspaces, specifying what actions they can perform.
  table_name: stg_CONTENT_WORKSPACE_PERMISSION
  entities:
  - ContentWorkspacePermissions
  - Users
- relation_name: UserManagedHelpMenuItems
  relation_description: CustomHelpMenuItems are created, modified, and managed by
    Users who have system access and permissions.
  table_name: stg_CUSTOM_HELP_MENU_ITEM
  entities:
  - CustomHelpMenuItems
  - Users
- relation_name: UserManagedCustomPermissions
  relation_description: CustomPermissions are created, modified, and managed by Users
    within the software system.
  table_name: stg_CUSTOM_PERMISSION
  entities:
  - CustomPermissions
  - Users
- relation_name: UserReportManagement
  relation_description: Reports are created, owned, and modified by Users who have
    access to view and manage these reports.
  table_name: stg_REPORT
  entities:
  - Reports
  - Users
- relation_name: UserDashboardManagement
  relation_description: Dashboards are created, owned, and managed by Users, who can
    view, modify, and interact with the dashboards.
  table_name: stg_DASHBOARD
  entities:
  - Dashboards
  - Users
- relation_name: UserAdministeredInternalDataSpaces
  relation_description: Users with administrative access create, modify, and manage
    internal DataSpaces within the system. This relationship tracks the creation,
    modification, and properties of these internal data spaces, including their status,
    description, and system metadata.
  table_name: stg_DATA_SPACE
  entities:
  - DataSpaces
  - Users
- relation_name: UserManagedConnections
  relation_description: MultiOrgConnections are established and managed by Users who
    create, modify, and connect to different Salesforce organizations.
  table_name: stg_DATA_MULTI_ORG_CONNECTION
  entities:
  - MultiOrgConnections
  - Users
- relation_name: UserManagedWorkspacesWithLandingTab
  relation_description: DataQueryWorkspaces are created and managed by Users, and
    have a landing TabDefinition for initial display.
  table_name: stg_DATA_QUERY_WORKSPACE
  entities:
  - DataQueryWorkspaces
  - Users
  - TabDefinitions
- relation_name: UserManagedFilterCriteriaStructure
  relation_description: Users create and manage the overall structure of DataSpaceFilterCriteria,
    including hierarchical relationships and general properties of the criteria.
  table_name: stg_DATA_SPACE_FILTER_CRITERIA
  entities:
  - DataSpaceFilterCriteria
  - Users
- relation_name: UserManagedLegalBases
  relation_description: DataUseLegalBases are created, modified, and owned by Users
    who have specific permissions and responsibilities for managing legal data use
    bases.
  table_name: stg_DATA_USE_LEGAL_BASIS
  entities:
  - DataUseLegalBases
  - Users
- relation_name: DocumentManagementSystem
  relation_description: Documents are created and modified by Users, stored within
    Folders, and can be accessed based on visibility settings.
  table_name: stg_DOCUMENT
  entities:
  - Documents
  - Users
  - Folders
- relation_name: UserManagedDomains
  relation_description: This tracks Domains configured and managed by Users who create
    and modify domain settings.
  table_name: stg_DOMAIN
  entities:
  - Domains
  - Users
- relation_name: SiteUserConfiguration
  relation_description: Sites are configured and managed by Users, with specific Users
    assigned as administrators and guest users for each site.
  table_name: stg_SITE
  entities:
  - Sites
  - Users
- relation_name: UserManagedDuplicateSetCreation
  relation_description: Users create, modify, and view DuplicateRecordSets based on
    DuplicateRules. This relation captures the overall management and creation process
    of duplicate record sets.
  table_name: stg_DUPLICATE_RECORD_SET
  entities:
  - DuplicateRecordSets
  - Users
  - DuplicateRules
- relation_name: UserManagedDuplicateRules
  relation_description: DuplicateRules are created and managed by Users who set up
    and maintain these rules in Salesforce.
  table_name: stg_DUPLICATE_RULE
  entities:
  - DuplicateRules
  - Users
- relation_name: UserCreatedContentInWorkspaces
  relation_description: ManagedContents are created and modified by Users within specific
    ContentWorkspaces, tracking content details and authorship.
  table_name: stg_MANAGED_CONTENT
  entities:
  - ManagedContents
  - Users
  - ContentWorkspaces
- relation_name: UserManagedEmailRelays
  relation_description: EmailRelays are configured and managed by Users who create
    and modify the email relay settings.
  table_name: stg_EMAIL_RELAY
  entities:
  - EmailRelays
  - Users
- relation_name: CadenceStepProgressTracking
  relation_description: Users manage ActionCadences, which contain CadenceSteps. CadenceTrackers
    monitor progress, while ActionCadenceStepTrackers record individual step statuses
    for each target.
  table_name: stg_ACTION_CADENCE_STEP_TRACKER
  entities:
  - ActionCadenceStepTrackers
  - Users
  - ActionCadences
  - CadenceSteps
  - CadenceTrackers
- relation_name: UserManagedAttachments
  relation_description: Attachments are files uploaded by Users, who can create, modify,
    and own these digital assets.
  table_name: stg_ATTACHMENT
  entities:
  - Attachments
  - Users
- relation_name: UserManagedEmailRoutingConfiguration
  relation_description: Users create and manage EmailRoutingAddresses, which are linked
    to EmailServiceAddresses for routing and processing incoming emails.
  table_name: stg_EMAIL_ROUTING_ADDRESS
  entities:
  - EmailRoutingAddresses
  - Users
  - EmailServiceAddresses
- relation_name: EmailCommunicationSystem
  relation_description: EmailMessages are sent by Users, can include Attachments,
    may use EmailTemplates, can be tracked by ActionCadenceStepTrackers, are associated
    with Events, and can be routed through EmailRoutingAddresses.
  table_name: stg_EMAIL_MESSAGE
  entities:
  - EmailMessages
  - Users
  - Events
  - EmailTemplates
  - ActionCadenceStepTrackers
  - Attachments
  - EmailRoutingAddresses
- relation_name: EmailServiceAddressUserFunctionAssociation
  relation_description: EmailServiceAddresses are associated with Users who create
    or modify them and linked to EmailServiceFunctions for specific email processing
    tasks.
  table_name: stg_EMAIL_SERVICES_ADDRESS
  entities:
  - EmailServiceAddresses
  - Users
  - EmailServiceFunctions
- relation_name: UserManagedEmailServices
  relation_description: EmailServiceFunctions are created, modified, and managed by
    Users who have administrative access to the email system.
  table_name: stg_EMAIL_SERVICES_FUNCTION
  entities:
  - EmailServiceFunctions
  - Users
- relation_name: UserManagedBrandTemplates
  relation_description: BrandTemplates are created, modified, and managed by Users
    who have specific roles and permissions in the system.
  table_name: stg_BRAND_TEMPLATE
  entities:
  - BrandTemplates
  - Users
- relation_name: SiteEmbeddedServiceConfiguration
  relation_description: EmbeddedServiceDetails configures the customer service interface
    for specific Sites, customizing appearance and functionality.
  table_name: stg_EMBEDDED_SERVICE_DETAIL
  entities:
  - EmbeddedServiceDetails
  - Sites
- relation_name: UserManagedEventRelays
  relation_description: EventRelayConfigs are created, modified, and managed by Users
    who set up event relay configurations in the system.
  table_name: stg_EVENT_RELAY_CONFIG
  entities:
  - EventRelayConfigs
  - Users
- relation_name: UserManagedStaticResources
  relation_description: StaticResources are created, modified, and managed by Users
    within a system that tracks resource metadata and versioning.
  table_name: stg_STATIC_RESOURCE
  entities:
  - StaticResources
  - Users
- relation_name: UserManagedCredentials
  relation_description: NamedCredentials are created and modified by Users and may
    utilize AuthenticationProviders for secure access to external systems.
  table_name: stg_NAMED_CREDENTIAL
  entities:
  - NamedCredentials
  - Users
  - AuthenticationProviders
- relation_name: UserManagedFlowInterviews
  relation_description: FlowInterviewLogs track execution details of Flows, which
    are created and modified by Users.
  table_name: stg_FLOW_INTERVIEW_LOG
  entities:
  - FlowInterviewLogs
  - Users
- relation_name: UserManagedFlowVersions
  relation_description: FlowRecordVersions track different versions of FlowRecords,
    created and modified by Users who can activate, pause, or resume them.
  table_name: stg_FLOW_RECORD_VERSION
  entities:
  - FlowRecordVersions
  - Users
  - FlowRecords
- relation_name: UserManagedFlowRecordSystem
  relation_description: FlowRecords are created and managed by Users, consist of FlowRecordVersions,
    and can be associated with MarketSegments for targeted automation.
  table_name: stg_FLOW_RECORD
  entities:
  - FlowRecords
  - Users
  - FlowRecordVersions
  - MarketSegments
- relation_name: UserManagedMarketSegmentDataAssociation
  relation_description: MarketSegments are created and managed by Users, associated
    with DataSpaces for data organization, and linked to DataGraphs for advanced analysis.
  table_name: stg_MARKET_SEGMENT
  entities:
  - MarketSegments
  - Users
  - DataSpaces
  - DataGraphs
- relation_name: UserManagedGoalDefinitions
  relation_description: Users create and manage GoalDefinitions, which can have parent-child
    relationships with other GoalDefinitions.
  table_name: stg_GOAL_DEFINITION
  entities:
  - GoalDefinitions
  - Users
- relation_name: UserGoalAssignments
  relation_description: GoalAssignments link Users to specific GoalDefinitions, tracking
    individual or team progress towards defined objectives.
  table_name: stg_GOAL_ASSIGNMENT
  entities:
  - GoalAssignments
  - Users
  - GoalDefinitions
- relation_name: UserGoalRecommendationSystem
  relation_description: GoalAssignmentRecommendations are suggested to Users, may
    include Images, and can be associated with specific GoalAssignments.
  table_name: stg_GOAL_ASSIGNMENT_RECOMMENDATION
  entities:
  - GoalAssignmentRecommendations
  - Users
  - Images
  - GoalAssignments
- relation_name: UserPermissionSetLicenses
  relation_description: Permission Set Licenses define sets of permissions that can
    be assigned to Users,  controlling their access and capabilities within Salesforce.
  table_name: stg_PERMISSION_SET_LICENSE
  entities:
  - PermissionSetLicenses
  - Users
- relation_name: GroupDetails
  relation_description: Contains comprehensive information about organizational groups,
    including their types, roles, settings, and metadata. This relation focuses on
    the attributes and properties of individual group entities.
  table_name: stg_GROUP
  entities:
  - Groups
  - Users
- relation_name: UserManagedPaymentGatewayProviders
  relation_description: PaymentGatewayProviders are created, modified, and managed
    by Users who have administrative access to the system.
  table_name: stg_PAYMENT_GATEWAY_PROVIDER
  entities:
  - PaymentGatewayProviders
  - Users
- relation_name: UserManagedConnectedApplications
  relation_description: ConnectedApplications are configured and managed by Users
    who create, modify, and potentially use these integrated external applications.
  table_name: stg_CONNECTED_APPLICATION
  entities:
  - ConnectedApplications
  - Users
- relation_name: UserManagedKnowledgeArticleVersions
  relation_description: KnowledgeArticleVersions are created, modified, and managed
    by Users who act as owners, creators, or editors.
  table_name: stg_KNOWLEDGE_KAV
  entities:
  - KnowledgeArticleVersions
  - Users
- relation_name: UserManagedKnowledgeCategories
  relation_description: KnowledgeCategories are created and managed by Users, who
    can organize them into hierarchical structures with parent-child relationships.
  table_name: stg_KNOWLEDGE_DATA_CATEGORY_SELECTION
  entities:
  - KnowledgeCategories
  - Users
- relation_name: EmailCampaignContentManagement
  relation_description: EmailContent is created by Users, based on EmailTemplates,
    and may reference ManagedContents for dynamic content insertion in email campaigns.
  table_name: stg_EMAIL_CONTENT
  entities:
  - EmailContent
  - Users
  - EmailTemplates
  - ManagedContents
- relation_name: FlowRecordElementUserVersionAssociation
  relation_description: FlowRecordElements are created and modified by Users and are
    associated with specific FlowRecordVersions in a flow automation process.
  table_name: stg_FLOW_RECORD_ELEMENT
  entities:
  - FlowRecordElements
  - Users
  - FlowRecordVersions
- relation_name: EmailListManagementSystem
  relation_description: EmailLists are created by Users, associated with Campaigns,
    and can include CadenceSteps. They use EmailContent, which may reference ManagedContents.
    Lists can target MarketSegments and involve FlowRecordElements for automation.
  table_name: stg_LIST_EMAIL
  entities:
  - EmailLists
  - Users
  - CadenceSteps
  - Campaigns
  - ManagedContents
  - MarketSegments
  - EmailContent
  - FlowRecordElements
- relation_name: UserManagedContentWorkspaces
  relation_description: ContentWorkspaces are created, modified, and viewed by Users
    who manage and interact with these content spaces.
  table_name: stg_MANAGED_CONTENT_SPACE
  entities:
  - ContentWorkspaces
  - Users
- relation_name: UserManagedDataGraphsInSpaces
  relation_description: DataGraphs are created and modified by Users and are associated
    with specific DataSpaces for organizing data visualizations.
  table_name: stg_DATA_GRAPH
  entities:
  - DataGraphs
  - Users
  - DataSpaces
- relation_name: UserManagedMatchingRules
  relation_description: Users create and modify MatchingRules in a CRM system for
    different object types like Lead, Account, and Contact.
  table_name: stg_MATCHING_RULE
  entities:
  - MatchingRules
  - Users
- relation_name: UserManagedMerchantAccounts
  relation_description: MerchantAccounts are owned and managed by Users, who can create,
    modify, and view the account details.
  table_name: stg_MERCHANT_ACCOUNT
  entities:
  - MerchantAccounts
  - Users
- relation_name: MerchantAccountPaymentMethodSetManagement
  relation_description: PaymentMethodSets are configured for MerchantAccounts and
    can be created or modified by Users.
  table_name: stg_MERCH_ACC_PAYMENT_METHOD_SET
  entities:
  - PaymentMethodSets
  - Users
  - MerchantAccounts
- relation_name: UserManagedNotes
  relation_description: Users create, own, and modify Notes, which can be organized
    hierarchically with parent-child relationships.
  table_name: stg_NOTE
  entities:
  - Notes
  - Users
- relation_name: UserManagedOAuthScopes
  relation_description: OAuthCustomScopes are created, modified, and managed by Users
    who have permissions to define and control OAuth scopes.
  table_name: stg_OAUTH_CUSTOM_SCOPE
  entities:
  - OAuthCustomScopes
  - Users
- relation_name: UserAccessibleAppMenuItems
  relation_description: AppMenuItems represent applications accessible to Users, defined
    by AppDefinitions, in a Salesforce system's menu interface.
  table_name: stg_APP_MENU_ITEM
  entities:
  - AppMenuItems
  - Users
  - AppDefinitions
- relation_name: UserManagedOAuthHandlers
  relation_description: OAuthTokenExchangeHandlers are created, modified, and managed
    by Users who have administrative access to the system.
  table_name: stg_OAUTH_TOKEN_EXCHANGE_HANDLER
  entities:
  - OAuthTokenExchangeHandlers
  - Users
- relation_name: UserManagedImports
  relation_description: DataImportJobs are created and managed by Users who initiate
    and oversee the data import process.
  table_name: stg_OBJECT_DATA_IMPORT
  entities:
  - DataImportJobs
  - Users
- relation_name: UserManagedHolidays
  relation_description: This stores Holiday events that are created and modified by
    Users, including details and recurrence information.
  table_name: stg_HOLIDAY
  entities:
  - Holidays
  - Users
- relation_name: UserOperatingHours
  relation_description: OperatingHours define the working hours for Users, typically
    for sales activities or customer service.
  table_name: stg_OPERATING_HOURS
  entities:
  - OperatingHours
  - Users
- relation_name: UserManagedPriceBooks
  relation_description: PriceBooks are created, modified, and managed by Users who
    have access to the sales system.
  table_name: stg_PRICEBOOK_2
  entities:
  - PriceBooks
  - Users
- relation_name: ProductPricingAssociations
  relation_description: PriceBookEntries link Products to PriceBooks with specific
    pricing, created and modified by Users.
  table_name: stg_PRICEBOOK_ENTRY
  entities:
  - PriceBookEntries
  - Users
  - Products
  - PriceBooks
- relation_name: OpportunityPartnershipCollaboration
  relation_description: OpportunityPartners link Opportunities with partner Accounts,
    managed by Users, tracking primary status and roles in sales collaborations.
  table_name: stg_OPPORTUNITY_PARTNER
  entities:
  - OpportunityPartners
  - Users
  - Accounts
  - Opportunities
- relation_name: UserManagedOrganizationEmails
  relation_description: Users create and manage OrganizationEmailAddresses, which
    are used for company-wide communication purposes.
  table_name: stg_ORG_WIDE_EMAIL_ADDRESS
  entities:
  - OrganizationEmailAddresses
  - Users
- relation_name: PaymentAuthorizationProcessing
  relation_description: PaymentAuthorizations are created for Accounts using PaymentMethods
    through PaymentGateways, grouped in PaymentGroups, and managed by Users.
  table_name: stg_PAYMENT_AUTHORIZATION
  entities:
  - PaymentAuthorizations
  - Users
  - Accounts
  - PaymentGateways
  - PaymentGroups
  - PaymentMethods
- relation_name: UserManagedPaymentGroups
  relation_description: PaymentGroups are created and modified by Users, who are tracked
    through their IDs in the payment group records.
  table_name: stg_PAYMENT_GROUP
  entities:
  - PaymentGroups
  - Users
- relation_name: AccountPaymentMethodManagement
  relation_description: PaymentMethods are linked to Accounts, which are managed by
    Users who create and modify the payment information.
  table_name: stg_PAYMENT_METHOD
  entities:
  - PaymentMethods
  - Users
  - Accounts
- relation_name: UserManagedPermissionSetGroups
  relation_description: PermissionSetGroups are created, modified, and managed by
    Users who have appropriate system access and permissions.
  table_name: stg_PERMISSION_SET_GROUP
  entities:
  - PermissionSetGroups
  - Users
- relation_name: UserProfileLicenseAssignment
  relation_description: UserProfiles define permission sets for Users, which are constrained
    by UserLicenses that determine available features and capabilities.
  table_name: stg_PROFILE
  entities:
  - UserProfiles
  - Users
  - UserLicenses
- relation_name: UserAccessControlHierarchy
  relation_description: PermissionSets define access levels assigned to Users, associated
    with UserLicenses, grouped in PermissionSetGroups, and derived from UserProfiles.
  table_name: stg_PERMISSION_SET
  entities:
  - PermissionSets
  - Users
  - UserLicenses
  - PermissionSetGroups
  - UserProfiles
- relation_name: UserManagedProcessDefinitions
  relation_description: ProcessDefinitions are created and modified by Users, who
    are identified by their IDs in the process definition records.
  table_name: stg_PROCESS_DEFINITION
  entities:
  - ProcessDefinitions
  - Users
- relation_name: ProcessExecutionWorkflow
  relation_description: ProcessInstances represent executed workflows defined by ProcessDefinitions,
    involving Users as actors and submitters.
  table_name: stg_PROCESS_INSTANCE
  entities:
  - ProcessInstances
  - Users
  - ProcessDefinitions
- relation_name: ProcessNodeDefinition
  relation_description: ProcessNodes represent individual steps or states within ProcessDefinitions,
    which define the overall workflow structure.
  table_name: stg_PROCESS_NODE
  entities:
  - ProcessNodes
  - ProcessDefinitions
- relation_name: PromptVersionUserRecordTypeImageAssociation
  relation_description: PromptVersions are created and modified by Users, can target
    specific RecordTypes, and may include Images for visual enhancement.
  table_name: stg_PROMPT_VERSION
  entities:
  - PromptVersions
  - Users
  - RecordTypes
  - Images
- relation_name: UserPromptInteractions
  relation_description: PromptActions track Users' interactions with specific PromptVersions,
    recording engagement metrics and response details.
  table_name: stg_PROMPT_ACTION
  entities:
  - PromptActions
  - Users
  - PromptVersions
- relation_name: UserManagedQuickTextFolders
  relation_description: Users create and manage QuickTexts, which can be organized
    into Folders for efficient retrieval and use in various communication channels.
  table_name: stg_QUICK_TEXT
  entities:
  - QuickTexts
  - Users
  - Folders
- relation_name: UserRoleAccountHierarchy
  relation_description: UserRoles define hierarchical access permissions for Users,
    who may manage Accounts with varying levels of access control.
  table_name: stg_USER_ROLE
  entities:
  - UserRoles
  - Users
  - Accounts
- relation_name: UserFlowInterviewProgress
  relation_description: FlowInterviews are conducted by Users and follow the structure
    defined in FlowDefinitions, tracking progress and status.
  table_name: stg_FLOW_INTERVIEW
  entities:
  - FlowInterviews
  - Users
  - FlowDefinitions
- relation_name: UserManagedBusinessProcesses
  relation_description: BusinessProcesses are created, modified, and managed by Users
    who have administrative access to the system.
  table_name: stg_BUSINESS_PROCESS
  entities:
  - BusinessProcesses
  - Users
- relation_name: RefundPaymentAssociation
  relation_description: RefundLinePayments link Refunds to Payments, created and modified
    by Users, associated with Accounts for tracking refund transactions.
  table_name: stg_REFUND_LINE_PAYMENT
  entities:
  - RefundLinePayments
  - Users
  - Accounts
  - Payments
  - Refunds
- relation_name: PaymentProcessingSystem
  relation_description: Payments are processed for Accounts using PaymentMethods through
    PaymentGateways, authorized by PaymentAuthorizations, grouped in PaymentGroups,
    and managed by Users.
  table_name: stg_PAYMENT
  entities:
  - Payments
  - Users
  - Accounts
  - PaymentGateways
  - PaymentAuthorizations
  - PaymentGroups
  - PaymentMethods
- relation_name: RefundTransactionDetails
  relation_description: Refunds are processed for Accounts using PaymentMethods through
    PaymentGateways, managed by Users within PaymentGroups.
  table_name: stg_REFUND
  entities:
  - Refunds
  - Users
  - Accounts
  - PaymentGateways
  - PaymentGroups
  - PaymentMethods
- relation_name: AccountInformationNetwork
  relation_description: AccountsSSoT centralizes account data, linking Accounts to
    Individuals, while Accounts may have associated PhoneContactPoints and ContactPointAddresses
    for communication.
  table_name: stg_SSOT_ACCOUNT_DLM
  entities:
  - AccountsSSoT
  - Accounts
  - Individuals
  - PhoneContactPoints
  - ContactPointAddresses
- relation_name: IndividualEmailAssociation
  relation_description: ContactPointEmailsSSoT stores email addresses associated with
    IndividualsSSoT, linking each email to a specific person or lead.
  table_name: stg_SSOT_CONTACT_POINT_EMAIL_DLM
  entities:
  - ContactPointEmailsSSoT
  - IndividualsSSoT
- relation_name: UserContactAddressManagement
  relation_description: ContactPointAddresses are associated with Users (as owners)
    and can be linked to PhoneContactPoints for comprehensive contact management.
  table_name: stg_CONTACT_POINT_ADDRESS
  entities:
  - ContactPointAddresses
  - Users
  - PhoneContactPoints
- relation_name: UserManagedContactEmailPoints
  relation_description: ContactPointEmails are associated with Contacts and managed
    by Users, representing email addresses for communication with Contacts.
  table_name: stg_CONTACT_POINT_EMAIL
  entities:
  - ContactPointEmails
  - Users
  - Contacts
- relation_name: UserManagedStamps
  relation_description: Stamps are created, modified, and managed by Users who interact
    with the stamp metadata and hierarchy.
  table_name: stg_STAMP
  entities:
  - Stamps
  - Users
- relation_name: TaskManagementSystem
  relation_description: Tasks are assigned to Users, associated with Accounts and
    Contacts, may be linked to Events, and can be part of ActionCadenceStepTrackers
    for automated workflows.
  table_name: stg_TASK
  entities:
  - Tasks
  - Users
  - Accounts
  - Events
  - Contacts
  - ActionCadenceStepTrackers
- relation_name: SSO_User_Authentication
  relation_description: SAML SSO Configurations define authentication settings and
    user provisioning options for Users accessing the system.
  table_name: stg_SAML_SSO_CONFIG
  entities:
  - SAML SSO Configurations
  - Users
- relation_name: UserManagedUIFormulaRules
  relation_description: Users create and modify UI Formula Rules, which are associated
    with specific UI elements.
  table_name: stg_UI_FORMULA_RULE
  entities:
  - UI Formula Rules
  - Users
- relation_name: UserCreatedLabels
  relation_description: Users create and manage User-Defined Labels, which are customizable
    tags or markers within a system.
  table_name: stg_USER_DEFINED_LABEL
  entities:
  - User-Defined Labels
  - Users
- relation_name: UserListViewAccess
  relation_description: Users are granted access to specific ListViews, creating User
    List View Relations that track their interactions and permissions.
  table_name: stg_USER_LIST_VIEW
  entities:
  - User List View Relations
  - Users
  - ListViews
- relation_name: UserProvisioningManagement
  relation_description: User Provisioning Requests manage access for Users through
    ConnectedApplications, utilizing User Provisioning Accounts and Configurations
    to control and automate the process.
  table_name: stg_USER_PROVISIONING_REQUEST
  entities:
  - User Provisioning Requests
  - Users
  - ConnectedApplications
  - User Provisioning Accounts
  - User Provisioning Configurations
- relation_name: UserProvisioningLinkage
  relation_description: User Provisioning Accounts link external Users to internal
    Salesforce Users through ConnectedApplications for authentication and access management.
  table_name: stg_USER_PROV_ACCOUNT
  entities:
  - User Provisioning Accounts
  - Users
  - ConnectedApplications
- relation_name: UserProvisioningSetup
  relation_description: User Provisioning Configurations define settings for user
    account management, linking to ConnectedApplications and NamedCredentials, and
    are managed by Users.
  table_name: stg_USER_PROVISIONING_CONFIG
  entities:
  - User Provisioning Configurations
  - Users
  - NamedCredentials
  - ConnectedApplications
- relation_name: UserCreatedWorkLists
  relation_description: Users create and manage Work Lists, which are collections
    of tasks or items organized for specific purposes.
  table_name: stg_USER_WORK_LIST
  entities:
  - User Work Lists
  - Users
- relation_name: UserVideoCallEvents
  relation_description: Users initiate and participate in Video Calls, which are associated
    with Events and may include call coaching features.
  table_name: stg_VIDEO_CALL
  entities:
  - Video Calls
  - Users
  - Events
- relation_name: UserManagedSControlComponents
  relation_description: S-Control Components are created, modified, and managed by
    Users in the Salesforce system.
  table_name: stg_SCONTROL
  entities:
  - S-Control Components
  - Users
- relation_description: This table represents Users who own or manage business communication
    platforms, storing their personal and account information.
  table_name: BusinessCommunicationPlatform
  entities:
  - Users
- relation_description: This table represents different case statuses in a customer
    support management system, created and modified by Users.
  table_name: CustomerSupportManagementSystem
  entities:
  - Users
- relation_name: EventResponseTracker
  relation_description: Users from Accounts respond to Events, tracking their attendance
    status and response details over time.
  table_name: EventResponseTracker
  entities:
  - Users
  - Accounts
  - Events
- relation_description: This table tracks knowledge articles created, modified, and
    viewed by Users within a knowledge base system.
  table_name: KnowledgeBaseSystem
  entities:
  - Users
- relation_description: This table stores configuration and metadata related to a
    Market Segment Management System, which Users interact with and manage.
  table_name: MarketSegmentManagementSystem
  entities:
  - Users
- relation_description: This stores information about Users who participate in a marketplace
    system as customers or sellers.
  table_name: MarketplaceEntities
  entities:
  - Users
- relation_description: This table stores metadata and organizational information
    about Users within a multi-organizational data management system.
  table_name: OrganizationalDataManagement
  entities:
  - Users
- relation_description: This table defines sharing rules and access levels for Users
    within the Salesforce system, controlling their permissions to view or modify
    objects.
  table_name: SalesforceObjectSharingConfiguration
  entities:
  - Users
- relation_name: AccountContactRoleAssignment
  relation_description: Users manage Accounts, which are associated with Contacts
    through specific roles, defining their business relationships.
  table_name: stg_ACCOUNT_CONTACT_ROLE
  entities:
  - Users
  - Accounts
  - Contacts
- relation_name: AccountSharingPermissions
  relation_description: This table defines the sharing permissions and access levels
    Users have for specific Accounts and related objects.
  table_name: stg_ACCOUNT_SHARE
  entities:
  - Users
  - Accounts
- relation_name: UserManagedCadenceRuleConditions
  relation_description: Users create and modify CadenceRules, which consist of conditions
    defining specific actions based on resources and operators.
  table_name: stg_ACTION_CADENCE_RULE_CONDITION
  entities:
  - Users
  - CadenceRules
- relation_name: UserCreatedActionLinkTemplates
  relation_description: This stores the Action Link Templates that are created by
    Users and associated with Action Link Group Templates.
  table_name: stg_ACTION_LINK_TEMPLATE
  entities:
  - Users
  - ActionLinkGroupTemplates
- relation_description: This table stores information about Users and their connection
    status, synchronization details, and onboarding progress for an activity or application.
  table_name: stg_ACTIVITY_USR_CONNECTION_STATUS
  entities:
  - Users
- relation_name: UserCallCenterPhoneNumbers
  relation_description: Users can be associated with multiple additional phone numbers
    within CallCenters for customer service or operational purposes.
  table_name: stg_ADDITIONAL_NUMBER
  entities:
  - Users
  - CallCenters
- relation_name: UserAccountPaymentMethods
  relation_description: Users manage Accounts, which utilize PaymentGateways to process
    alternative payment methods for transactions and recurring payments.
  table_name: stg_ALTERNATIVE_PAYMENT_METHOD
  entities:
  - Users
  - Accounts
  - PaymentGateways
- relation_description: This table tracks Apex components and includes information
    about the Users who created and modified them.
  table_name: stg_APEX_COMPONENT
  entities:
  - Users
- relation_description: This table logs activities and performance metrics associated
    with Users interacting with an application or system.
  table_name: stg_APEX_LOG
  entities:
  - Users
- relation_description: This table records analytics query requests made by Users,
    tracking the details and status of their data analysis requests.
  table_name: stg_APP_ANALYTICS_QUERY_REQUEST
  entities:
  - Users
- relation_name: AssetRelationships
  relation_description: This tracks the relationships and dependencies between Assets,
    which can be created, modified, or viewed by Users.
  table_name: stg_ASSET_RELATIONSHIP
  entities:
  - Users
  - Assets
- relation_name: AssetUserAccess
  relation_description: This tracks the access permissions granted to Users for specific
    Assets, defining who can view or modify each asset.
  table_name: stg_ASSET_SHARE
  entities:
  - Users
  - Assets
- relation_description: This table stores Assignment Rules that are created, modified,
    and managed by Users within the system.
  table_name: stg_ASSIGNMENT_RULE
  entities:
  - Users
- relation_name: UserConsentAuthorizationForm
  relation_description: Users grant consent for Individuals on AuthorizationFormTexts,
    which are versioned using ContentVersions.
  table_name: stg_AUTHORIZATION_FORM_CONSENT
  entities:
  - Users
  - AuthorizationFormTexts
  - Individuals
  - ContentVersions
- relation_name: AuthorizationFormDataUsePurpose
  relation_description: Users create and manage AuthorizationForms that specify DataUsePurposes,
    linking data usage permissions to specific purposes.
  table_name: stg_AUTHORIZATION_FORM_DATA_USE
  entities:
  - Users
  - AuthorizationForms
  - DataUsePurposes
- relation_name: AuthConfigProviderAssociation
  relation_description: AuthenticationConfigurations link Users to AuthenticationProviders,
    defining which providers are available for user authentication in specific configurations.
  table_name: stg_AUTH_CONFIG_PROVIDERS
  entities:
  - Users
  - AuthenticationConfigurations
  - AuthenticationProviders
- relation_name: UserManagedBrandingSetProperties
  relation_description: This stores the properties of BrandingSets that are created
    and modified by Users.
  table_name: stg_BRANDING_SET_PROPERTY
  entities:
  - Users
  - BrandingSets
- relation_name: BriefcaseAssignments
  relation_description: Users or groups are assigned specific briefcases, linking
    individuals or teams to predefined sets of documents or cases.
  table_name: stg_BRIEFCASE_ASSIGNMENT
  entities:
  - Users
  - BriefcaseDefinitions
- relation_name: UserBriefcaseRuleFilters
  relation_description: BriefcaseRules define filtering criteria for data access,
    which are applied to Users' briefcases for selective data synchronization.
  table_name: stg_BRIEFCASE_RULE_FILTER
  entities:
  - Users
  - BriefcaseRules
- relation_description: This table stores business hours information for an organization,
    which can be applied to different users or departments within the organization.
  table_name: stg_BUSINESS_HOURS
  entities:
  - Users
- relation_description: This table stores calculated insight range bounds set by Users
    for various business metrics and analytics purposes.
  table_name: stg_CALCULATED_INSIGHT_RANGE_BOUND
  entities:
  - Users
- relation_description: This table primarily stores calendar entries for Users and
    includes Holiday entries, representing users' schedules and important dates.
  table_name: stg_CALENDAR
  entities:
  - Users
- relation_name: UserCalendarViewConfiguration
  relation_description: Users create and manage calendar views, which can be associated
    with specific ListView filters for displaying and organizing data.
  table_name: stg_CALENDAR_VIEW
  entities:
  - Users
  - ListViews
- relation_description: This table stores information about call coaching media providers
    that can be used by Users for coaching purposes.
  table_name: stg_CALL_COACHING_MEDIA_PROVIDER
  entities:
  - Users
- relation_name: UserManagedCallDispositions
  relation_description: Users create and modify CallDispositionCategories, which categorize
    specific call dispositions for tracking and analysis purposes.
  table_name: stg_CALL_DISPOSITION
  entities:
  - Users
  - CallDispositionCategories
- relation_description: This table stores call templates created and used by sales
    or customer service users for various outreach scenarios.
  table_name: stg_CALL_TEMPLATE
  entities:
  - Users
- relation_name: CampaignMemberParticipation
  relation_description: Campaigns target Leads and Contacts, managed by Users, tracking
    participation and responses in marketing initiatives.
  table_name: stg_CAMPAIGN_MEMBER
  entities:
  - Users
  - Contacts
  - Campaigns
  - Leads
- relation_name: CampaignMemberStatusDefinition
  relation_description: Users create and modify campaign member statuses for specific
    Campaigns, defining possible status labels and attributes for campaign participants.
  table_name: stg_CAMPAIGN_MEMBER_STATUS
  entities:
  - Users
  - Campaigns
- relation_name: CampaignAccessSharing
  relation_description: Users or groups are granted access to Campaigns with specific
    access levels and reasons for sharing.
  table_name: stg_CAMPAIGN_SHARE
  entities:
  - Users
  - Campaigns
- relation_name: AccountPaymentMethodGateway
  relation_description: Users manage payment methods for Accounts, which are processed
    through PaymentGateways for financial transactions.
  table_name: stg_CARD_PAYMENT_METHOD
  entities:
  - Users
  - Accounts
  - PaymentGateways
- relation_name: CaseArticleAssociation
  relation_description: Users associate specific versions of Knowledge Articles with
    Cases, potentially sharing them via email.
  table_name: stg_CASE_ARTICLE
  entities:
  - Users
  - Cases
  - KnowledgeArticleVersions
- relation_name: UserCaseComments
  relation_description: Users create and modify comments on Cases, providing updates
    and communication related to specific case issues.
  table_name: stg_CASE_COMMENT
  entities:
  - Users
  - Cases
- relation_name: CaseContactRoleAssignment
  relation_description: Users create and modify Cases, which involve Contacts in specific
    roles, forming a Case Contact Role relationship.
  table_name: stg_CASE_CONTACT_ROLE
  entities:
  - Users
  - Contacts
  - Cases
- relation_name: CaseExternalDocuments
  relation_description: This tracks external documents associated with Cases, which
    can be created, modified, or deleted by Users.
  table_name: stg_CASE_EXTERNAL_DOCUMENT
  entities:
  - Users
  - Cases
- relation_name: CaseAccessPermissions
  relation_description: This table defines access permissions for Users or Groups
    to specific Cases, specifying their level of access and reason for sharing.
  table_name: stg_CASE_SHARE
  entities:
  - Users
  - Cases
- relation_description: This table stores browser-specific data for Users, including
    their user agent strings and proxy information.
  table_name: stg_CLIENT_BROWSER
  entities:
  - Users
- relation_name: UserCommunicationConsentSubscription
  relation_description: Users manage and subscribe to CommunicationConsents, defining
    timing preferences for various communication types.
  table_name: stg_COMM_SUBSCRIPTION_TIMING
  entities:
  - Users
  - CommunicationConsents
- relation_name: UserManagedConferenceNumbers
  relation_description: Users create and modify conference call numbers, which can
    be associated with ExternalEvents for tracking purposes.
  table_name: stg_CONFERENCE_NUMBER
  entities:
  - Users
  - ExternalEvents
- relation_name: UserConsentPurposeBrand
  relation_description: Users provide consent for specific DataUsePurposes associated
    with Brands, capturing their privacy preferences and permissions.
  table_name: stg_CONTACT_POINT_CONSENT
  entities:
  - Users
  - DataUsePurposes
  - Brands
- relation_name: UserManagedConsentRecords
  relation_description: Users manage consent records for Individuals regarding specific
    DataUsePurposes, tracking permissions for contact methods and communication purposes.
  table_name: stg_CONTACT_POINT_TYPE_CONSENT
  entities:
  - Users
  - Individuals
  - DataUsePurposes
- relation_description: This table stores contact requests made by or on behalf of
    users, tracking details and preferences for each request.
  table_name: stg_CONTACT_REQUEST
  entities:
  - Users
- relation_name: ContactUserSharing
  relation_description: This tracks which Users have access to specific Contacts and
    their level of access permissions.
  table_name: stg_CONTACT_SHARE
  entities:
  - Users
  - Contacts
- relation_name: UserContentSubscriptions
  relation_description: Users can subscribe to ContentDocuments, tracking their interest
    in either the document itself or its comments.
  table_name: stg_CONTENT_DOCUMENT_SUBSCRIPTION
  entities:
  - Users
  - ContentDocuments
- relation_name: UserContentManagement
  relation_description: Users create, modify, and own ContentVersions, which represent
    different versions of files or notes in a document management system.
  table_name: stg_CONTENT_NOTE
  entities:
  - Users
  - ContentVersions
- relation_name: UserContentNotifications
  relation_description: Users receive notifications about ContentDocuments, which
    can include various types of content-related updates or alerts.
  table_name: stg_CONTENT_NOTIFICATION
  entities:
  - Users
  - ContentDocuments
- relation_description: This table tracks the content tags that Users subscribe to,
    indicating their interests and preferences for specific types of content.
  table_name: stg_CONTENT_TAG_SUBSCRIPTION
  entities:
  - Users
- relation_description: This tracks which Users are subscribed to other Users, representing
    a follower-following relationship between content creators and their audience.
  table_name: stg_CONTENT_USER_SUBSCRIPTION
  entities:
  - Users
- relation_name: UserContentVersionRating
  relation_description: Users rate and comment on specific ContentVersions, providing
    feedback and evaluating the quality of different content iterations.
  table_name: stg_CONTENT_VERSION_RATING
  entities:
  - Users
  - ContentVersions
- relation_name: UserWorkspaceAccess
  relation_description: Users are granted specific ContentWorkspacePermissions to
    access and interact with ContentWorkspaces.
  table_name: stg_CONTENT_WORKSPACE_MEMBER
  entities:
  - Users
  - ContentWorkspaces
  - ContentWorkspacePermissions
- relation_name: UserContentWorkspaceSubscriptions
  relation_description: This tracks which Users are subscribed to specific ContentWorkspaces,
    representing a many-to-many subscription relationship between users and content
    workspaces.
  table_name: stg_CONTENT_WORKSPACE_SUBSCRIPTION
  entities:
  - Users
  - ContentWorkspaces
- relation_description: This table stores CORS whitelist entries that are created
    and managed by Users to control cross-origin resource access.
  table_name: stg_CORS_WHITELIST_ENTRY
  entities:
  - Users
- relation_description: This table stores information about Content Security Policy
    (CSP) trusted sites that users can interact with securely.
  table_name: stg_CSP_TRUSTED_SITE
  entities:
  - Users
- relation_name: UserBrandAssetManagement
  relation_description: Users create and modify custom brand assets for Brands, associating
    specific assets with their respective brands.
  table_name: stg_CUSTOM_BRAND_ASSET
  entities:
  - Users
  - Brands
- relation_description: This table stores custom HTTP headers that can be associated
    with users through the CREATED_BY_ID and LAST_MODIFIED_BY_ID fields.
  table_name: stg_CUSTOM_HTTP_HEADER
  entities:
  - Users
- relation_description: This table stores custom notification types that can be configured
    for Users in a system.
  table_name: stg_CUSTOM_NOTIFICATION_TYPE
  entities:
  - Users
- relation_name: CustomPermissionDependencies
  relation_description: This tracks dependencies between CustomPermissions, where
    one CustomPermission requires another CustomPermission to be granted to Users.
  table_name: stg_CUSTOM_PERMISSION_DEPENDENCY
  entities:
  - Users
  - CustomPermissions
- relation_name: UserDataSpaceActions
  relation_description: Users create and modify data actions associated with specific
    DataSpaces, managing their status and processing.
  table_name: stg_DATA_ACTION
  entities:
  - Users
  - DataSpaces
- relation_description: Users create, own, and manage data action targets, which represent
    API connections or data integration endpoints.
  table_name: stg_DATA_ACTION_TARGET
  entities:
  - Users
- relation_description: This table tracks deployment logs for data kits, recording
    actions and details associated with individual users who perform or own these
    deployments.
  table_name: stg_DATA_KIT_DEPLOYMENT_LOG
  entities:
  - Users
- relation_description: This table stores Data Lake Object instances created and managed
    by Users within a data management system.
  table_name: stg_DATA_LAKE_OBJECT_INSTANCE
  entities:
  - Users
- relation_name: MultiOrgSyncManagement
  relation_description: Users manage data synchronization across multiple Organizations
    through MultiOrgConnections, tracking status and issues.
  table_name: stg_DATA_MULTI_ORG_SYNC_STATUS
  entities:
  - Users
  - Organizations
  - MultiOrgConnections
- relation_name: UserDataQueryWorkspaceTabs
  relation_description: Users create and modify DataQueryWorkspaces tabs, which contain
    queries and settings for data analysis.
  table_name: stg_DATA_QUERY_WORKSPACE_TAB
  entities:
  - Users
  - DataQueryWorkspaces
- relation_name: UserMultiOrgDataSpaceMapping
  relation_description: This maps Users to MultiOrgConnections, tracking their data
    space interactions and synchronization status across remote organizations.
  table_name: stg_DATA_REMOTE_ORG_DATA_SPACE_MAP
  entities:
  - Users
  - MultiOrgConnections
- relation_name: UserDataSpaceSearchConfiguration
  relation_description: Users create and manage semantic search configurations within
    DataSpaces, configuring search settings and tracking index statuses.
  table_name: stg_DATA_SEMANTIC_SEARCH
  entities:
  - Users
  - DataSpaces
- relation_description: This table stores metadata about data source bundles created
    and managed by Users in a Salesforce-related system.
  table_name: stg_DATA_SOURCE_BUNDLE
  entities:
  - Users
- relation_name: UserDefinedFilterConditions
  relation_description: Users create and modify specific conditions within DataSpaceFilterCriteria,
    defining detailed rules for filtering data spaces based on various attributes
    and operators.
  table_name: stg_DATA_SPACE_FILTER_CONDITION
  entities:
  - Users
  - DataSpaceFilterCriteria
- relation_description: This table tracks data streams created and managed by Users,
    who are identified by the OWNER_ID field.
  table_name: stg_DATA_STREAM
  entities:
  - Users
- relation_description: This table stores metadata about Data Weave resources created
    and modified by Users within a system.
  table_name: stg_DATA_WEAVE_RESOURCE
  entities:
  - Users
- relation_description: This table records deletion events performed by Users on various
    objects in the system.
  table_name: stg_DELETE_EVENT
  entities:
  - Users
- relation_name: UserAccountWalletGateway
  relation_description: Users create digital wallets linked to Accounts, which utilize
    PaymentGateways for processing transactions and storing payment method information.
  table_name: stg_DIGITAL_WALLET
  entities:
  - Users
  - Accounts
  - PaymentGateways
- relation_name: DocumentAttachmentMapping
  relation_description: This maps Documents to their attachments, showing which Users
    created the attachments and when they were added.
  table_name: stg_DOCUMENT_ATTACHMENT_MAP
  entities:
  - Users
  - Documents
- relation_name: DomainSiteAssociation
  relation_description: Users manage Domains, which host multiple Sites with unique
    path prefixes, forming a hierarchical structure for web content organization.
  table_name: stg_DOMAIN_SITE
  entities:
  - Users
  - Domains
  - Sites
- relation_name: UserLinkedDuplicateItemAssociation
  relation_description: Users create and modify individual DuplicateRecordItems, which
    are associated with specific DuplicateRecordSets. This relation represents the
    linkage between duplicate items and their corresponding sets, as managed by users.
  table_name: stg_DUPLICATE_RECORD_ITEM
  entities:
  - Users
  - DuplicateRecordSets
- relation_description: This table captures email communication details for Users,
    including sender and recipient information, capture date, and message characteristics.
  table_name: stg_EMAIL_CAPTURE
  entities:
  - Users
- relation_name: UserManagedEmailRelayFilters
  relation_description: Users create and manage email domain filter rules for specific
    EmailRelays, controlling email routing based on domain priorities.
  table_name: stg_EMAIL_DOMAIN_FILTER
  entities:
  - Users
  - EmailRelays
- relation_description: This table stores email domain key configurations that may
    be associated with users' email domains for security and authentication purposes.
  table_name: stg_EMAIL_DOMAIN_KEY
  entities:
  - Users
- relation_name: EmailMessageUserRelation
  relation_description: This tracks the associations between EmailMessages and Users,
    linking email messages to various recipients or senders.
  table_name: stg_EMAIL_MESSAGE_RELATION
  entities:
  - Users
  - EmailMessages
- relation_name: UserEngagementChannelSettings
  relation_description: Users configure and manage settings for various EngagementChannels
    used for customer communication and interaction.
  table_name: stg_ENGMT_CHANNEL_TYPE_SETTINGS
  entities:
  - Users
  - EngagementChannels
- relation_name: EventParticipationAndInvitation
  relation_description: Users participate in or manage Events, which can be associated
    with Accounts, and Users can invite other Users to Events.
  table_name: stg_EVENT_RELATION
  entities:
  - Users
  - Accounts
  - Events
- relation_name: UserEventRelayConfigFeedback
  relation_description: Users create and modify EventRelayConfigs, which are monitored
    and tracked through feedback records in this table.
  table_name: stg_EVENT_RELAY_FEEDBACK
  entities:
  - Users
  - EventRelayConfigs
- relation_name: EventAccountAssociation
  relation_description: Users create and modify Events associated with Accounts, establishing
    connections between specific Events and Accounts.
  table_name: stg_EVENT_WHO_RELATION
  entities:
  - Users
  - Accounts
  - Events
- relation_name: UserManagedExternalDataSourceDescriptors
  relation_description: Users create and modify external data source descriptors for
    ExternalDataSources, enabling system integration with external data.
  table_name: stg_EXTERNAL_DATA_SRC_DESCRIPTOR
  entities:
  - Users
  - ExternalDataSources
- relation_name: UserExternalDataSourceAuthentication
  relation_description: Users authenticate to ExternalDataSources using credentials,
    potentially facilitated by AuthenticationProviders for secure access to external
    systems.
  table_name: stg_EXTERNAL_DATA_USER_AUTH
  entities:
  - Users
  - AuthenticationProviders
  - ExternalDataSources
- relation_name: UserExternalEventMapping
  relation_description: Users can create and manage Events, which are mapped to external
    systems using this mapping table.
  table_name: stg_EXTERNAL_EVENT_MAPPING
  entities:
  - Users
  - Events
- relation_description: This table stores localized or customizable string values
    associated with various elements in a system, potentially including user-related
    text.
  table_name: stg_EXTERNAL_STRING
  entities:
  - Users
- relation_name: UserManagedExternalDataShares
  relation_description: Users create, modify, and manage external DataShares, which
    represent configurations for sharing data with external entities. This relationship
    encompasses the setup and maintenance of these external data sharing arrangements,
    including tracking their status, object count, and associated metadata.
  table_name: stg_EXT_DATA_SHARE
  entities:
  - Users
  - DataSpaces
- relation_description: This table stores information about data share targets associated
    with Users, including their creation, modification, and status details.
  table_name: stg_EXT_DATA_SHARE_TARGET
  entities:
  - Users
- relation_name: UserFlowInterviewLogEntries
  relation_description: This table logs detailed entries of Flow Interview processes,
    which are associated with specific Users who initiated or modified them.
  table_name: stg_FLOW_INTERVIEW_LOG_ENTRY
  entities:
  - Users
  - FlowInterviewLogs
- relation_description: This tracks the hierarchical or associative connection between
    parent and related records within a flow or workflow system.
  table_name: stg_FLOW_RECORD_RELATION
  entities:
  - Users
- relation_name: FlowRecordVersionOccurrence
  relation_description: Users create and modify FlowRecordVersions, which are associated
    with FlowRecords and scheduled for specific occurrence dates.
  table_name: stg_FLOW_RECORD_VERSION_OCCURRENCE
  entities:
  - Users
  - FlowRecordVersions
  - FlowRecords
- relation_description: This table tracks flow stage relations, which users can create,
    modify, and potentially interact with in a workflow system.
  table_name: stg_FLOW_STAGE_RELATION
  entities:
  - Users
- relation_name: UserFlowTestResults
  relation_description: Users create and execute flow tests on FlowDefinitions, recording
    test results and version information.
  table_name: stg_FLOW_TEST_RESULT
  entities:
  - Users
  - FlowDefinitions
- relation_name: LicenseGrantedCustomPermissions
  relation_description: Users are assigned PermissionSetLicenses, which grant specific
    CustomPermissions, enabling controlled access to features and functionality.
  table_name: stg_GRANTED_BY_LICENSE
  entities:
  - Users
  - CustomPermissions
  - PermissionSetLicenses
- relation_name: GroupMembershipAssociation
  relation_description: Represents the membership relationships between groups and
    their members (users or other groups). This relation focuses on the hierarchical
    structures and associations within the organizational group system, allowing for
    both user-group and group-group memberships.
  table_name: stg_GROUP_MEMBER
  entities:
  - Users
  - Groups
- relation_name: GatewayProviderPaymentMethodConfiguration
  relation_description: Users create and modify PaymentGatewayProviders' payment method
    types, which are categorized by RecordTypes for different configurations.
  table_name: stg_GTWY_PROV_PAYMENT_METHOD_TYPE
  entities:
  - Users
  - RecordTypes
  - PaymentGatewayProviders
- relation_name: UserDataSpaceIdentityResolution
  relation_description: Users initiate and manage identity resolution processes within
    specific DataSpaces to consolidate and match records.
  table_name: stg_IDENTITY_RESOLUTION
  entities:
  - Users
  - DataSpaces
- relation_name: UserAuthenticationSessions
  relation_description: Users initiate Authentication Sessions, which record various
    details about their login attempts and interactions with applications.
  table_name: stg_IDP_EVENT_LOG
  entities:
  - Users
  - AuthenticationSessions
- relation_description: This table stores approved URLs for iframes, which can be
    created, modified, and managed by Users.
  table_name: stg_IFRAME_WHITE_LIST_URL
  entities:
  - Users
- relation_name: IndividualAccessSharing
  relation_description: This defines the access levels granted to Users for specific
    Individual records, tracking sharing permissions and modifications.
  table_name: stg_INDIVIDUAL_SHARE
  entities:
  - Users
  - Individuals
- relation_name: UserMobileAppInstallations
  relation_description: Users install mobile applications, which are associated with
    ConnectedApplications for authentication and tracking purposes.
  table_name: stg_INSTALLED_MOBILE_APP
  entities:
  - Users
  - ConnectedApplications
- relation_description: This table tracks IP address ranges and their associated features,
    but does not directly relate to Users entity.
  table_name: stg_IPADDRESS_RANGE
  entities:
  - Users
- relation_description: This table stores lead statuses created and modified by Users,
    who are identified by their IDs in the creation and modification fields.
  table_name: stg_LEAD_STATUS
  entities:
  - Users
- relation_name: UserThemeBrandingManagement
  relation_description: Users create and modify Lightning Experience themes, which
    can be associated with BrandingSets for customized visual styling.
  table_name: stg_LIGHTNING_EXPERIENCE_THEME
  entities:
  - Users
  - BrandingSets
- relation_description: This table stores Lightning onboarding configuration settings
    for Users, including customization options and feedback preferences.
  table_name: stg_LIGHTNING_ONBOARDING_CONFIG
  entities:
  - Users
- relation_name: UserCreatedArticleVersions
  relation_description: Users create and modify KnowledgeArticleVersions, which are
    specific versions of linked articles in a knowledge base system.
  table_name: stg_LINKED_ARTICLE
  entities:
  - Users
  - KnowledgeArticleVersions
- relation_name: EmailListRecipientTracking
  relation_description: Users manage EmailLists containing Contacts, and ActionCadenceStepTrackers
    monitor Contact interactions within email campaigns.
  table_name: stg_LIST_EMAIL_INDIVIDUAL_RECIPIENT
  entities:
  - Users
  - Contacts
  - ActionCadenceStepTrackers
  - EmailLists
- relation_name: EmailListRecipients
  relation_description: This tracks which Users are recipients of specific EmailLists,
    indicating the source of the recipient for email campaign management.
  table_name: stg_LIST_EMAIL_RECIPIENT_SOURCE
  entities:
  - Users
  - EmailLists
- relation_description: This table stores information about list view charts created
    and modified by Users in a Salesforce-like system.
  table_name: stg_LIST_VIEW_CHART
  entities:
  - Users
- relation_description: This table records login attempts and authentication details
    for Users, tracking their IP addresses and login statuses.
  table_name: stg_LOGIN_IP
  entities:
  - Users
- relation_description: This table stores email merge templates that can be used by
    Users to create personalized email communications.
  table_name: stg_MAILMERGE_TEMPLATE
  entities:
  - Users
- relation_description: This table stores information about managed content channels
    in a CMS system, which are created and modified by Users.
  table_name: stg_MANAGED_CONTENT_CHANNEL
  entities:
  - Users
- relation_name: UserManagedContentVariants
  relation_description: Users create and modify ManagedContents, which have variants
    with specific metadata and statuses.
  table_name: stg_MANAGED_CONTENT_VARIANT
  entities:
  - Users
  - ManagedContents
- relation_description: This table stores matching information and preferences for
    individual Users across different systems.
  table_name: stg_MATCHING_INFORMATION
  entities:
  - Users
- relation_name: UserDefinedMatchingRuleItems
  relation_description: Users create and modify MatchingRules, which consist of multiple
    items defining matching criteria and behaviors.
  table_name: stg_MATCHING_RULE_ITEM
  entities:
  - Users
  - MatchingRules
- relation_name: UserManagedPaymentMethodSets
  relation_description: Users manage PaymentMethodSets, which contain various payment
    method types for merchant accounts.
  table_name: stg_MERCH_ACC_PAYMENT_METHOD_TYPE
  entities:
  - Users
  - PaymentMethodSets
- relation_name: UserDataSpaceInsights
  relation_description: Users create and modify calculated marketing insights associated
    with specific DataSpaces for analysis and tracking.
  table_name: stg_MKT_CALCULATED_INSIGHT
  entities:
  - Users
  - DataSpaces
- relation_description: This table contains metadata about data lake mappings for
    marketing, which may be used or managed by Users.
  table_name: stg_MKT_DATA_LAKE_MAPPING
  entities:
  - Users
- relation_name: UserDataSpaceTransformations
  relation_description: Users create and manage data transformations within specific
    DataSpaces, tracking performance and lifecycle details.
  table_name: stg_MKT_DATA_TRANSFORM
  entities:
  - Users
  - DataSpaces
- relation_description: This table stores information about machine learning models,
    which are created, owned, and managed by Users.
  table_name: stg_MKT_MLMODEL
  entities:
  - Users
- relation_name: UserMachineLearningJobsInDataSpaces
  relation_description: This tracks machine learning prediction jobs created and modified
    by Users, associated with specific DataSpaces for data processing and scoring.
  table_name: stg_MKT_MLPREDICTION_JOB
  entities:
  - Users
  - DataSpaces
- relation_description: Users develop, manage, or use mobile applications, which are
    detailed in the stg_MOBILE_APPLICATION_DETAIL table.
  table_name: stg_MOBILE_APPLICATION_DETAIL
  entities:
  - Users
- relation_description: This table stores detailed permission settings for users in
    a system, defining their access rights and capabilities across various functionalities.
  table_name: stg_MUTING_PERMISSION_SET
  entities:
  - Users
- relation_description: This table stores configurable login settings for users within
    a specific domain or website.
  table_name: stg_MY_DOMAIN_DISCOVERABLE_LOGIN
  entities:
  - Users
- relation_name: UserManagedOAuthScopeApplications
  relation_description: This tracks which OAuth custom scopes are associated with
    specific applications, managed by Users who create and modify these associations.
  table_name: stg_OAUTH_CUSTOM_SCOPE_APP
  entities:
  - Users
  - OAuthCustomScopes
- relation_name: UserAppAuthentication
  relation_description: Users authenticate to various applications using OAuth tokens,
    which may be associated with specific AppMenuItems.
  table_name: stg_OAUTH_TOKEN
  entities:
  - Users
  - AppMenuItems
- relation_name: UserManagedOAuthHandlerApplications
  relation_description: Users create and manage OAuthTokenExchangeHandlers, which
    are configured for specific ConnectedApplications to handle token exchanges.
  table_name: stg_OAUTH_TOKEN_EXCH_HANDLER_APP
  entities:
  - Users
  - ConnectedApplications
  - OAuthTokenExchangeHandlers
- relation_name: UserManagedDataImportReferences
  relation_description: This table tracks reference data for DataImportJobs, which
    can be created and modified by Users.
  table_name: stg_OBJECT_DATA_IMPORT_REFERENCE
  entities:
  - Users
  - DataImportJobs
- relation_description: This table tracks object permissions assigned to users in
    Salesforce, detailing their access rights for various Salesforce objects.
  table_name: stg_OBJECT_PERMISSIONS
  entities:
  - Users
- relation_name: OperatingHoursHolidayExceptions
  relation_description: This tracks exceptions to OperatingHours caused by Holidays,
    managed by Users who create and modify these records.
  table_name: stg_OPERATING_HOURS_HOLIDAY
  entities:
  - Users
  - Holidays
  - OperatingHours
- relation_name: OpportunityCompetitorTracking
  relation_description: This tracks competitors associated with specific sales Opportunities,
    including details recorded and modified by Users.
  table_name: stg_OPPORTUNITY_COMPETITOR
  entities:
  - Users
  - Opportunities
- relation_name: OpportunityContactRoles
  relation_description: Users create and manage Opportunities, which are associated
    with Contacts in specific roles, potentially as primary contacts.
  table_name: stg_OPPORTUNITY_CONTACT_ROLE
  entities:
  - Users
  - Opportunities
  - Contacts
- relation_name: OpportunityLineItems
  relation_description: Users create Opportunities containing multiple Products, each
    with a PriceBookEntry specifying pricing details for the sale.
  table_name: stg_OPPORTUNITY_LINE_ITEM
  entities:
  - Users
  - Opportunities
  - Products
  - PriceBookEntries
- relation_name: UserOpportunityDeletionLog
  relation_description: Users delete Opportunities, and this table logs the details
    of those deletions for auditing purposes.
  table_name: stg_OPPORTUNITY_RELATED_DELETE_LOG
  entities:
  - Users
  - Opportunities
- relation_name: OpportunityUserAccess
  relation_description: This tracks which Users have access to specific Opportunities,
    including their level of access and sharing reason.
  table_name: stg_OPPORTUNITY_SHARE
  entities:
  - Users
  - Opportunities
- relation_description: This table represents Opportunity Stages, which are created,
    modified, and managed by Users in a sales process.
  table_name: stg_OPPORTUNITY_STAGE
  entities:
  - Users
- relation_description: This table stores various partner roles that can be assigned
    to users in a business system.
  table_name: stg_PARTNER_ROLE
  entities:
  - Users
- relation_name: UserCapturedConsentForIndividuals
  relation_description: Users capture consent from Individuals for specific DataUsePurposes
    associated with Brands.
  table_name: stg_PARTY_CONSENT
  entities:
  - Users
  - Individuals
  - DataUsePurposes
  - Brands
- relation_name: UserAccountPaymentAdjustments
  relation_description: Users initiate payment authorization adjustments on behalf
    of Accounts, modifying existing PaymentAuthorizations for transactions.
  table_name: stg_PAYMENT_AUTH_ADJUSTMENT
  entities:
  - Users
  - Accounts
  - PaymentAuthorizations
- relation_name: UserPaymentGatewayLogs
  relation_description: Users initiate payment transactions through PaymentGateways,
    which process and log the interactions for record-keeping and analysis.
  table_name: stg_PAYMENT_GATEWAY_LOG
  entities:
  - Users
  - PaymentGateways
- relation_name: UserPermissionSetAssignment
  relation_description: Users are assigned PermissionSets, which can be grouped into
    PermissionSetGroups, granting specific access rights and privileges.
  table_name: stg_PERMISSION_SET_ASSIGNMENT
  entities:
  - Users
  - PermissionSetGroups
  - PermissionSets
- relation_name: UserManagedPermissionSetGroupAssignments
  relation_description: Users create and modify Permission Set Groups, which contain
    multiple Permission Sets to manage user access rights efficiently.
  table_name: stg_PERMISSION_SET_GROUP_COMPONENT
  entities:
  - Users
  - PermissionSetGroups
  - PermissionSets
- relation_name: UserPermissionSetLicenseAssignment
  relation_description: Users are assigned PermissionSetLicenses, granting them specific
    access rights and capabilities within the system.
  table_name: stg_PERMISSION_SET_LICENSE_ASSIGN
  entities:
  - Users
  - PermissionSetLicenses
- relation_description: This table tracks process flow migration details associated
    with Users who create, modify, or interact with these records.
  table_name: stg_PROCESS_FLOW_MIGRATION
  entities:
  - Users
- relation_name: UserProcessNodeInteractions
  relation_description: Users initiate and interact with ProcessInstances, which consist
    of multiple ProcessNodes representing individual steps in a workflow.
  table_name: stg_PROCESS_INSTANCE_NODE
  entities:
  - Users
  - ProcessInstances
  - ProcessNodes
- relation_name: UserProcessStepExecution
  relation_description: Users perform steps within ProcessInstances, which are composed
    of ProcessNodes, tracking progress and timing of each step.
  table_name: stg_PROCESS_INSTANCE_STEP
  entities:
  - Users
  - ProcessInstances
  - ProcessNodes
- relation_name: UserProcessWorkItems
  relation_description: Users perform tasks within ProcessInstances, tracking their
    involvement and progress through work items.
  table_name: stg_PROCESS_INSTANCE_WORKITEM
  entities:
  - Users
  - ProcessInstances
- relation_name: UserProfileAssignment
  relation_description: UserProfiles define sets of permissions and settings that
    are assigned to Users, controlling their access and actions within the system.
  table_name: stg_PROFILE_CALL_LOG_QUICK_ACTION
  entities:
  - Users
  - UserProfiles
- relation_name: UserPromptActionErrors
  relation_description: This tracks prompt errors or steps associated with PromptActions,
    which are created and modified by Users.
  table_name: stg_PROMPT_ERROR
  entities:
  - Users
  - PromptActions
- relation_description: This table associates Salesforce queues with specific SObject
    types, indicating which object types Users can access through each queue.
  table_name: stg_QUEUE_SOBJECT
  entities:
  - Users
- relation_name: UserQuickTextUsage
  relation_description: Users utilize QuickTexts stored in Folders, with usage tracked
    across different channels and contexts.
  table_name: stg_QUICK_TEXT_USAGE
  entities:
  - Users
  - Folders
  - QuickTexts
- relation_name: UserFlowActionRecords
  relation_description: This tracks actions performed by Users during FlowInterviews,
    recording the steps and outcomes of workflow processes.
  table_name: stg_RECORD_ACTION
  entities:
  - Users
  - FlowInterviews
- relation_description: This table tracks redirect whitelist URLs managed by Users
    who create, modify, or delete these entries.
  table_name: stg_REDIRECT_WHITELIST_URL
  entities:
  - Users
- relation_description: This table stores configuration settings for sales work queue
    features that can be utilized by Users in their sales workflows.
  table_name: stg_SALES_WORK_QUEUE_SETTINGS
  entities:
  - Users
- relation_description: This table tracks search activity performed by Users, including
    their search terms, query details, and interactions with search results.
  table_name: stg_SEARCH_ACTIVITY
  entities:
  - Users
- relation_description: This table tracks search promotion rules created and modified
    by Users to enhance search results for specific queries.
  table_name: stg_SEARCH_PROMOTION_RULE
  entities:
  - Users
- relation_description: This table stores security custom baselines that are created,
    modified, and managed by Users in a system.
  table_name: stg_SECURITY_CUSTOM_BASELINE
  entities:
  - Users
- relation_description: This table primarily contains information about service setup
    provisioning tasks, with references to Users who created or modified these tasks.
  table_name: stg_SERVICE_SETUP_PROVISIONING
  entities:
  - Users
- relation_name: SessionPermissionSetActivation
  relation_description: Users activate PermissionSets during AuthenticationSessions,
    potentially as part of PermissionSetGroups, for specific integrations.
  table_name: stg_SESSION_PERM_SET_ACTIVATION
  entities:
  - Users
  - AuthenticationSessions
  - PermissionSetGroups
  - PermissionSets
- relation_description: This table tracks setup assistant steps completed by Users
    during the system configuration process.
  table_name: stg_SETUP_ASSISTANT_STEP
  entities:
  - Users
- relation_description: This table tracks setup changes made by Users in the system,
    recording their actions and modifications to various settings.
  table_name: stg_SETUP_AUDIT_TRAIL
  entities:
  - Users
- relation_name: SiteIframeWhitelistManagement
  relation_description: Users manage whitelisted iframe URLs for specific Sites, controlling
    allowed external content sources.
  table_name: stg_SITE_IFRAME_WHITE_LIST_URL
  entities:
  - Users
  - Sites
- relation_name: SiteRedirectMappings
  relation_description: This tracks redirect rules for Sites, which are created and
    modified by Users with associated timestamps and IDs.
  table_name: stg_SITE_REDIRECT_MAPPING
  entities:
  - Users
  - Sites
- relation_description: This table stores connectivity attributes as key-value pairs
    associated with individual users, providing detailed information about user connectivity
    settings.
  table_name: stg_SPSAML_ATTRIBUTES
  entities:
  - Users
- relation_name: StampSubjectAssignment
  relation_description: This tracks the assignment of Stamps to specific Subjects,
    managed and audited by Users who create and modify these assignments.
  table_name: stg_STAMP_ASSIGNMENT
  entities:
  - Users
  - Stamps
- relation_description: This table contains standard invocable action types created
    and modified by Users identified by their IDs.
  table_name: stg_STANDARD_INVOCABLE_ACTION_TYPE
  entities:
  - Users
- relation_description: This table stores Tableau host mapping configurations for
    Users, specifying access and routing settings for their Tableau integrations.
  table_name: stg_TABLEAU_HOST_MAPPING
  entities:
  - Users
- relation_description: This table defines task priority levels that can be assigned
    to tasks by Users in a system.
  table_name: stg_TASK_PRIORITY
  entities:
  - Users
- relation_name: TaskAccountAssociation
  relation_description: Users create and modify Tasks associated with Accounts, establishing
    connections between work activities and client entities.
  table_name: stg_TASK_RELATION
  entities:
  - Users
  - Accounts
  - Tasks
- relation_name: TaskAccountAssignment
  relation_description: Users create and manage Tasks associated with specific Accounts,
    establishing accountability and tracking responsibilities.
  table_name: stg_TASK_WHO_RELATION
  entities:
  - Users
  - Accounts
  - Tasks
- relation_description: This table tracks usage entitlements and resource allocations
    for various Salesforce features assigned to tenant users.
  table_name: stg_TENANT_USAGE_ENTITLEMENT
  entities:
  - Users
- relation_name: UserSSOAccountLinks
  relation_description: Users can link their accounts to SAML SSO Configurations for
    external authentication and single sign-on functionality.
  table_name: stg_THIRD_PARTY_ACCOUNT_LINK
  entities:
  - Users
  - SAML SSO Configurations
- relation_name: UserDefinedOperatingHours
  relation_description: Users create and modify time slots within OperatingHours,
    defining business hours for each day of the week.
  table_name: stg_TIME_SLOT
  entities:
  - Users
  - OperatingHours
- relation_description: This table tracks daily goals set for and by Users, including
    goal details and associated user information.
  table_name: stg_TODAY_GOAL
  entities:
  - Users
- relation_description: This table tracks language translations and associated user
    permissions, where users can create, modify, and manage translations.
  table_name: stg_TRANSLATION
  entities:
  - Users
- relation_name: UserProfileRuleCriteria
  relation_description: UI Formula Rules define criteria that compare User profile
    IDs to determine access or visibility in the user interface.
  table_name: stg_UI_FORMULA_CRITERION
  entities:
  - Users
  - UI Formula Rules
- relation_name: UserAppInteraction
  relation_description: Users interact with specific AppDefinitions, utilizing them
    on various form factors like large screens.
  table_name: stg_USER_APP_INFO
  entities:
  - Users
  - AppDefinitions
- relation_name: UserAppMenuCustomization
  relation_description: Users customize their menu preferences for specific AppDefinitions,
    determining the display order of menu items.
  table_name: stg_USER_APP_MENU_CUSTOMIZATION
  entities:
  - Users
  - AppDefinitions
- relation_name: UserLabelAssignment
  relation_description: Users create and assign custom labels to items, organizing
    and categorizing them based on user-defined criteria.
  table_name: stg_USER_DEFINED_LABEL_ASSIGNMENT
  entities:
  - Users
  - User-Defined Labels
- relation_description: This table stores email preferences and associated person
    records for Users, linking their email addresses to specific user and person identifiers.
  table_name: stg_USER_EMAIL_PREFERRED_PERSON
  entities:
  - Users
- relation_name: UserListViewCriteria
  relation_description: Users create and customize List Views with specific criteria,
    defining how data is filtered and sorted for their personal use.
  table_name: stg_USER_LIST_VIEW_CRITERION
  entities:
  - Users
  - User List View Relations
- relation_name: UserPackageLicenseAssignment
  relation_description: This tracks which Package Licenses are assigned to specific
    Users, establishing a many-to-many relationship between Users and Package Licenses.
  table_name: stg_USER_PACKAGE_LICENSE
  entities:
  - Users
  - Package Licenses
- relation_description: This table stores individual preference settings for Users,
    detailing their specific choices and configurations within the system.
  table_name: stg_USER_PREFERENCE
  entities:
  - Users
- relation_name: UserProvisioningAudit
  relation_description: User Provisioning Requests initiate and track the creation
    or modification of User accounts in an external system.
  table_name: stg_USER_PROVISIONING_LOG
  entities:
  - Users
  - User Provisioning Requests
- relation_name: UserProvisioningAccounts
  relation_description: Users are provisioned access to ConnectedApplications through
    user provisioning accounts, linking their Salesforce and external identities.
  table_name: stg_USER_PROV_ACCOUNT_STAGING
  entities:
  - Users
  - ConnectedApplications
- relation_description: This table stores information about Users, including their
    personal details and external system identifiers.
  table_name: stg_USER_PROV_MOCK_TARGET
  entities:
  - Users
- relation_description: This table represents sharing relationships between users,
    tracking access levels granted by one user to another user or group.
  table_name: stg_USER_SHARE
  entities:
  - Users
- relation_name: UserWorkListItems
  relation_description: Users have User Work Lists, which contain specific items or
    tasks prioritized for the user to complete.
  table_name: stg_USER_WORK_LIST_ITEM
  entities:
  - Users
  - User Work Lists
- relation_name: VideoCallParticipation
  relation_description: Users participate in Video Calls as Individuals, with each
    participant's details and connection to the call recorded.
  table_name: stg_VIDEO_CALL_PARTICIPANT
  entities:
  - Users
  - Individuals
  - Video Calls
- relation_name: UserVideoCallRecordings
  relation_description: Users participate in Video Calls, which can be recorded and
    stored as video call recordings for future reference.
  table_name: stg_VIDEO_CALL_RECORDING
  entities:
  - Users
  - Video Calls
- relation_description: This table tracks administrative consent status for video
    vendors in different regions, managed by Users who create and modify the records.
  table_name: stg_VIDEO_VENDOR_ADMIN_CONSENT
  entities:
  - Users
- relation_description: This table stores voice organization settings configured for
    Users within a system or application.
  table_name: stg_VOICE_ORG_SETTING
  entities:
  - Users
- relation_name: UserCreatedWebLinks
  relation_description: This table stores Web Links created by Users and potentially
    associated with S-Control Components for use in a CRM system.
  table_name: stg_WEB_LINK
  entities:
  - Users
  - S-Control Components
- relation_name: LeadConversionProcess
  relation_description: Leads can be converted into Accounts, Contacts, and Opportunities,
    with associated ContactPointEmails and PhoneContactPoints for communication.
  table_name: stg_SSOT_LEAD_DLM
  entities:
  - Accounts
  - Opportunities
  - Contacts
  - PhoneContactPoints
  - ContactPointEmails
- relation_description: This table stores Tags associated with various Salesforce
    objects, representing metadata and categorization for different item types within
    the Salesforce ecosystem.
  table_name: SalesforceObjectTags
  entities:
  - Tags
- relation_description: This table stores information about Salesforce Apex pages,
    including their properties, settings, and metadata.
  table_name: stg_APEX_PAGE_INFO
  entities:
  - ApexPages
- relation_name: ApplicationMenuStructure
  relation_description: AppDefinitions define the overall structure of applications,
    while AppMenuItems represent specific menu options within those applications.
  table_name: stg_USER_APP_MENU_ITEM
  entities:
  - AppDefinitions
  - AppMenuItems
- relation_description: This table stores metadata and configuration details for Aura
    Definition Bundles, which are components of the Aura framework in Salesforce.
  table_name: stg_AURA_DEFINITION_BUNDLE_INFO
  entities:
  - AuraComponents
- relation_name: ComponentDefinitionComposition
  relation_description: AuraComponents are composed of one or more AuraDefinitions,
    which provide specific functionality and structure to the component.
  table_name: stg_AURA_DEFINITION_INFO
  entities:
  - AuraComponents
  - AuraDefinitions
- relation_name: IndividualOrganizationIdentityLink
  relation_description: This links Individuals to Organizations by associating their
    identities across different data sources or systems.
  table_name: stg_INDIVIDUAL_IDENTITY_LINK_DLM
  entities:
  - Individuals
  - Organizations
- relation_name: ContentVersionComments
  relation_description: ContentVersions are specific iterations of ContentDocuments,
    and this table captures user comments on these versions.
  table_name: stg_CONTENT_VERSION_COMMENT
  entities:
  - ContentVersions
  - ContentDocuments
- relation_name: WorkspaceDocumentAssociation
  relation_description: ContentDocuments are organized within ContentWorkspaces, allowing
    for structured management and access control of documents.
  table_name: stg_CONTENT_WORKSPACE_DOC
  entities:
  - ContentDocuments
  - ContentWorkspaces
- relation_name: CRMUserAccessHierarchy
  relation_description: RecordTypes categorize data objects, UserProfiles define user
    permissions, and UserRoles determine hierarchical access within the CRM system.
  table_name: stg_RECENTLY_VIEWED
  entities:
  - RecordTypes
  - UserProfiles
  - UserRoles
- relation_name: OrganizationPhoneContactLinkage
  relation_description: PhoneContactPoints link Organizations' ContactPhones to unified
    records across data sources, tracking creation and sync status.
  table_name: stg_CONTACT_POINT_PHONE_IDENTITY_LINK_DLM
  entities:
  - PhoneContactPoints
  - Organizations
  - ContactPhones
- relation_description: This table links individual contact records from various sources
    to unified identity profiles, enabling cross-system identification and data consolidation.
  table_name: stg_CONTACT_POINT_ADDRESS_IDENTITY_LINK_DLM
  entities:
  - Individuals
- relation_name: IndividualEmailContacts
  relation_description: Individuals possess ContactPointEmailsSSoT, which store their
    email addresses and associated metadata for communication purposes.
  table_name: stg_UNIFIED_CONTACT_POINT_EMAIL_DLM
  entities:
  - Individuals
  - ContactPointEmailsSSoT
- relation_name: OrganizationEmailSecuritySettings
  relation_description: Organizations link to OrganizationEmailAddresses to establish
    email security settings and permissions for specific addresses within the organization.
  table_name: stg_ORG_EMAIL_ADDRESS_SECURITY
  entities:
  - Organizations
  - OrganizationEmailAddresses
- relation_description: This table represents the hierarchical structure of ContentFolders,
    linking each folder to its parent entity and tracking folder status and deletion
    information.
  table_name: stg_CONTENT_FOLDER_LINK
  entities:
  - ContentFolders
- relation_name: DashboardComponentReports
  relation_description: Dashboards contain multiple components, each of which may
    display a specific report.
  table_name: stg_DASHBOARD_COMPONENT
  entities:
  - Reports
  - Dashboards
- relation_description: This table stores detailed information about embedded service
    labels, including their configuration and customization settings.
  table_name: stg_EMBEDDED_SERVICE_LABEL
  entities:
  - EmbeddedServiceDetails
- relation_description: This table defines the allowed data types for specific formula
    functions used in loyalty program calculations.
  table_name: stg_FORMULA_FUNCTION_ALLOWED_TYPE
  entities:
  - FormulaFunctions
- relation_description: This table represents tab settings within permission sets,
    configuring visibility and access for various standard objects in a Salesforce-like
    system.
  table_name: stg_PERMISSION_SET_TAB_SETTING
  entities:
  - PermissionSets
- relation_name: AccountContactDetails
  relation_description: ContactsSSoT link AccountsSSoT with IndividualsSSoT, associating
    ContactPointPhonesSSoT, ContactPointEmailsSSoT, and ContactPointAddressesSSoT
    for comprehensive contact management.
  table_name: stg_SSOT_ACCOUNT_CONTACT_DLM
  entities:
  - AccountsSSoT
  - ContactPointPhonesSSoT
  - ContactPointEmailsSSoT
  - IndividualsSSoT
  - ContactPointAddressesSSoT
- relation_description: This table contains simplified address records for individuals
    in the Single Source of Truth (SSoT) system, primarily tracking their country
    of residence.
  table_name: stg_UNIFIED_CONTACT_POINT_ADDRESS_DLM
  entities:
  - IndividualsSSoT
- relation_description: This table represents Setup Entity Access Rules, defining
    access configurations and permissions for various entities within a system.
  table_name: stg_USER_SETUP_ENTITY_ACCESS
  entities:
  - Setup Entity Access Rules
story:
  Content and Knowledge Management:
    children:
      Access Control:
        children:
        - name: UserManagedAuthorizationForms
          description: Users create and manage authorization forms.
          type: relation
        - name: AuthorizationFormTextManagement
          description: Users add content to forms using predefined texts.
          type: relation
        - name: BriefcaseAssignments
          description: Users or groups receive specific document sets.
          type: relation
        - name: UserBriefcaseRuleFilters
          description: Filtering rules applied to users' briefcases for data.
          type: relation
        - name: UserWorkspaceAccess
          description: Users granted permissions to access content workspaces.
          type: relation
        description: Tables managing permissions, authorizations, and subscriptions.
          This group covers the security and access aspects of the document management
          system.
      Collaboration Features:
        children:
        - name: UserContentWorkspaceSubscriptions
          description: Users join content workspaces to access shared resources.
          type: relation
        - name: UserContentSubscriptions
          description: Users follow specific documents within workspaces for updates.
          type: relation
        - name: UserContentDistribution
          description: Users share document versions with customized settings.
          type: relation
        - name: UserContentNotifications
          description: System alerts users about updates to subscribed content.
          type: relation
        - name: UserContentDistributionViewTracking
          description: System records how viewers interact with shared content.
          type: relation
        description: Tables supporting collaborative functionalities within the system,
          including sharing content and managing shared workspaces.
      Content Management:
        children:
        - name: UserManagedContentWorkspaces
          description: Company creates central hub for content management.
          type: relation
        - name: UserContentManagement
          description: Employees set up personal accounts in the system.
          type: relation
        - name: ContentWorkspaceManagement
          description: Admins establish different workspaces for departments.
          type: relation
        - name: UserManagedContentFolders
          description: Employees organize folders within their workspaces.
          type: relation
        - name: DocumentManagementSystem
          description: Users begin uploading and storing documents.
          type: relation
        - name: ContentDocumentManagement
          description: System tracks document metadata and relationships.
          type: relation
        - name: DocumentVersionTracking
          description: Multiple versions of documents are maintained.
          type: relation
        - name: DocumentAttachmentMapping
          description: Users add attachments to existing documents.
          type: relation
        - name: ContentAssetManagement
          description: Reusable content assets are created and managed.
          type: relation
        - name: UserManagedImageContent
          description: Users upload and organize images in the system.
          type: relation
        - name: UserManagedStaticResources
          description: Static resources like CSS files are added.
          type: relation
        - name: CategoryNodeManagement
          description: Users create hierarchical category structure for content.
          type: relation
        - name: EmailTemplateManagement
          description: Marketing team develops email templates for communication.
          type: relation
        - name: UserManagedBrandTemplates
          description: Brand guidelines are established in template form.
          type: relation
        - name: UserCreatedContentInWorkspaces
          description: Employees create various content within their workspaces.
          type: relation
        - name: UserManagedContentVariants
          description: Content variants are created for different purposes.
          type: relation
        - name: UserCreatedArticleVersions
          description: Knowledge base articles are written and versioned.
          type: relation
        - name: UserManagedArticleVersions
          description: Articles are reviewed and approved by designated users.
          type: relation
        - name: UserManagedKnowledgeArticleVersions
          description: Knowledge articles are further refined and managed.
          type: relation
        - name: UserManagedKnowledgeCategories
          description: Knowledge articles are organized into categories.
          type: relation
        - name: PromptVersionUserRecordTypeImageAssociation
          description: AI prompts are created with associated images.
          type: relation
        - name: WorkspaceDocumentAssociation
          description: Documents are linked to appropriate workspaces.
          type: relation
        description: Tables related to the creation, storage, and organization of
          various content types including documents, knowledge articles, and brand
          templates. This group covers version tracking, category management, and
          content workspaces.
      User Interactions:
        children:
        - name: UserCreatedLabels
          description: Users create custom labels for organizing content.
          type: relation
        - name: UserManagedFolders
          description: Users set up folder structures for content organization.
          type: relation
        - name: UserManagedAttachments
          description: Users upload and manage file attachments.
          type: relation
        - name: UserManagedNotes
          description: Users create and organize hierarchical notes.
          type: relation
        - name: UserManagedQuickTextFolders
          description: Users create QuickTexts and organize them into folders.
          type: relation
        - name: UserCreatedWebLinks
          description: Users generate web links for CRM system integration.
          type: relation
        - name: UserManagedHelpMenuItems
          description: Users customize help menu items for system navigation.
          type: relation
        - name: UserManagedStamps
          description: Users develop stamps for content categorization and metadata.
          type: relation
        - name: UserLabelAssignment
          description: Users apply custom labels to specific content items.
          type: relation
        - name: UserQuickTextUsage
          description: System tracks QuickText usage across communication channels.
          type: relation
        - name: UserPromptInteractions
          description: Users engage with system prompts, generating interaction data.
          type: relation
        - name: ContentVersionComments
          description: Users comment on specific versions of content documents.
          type: relation
        - name: UserContentVersionRating
          description: Users rate and provide feedback on content versions.
          type: relation
        description: Tables tracking user activities such as creating, modifying,
          and sharing content. This group also includes tables related to user-managed
          folders and quick text usage.
    description: This group encompasses tables for content management, document storage,
      and knowledge base systems. It includes features for creating, organizing, and
      sharing information within the organization and with customers.
  Customer Relationship Management:
    children:
      Analytics and Reporting:
        children:
        - name: UserReportManagement
          description: Users create and modify reports with specific data insights.
          type: relation
        - name: UserDashboardManagement
          description: Users compile reports into interactive dashboards for comprehensive
            analysis.
          type: relation
        description: This group comprises tables for reports, dashboards, and analytics.
          It enables data-driven decision-making by providing insights into various
          aspects of the business operations and customer interactions.
      Communication and Task Management:
        children:
        - name: UserEventAccountContactInteraction
          description: Sarah creates account for client XYZ Corp.
          type: relation
        - name: EmailListManagementSystem
          description: Sarah builds email list for XYZ Corp campaign.
          type: relation
        - name: EmailCampaignContentManagement
          description: Sarah designs email template for XYZ Corp campaign.
          type: relation
        - name: EmailCommunicationSystem
          description: Sarah sends campaign emails to XYZ Corp contacts.
          type: relation
        - name: EmailMessageUserRelation
          description: System tracks Sarah's sent emails to XYZ Corp.
          type: relation
        - name: EmailListRecipientTracking
          description: System monitors XYZ Corp contacts' email interactions.
          type: relation
        - name: EmailListRecipients
          description: System logs XYZ Corp contacts as campaign recipients.
          type: relation
        - name: EventResponseTracker
          description: XYZ Corp contacts respond to Sarah's event invitation.
          type: relation
        - name: EventParticipationAndInvitation
          description: Sarah invites colleagues to XYZ Corp event.
          type: relation
        - name: EventAccountAssociation
          description: Sarah links upcoming event to XYZ Corp account.
          type: relation
        - name: UserExternalEventMapping
          description: Sarah syncs XYZ Corp event with external calendar.
          type: relation
        - name: UserManagedConferenceNumbers
          description: Sarah sets up conference number for XYZ Corp.
          type: relation
        - name: UserVideoCallEvents
          description: Sarah schedules video call with XYZ Corp team.
          type: relation
        - name: VideoCallParticipation
          description: Sarah and XYZ Corp team join video call.
          type: relation
        - name: UserVideoCallRecordings
          description: System records video call for future reference.
          type: relation
        - name: TaskManagementSystem
          description: Sarah creates follow-up tasks after XYZ Corp call.
          type: relation
        - name: TaskAccountAssociation
          description: Sarah links new tasks to XYZ Corp account.
          type: relation
        - name: TaskAccountAssignment
          description: Sarah assigns tasks to team members for XYZ.
          type: relation
        - name: UserCreatedWorkLists
          description: Sarah organizes XYZ Corp tasks into work list.
          type: relation
        - name: UserWorkListItems
          description: Sarah prioritizes items in XYZ Corp work list.
          type: relation
        description: This category encompasses tables related to communication tracking
          (emails, calls) and task/event management. It helps in organizing and monitoring
          interactions with customers and internal activities.
      Customer Relationship Management:
        children:
        - name: LeadManagementAndConversionProcess
          description: Company acquires new leads and manages them systematically.
          type: relation
        - name: CampaignManagementAndMemberClassification
          description: Marketing team launches campaigns to engage leads.
          type: relation
        - name: CampaignMemberParticipation
          description: Leads and contacts participate in marketing campaigns.
          type: relation
        - name: CampaignMemberStatusDefinition
          description: Campaign managers define statuses for participant tracking.
          type: relation
        - name: IndividualSingleSourceOfTruth
          description: System establishes unique records for each individual.
          type: relation
        - name: IndividualEmailAssociation
          description: Email addresses are linked to individual records.
          type: relation
        - name: IndividualEmailContacts
          description: System stores email metadata for communication purposes.
          type: relation
        - name: LeadConversionProcess
          description: Qualified leads convert into accounts, contacts, opportunities.
          type: relation
        - name: AccountInformationNetwork
          description: System creates centralized account data records.
          type: relation
        - name: AccountContactDetails
          description: Account links to individuals with contact information.
          type: relation
        - name: ContactRelationshipManagement
          description: System manages contacts associated with accounts.
          type: relation
        - name: UserContactAddressManagement
          description: Users input and manage contact addresses.
          type: relation
        - name: UserManagedContactEmailPoints
          description: Users manage email addresses for contacts.
          type: relation
        - name: AccountContactRoleAssignment
          description: Users define roles for contacts within accounts.
          type: relation
        - name: SalesOpportunityManagement
          description: Sales team creates and manages sales opportunities.
          type: relation
        - name: OpportunityContactRoles
          description: Sales assigns roles to contacts in opportunities.
          type: relation
        - name: OpportunityLineItems
          description: Sales adds products and pricing to opportunities.
          type: relation
        - name: OpportunityCompetitorTracking
          description: Sales tracks competitors for each opportunity.
          type: relation
        - name: AccountUserActionCadenceManagement
          description: System schedules automated actions for account engagement.
          type: relation
        - name: AssetManagementSystem
          description: Company tracks customer assets derived from products.
          type: relation
        - name: BusinessPartnershipManagement
          description: Company establishes partnerships linked to accounts/opportunities.
          type: relation
        - name: OpportunityPartnershipCollaboration
          description: Sales collaborates with partners on opportunities.
          type: relation
        - name: CustomerSupportCaseManagement
          description: Support team creates and manages customer cases.
          type: relation
        - name: UserCaseComments
          description: Support agents add comments to case records.
          type: relation
        - name: CaseContactRoleAssignment
          description: Support assigns roles to contacts in cases.
          type: relation
        - name: CaseArticleAssociation
          description: Support links knowledge articles to cases.
          type: relation
        - name: IndividualOrganizationIdentityLink
          description: System links individual identities across organizations.
          type: relation
        - name: OrganizationPhoneContactLinkage
          description: System unifies organization phone contact records.
          type: relation
        description: This group includes tables for managing customer information
          and interactions, such as accounts, contacts, leads, opportunities, and
          campaigns. It forms the core of the CRM system, tracking customer details
          and sales processes.
      Product and Asset Management:
        children:
        - name: ProductManagementSystem
          description: Users create products using data from external sources.
          type: relation
        - name: AssetRelationships
          description: Users establish dependencies between products, now classified
            as assets.
          type: relation
        description: This category includes tables for managing product catalogs and
          assets. It supports the sales process by providing information about the
          company's offerings and resources.
      User and Data Management:
        children:
        - name: UserManagedIndividuals
          description: Users create and manage individual customer records.
          type: relation
        - name: UserCreatedListViews
          description: Users customize data views for efficient information access.
          type: relation
        - name: UserCalendarViewConfiguration
          description: Users set up calendar views linked to ListViews.
          type: relation
        - name: UserOperatingHours
          description: Users define their working hours for activities.
          type: relation
        - name: UserManagedHolidays
          description: Users add holiday events to the system calendar.
          type: relation
        - name: OperatingHoursHolidayExceptions
          description: Users adjust operating hours for holiday exceptions.
          type: relation
        - name: UserCallCenterPhoneNumbers
          description: Users register additional phone numbers for call centers.
          type: relation
        - name: UserManagedCallDispositionCategories
          description: Users create categories for classifying call outcomes.
          type: relation
        - name: UserManagedCallDispositions
          description: Users define specific call dispositions within categories.
          type: relation
        - name: UserManagedMatchingRules
          description: Users create rules for identifying duplicate records.
          type: relation
        - name: UserDefinedMatchingRuleItems
          description: Users specify detailed criteria for matching rules.
          type: relation
        - name: UserManagedDuplicateRules
          description: Users establish rules for handling duplicate records.
          type: relation
        - name: UserManagedDuplicateSetCreation
          description: Users generate sets of potential duplicate records.
          type: relation
        - name: UserLinkedDuplicateItemAssociation
          description: Users link individual records to duplicate sets.
          type: relation
        - name: ContactUserSharing
          description: Users set access permissions for contact records.
          type: relation
        - name: OpportunityUserAccess
          description: Users define access levels for opportunity records.
          type: relation
        - name: UserManagedGoalDefinitions
          description: Users create hierarchical goal structures for teams.
          type: relation
        - name: UserGoalAssignments
          description: Users assign specific goals to team members.
          type: relation
        - name: UserGoalRecommendationSystem
          description: System suggests goals to users based on assignments.
          type: relation
        - name: UserEngagementChannelSettings
          description: Users configure settings for customer communication channels.
          type: relation
        - name: UserCapturedConsentForIndividuals
          description: Users record customer consent for data use purposes.
          type: relation
        - name: StampSubjectAssignment
          description: Users assign classification stamps to various subjects.
          type: relation
        - name: UserPromptActionErrors
          description: System logs errors in user-initiated prompt actions.
          type: relation
        - name: UserOpportunityDeletionLog
          description: System records details of deleted opportunity records.
          type: relation
        description: This group contains tables for user management, data quality
          (duplicates, matching rules), and system configuration. It ensures proper
          access control, data integrity, and system customization.
    description: These tables focus on core CRM functionalities, including customer
      interactions, lead tracking, campaign management, and customer support. They
      store data on customer profiles, communication history, and sales processes.
  Data Management and Analytics:
    children:
    - name: UserAdministeredInternalDataSpaces
      description: Admins create and configure internal data spaces.
      type: relation
    - name: UserManagedWorkspacesWithLandingTab
      description: Users set up workspaces with customized landing pages.
      type: relation
    - name: UserManagedFilterCriteriaStructure
      description: Users define hierarchical filter criteria for data organization.
      type: relation
    - name: UserManagedMarketSegmentDataAssociation
      description: Users link market segments to data spaces and graphs.
      type: relation
    - name: UserManagedDataGraphsInSpaces
      description: Users create data visualizations within specific data spaces.
      type: relation
    - name: UserManagedImports
      description: Users initiate and oversee data import jobs.
      type: relation
    - name: UserDataSpaceActions
      description: Users define and manage actions for data processing.
      type: relation
    - name: UserDataQueryWorkspaceTabs
      description: Users create analysis tabs in their workspaces.
      type: relation
    - name: UserDataSpaceSearchConfiguration
      description: Users set up semantic search within data spaces.
      type: relation
    - name: UserDefinedFilterConditions
      description: Users create detailed filter rules for data spaces.
      type: relation
    - name: UserDataSpaceIdentityResolution
      description: Users run identity matching processes in data spaces.
      type: relation
    - name: UserDataSpaceInsights
      description: Users generate marketing insights from data space information.
      type: relation
    - name: UserDataSpaceTransformations
      description: Users apply and track data transformations in spaces.
      type: relation
    - name: UserMachineLearningJobsInDataSpaces
      description: Users run ML prediction jobs on data space content.
      type: relation
    - name: UserListViewCriteria
      description: Users customize personal data views with specific criteria.
      type: relation
    - name: DashboardComponentReports
      description: Users create dashboards displaying multiple data reports.
      type: relation
    - name: Data Integration and Master Data Management
      description: System integrates and manages data across various sources.
      type: group
    description: Tables for managing data spaces, graphs, and analytical tools.
  Financial and Transactional:
    children:
    - name: UserManagedPaymentGatewayProviders
      description: Admins set up payment gateway providers in system.
      type: relation
    - name: PaymentGatewayConfiguration
      description: Users configure payment gateways for merchant accounts.
      type: relation
    - name: UserManagedMerchantAccounts
      description: Users create and manage merchant accounts.
      type: relation
    - name: MerchantAccountPaymentMethodSetManagement
      description: Users configure payment method sets for merchants.
      type: relation
    - name: UserManagedPaymentMethodSets
      description: Users define sets of payment methods.
      type: relation
    - name: GatewayProviderPaymentMethodConfiguration
      description: Users set up payment methods for gateway providers.
      type: relation
    - name: UserManagedPriceBooks
      description: Users create and manage price books.
      type: relation
    - name: ProductPricingAssociations
      description: Users link products to price books.
      type: relation
    - name: UserAccountPaymentMethods
      description: Users set up account payment methods.
      type: relation
    - name: AccountPaymentMethodManagement
      description: Users link payment methods to accounts.
      type: relation
    - name: AccountPaymentMethodGateway
      description: Accounts use gateways for payment processing.
      type: relation
    - name: UserAccountWalletGateway
      description: Users create digital wallets for accounts.
      type: relation
    - name: UserManagedPaymentGroups
      description: Users create payment groups for organization.
      type: relation
    - name: PaymentAuthorizationProcessing
      description: System processes payment authorizations for accounts.
      type: relation
    - name: PaymentProcessingSystem
      description: System processes payments using configured methods.
      type: relation
    - name: RefundTransactionDetails
      description: System processes refunds for accounts.
      type: relation
    - name: RefundPaymentAssociation
      description: System links refunds to original payments.
      type: relation
    - name: UserAccountPaymentAdjustments
      description: Users adjust payment authorizations for accounts.
      type: relation
    - name: UserPaymentGatewayLogs
      description: System logs payment gateway interactions.
      type: relation
    - name: Financial Period Management
      description: Users manage fiscal periods and financial data.
      type: group
    description: Tables in this group handle financial operations, sales transactions,
      and related data. They cover aspects such as billing, invoicing, and financial
      reporting within the CRM system.
  System Configuration and Integration:
    children:
      Branding and Personalization:
        children:
        - name: BrandHierarchyUserManagement
          description: Users establish brand hierarchy and create brand records.
          type: relation
        - name: UserManagedBrandingSets
          description: Users with permissions create and modify branding sets.
          type: relation
        - name: UserManagedBrandingSetProperties
          description: Users define and update properties for branding sets.
          type: relation
        - name: UserBrandAssetManagement
          description: Users upload and associate custom assets with brands.
          type: relation
        - name: UserThemeBrandingManagement
          description: Users create themes and link them to branding sets.
          type: relation
        description: Tables involving branding and personalization aspects of Salesforce.
          This group covers the visual and experiential customization of Salesforce
          interfaces to align with organizational identity and user preferences.
      External Integrations:
        children:
        - name: ExternalDataSourceConfiguration
          description: User sets up external data sources and authentication methods.
          type: relation
        - name: UserManagedCredentials
          description: User creates and manages named credentials for secure access.
          type: relation
        - name: UserManagedExternalDataSourceDescriptors
          description: User defines descriptors for external data integration.
          type: relation
        - name: UserExternalDataSourceAuthentication
          description: User authenticates to external data sources using credentials.
          type: relation
        - name: UserManagedConnectedApplications
          description: User configures and manages connected external applications.
          type: relation
        - name: UserManagedConnections
          description: User establishes connections to multiple Salesforce organizations.
          type: relation
        - name: UserMultiOrgDataSpaceMapping
          description: User maps data spaces across connected organizations.
          type: relation
        - name: MultiOrgSyncManagement
          description: User manages data synchronization between multiple organizations.
          type: relation
        - name: UserManagedExternalDataShares
          description: User sets up data sharing arrangements with external entities.
          type: relation
        - name: UserMobileAppInstallations
          description: User installs mobile apps linked to connected applications.
          type: relation
        description: Tables dealing with external data sources and mobile app installations.
          This group covers the integration of Salesforce with external systems and
          mobile platforms, enhancing data accessibility and user experience.
      Feature Customization:
        children:
          Communication and Events:
            children:
            - name: UserManagedEmailServices
              description: Users create email processing functions for the system.
              type: relation
            - name: EmailServiceAddressUserFunctionAssociation
              description: Users link email addresses to specific processing functions.
              type: relation
            - name: UserManagedEmailRelays
              description: Users configure email relay settings for communication.
              type: relation
            - name: UserManagedEmailRelayFilters
              description: Users set up domain filters for email routing.
              type: relation
            - name: UserManagedEmailRoutingConfiguration
              description: Users establish email routing addresses for incoming messages.
              type: relation
            - name: UserManagedCadenceOrganization
              description: Users create action cadences and organize them in folders.
              type: relation
            - name: ActionCadenceStepFlow
              description: Users design steps within action cadences, including emails.
              type: relation
            - name: UserManagedCadenceRuleSteps
              description: Users define rules governing cadence step progression.
              type: relation
            - name: UserManagedExternalEvents
              description: Users create external events to track in the system.
              type: relation
            - name: UserManagedEventRelays
              description: Users set up configurations for relaying external events.
              type: relation
            - name: UserCadenceProgressTracking
              description: System monitors user progress through action cadence steps.
              type: relation
            - name: UserEventRelayConfigFeedback
              description: Users provide feedback on event relay configurations.
              type: relation
            description: This group encompasses tables related to communication features
              and event management. It includes email services, event relays, and
              action cadences for managing user interactions and automated processes.
          Customization and Configuration:
            children:
            - name: ApplicationMenuStructure
              description: Defines overall app structure and menu options.
              type: relation
            - name: UserAccessibleAppMenuItems
              description: Determines which apps users can access in menu.
              type: relation
            - name: AuraComponentUserManagement
              description: Users create and manage Lightning components.
              type: relation
            - name: UserManagedAuraDefinitions
              description: Users define structure and behavior of components.
              type: relation
            - name: ComponentDefinitionComposition
              description: Components are assembled from multiple definitions.
              type: relation
            - name: UserManagedApexPages
              description: Users develop custom Apex pages in Salesforce.
              type: relation
            - name: UserManagedSControlComponents
              description: Users create and manage S-Control components.
              type: relation
            - name: UserManagedActionLinkGroupTemplates
              description: Users design templates for grouped action links.
              type: relation
            - name: UserCreatedActionLinkTemplates
              description: Users create individual action link templates.
              type: relation
            - name: UserManagedRecordTypeProcesses
              description: Users associate record types with business processes.
              type: relation
            - name: UserManagedBriefcaseDefinitions
              description: Users create definitions for offline data access.
              type: relation
            - name: UserManagedBriefcaseRuleConfigurations
              description: Users set rules for briefcase data synchronization.
              type: relation
            - name: UserDefinedOperatingHours
              description: Users specify business hours for each weekday.
              type: relation
            - name: UserManagedUIFormulaRules
              description: Users create formulas for UI element behavior.
              type: relation
            description: These tables manage system customizations, including Apex
              pages, Aura components, and app definitions. They track configurations
              for UI elements, business processes, and record types.
          System Administration:
            children:
            - name: System Configuration and Metadata
              description: Database admin sets up categories and system-wide settings.
              type: group
            - name: FormulaFunctions
              description: Users create and organize formulas within predefined categories.
              type: entity
            description: Tables in this group focus on administrative tasks and system-wide
              settings. They cover aspects such as data management, system performance
              tracking, and overall platform configuration.
          User Management:
            children:
            - name: UserAppMenuCustomization
              description: User personalizes app menu layout for efficient navigation.
              type: relation
            - name: UserAppInteraction
              description: User engages with customized app on large screen device.
              type: relation
            description: This group includes tables related to user accounts, permissions,
              and interactions within the system. It covers aspects such as user profiles,
              login history, and access controls.
        description: Tables focusing on customization of Salesforce features, including
          action cadences, Aura components, and email services. This group represents
          the tailoring of Salesforce functionalities to meet specific organizational
          needs.
      Site and Domain Management:
        children:
        - name: UserManagedDomains
          description: Users create and configure domains for hosting websites.
          type: relation
        - name: DomainSiteAssociation
          description: Users link multiple sites to domains with unique paths.
          type: relation
        - name: SiteUserConfiguration
          description: Users assign administrators and guests for each site.
          type: relation
        - name: SiteEmbeddedServiceConfiguration
          description: Users customize customer service interfaces for specific sites.
          type: relation
        - name: SiteIframeWhitelistManagement
          description: Users whitelist external content sources for site iframes.
          type: relation
        - name: SiteRedirectMappings
          description: Users create and modify redirect rules for sites.
          type: relation
        description: Tables related to site management and domain configuration. This
          group encompasses the setup and maintenance of Salesforce sites and associated
          domains, crucial for web presence and customer interaction.
      User Management and Authentication:
        children:
        - name: OrganizationEmailSecuritySettings
          description: Organization establishes email security for specific addresses.
          type: relation
        - name: UserManagedOAuthHandlers
          description: Admin users create and modify OAuth token exchange handlers.
          type: relation
        - name: UserManagedOAuthScopeApplications
          description: Users associate custom OAuth scopes with specific applications.
          type: relation
        - name: UserManagedOAuthHandlerApplications
          description: Users configure handlers for token exchanges in connected applications.
          type: relation
        - name: UserManagedBackgroundJobs
          description: Users initiate and manage system cleanup background jobs.
          type: relation
        description: Tables related to user creation, modification, and management,
          including OAuth configurations and connected applications. This group covers
          the core aspects of user administration and access control within Salesforce.
    description: This group contains tables for system-wide configurations, data synchronization,
      and integration with external services. It includes settings for workflow automation,
      custom branding, and data analysis capabilities.
  User Management and Authentication:
    children:
      Access Control and Permissions:
        children:
          Access Control and Permissions:
            children:
            - name: UserManagedTags
              description: This stores the Tag definitions that can be created, modified,
                or deleted by Users within a system.
              type: relation
            - name: UserContentWorkspaceAccess
              description: ContentWorkspacePermissions define access levels for Users
                in content workspaces, specifying what actions they can perform.
              type: relation
            - name: UserManagedCustomPermissions
              description: CustomPermissions are created, modified, and managed by
                Users within the software system.
              type: relation
            - name: UserPermissionSetLicenses
              description: Permission Set Licenses define sets of permissions that
                can be assigned to Users,  controlling their access and capabilities
                within Salesforce.
              type: relation
            - name: UserManagedOAuthScopes
              description: OAuthCustomScopes are created, modified, and managed by
                Users who have permissions to define and control OAuth scopes.
              type: relation
            - name: UserManagedPermissionSetGroups
              description: PermissionSetGroups are created, modified, and managed
                by Users who have appropriate system access and permissions.
              type: relation
            - name: UserProfileLicenseAssignment
              description: UserProfiles define permission sets for Users, which are
                constrained by UserLicenses that determine available features and
                capabilities.
              type: relation
            - name: UserAccessControlHierarchy
              description: PermissionSets define access levels assigned to Users,
                associated with UserLicenses, grouped in PermissionSetGroups, and
                derived from UserProfiles.
              type: relation
            - name: UserRoleAccountHierarchy
              description: UserRoles define hierarchical access permissions for Users,
                who may manage Accounts with varying levels of access control.
              type: relation
            - name: UserListViewAccess
              description: Users are granted access to specific ListViews, creating
                User List View Relations that track their interactions and permissions.
              type: relation
            - name: CustomPermissionDependencies
              description: This tracks dependencies between CustomPermissions, where
                one CustomPermission requires another CustomPermission to be granted
                to Users.
              type: relation
            - name: LicenseGrantedCustomPermissions
              description: Users are assigned PermissionSetLicenses, which grant specific
                CustomPermissions, enabling controlled access to features and functionality.
              type: relation
            - name: UserPermissionSetAssignment
              description: Users are assigned PermissionSets, which can be grouped
                into PermissionSetGroups, granting specific access rights and privileges.
              type: relation
            - name: UserManagedPermissionSetGroupAssignments
              description: Users create and modify Permission Set Groups, which contain
                multiple Permission Sets to manage user access rights efficiently.
              type: relation
            - name: UserPermissionSetLicenseAssignment
              description: Users are assigned PermissionSetLicenses, granting them
                specific access rights and capabilities within the system.
              type: relation
            - name: UserProfileAssignment
              description: UserProfiles define sets of permissions and settings that
                are assigned to Users, controlling their access and actions within
                the system.
              type: relation
            - name: SessionPermissionSetActivation
              description: Users activate PermissionSets during AuthenticationSessions,
                potentially as part of PermissionSetGroups, for specific integrations.
              type: relation
            - name: UserProfileRuleCriteria
              description: UI Formula Rules define criteria that compare User profile
                IDs to determine access or visibility in the user interface.
              type: relation
            - name: UserPackageLicenseAssignment
              description: This tracks which Package Licenses are assigned to specific
                Users, establishing a many-to-many relationship between Users and
                Package Licenses.
              type: relation
            - name: CRMUserAccessHierarchy
              description: RecordTypes categorize data objects, UserProfiles define
                user permissions, and UserRoles determine hierarchical access within
                the CRM system.
              type: relation
            - name: Setup Entity Access Rules
              description: Represents access rules for setup entities in a system
              type: entity
            - name: User Permissions and Access Control
              description: This group is dedicated to managing user permissions and
                access rights within the system.
              type: group
            description: Tables managing user access rights, permission sets, and
              custom permissions.  This group covers the granular control of what
              users can view, edit, or perform within the system.
          Engagement and Content Management:
            children:
            - name: UserManagedEngagementChannels
              description: EngagementChannels are created and managed by Users who
                own, create, and modify these channels for communication purposes.
              type: relation
            description: Tables related to engagement channels and content workspaces.  This
              includes management of communication channels and content repositories
              within the CRM.
          Sharing Rules and Security:
            children:
            - name: IndividualAccessSharing
              description: Sales rep creates new lead in CRM system.
              type: relation
            - name: AccountSharingPermissions
              description: Lead converts; account manager sets up sharing permissions.
              type: relation
            - name: AssetUserAccess
              description: Product team adds customer's purchased items as assets.
              type: relation
            - name: CampaignAccessSharing
              description: Marketing creates campaign; grants access to sales team.
              type: relation
            - name: CaseAccessPermissions
              description: Support ticket opened; assigned to customer service rep.
              type: relation
            - name: CaseExternalDocuments
              description: Rep uploads warranty document to support case.
              type: relation
            description: Tables defining sharing rules for various objects like accounts,
              campaigns, and cases.  This group handles data visibility and access
              across different user groups or roles.
          System Configuration and Data Import:
            children:
            - name: UserManagedDataImportReferences
              description: This table tracks reference data for DataImportJobs, which
                can be created and modified by Users.
              type: relation
            description: Tables for system-wide configurations and data import references.  This
              group covers settings that affect the overall functioning of the CRM
              and data integration processes.
          User Management and Authentication:
            children:
            - name: UserProvisioningSetup
              description: Admins configure user provisioning settings and connect
                applications.
              type: relation
            - name: CallCenterUserManagement
              description: Admins create and manage call center user records.
              type: relation
            - name: UserManagedAuthConfigs
              description: Users set up authentication configurations for call centers.
              type: relation
            - name: UserProvisioningManagement
              description: System processes user provisioning requests for connected
                applications.
              type: relation
            - name: UserProvisioningLinkage
              description: System links external users to internal Salesforce accounts.
              type: relation
            - name: UserProvisioningAccounts
              description: System creates accounts for users in connected applications.
              type: relation
            - name: UserProvisioningAudit
              description: System tracks and logs all user provisioning activities.
              type: relation
            description: Tables related to user accounts, profiles, roles, and authentication
              methods.  This includes user creation, login configurations, and identity
              verification processes.
        description: Tables managing user roles, permissions, and access rights within
          the CRM.  This includes role-based access control, custom permissions, and  organization-specific
          access structures.
      Authentication and Security:
        children:
        - name: UserAuthenticationOptions
          description: System administrators set up various login methods for users.
          type: relation
        - name: AuthConfigProviderAssociation
          description: Admin links authentication providers to specific user configurations.
          type: relation
        - name: SSO_User_Authentication
          description: Admin configures SAML SSO settings for external authentication.
          type: relation
        - name: UserLoginDetails
          description: User attempts to log in, system checks account status.
          type: relation
        - name: UserLoginLocations
          description: System records geographical location of user's login attempt.
          type: relation
        - name: UserAuthenticationSessions
          description: User initiates authentication session, system logs attempt
            details.
          type: relation
        - name: UserAuthenticationSessionLog
          description: System creates comprehensive log of user's authentication session.
          type: relation
        - name: UserAppAuthentication
          description: User accesses applications using OAuth tokens after authentication.
          type: relation
        - name: UserSSOAccountLinks
          description: User links account to SSO for future external authentications.
          type: relation
        description: Tables handling user authentication methods, login credentials,  single
          sign-on (SSO) configurations, and security-related information.  This group
          focuses on ensuring secure access to the CRM system.
      Consent and Data Usage:
        children:
        - name: UserManagedLegalBases
          description: Users establish legal foundations for data usage.
          type: relation
        - name: UserManagedDataPurposesWithLegalBases
          description: Users define specific data use purposes with legal bases.
          type: relation
        - name: UserConsentAuthorizationForm
          description: Users create consent forms for individuals to sign.
          type: relation
        - name: AuthorizationFormDataUsePurpose
          description: Users link data use purposes to authorization forms.
          type: relation
        - name: UserManagedConsentRecords
          description: Users track individual consent for data use purposes.
          type: relation
        - name: UserConsentPurposeBrand
          description: Users consent to brand-specific data use purposes.
          type: relation
        - name: UserCommunicationConsentManagement
          description: Users set communication preferences for various channels.
          type: relation
        - name: SubscriptionChannelPreferences
          description: Users specify preferred subscription channels for communications.
          type: relation
        - name: UserCommunicationConsentSubscription
          description: Users subscribe to specific communication consents with timing
            preferences.
          type: relation
        description: Tables related to user consent management, data usage purposes,  and
          communication preferences. This group ensures compliance with  data protection
          regulations and user privacy controls.
      Organization Structure:
        children:
        - name: OrganizationUserMembership
          description: Company creates organization and adds initial users.
          type: relation
        - name: GroupDetails
          description: Admin defines groups with specific roles and settings.
          type: relation
        - name: GroupMembershipAssociation
          description: Users are assigned to appropriate groups.
          type: relation
        - name: UserManagedOrganizationEmails
          description: Authorized users set up organization-wide email addresses.
          type: relation
        description: Tables representing the organizational hierarchy, departments,  and
          user associations within the CRM system. This group helps in  managing user
          relationships and access based on organizational structure.
      User Identity and Profile:
        children:
        - name: UserAccountProfileRoleAssociation
          description: Sarah joins company, assigned profile and role in system.
          type: relation
        - name: UserPhoneContactDetails
          description: Sarah adds her work phone number to her account.
          type: relation
        description: Tables related to user accounts, profiles, and personal information.  This
          includes basic user details, contact information, and user-specific  preferences
          within the CRM system.
    description: This group includes tables related to user profiles, permissions,
      authentication, and communication preferences. It covers user provisioning,
      access control, and system-level user management across the organization.
  Workflow and Process Automation:
    children:
    - name: UserManagedProcessDefinitions
      description: Admin users create process definitions for workflows.
      type: relation
    - name: ProcessNodeDefinition
      description: Admin users define individual steps within process definitions.
      type: relation
    - name: UserManagedFlowRecordSystem
      description: Users create flow records for specific market segments.
      type: relation
    - name: UserManagedFlowVersions
      description: Users create and modify versions of flow records.
      type: relation
    - name: FlowRecordElementUserVersionAssociation
      description: Users associate elements with specific flow record versions.
      type: relation
    - name: FlowRecordVersionOccurrence
      description: Users schedule flow record versions for execution.
      type: relation
    - name: UserManagedBusinessProcesses
      description: Admin users set up overall business processes.
      type: relation
    - name: UserManagedCadenceRuleConditions
      description: Users define rules for cadence-based actions.
      type: relation
    - name: CadenceStepProgressTracking
      description: System tracks progress of cadence steps for users.
      type: relation
    - name: ProcessExecutionWorkflow
      description: Users initiate and execute process instances.
      type: relation
    - name: UserProcessNodeInteractions
      description: Users interact with individual steps in process instances.
      type: relation
    - name: UserProcessStepExecution
      description: Users complete steps within process instances.
      type: relation
    - name: UserProcessWorkItems
      description: System tracks user tasks within process instances.
      type: relation
    - name: UserManagedFlowInterviews
      description: Users conduct flow interviews following defined structures.
      type: relation
    - name: UserFlowInterviewProgress
      description: System tracks progress of user flow interviews.
      type: relation
    - name: UserFlowInterviewLogEntries
      description: System logs detailed entries of flow interview processes.
      type: relation
    - name: UserFlowActionRecords
      description: System records user actions during flow interviews.
      type: relation
    - name: UserFlowTestResults
      description: Users execute and record results of flow tests.
      type: relation
    description: Tables related to flow management, cadence tracking, and automated
      business processes.
We illustrate the step-by-step process behind the data.

Content_and_Knowledge_Management_Access_Control

Process Story

Content_and_Knowledge_Management_Collaboration_Features

Process Story

Content_and_Knowledge_Management_Content_Management

Process Story

Content_and_Knowledge_Management_User_Interactions

Process Story

Customer_Relationship_Management_Analytics_and_Reporting

Process Story

Customer_Relationship_Management_Communication_and_Task_Management

Process Story

Customer_Relationship_Management_Customer_Relationship_Management

Process Story

Customer_Relationship_Management_Product_and_Asset_Management

Process Story

Customer_Relationship_Management_User_and_Data_Management

Process Story

Data_Management_and_Analytics

Process Story

Financial_and_Transactional

Process Story

System_Configuration_and_Integration_Branding_and_Personalization

Process Story

System_Configuration_and_Integration_External_Integrations

Process Story

System_Configuration_and_Integration_Feature_Customization_Communication_and_Events

Process Story

System_Configuration_and_Integration_Feature_Customization_Customization_and_Configuration

Process Story

System_Configuration_and_Integration_Feature_Customization_System_Administration

Process Story

System_Configuration_and_Integration_Feature_Customization_User_Management

Process Story

System_Configuration_and_Integration_Site_and_Domain_Management

Process Story

System_Configuration_and_Integration_User_Management_and_Authentication

Process Story

User_Management_and_Authentication_Access_Control_and_Permissions_Access_Control_and_Permissions

Process Story

User_Management_and_Authentication_Access_Control_and_Permissions_Engagement_and_Content_Management

Process Story

User_Management_and_Authentication_Access_Control_and_Permissions_Sharing_Rules_and_Security

Process Story

User_Management_and_Authentication_Access_Control_and_Permissions_System_Configuration_and_Data_Import

Process Story

User_Management_and_Authentication_Access_Control_and_Permissions_User_Management_and_Authentication

Process Story

User_Management_and_Authentication_Authentication_and_Security

Process Story

User_Management_and_Authentication_Organization_Structure

Process Story

User_Management_and_Authentication_User_Identity_and_Profile

Process Story

Workflow_and_Process_Automation

Process Story