Generated Latest Changes for v2021-02-25 #724
Merged
+288
−6
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.
This pull request introduces several enhancements and additions to the API and client library, focusing on account notes management, proration settings, and support for harmonized system codes. The most significant changes are the addition of endpoints and client methods for creating and deleting account notes, support for harmonized system codes across various schemas, and enhancements to subscription proration settings.
Account Notes Management:
POST /accounts/{account_id}/notesendpoint to create account notes, including request/response schemas and error handling.DELETE /accounts/{account_id}/notes/{account_note_id}endpoint to remove account notes, including error responses.account_note_idparameter in the OpenAPI spec and updated endpoint references to use it.create_account_noteandremove_account_noteinrecurly/client.py.Harmonized System Code Support:
harmonized_system_codeas an optional field to multiple schemas (e.g.,LineItemCreate,AddOnCreate,ItemCreate,PurchaseCreate, etc.), with validation for format and length.Subscription Proration Settings:
SubscriptionCreateProrationSettingsandSubscriptionCreateProrationSettingsChargeEnumcomponents to control proration behavior on subscription creation and update.proration_settingsfield toSubscriptionCreateandSubscriptionPurchaseschemas.Account Resource Enhancements:
bill_dateproperty to theAccountresource, including schema updates and documentation.