requirements.md (v1.1):
- Add FR-006: multi-copy Authorization to Release Information requirement
- Add US-005: user story for requesting multiple copies
- Add future enhancement item for admin-configurable multi-copy forms
- Add change log table
design.md (v1.1):
- Add section 2.4: full design description of the multi-copy feature
including configuration constant, new flow elements table, updated
flow path diagram, and Apex expansion logic
- Update component diagram and Request inner class to include
authReleaseFormCopies
- Add change log table
DEPLOYMENT_AND_TESTING.md (v1.1):
- Update Screen Flow setup instructions to document authReleaseFormCopies
input parameter and built-in dialog behaviour
- Add 'Updating the Multi-Copy Template Name' section with step-by-step
instructions for updating the Apex constant and Flow decision condition
- Update class/flow reference list
- Add change log table
api-reference.md:
- Bump version header to 1.1
- Added examples for each test class: DocusignCompositeEnvelopeBuilderTest, DocusignEnvelopeRequestHandlerTest, DocusignAPIServiceTest, DocusignCredentialsTest
- Included both Bash/WSL and PowerShell versions
- Useful for targeted testing during development
- Includes --code-coverage flag for coverage metrics
- Added PowerShell equivalents for all CLI commands
- Updated directory navigation for Windows paths
- Added note explaining shell differences
- Covers: deploy, test, authorization, troubleshooting
- Uses env:USERPROFILE for Windows home directory
- Shows both backtick continuation and semicolon alternatives for PowerShell
Changes:
- Move validation logic to DocusignEnvelopeRequestHandler.validateRequest()
- Move envelope JSON building to DocusignEnvelopeRequestHandler.buildEnvelopeJSON()
- Add comprehensive test suite for handler (10 test methods)
- Simplify main invocable method - focus on orchestration
- Add DEPLOYMENT_AND_TESTING.md reference guide with all CLI commands
- Handler is reusable for future enhancements and integrations
Benefits:
- Single Responsibility Principle
- Reusable handler for other classes
- Better testability
- Clean separation of concerns