Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
24 lines
763 B
Markdown
24 lines
763 B
Markdown
# Verae Time — Zapier integration
|
|
|
|
Talks to **verae-zapier-middleware** (`/zapier/v1/...`), not `api.veraetime.net` directly.
|
|
|
|
Middleware source: `/Users/marchon/datacubes/verae-zapier-api/verae-zapier-middleware`
|
|
Verae OpenAPI: `../our-api/openapi.yaml`
|
|
|
|
## Auth
|
|
|
|
Session: username/password **or** tenant API key → `POST /zapier/v1/auth/login` → `accessToken`.
|
|
Test: `GET /zapier/v1/auth/me`.
|
|
|
|
Set **Middleware base URL** (local default `http://127.0.0.1:3100`).
|
|
|
|
```bash
|
|
# start middleware (other repo)
|
|
cd /Users/marchon/datacubes/verae-zapier-api/verae-zapier-middleware
|
|
# MOCK_VERAE=true npm start
|
|
|
|
source ../../scripts/dev-env.sh
|
|
cd /Users/marchon/research/zapier/scratch/veraetime
|
|
npm install
|
|
zapier-platform build && zapier-platform validate
|
|
```
|