Repository navigation
Version 0.7.0: the spec at API 1.20.6 and a method for each new call - #14
Merged
Merged
Conversation
The saved spec follows the public document at API 1.20.6. It was merged three ways, with the public document at 1.20.5 as the base. One conflict came up in PolicyEvaluation, and both sides are kept. Each of the 14 new operations has a method on both clients. Among them are billing.statement, documents.rename, numbers.dismiss_order and policies.check_rules. faxes.list, documents.list, inbox.list, agents.list and billing.list_budgets take the new filters. policies.evaluate can name another key, agent or connected app. approvals.reject takes no reason for a help request. Tests cover each new method and parameter.
billing.statement listed three kinds of line as examples. It now names all eleven the API takes in kind.
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.
The client follows API 1.20.6, released on 2026-11-15. The saved spec was merged from the public document of faxforagents/openapi#13, which is not merged yet.
What a caller can notice
billing.statement,billing.statement_csv,documents.rename,webhooks.get_delivery,billing.delete_budget,agents.archive,numbers.dismiss_order,policies.check_rules,members.resend_invitation,members.link_invitation,organizations.list_data_requests,organizations.withdraw_data_deletion,one_time_sends.previewandone_time_sends.get_page.billing.iter_statementfollows the cursor.qonfaxes.listandfaxes.iter.source,exclude_sourceandqondocuments.listanddocuments.iter.archivedoninbox.listandinbox.iter.include_archivedonagents.listandbilling.list_budgets.key_id,agent_idandconnection_idonpolicies.evaluate.approvals.rejecttakes noreasonfor a help request. A send request still needs one.DocumentPage.total,InboxPage.unreadandReceipt.seller.Nothing is removed and no field changes type, so the version is 0.7.0.
How the spec was refreshed
The public document at 1.20.5 was the base of a three-way merge with the saved spec. One conflict came up:
PolicyEvaluationgained three fields where the spec keeps its earlierusagefield. Both are kept. Every earlier schema the spec keeps is still there, and the paths equal the public document.python scripts/gen_models.pywrote the models.There are no new error classes. Errors map to classes by status here, and 1.20.6 adds no customer error code.
Checked
pytest -q -m "not live": 171 pass, 18 of them new.ruff check,ruff format --check,mypy src.python scripts/gen_models.py --checkandsh scripts/truthcheck.sh.uv build,twine check, and the wheel installed in a clean venv:faxforagents versionprints 0.7.0.No workflow file changed. Nothing is published by this pull request.