Repository navigation
Version 0.4.0: one fax by card, the spec at API 1.16.1 - #6
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version 0.4.0. Not published: no tag, no release.
one_time_sendson 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_tokenon the order calls goes inX-FFA-Order-Token.Client(keyless=True)sends noAuthorizationheader, for a caller with no key.FaxJob.one_timeis aOneTimeJobmodel where 0.3.2 declared a dict. This is the one change to an existing field.PaymentRequiredError.one_time_offerreads the field when a server sends it. API 1.16.1 does not.truthcheck.shaccepts 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.