@exellix/apollo-read-services
v1.0.0
Published
Apollo.io connector runtime for search, enrichment, and saved-data reads.
Readme
@exellix/apollo-read-services
Apollo.io read runtime for POST /pipeline.
Credential shape
{"role":"read","authMode":"api-key","apiKey":"...","masterKey":true}OAuth credentials may use authMode: "oauth" and accessToken. Master-key-only operations are checked before calling Apollo. Credit-consuming operations require explicit request consent.
Stub / fixture mode
Serve mock/apollo fixtures instead of calling Apollo:
{
"stub": { "enabled": true, "vendor": "apollo" },
"service": { "category": "connector", "serviceType": "entity-provider", "serviceId": "apollo-reader" },
"payload": { "objectType": "apollo-people", "operation": "search-people" }
}Or set APOLLO_READ_USE_STUBS=1. Optional: APOLLO_READ_STUB_VENDOR, APOLLO_READ_STUB_ROOT.
Logging (@x12i/logxer)
Optional. Logxer stays disabled (silent noop) unless a Mongo URI is set:
logxer_mongo_uri(preferred), ormongo_logs_uri/mongo_uri/MONGO_LOGXER_URI/MONGO_URI
When enabled, tune verbosity with APOLLO_READ_LOGS_LEVEL (off | error | warn | info | debug | verbose). Legacy APOLLO_READ_LOG_LEVEL is accepted when _LOGS_LEVEL is unset. Default Logxer threshold when unset is warn.
Monorepo
From the exellix-connectors root:
npm run apollo-read:dev