@rbaileysr/zephyr-managed-api 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -1
- package/dist/README.md +699 -0
- package/dist/error-strategy.d.ts +3 -0
- package/dist/error-strategy.d.ts.map +1 -1
- package/dist/error-strategy.js +3 -0
- package/dist/groups/All.d.ts +3 -0
- package/dist/groups/All.d.ts.map +1 -1
- package/dist/groups/All.js +2 -6
- package/dist/groups/Automation.d.ts +3 -0
- package/dist/groups/Automation.d.ts.map +1 -1
- package/dist/groups/Automation.js +2 -3
- package/dist/groups/Environment.d.ts +3 -0
- package/dist/groups/Environment.d.ts.map +1 -1
- package/dist/groups/Environment.js +2 -3
- package/dist/groups/Folder.d.ts +3 -0
- package/dist/groups/Folder.d.ts.map +1 -1
- package/dist/groups/Folder.js +2 -3
- package/dist/groups/IssueLink.d.ts +3 -0
- package/dist/groups/IssueLink.d.ts.map +1 -1
- package/dist/groups/IssueLink.js +2 -3
- package/dist/groups/Link.d.ts +3 -0
- package/dist/groups/Link.d.ts.map +1 -1
- package/dist/groups/Link.js +2 -3
- package/dist/groups/Priority.d.ts +3 -0
- package/dist/groups/Priority.d.ts.map +1 -1
- package/dist/groups/Priority.js +2 -3
- package/dist/groups/Project.d.ts +3 -0
- package/dist/groups/Project.d.ts.map +1 -1
- package/dist/groups/Project.js +2 -3
- package/dist/groups/Status.d.ts +3 -0
- package/dist/groups/Status.d.ts.map +1 -1
- package/dist/groups/Status.js +2 -3
- package/dist/groups/TestCase.d.ts +3 -0
- package/dist/groups/TestCase.d.ts.map +1 -1
- package/dist/groups/TestCase.js +2 -3
- package/dist/groups/TestCycle.d.ts +3 -0
- package/dist/groups/TestCycle.d.ts.map +1 -1
- package/dist/groups/TestCycle.js +2 -3
- package/dist/groups/TestExecution.d.ts +3 -0
- package/dist/groups/TestExecution.d.ts.map +1 -1
- package/dist/groups/TestExecution.js +2 -3
- package/dist/groups/TestPlan.d.ts +3 -0
- package/dist/groups/TestPlan.d.ts.map +1 -1
- package/dist/groups/TestPlan.js +2 -3
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/package.json +54 -0
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +3 -0
- package/dist/utils-api-call.d.ts +3 -0
- package/dist/utils-api-call.d.ts.map +1 -1
- package/dist/utils-api-call.js +3 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -663,7 +663,7 @@ The `All` group provides a single point of access to all API methods across all
|
|
|
663
663
|
|
|
664
664
|
## License
|
|
665
665
|
|
|
666
|
-
|
|
666
|
+
UNLICENSED - Copyright Adaptavist 2025 (c) All rights reserved
|
|
667
667
|
|
|
668
668
|
## Support
|
|
669
669
|
|
|
@@ -675,3 +675,25 @@ For issues, questions, or contributions, please refer to the project repository
|
|
|
675
675
|
- **Zephyr API Documentation**: https://support.smartbear.com/zephyr-scale-cloud/api-docs/v2/
|
|
676
676
|
- **ScriptRunner Connect Documentation**: https://docs.adaptavist.com/src/latest/
|
|
677
677
|
|
|
678
|
+
## Changelog
|
|
679
|
+
|
|
680
|
+
### 1.0.1
|
|
681
|
+
|
|
682
|
+
- **Added**: Comprehensive JSDoc comments with API endpoint descriptions and links to official documentation
|
|
683
|
+
- **Added**: Single import option via default export for convenient usage
|
|
684
|
+
- **Changed**: Removed `region` parameter from `createZephyrApi` - base URL now configured in Generic Connector
|
|
685
|
+
- **Improved**: Error handling to support both `BadRequestError` and `NotFoundError` in test examples
|
|
686
|
+
- **Improved**: Type safety and IntelliSense support throughout the API
|
|
687
|
+
|
|
688
|
+
### 1.0.0
|
|
689
|
+
|
|
690
|
+
- **Initial Release**: Complete Managed API wrapper for Zephyr Cloud REST API v2
|
|
691
|
+
- **Added**: Full support for all Zephyr API endpoints (Test Cases, Test Cycles, Test Plans, Test Executions, etc.)
|
|
692
|
+
- **Added**: Type-safe TypeScript definitions for all API operations
|
|
693
|
+
- **Added**: Hierarchical API structure matching ScriptRunner Connect conventions
|
|
694
|
+
- **Added**: Automatic rate limiting retry with exponential backoff
|
|
695
|
+
- **Added**: Support for both API Connection and OAuth token authentication
|
|
696
|
+
- **Added**: Pagination helpers (`getAllPages`, `getAllPagesCursor`)
|
|
697
|
+
- **Added**: Error strategy builder for advanced error handling
|
|
698
|
+
- **Added**: Comprehensive error types compatible with Commons Core
|
|
699
|
+
|