Skip to content

Version 0.4.0: one fax by card, the spec at API 1.16.1 - #6

Merged
bensynapse merged 1 commit into
mainfrom
one-time-sends
Nov 12, 2026
Merged

bensynapse merged 1 commit into
mainfrom
one-time-sends

Conversation

@bensynapse

Copy link
Copy Markdown
Contributor

Version 0.4.0. Not published: no tag, no release.

  • New resource one_time_sends on both clients: config, create (a file as multipart or text as JSON), create_from_quote, list, iter, get, wait, checkout, get_by_token, confirm, resend_confirmation, get_receipt_pdf.
  • order_token on the order calls goes in X-FFA-Order-Token. Client(keyless=True) sends no Authorization header, for a caller with no key.
  • The saved spec follows the public document at API 1.16.1 (Take the document at API version 1.16.1 with the one-time send openapi#5). Models are regenerated. Earlier schemas and the SDK's response additions are kept.
  • FaxJob.one_time is a OneTimeJob model where 0.3.2 declared a dict. This is the one change to an existing field.
  • PaymentRequiredError.one_time_offer reads the field when a server sends it. API 1.16.1 does not.
  • The README has the section "One fax by card" with no amount in it, and names price card launch-v2 (2026-10-31).
  • truthcheck.sh accepts the one-time amounts only in a file that states 2026-11-11.

Fixtures: tests/fixtures/one-time.json. The config and the 404 were recorded from the public routes on 2026-11-12. The order shapes follow the server serializers at 1.16.1 and are synthetic: no order was made.
Local checks pass: 135 tests, ruff, mypy, the models check and truthcheck.

New resource one_time_sends on both clients, with a wait helper.
The order token goes in X-FFA-Order-Token.
Client(keyless=True) calls it with no API key.

The saved spec follows the public document at API 1.16.1.
Models are regenerated from it.
FaxJob.one_time is a OneTimeJob model now.
The README names price card launch-v2.
truthcheck accepts the one-time amounts only with their date.
@bensynapse
bensynapse merged commit ff86e7f into main Nov 12, 2026
12 checks passed
@bensynapse
bensynapse deleted the one-time-sends branch November 12, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant