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.
27 lines
2.1 KiB
Markdown
27 lines
2.1 KiB
Markdown
# README features a–m
|
||
|
||
Source: [workspace-brief.md](../00-sources/workspace-brief.md). Owners after composition: [composition.md](../02-architecture/composition.md).
|
||
|
||
| ID | Capability | Owner | Status in imported code | Live Verae OpenAPI |
|
||
|----|------------|-------|-------------------------|--------------------|
|
||
| a | Customer gets own API key | zappier `/portal` signup + regen | Built (`x-api-key`) | No |
|
||
| b | Billing after usage limit | zappier meter + credit + portal reload + Stripe + admin PO | Built | No |
|
||
| c | Register SHA256 or return original timestamp + ref | verae middleware mock + zappier `/v1/timestamp` | **Mock done** — second create returns original `jobId` + `existing: true` | Live OpenAPI still `data` only |
|
||
| d | Lookup by SHA256 | `GET /zapier/v1/hashes/{sha256}` and zappier `/v1/hashes/{sha256}` | **Mock done** | No live Verae route |
|
||
| e | Timestamp + public/private metadata | verae mock | Missing | No |
|
||
| f | e + encrypted LTS binary | verae mock | Missing. Do not use zappier demo `/v1/storage` | No |
|
||
| g | Share file/dir + decryption key | verae mock | Missing | No |
|
||
| h | Retrieve SHA256 + metadata | verae status/verify | Partial by `jobId` | `GET /api/status/{jobId}`, `GET /api/verify/{jobId}` |
|
||
| i | Certified retrieval receipt (PDF/JSON) extra seal | verae mock | Missing. Not a payment invoice | No |
|
||
| j | Setup payment method | zappier portal reload (Stripe) | Built (prepaid reload; card-on-file TBD) | No |
|
||
| k | Get invoices | zappier portal + admin | Built | No |
|
||
| l | Get payment receipts | zappier invoice HTML/print | Built as invoices | No |
|
||
| m | Subscription management | zappier tiers `free`/`pro`/`business` | Built as customer type, not Stripe Subscription | No |
|
||
|
||
## Zapier Platform nouns (today vs target)
|
||
|
||
**Today (`packages/verae-zapier`):** Create Timestamp, Create Timestamp and Wait, Batch, Verify, Find Job Status, Timestamp Completed (REST Hook). Auth: Bearer `zmw_`.
|
||
|
||
**Target public edge (`packages/zappier` `/v1/*`):** same operations, metered, `x-api-key`. Plus Find Usage / List Invoices from zappier.
|
||
|
||
**Not in v1 listing:** Verae admin HTML, user CRUD, get-block-by-hash.
|