Skip to content
1 viewer
View

Postal reference

1 page, 11 routes, 11 connections and 0 CLI commands, generated from the declarations of Postal without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 2

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Dashboardpostal.outboxdashboard/view/postal0in navigation
Mail piecepostal.piecedetail/view/postal/{piece_id}20postal.outboxPostalPiecehidden
2 rows

Connections · 11

Postal.Cancel

Postal.Cancel input
FieldTypeRequiredDescriptionAllowed
piece_idrequired
actoroptional
2 rows
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • POST /postal/cancelHTTP route

Postal.EddmPlan

Plan an Every Door Direct Mail Retail drop from carrier-route counts (zip, route, residential, business, as the USPS EDDM Online Tool lists them): pieces, bundles of 50 to 100 with their facing slips, trips per Post Office under 5,000 pieces per ZIP Code a day, and estimated postage at rate_mills (default $0.260 a piece). Mails, stores and spends nothing.

Postal.EddmPlan input
FieldTypeRequiredDescriptionAllowed
routesrequired
include_businessoptional
rate_millsoptional
weight_ozoptional
4 rows
Calls and output
  • Output keypostal.result
  • Classificationreal
  • POST /postal/eddm/planHTTP route

Postal.Get

Postal.Get input
FieldTypeRequiredDescriptionAllowed
piece_idrequired
1 row
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • GET /postal/getHTTP route

Postal.List

Postal.List input
FieldTypeRequiredDescriptionAllowed
statusoptional
provideroptional
limitoptional
actoroptional
4 rows
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • GET /postal/listHTTP route

Postal.MarkStatus

Postal.MarkStatus input
FieldTypeRequiredDescriptionAllowed
piece_idrequired
statusrequired
atoptional
noteoptional
actoroptional
5 rows
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • POST /postal/markHTTP route

Postal.Providers

Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • GET /postal/providersHTTP route

Postal.Refresh

Postal.Refresh input
FieldTypeRequiredDescriptionAllowed
piece_idrequired
1 row
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • POST /postal/refreshHTTP route

Postal.Send

Mail a letter (text, html or pdf_url), postcard (front/back) or self-mailer (outside/inside, `size` such as 6x18_bifold on Lob or 8.5x11_bifold on PostGrid) to a postal address. `provider`: lob | postgrid (print-and-mail APIs; test keys mail nothing) | device (CRE8 lays the letter out and prints it on this node's printer via Device.PrintJobSend; `printer_uri` or `simulate`) | fake (offline). Live keys need CRE8_POSTAL_LIVE=1, an operator caller where operators are configured, and stay under CRE8_POSTAL_DAILY_LIMIT. Returns the stored piece.

Postal.Send input
FieldTypeRequiredDescriptionAllowed
torequired
fromrequired
kindoptional
provideroptional
textoptional
htmloptional
pdf_urloptional
frontoptional
backoptional
outsideoptional
insideoptional
sizeoptional
merge_variablesoptional
coloroptional
double_sidedoptional
mail_classoptional
extra_serviceoptional
use_typeoptional
send_dateoptional
descriptionoptional
idempotency_keyoptional
retry_failedoptional
verifyoptional
printer_urioptional
simulateoptional
actoroptional
26 rows
Calls and output
  • Output keypostal.result
  • Classificationreal
  • POST /postal/sendHTTP route

Postal.Status

Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • GET /postal/statusHTTP route

Postal.VerifyAddress

Postal.VerifyAddress input
FieldTypeRequiredDescriptionAllowed
addressrequired
provideroptional
2 rows
Calls and output
  • Output keypostal.result
  • Classificationunclassified
  • POST /postal/address/verifyHTTP route

Postal.Webhook

Provider tracking events (`?provider=lob|postgrid|fake`). Lob is verified by its HMAC signature headers against lob.webhook_secret, PostGrid by its HS256 JWT (or ?token=) against postgrid.webhook_secret; statuses only move forward.

Postal.Webhook input
FieldTypeRequiredDescriptionAllowed
providerrequired
raw_bodyrequired
tokenoptional
3 rows
Calls and output
  • Output keypostal.result
  • Classificationreal
  • POST /postal/webhookHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerPostal
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • None declared.
Hyper vertex kinds written
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Structure review · 1

Warnings · 1
  • Postal · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)