Wait-via-NATS returns completed or pending+jobId (GATE 9). Mock SHA256
idempotent register + GET /hashes/{sha256}. Zappier commercial edge has
POST /v1/timestamp and hash-lookup. GATE 12 smoke (signup + wait) passes.
NS1 NATS is 127.0.0.1:4222 on 70.88.205.138; SSH tunnel :14222. Local
nats-server -js used for isolated tests. Activate app adds Echo Text.
Learned: JetStream on NS1 is loopback-only; do not bind 4222 public.
|
||
|---|---|---|
| .. | ||
| creates | ||
| searches | ||
| test | ||
| triggers | ||
| authentication.js | ||
| index.js | ||
| package.json | ||
| README.md | ||
verae-zapier
Zapier Platform CLI app for Verae. Phase 11 in ../TODO.md.
Role
Runs on Zapier’s servers. Calls only the middleware HTTPS API (MIDDLEWARE_BASE_URL), never NATS and never api.veraetime.net directly.
Planned modules
| File | Purpose |
|---|---|
authentication.js |
Custom API key auth → GET /zapier/v1/auth/me |
index.js |
App definition, beforeRequest, afterResponse error mapping |
creates/timestamp_and_wait.js |
Primary action |
creates/create_timestamp.js |
Async jobId action |
creates/verify_timestamp.js |
Verify certificate |
creates/batch_timestamp.js |
Batch create |
searches/job_status.js |
Lookup by jobId |
triggers/timestamp_completed.js |
REST Hook |
See ../docs/developer/modules/function-reference.md for I/O contracts.
Env
export MIDDLEWARE_BASE_URL=https://your-middleware.example.com
Gate
npm run gate:11 # from monorepo root, after Phase 11 implementation