chore(retentions): add new retentions method for support drafts#53
Open
raul-facturapi wants to merge 1 commit into
Open
chore(retentions): add new retentions method for support drafts#53raul-facturapi wants to merge 1 commit into
raul-facturapi wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds first-class support for draft retentions in the .NET SDK by exposing new wrapper methods and routing helpers, along with behavioral tests and a package version bump.
Changes:
- Added retention draft operations to the Retention wrapper/API:
UpdateDraftAsync,StampDraftAsync, andCopyToDraftAsync. - Extended
RetentionRouterwith the corresponding routes for draft update/stamp/copy. - Added wrapper behavior tests covering draft listing, draft creation payload, and the new draft routes; bumped package version and updated changelog.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Wrappers/RetentionWrapper.cs | Implements the new draft retention methods (PUT update, POST stamp, POST copy) and response deserialization. |
| Wrappers/IRetentionWrapper.cs | Exposes the new draft retention methods on the public wrapper interface. |
| Router/RetentionRouter.cs | Adds route builders for updating/stamping/copying retention drafts. |
| FacturapiTest/WrapperBehaviorTests.cs | Adds route/payload assertions for draft retentions behavior and the new wrapper methods. |
| facturapi-net.csproj | Bumps package version to 6.6.0. |
| CHANGELOG.md | Documents the 6.6.0 release and the added draft retention methods. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
javorosas
approved these changes
Jul 2, 2026
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.
No description provided.