Module: Etl::Integrations::Core::Constants
- Included in:
- BaseConnector, Destination::Airtable::SchemaHelper, Destination::SalesforceConsumerGoodsCloud::SchemaHelper, Source::SalesforceConsumerGoodsCloud::SchemaHelper
- Defined in:
- lib/etl/integrations/core/constants.rb
Constant Summary collapse
- META_DATA_PATH =
CONFIG
"config/meta.json"
- CONNECTOR_SPEC_PATH =
"config/spec.json"
- CATALOG_SPEC_PATH =
"config/catalog.json"
- SNOWFLAKE_MAC_DRIVER_PATH =
"/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib"
- DATABRICKS_MAC_DRIVER_PATH =
"/Library/simba/spark/lib/libsparkodbc_sb64-universal.dylib"
- SNOWFLAKE_DRIVER_PATH =
ENV["SNOWFLAKE_DRIVER_PATH"] || SNOWFLAKE_MAC_DRIVER_PATH
- DATABRICKS_DRIVER_PATH =
ENV["DATABRICKS_DRIVER_PATH"] || DATABRICKS_MAC_DRIVER_PATH
- JSON_SCHEMA_URL =
"https://json-schema.org/draft-07/schema#"
- KLAVIYO_AUTH_ENDPOINT =
CONNECTORS
"https://a.klaviyo.com/api/lists/"
- KLAVIYO_AUTH_PAYLOAD =
{ data: { type: "list", attributes: { name: "THIS IS REQUIRED" } } }.freeze
- FACEBOOK_AUDIENCE_GET_ALL_ACCOUNTS =
"https://graph.facebook.com/v18.0/me/adaccounts?fields=id,name"
- AIRTABLE_URL_BASE =
"https://api.airtable.com/v0/"
- AIRTABLE_BASES_ENDPOINT =
"https://api.airtable.com/v0/meta/bases"
- AIRTABLE_GET_BASE_SCHEMA_ENDPOINT =
"https://api.airtable.com/v0/meta/bases/{baseId}/tables"
- HTTP_GET =
HTTP
"GET"
- HTTP_POST =
"POST"
- HTTP_PUT =
"PUT"
- HTTP_DELETE =
"DELETE"
- GOOGLE_SHEETS_SCOPE =
google sheets
"https://www.googleapis.com/auth/drive"
- GOOGLE_SPREADSHEET_ID_REGEX =
%r{/d/([-\w]{20,})/}.freeze