class Multiwoven::Integrations::Destination::Klaviyo::Client

def discover(_connection_config = nil)

def discover(_connection_config = nil)
  catalog_json = read_json(CATALOG_SPEC_PATH)
  catalog = build_catalog(catalog_json)
  catalog.to_multiwoven_message
rescue StandardError => e
  handle_exception(e, {
                     context: "KLAVIYO:DISCOVER:EXCEPTION",
                     type: "error"
                   })
end