master-zapier-plan-draft/packages/zappier-sales-pricing
George Lambert b68fefdea8
Some checks are pending
offline / test (push) Waiting to run
Close the UI-review follow-ups: names typeahead, fleet form, overflow flip.
Staff pages typeahead customers by name (Ada, not cust_1). Add-machine is
two rows with a wide identity path and filename picker. Overflow menus
flip up near the viewport edge. Customer list no longer leaks password
hashes. UI-REVIEW.pdf remaining list is the three leftover items.
2026-09-11 18:18:37 -04:00
..
public Close the UI-review follow-ups: names typeahead, fleet form, overflow flip. 2026-09-11 18:18:37 -04:00
src Close the UI-review follow-ups: names typeahead, fleet form, overflow flip. 2026-09-11 18:18:37 -04:00
test Add NATS account-balance SoT and statement review for customers, CS, and sales 2026-09-11 15:35:37 -04:00
package-lock.json Add NATS account-balance SoT and statement review for customers, CS, and sales 2026-09-11 15:35:37 -04:00
package.json Add NATS account-balance SoT and statement review for customers, CS, and sales 2026-09-11 15:35:37 -04:00
README.md Add NATS account-balance SoT and statement review for customers, CS, and sales 2026-09-11 15:35:37 -04:00

zappier-sales-pricing

Sales-department API for per-customer pricing (tier + multiplierOverride). zappier-edge remains the rate-card store.

Forgejo: https://git.georgelambert.org/marchon/zappier-sales-pricing
Catalog: https://zapier.georgelambert.org/packages/zappier-sales-pricing/README.pdf

Internal reviews use NATS verae.billing.statement.get (account-balance).

Staff UI: http://127.0.0.1:3012/ — review credits, balances, usage, payments.

PORT=3012 NATS_URL=nats://127.0.0.1:4222 node src/server.js
curl http://127.0.0.1:3012/review/cust_2
curl http://127.0.0.1:3012/quotes/cust_2
curl -X PUT http://127.0.0.1:3012/customers/cust_2/pricing \
  -H 'content-type: application/json' \
  -d '{"multiplierOverride":0.4,"tierId":"business"}'